upd78f9211grt2-jjg-a ETC-unknow, upd78f9211grt2-jjg-a Datasheet - Page 52

no-image

upd78f9211grt2-jjg-a

Manufacturer Part Number
upd78f9211grt2-jjg-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
ETC-unknow
Datasheet
4.2
4.2.1
port mode register 2 (PM2). When the P20 to P23 pins are used as an input port, an on-chip pull-up resistor can be
connected in 1-bit units by using pull-up resistor option register 2 (PU2).
and P23 pins differ, therefore, depending on the selected system clock oscillator. The following three system clock
oscillators can be used.
(1) High-speed internal oscillator
(2) Crystal/ceramic oscillator
(3) External clock input
52
Control registers
Ports
Pull-up resistor
Ports consist of the following hardware units.
Port 2 is a 4-bit I/O port with an output latch. Each bit of this port can be set to the input or output mode by using
This port can also be used for A/D converter analog input, timer I/O, and external interrupt request input.
The P22 and P23 pins are also used as the X2 and X1 pins of the system clock oscillator. The functions of the P22
The system clock oscillation is selected by the option byte. For details, refer to CHAPTER 15 OPTION BYTE.
Reset signal generation sets port 2 to the input mode.
Figure 4-2 and 4-3 show the block diagrams of port 2.
The P22 and P23 pins can be used as I/O port pins or analog input pins to the A/D converter.
The P22 and P23 pins cannot be used as I/O port pins or analog input pins to the A/D converter because they are
used as the X2 and X1 pins.
The P22 pin can be used as an I/O port pin or an analog input pin to the A/D converter.
The P23 pin is used as the X1 pin to input an external clock, and therefore it cannot be used as an I/O port pin or
an analog input pin to the A/D converter.
Port Configuration
Port 2
Item
Port mode registers (PM2 to PM4)
Port registers (P3, P4)
Port mode control register 2 (PMC2)
Pull-up resistor option registers (PU2 to PU4)
Total: 14 (CMOS I/O: 13, CMOS input: 1)
Total: 13
Table 4-2. Configuration of Ports
CHAPTER 4 PORT FUNCTIONS
User’s Manual U16994EJ3V0UD
Configuration

Related parts for upd78f9211grt2-jjg-a