EM78M611E
Universal Serial Bus Series Microcontroller
APPENDIX
A Special Register Map
Operation Registers
Address |
|
| Name | Bit 7 |
| Bit 6 |
| Bit 5 |
| Bit 4 |
| Bit 3 |
| Bit 2 |
| Bit1 |
| Bit 0 |
| Default Value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x00 |
| R0 |
|
|
|
|
|
|
| Indirect Addressing Register |
|
|
|
| 0B_0000_0000 | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x01 |
| R1 | (TCC) |
|
|
|
|
|
| Timer/Clock Counter |
|
|
|
|
|
|
| 0B_0000_0000 | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x02 |
| R2 | (PC) |
|
|
|
|
|
| Program Counter |
|
|
|
|
|
|
| 0B_0000_0000 | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0x03 |
| R3 | (STATUS) | PS2 |
| PS1 |
| PS0 |
| T |
| P |
| Z |
| DC |
| C |
| 0B_0001_1xxx |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x04 |
| R4 | (RSR) | BK1 |
| BK0 |
| Select the register( Address: 00~3F) in indirect addressing mode |
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0x05 |
| R5 | (Port 5) | P57 |
| P56 |
| P55 |
| P54 |
| P53 |
| P52 |
| P51 |
| P50 |
| 0B_0000_0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0x06 |
| R 6 (Port 6) | P67 |
| P66 |
| P65 |
| P64 |
| P63 |
| P62 |
| P61 |
| P60 |
| 0B_0000_0000 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x07 |
| R 7 (Port 7) | P77 |
| P76 |
| P75/D- |
| P74/D+ |
| - |
| P72 |
| P71 |
| P70 |
| 0B_0000_u000 | |
|
|
| /DATA |
| /CLK |
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x08 |
| R8 | (Port 8) | P87 |
| P86 |
| P85 |
| P84 |
| P83 |
| P82 |
| P81 |
| P80 |
| 0B_0000_0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x09 |
| R9 | (Port 9) | - |
| P96 |
| P95 |
| - |
| P93 |
| P92 |
| P91 |
| P90 |
| 0B_u00u_0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x0A |
| RA |
| - |
| - |
| - |
| - |
| - |
| EE_OK |
| EE_C1 |
| EE_C0 |
| 0B_1111_1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x0B |
| RB |
| SE2.F |
| SE1.F |
| SR.2 |
| SR.1 |
| SR.0 |
| DB2 |
| DB1 |
| DB0 |
| 0B_1111_1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x0C |
| RC |
| EP0_W |
| EP0_R |
| EP1_ |
| EP2_R |
| EP2_W |
| UDC |
| UDC |
| STALL |
| 0B_0000_0000 |
|
|
|
| R |
|
|
| _SUSPEND |
| _Writing |
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x0D |
| RD |
|
|
|
|
| USB Application FIFO Address Register |
|
|
|
| 0B_0000_0000 | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
0x0E |
| RE |
|
|
|
|
| USB Application FIFO Data Register |
|
|
|
| 0B_0000_0000 | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| USB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0x0F |
| RF |
| Host |
| SE1_IF |
| SE1_IF |
| Port 7 state |
| USB |
| USB |
| EP0_IF |
| TCC_IF |
|
|
|
| Resume |
|
|
| change_1F |
| Reset_IF |
| Suspend_IF |
|
|
| 0B_0000_0000 | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
| _IF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Product Specification (V1.11) 04.20.2007 | • 35 |
(This specification is subject to change without further notice)