III PERIPHERAL BLOCK:
I/O Memory of
Table 6.3 lists the control bits of the
|
|
| Table 6.3 | Control Bits of |
|
|
| ||||||||||
Register name | Address | Bit |
| Name | Function |
|
|
|
| Setting | Init. | R/W | Remarks | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Power control | 0040180 | D7 |
| CLKDT1 | System clock division ratio | CLKDT[1:0] |
|
| Division ratio | 0 | R/W |
| |||||
register | (B) | D6 |
| CLKDT0 | selection |
| 1 |
| 1 |
|
|
| 1/8 | 0 |
|
| |
|
|
|
|
|
|
| 1 |
| 0 |
|
|
| 1/4 |
|
|
| |
|
|
|
|
|
|
| 0 |
| 1 |
|
|
| 1/2 |
|
|
| |
|
|
|
|
|
|
| 0 |
| 0 |
|
|
| 1/1 |
|
|
| |
|
| D5 |
| PSCON | Prescaler On/Off control | 1 |
| On |
|
|
| 0 | Off | 1 | R/W |
| |
|
|
| – | reserved |
|
|
|
|
|
| – |
|
| 0 | – | Writing 1 not allowed. | |
|
| D2 |
| CLKCHG | CPU operating clock switch | 1 |
| OSC3 |
| 0 | OSC1 | 1 | R/W |
| |||
|
| D1 |
| SOSC3 | 1 |
| On |
|
|
| 0 | Off | 1 | R/W |
| ||
|
| D0 |
| SOSC1 | 1 |
| On |
|
|
| 0 | Off | 1 | R/W |
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clock option | 0040190 |
| – | – |
|
|
|
|
|
| – |
|
| – | – | 0 when being read. | |
register | (B) | D3 |
| HLT2OP | HALT clock option | 1 |
| On |
|
|
| 0 | Off | 0 | R/W |
| |
|
| D2 |
| 8T1ON | 1 |
| Off |
|
|
| 0 | On | 1 | R/W |
| ||
|
| D1 |
| – | reserved |
|
|
|
|
|
| – |
|
| 0 | – | Do not write 1. |
|
| D0 |
| PF1ON | OSC1 external output control | 1 |
| On |
|
|
| 0 | Off | 0 | R/W |
| |
|
|
|
|
|
|
|
|
|
| ||||||||
Power control | 004019E | D7 |
| CLGP7 | Power control register protect flag | Writing 10010110 (0x96) | 0 | R/W |
| ||||||||
protect register | (B) | D6 |
| CLGP6 |
| removes the write protection of | 0 |
|
| ||||||||
|
| D5 |
| CLGP5 |
| the power control register | 0 |
|
| ||||||||
|
| D4 |
| CLGP4 |
| (0x40180) and the clock option | 0 |
|
| ||||||||
|
| D3 |
| CLGP3 |
| register (0x40190). |
| 0 |
|
| |||||||
|
| D2 |
| CLGP2 |
| Writing another value set the | 0 |
|
| ||||||||
|
| D1 |
| CLGP1 |
| write protection. |
|
| 0 |
|
| ||||||
|
| D0 |
| CLGP0 |
|
|
|
|
|
|
|
|
|
| 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 |
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
Port function | 00402DF | D7 |
| CFEX7 | P07 port extended function | 1 |
| #DMAEND3 | 0 | P07, etc. | 0 | R/W |
| ||||
extension | (B) | D6 |
| CFEX6 | P06 port extended function | 1 |
| #DMAACK3 |
| 0 | P06, etc. | 0 | R/W |
| |||
register |
| D5 |
| CFEX5 | P05 port extended function | 1 |
| #DMAEND2 | 0 | P05, etc. | 0 | R/W |
| ||||
|
| D4 |
| CFEX4 | P04 port extended function | 1 |
| #DMAACK2 |
| 0 | P04, etc. | 0 | R/W |
| |||
|
| D3 |
| CFEX3 | P31 port extended function | 1 |
| #GARD |
| 0 | P31, etc. | 0 | R/W |
| |||
|
| D2 |
| CFEX2 | P21 port extended function | 1 |
| #GAAS |
| 0 | P21, etc. | 0 | R/W |
| |||
|
| D1 |
| CFEX1 | P10, P11, P13 port extended | 1 |
| DST0 |
| 0 | P10, etc. | 1 | R/W |
| |||
|
|
|
|
| function |
|
| DST1 |
|
| P11, etc. |
|
|
| |||
|
|
|
|
|
|
|
| DPC0 |
|
| P13, etc. |
|
|
| |||
|
| D0 |
| CFEX0 | P12, P14 port extended function | 1 |
| DST2 |
| 0 | P12, etc. | 1 | R/W |
| |||
|
|
|
|
|
|
|
| DCLK |
|
| P14, etc. |
|
|
|
OSC1
S1C33L03 FUNCTION PART | EPSON |