Rev. 2.00, 09/03, page 519 of 690
Table 20.9
Port J Data Register (PJDR) Read/Write Operations
PJCR State
PJnMD1
PJnMD0
Pin State
Read
Write
0
0
NF
PJDR value
Data can be written to PJDR but no effect on
pin state.
1
Output
PJDR value
Written data is output from the pin.
1
0
Setting
Prohibited
1
Setting
Prohibited
Note:
n = 0 to 7
20.10
Port K
Port K is an 8-bit input/output port with the pin configuration shown in figure 20.10. Each pin has
an input pull-up MOS, which is controlled by the port K control register (PKCR) in the PFC.
Port K
PTK7 (input/output)/A25 (output)
PTK6 (input/output)/A24 (output)
PTK5 (input/output)/A23 (output)
PTK4 (input/output)/A22 (output)
PTK3 (input/output)/A21 (output)
PTK2 (input/output)/A20 (output)
PTK1 (input/output)/A19 (output)
PTK0 (input/output)/A0 (output)
Figure 20.10 Port K
20.10.1
Register Description
Port K has the following register. For details on the register address and access size, see section
24, List of Registers.
•
Port K data register (PKDR)
20.10.2
Port K Data Register (PKDR)
PKDR is an 8-bit readable/writable register that stores data for pins PTK7 to PTK0. Bits PK7DT
to PK0DT correspond to pins PTK7 to PTK0. When the pin function is general output port, if the
port is read, the value of the corresponding PKDR bit is returned directly. When the function is
general input port, if the port is read, the corresponding pin level is read.
Содержание SH7705
Страница 2: ......
Страница 46: ...Rev 2 00 09 03 page xlvi of xlvi Appendix Table A 1 I O Port States in Each Processing State 679 ...
Страница 70: ...Rev 2 00 09 03 page 24 of 690 ...
Страница 194: ...Rev 2 00 09 03 page 148 of 690 ...
Страница 284: ...Rev 2 00 09 03 page 238 of 690 ...
Страница 338: ...Rev 2 00 09 03 page 292 of 690 ...
Страница 354: ...Rev 2 00 09 03 page 308 of 690 ...
Страница 374: ...Rev 2 00 09 03 page 328 of 690 ...
Страница 420: ...Rev 2 00 09 03 page 374 of 690 ...
Страница 476: ...Rev 2 00 09 03 page 430 of 690 ...
Страница 482: ...Rev 2 00 09 03 page 436 of 690 ...
Страница 552: ...Rev 2 00 09 03 page 506 of 690 ...
Страница 630: ...Rev 2 00 09 03 page 584 of 690 ...
Страница 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...