Rev. 1.00, 09/03, page 210 of 704
7.13 Port
C
Port C is an 8-bit I/O port. Port C pins also function as IIC3_2 and IIC3_3 I/O pins and on-chip
emulator I/O pins. The output format for PC0 to PC3 which are general I/O ports is NMOS push-
pull output. PC4 to PC7 which are general input ports are not supported by the on-chip emulator.
Port C has the following registers.
•
Port C data direction register (PCDDR)
•
Port C data register (PCDR)
•
Port C register (PORTC)
7.13.1
Port C Data Direction Register (PCDDR)
The individual bits in PCDDR specify input or output for the pins of port C. The read value is
undefined.
Bit
Bit Name
Initial Value
R/W
Description
7 to 4
All
0 W
Reserved
These bits cannot be modified.
3 PC3DDR
0
W
2 PC2DDR
0
W
1 PC1DDR
0
W
0 PC0DDR
0
W
While a general I/O port function is selected, the
corresponding port C pin is an output port when a
PCDDR bit is set to 1, and an input port when
cleared to 0.
7.13.2
Port C Data Register (PCDR)
PCDR stores output data for the port C pins.
Bit
Bit Name
Initial Value
R/W
Description
7 to 4
All
0 W
Reserved
The initial value should not be changed.
3 PC3DR 0
R/W
2 PC2DR 0
R/W
1 PC1DR 0
R/W
0 PC0DR 0
R/W
PCDR stores output data for the port C pins that
are used as the general output ports.
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...