Rev. 1.00, 05/04, page 102 of 544
7.1.5
Port 1 Input Pull-Up MOS
Port 1 has an on-chip input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be specified as on or off on a bit-by-bit basis.
Table 7.2 summarizes the input pull-up MOS states.
Table 7.2
Input Pull-Up MOS States (Port 1)
Reset
Hardware Standby Mode
Software Standby Mode In Other Operations
Off Off
On/Off
On/Off
[Legend]
Off:
Input pull-up MOS is always off.
On/Off: On when the pin is in the input state, P1DDR = 0, and P1PCR = 1: otherwise off.
7.2 Port
2
Port 2 is an 8-bit I/O port. Port 2 has an on-chip input pull-up MOS function that can be controlled
by software. Port 2 has the following registers.
•
Port 2 data direction register (P2DDR)
•
Port 2 data register (P2DR)
•
Port 2 pull-up MOS control register (P2PCR)
7.2.1
Port 2 Data Direction Register (P2DDR)
P2DDR specifies input or output for the pins of port 2 on a bit-by-bit basis.
Bit Bit
Name
Initial
Value R/W Description
7 P27DDR
0 W
6 P26DDR
0 W
5 P25DDR
0 W
4 P24DDR
0 W
3 P23DDR
0 W
2 P22DDR
0 W
1 P21DDR
0 W
0 P20DDR
0 W
The corresponding port 2 pins are output ports when
P2DDR bits are set to 1, and input ports when P2DDR
bits are cleared to 0.
Summary of Contents for H8S/2111B
Page 2: ...Rev 1 00 05 04 page ii of xxxiv...
Page 8: ...Rev 1 00 05 04 page viii of xxxiv...
Page 22: ...Rev 1 00 05 04 page xxii of xxxiv...
Page 30: ...Rev 1 00 05 04 page xxx of xxxiv...
Page 84: ...Rev 1 00 05 04 page 50 of 544...
Page 100: ...Rev 1 00 05 04 page 66 of 544...
Page 126: ...Rev 1 00 05 04 page 92 of 544...
Page 180: ...Rev 1 00 05 04 page 146 of 544...
Page 216: ...Rev 1 00 05 04 page 182 of 544...
Page 254: ...Rev 1 00 05 04 page 220 of 544...
Page 268: ...Rev 1 00 05 04 page 234 of 544...
Page 382: ...Rev 1 00 05 04 page 348 of 544...
Page 462: ...Rev 1 00 05 04 page 428 of 544...
Page 464: ...Rev 1 00 05 04 page 430 of 544...
Page 488: ...Rev 1 00 05 04 page 454 of 544...
Page 496: ...Rev 1 00 05 04 page 462 of 544...
Page 574: ...Rev 1 00 05 04 page 540 of 544...
Page 581: ......
Page 582: ...H8S 2111B Hardware Manual...