EM78P312N
8-Bit Microcontroller
Table 6. Summary of the Initialized Values for Registers
Address |
| Name |
| Reset Type |
| Bit 7 |
| Bit 6 |
| Bit 5 |
| Bit 4 |
| Bit 3 |
| Bit 2 |
| Bit 1 |
| Bit 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bit Name |
| C67 |
| C66 |
| C65 |
| C64 |
| C63 |
| C62 |
| C61 |
| C60 |
0x06 |
| IOC6 |
|
| 1 | 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 | ||
|
|
|
| /RESET and WDT time out |
| 1 | 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 | |
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| X |
| X |
| X |
| X |
| C73 |
| C72 |
| C71 |
| C70 |
0x07 |
| IOC7 |
|
| U |
| U |
| U |
| U | 1 | 1 |
| 1 |
| 1 | |||
|
| /RESET and WDT time out |
| U |
| U |
| U |
| U | 1 | 1 |
| 1 |
| 1 | ||||
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
| U |
| U |
| U |
| U |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| X |
| X |
| X |
| X |
| X |
| X |
| C81 |
| C80 |
0x08 |
| IOC8 |
|
| U |
| U |
| U |
| U |
| U |
| U |
| 1 |
| 1 | |
|
| /RESET and WDT time out |
| U |
| U |
| U |
| U |
| U |
| U |
| 1 |
| 1 | ||
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
| U |
| U |
| U |
| U |
| U |
| U |
| P |
| P | |
|
|
|
| Bit Name |
| C97 |
| C96 |
| C95 |
| C94 |
| C93 |
| C92 |
| C91 |
| C90 |
0x09 |
| IOC9 |
| 1 | 1 |
| 1 | 1 | 1 | 1 |
| 1 |
| 1 | ||||||
|
| /RESET and WDT time out | 1 | 1 |
| 1 | 1 | 1 | 1 |
| 1 |
| 1 | |||||||
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| INT1NR |
| INT0EN |
| X |
| INT3ES1 |
| INT3ES0 |
| X |
| INT1ES |
| TC2ES |
0x0B |
| INTCR |
| 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 |
| 0 | ||||||
|
| /RESET and WDT time out | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 |
| 0 | |||||||
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| CALI |
| SIGN |
| VOF2 |
| VOF1 |
| VOF0 |
| X |
| X |
| X |
0x0C |
| ADOSC | 0 | 0 |
| 0 | 0 | 0 |
| U |
| U |
| U | ||||||
| R |
| /RESET and WDT time out | 0 |
| P |
| P |
| P |
| P |
| U |
| U |
| U | ||
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
| 0 |
| P |
| P |
| P |
| P |
| U |
| U |
| U | ||
|
|
|
| Bit Name |
| EXIE5 |
| TCIE2 |
| ADIE |
| X |
| EXIE3 |
| TCIE4 |
| SPIE |
| TCIE3 |
0x0E |
| IMR1 |
| 0 | 0 |
| 0 |
| U | 0 | 0 |
| 0 |
| 0 | |||||
|
| /RESET and WDT time out | 0 | 0 |
| 0 |
| U | 0 | 0 |
| 0 |
| 0 | ||||||
|
|
|
|
|
|
|
| |||||||||||||
|
|
|
|
| P |
| P |
| P |
| U |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| X |
| UERRIE |
| URIE |
| UTIE |
| TBIE |
| EXIE1 |
| X |
| TCIE0 |
0x0F |
| IMR2 |
|
| U | 0 |
| 0 | 0 | 0 | 0 |
| U |
| 0 | |||||
|
| /RESET and WDT time out |
| U | 0 |
| 0 | 0 | 0 | 0 |
| U |
| 0 | ||||||
|
|
|
|
|
|
|
| |||||||||||||
|
|
|
|
| U |
| P |
| P |
| P |
| P |
| P |
| U |
| P | |
|
|
|
| Bit Name |
| WDT0 |
| /INT |
| WDTP1 | WDTP0 |
| WDTE |
| PSR2 |
| PSR1 |
| PSR0 | |
N/A |
| CONT |
| 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 |
| 0 | ||||||
|
| /RESET and WDT time out | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 |
| 0 | |||||||
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name | - | - |
| - | - | - | - |
| - |
| - | |||||
0x00 |
| R0 |
|
| U |
| U |
| U |
| U |
| U |
| U |
| U |
| U | |
|
| /RESET and WDT time out |
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | ||
| (IAR) |
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| - |
| - |
| - |
| - |
| - |
| - |
| - |
| - |
0x01 |
| R1 |
| 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 |
| 0 | ||||||
| (TCC) |
| /RESET and WDT time out | 0 | 0 |
| 0 | 0 | 0 | 0 |
| 0 |
| 0 | ||||||
|
|
|
|
|
| |||||||||||||||
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
| Bit Name |
| - |
| - |
| - |
| - |
| - |
| - |
| - |
| - |
0x02 |
| R2 |
| 0 | 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 | |||
| (PC) |
| /RESET and WDT time out | 0 | 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 | |||
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
| Jump to interrupt vector or execute next instruction |
|
| |||||||||||
|
|
|
| Bit Name |
| RBS1 |
| RBS0 |
| X |
| T |
| P |
| Z |
| DC |
| C |
0x03 |
| R3 |
| 0 | 0 |
| 0 |
| 1 |
| 1 |
| U |
| U |
| U | |||
| (SR) |
| /RESET and WDT time out | 0 | 0 |
| 0 |
| t |
| t |
| P |
| P |
| P | |||
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
| P |
| P |
| P |
| t |
| t |
| P |
| P |
| P | |
|
|
|
| Bit Name |
| X |
| GRBS0 |
| RSR5 |
| RSR4 |
| RSR3 |
| RSR2 |
| RSR1 |
| RSR0 |
0x04 |
| R4 |
| 0 | 0 |
| U |
| U |
| U |
| U |
| U |
| U | |||
| (RSR) |
| /RESET and WDT time out | 0 | 0 |
| P |
| P |
| P |
| P |
| P |
| P | |||
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
| P |
| P |
| P |
| P |
| P |
| P |
| P |
| P | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 • |
|
|
|
|
|
|
|
|
| Product Specification (V1.0) 10.03.2006 |
(This specification is subject to change without further notice)