
III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS
I/O Memory of I/O Ports
Table 9.4 shows the control bits of the I/O ports.
Table 9.4 Control Bits of I/O Ports
Register name | Address | Bit | Name |
| Function |
| Setting |
| Init. | R/W | Remarks | |
|
|
|
|
|
|
|
|
|
|
|
| |
P0 function | 00402D0 | D7 | CFP07 | P07 function selection | 1 | #SRDY1 | 0 | P07 | 0 | R/W | Extended functions | |
select register | (B) | D6 | CFP06 | P06 function selection | 1 | #SCLK1 | 0 | P06 | 0 | R/W | (0x402DF) | |
|
| D5 | CFP05 | P05 function selection | 1 | SOUT1 | 0 | P05 | 0 | R/W |
| |
|
| D4 | CFP04 | P04 function selection | 1 | SIN1 | 0 | P04 | 0 | R/W |
| |
|
| D3 | CFP03 | P03 function selection | 1 | #SRDY0 | 0 | P03 | 0 | R/W |
| |
|
| D2 | CFP02 | P02 function selection | 1 | #SCLK0 | 0 | P02 | 0 | R/W |
| |
|
| D1 | CFP01 | P01 function selection | 1 | SOUT0 | 0 | P01 | 0 | R/W |
| |
|
| D0 | CFP00 | P00 function selection | 1 | SIN0 | 0 | P00 | 0 | R/W |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
P0 I/O port data | 00402D1 | D7 | P07D | P07 | I/O port data | 1 | High | 0 | Low | 0 | R/W |
|
register | (B) | D6 | P06D | P06 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D5 | P05D | P05 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D4 | P04D | P04 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D3 | P03D | P03 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D2 | P02D | P02 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D1 | P01D | P01 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D0 | P00D | P00 | I/O port data |
|
|
|
| 0 | R/W |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P0 I/O control | 00402D2 | D7 | IOC07 | P07 | I/O control | 1 | Output | 0 | Input | 0 | R/W | This register |
register | (B) | D6 | IOC06 | P06 | I/O control |
|
|
|
| 0 | R/W | indicates the values |
|
| D5 | IOC05 | P05 | I/O control |
|
|
|
| 0 | R/W | of the I/O control |
|
| D4 | IOC04 | P04 | I/O control |
|
|
|
| 0 | R/W | signals of the ports |
|
| D3 | IOC03 | P03 | I/O control |
|
|
|
| 0 | R/W | when it is read. (See |
|
| D2 | IOC02 | P02 | I/O control |
|
|
|
| 0 | R/W | detailed explanation.) |
|
| D1 | IOC01 | P01 | I/O control |
|
|
|
| 0 | R/W |
|
|
| D0 | IOC00 | P00 | I/O control |
|
|
|
| 0 | R/W |
|
|
|
|
|
|
|
|
|
|
|
|
| |
P1 function | 00402D4 | D7 | – | reserved |
| – |
|
| – | – | 0 when being read. | |
select register | (B) | D6 | CFP16 | P16 function selection | 1 | EXCL5 | 0 | P16 | 0 | R/W |
| |
|
|
|
|
|
|
| #DMAEND1 |
|
|
|
|
|
|
| D5 | CFP15 | P15 function selection | 1 | EXCL4 | 0 | P15 | 0 | R/W |
| |
|
|
|
|
|
|
| #DMAEND0 |
|
|
|
|
|
|
| D4 | CFP14 | P14 function selection | 1 | FOSC1 | 0 | P14 | 0 | R/W | Extended functions | |
|
|
|
|
|
|
|
|
|
|
|
| (0x402DF) |
|
| D3 | CFP13 | P13 function selection | 1 | EXCL3 | 0 | P13 | 0 | R/W |
| |
|
|
|
|
|
|
| T8UF3 |
|
|
|
|
|
|
| D2 | CFP12 | P12 function selection | 1 | EXCL2 | 0 | P12 | 0 | R/W |
| |
|
|
|
|
|
|
| T8UF2 |
|
|
|
|
|
|
| D1 | CFP11 | P11 function selection | 1 | EXCL1 | 0 | P11 | 0 | R/W |
| |
|
|
|
|
|
|
| T8UF1 |
|
|
|
|
|
|
| D0 | CFP10 | P10 function selection | 1 | EXCL0 | 0 | P10 | 0 | R/W |
| |
|
|
|
|
|
|
| T8UF0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
P1 I/O port data | 00402D5 | D7 | – | reserved |
| – |
|
| – | – | 0 when being read. | |
register | (B) | D6 | P16D | P16 | I/O port data | 1 | High | 0 | Low | 0 | R/W |
|
|
| D5 | P15D | P15 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D4 | P14D | P14 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D3 | P13D | P13 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D2 | P12D | P12 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D1 | P11D | P11 | I/O port data |
|
|
|
| 0 | R/W |
|
|
| D0 | P10D | P10 | I/O port data |
|
|
|
| 0 | R/W |
|
|
|
|
|
|
|
|
|
|
|
|
| |
P1 I/O control | 00402D6 | D7 | – | reserved |
| – |
|
| – | – | 0 when being read. | |
register | (B) | D6 | IOC16 | P16 I/O control | 1 | Output | 0 | Input | 0 | R/W | This register | |
|
| D5 | IOC15 | P15 I/O control |
|
|
|
| 0 | R/W | indicates the values | |
|
| D4 | IOC14 | P14 I/O control |
|
|
|
| 0 | R/W | of the I/O control | |
|
| D3 | IOC13 | P13 I/O control |
|
|
|
| 0 | R/W | signals of the ports | |
|
| D2 | IOC12 | P12 I/O control |
|
|
|
| 0 | R/W | when it is read. (See | |
|
| D1 | IOC11 | P11 I/O control |
|
|
|
| 0 | R/W | detailed explanation.) | |
|
| D0 | IOC10 | P10 I/O control |
|
|
|
| 0 | R/W |
|
EPSON | S1C33L03 FUNCTION PART |