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

no-image

upd78f9211grt2-jjg-a

Manufacturer Part Number
upd78f9211grt2-jjg-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
ETC-unknow
Datasheet
60
Address: FF02H, After reset: 00H (Output latch) R/W
Symbol
P2
Address: FF03H, After reset: 00H
Symbol
P3
Address: FF04H, After reset: 00H (Output latch) R/W
Symbol
P4
(2) Port registers (P2 to P4)
(3) Port mode control register 2 (PMC2)
These registers are used to write data to be output from the corresponding port pin to an external device
connected to the chip.
When a port register is read, the pin level is read in the input mode, and the value of the output latch of the
port is read in the output mode.
P20 to P23, P32, and P40 to P47 are set by using a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to 00H.
This register specifies the port/alternate function (except the A/D converter function) mode or the A/D
converter mode.
Each bit of the PMC2 register corresponds to each pin of port 2 and can be specified in 1-bit units.
PMC2 is set by using a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets PMC2 to 00H.
Note Because P34 is read-only, its reset value is undefined.
Pmn
P47
7
0
7
0
7
0
1
Output 0
Output 1
P46
Controls of output data (in output mode)
6
0
6
0
6
Note
(Output latch) R/W
P45
Figure 4-9. Format of Port Register
5
0
5
0
5
CHAPTER 4 PORT FUNCTIONS
User’s Manual U16994EJ3V0UD
Note
P34
P44
4
0
4
4
m = 2 to 4; n = 0 to 7
P23
P43
3
3
0
3
Input low level
Input high level
Input data read (in input mode)
P22
P32
P42
2
2
2
P21
P41
1
1
0
1
P20
P40
0
0
0
0

Related parts for upd78f9211grt2-jjg-a