EM78P312N
8-Bit Microcontroller
General Purpose Registers
Address |
| Name |
| Reset Type |
| Bit 7 |
| Bit 6 |
| Bit 5 |
| Bit 4 |
| Bit 3 |
| Bit 2 |
|
| Bit 1 |
| Bit 0 |
0x10 |
| R10 |
| Bit Name |
| - |
| - |
| - |
| - |
| - |
| - |
|
| - |
| - |
|
| U |
| U |
| U |
| U |
| U |
| U |
|
| U |
| U | ||||
~ |
| ~ |
|
|
|
|
|
|
|
|
|
| |||||||||
|
| /RESET and WDT time out |
| P |
| P |
| P |
| P |
| P |
| P |
|
| P |
| P | ||
0x3F |
| R3F |
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
| P |
| P |
| P |
| P |
| P |
| P |
|
| P |
| P | |||
|
|
|
| Legend: “⋅” = not used |
|
|
|
| “P” = previous value before reset |
|
|
| |||||||||
|
|
|
| “u” = unknown or don’t care |
|
| “t” = check Table 7 |
|
|
|
|
|
|
|
5.14.4 The Status of RST, T, and P of the Status Register
The values of T and P are used to verify the event that triggered the processor to wake up. Table 7 shows the events that may affect the status of T and P.
Table 7. The Values of RST, T and P after a reset
| Reset Type |
|
|
| T |
| P | |
|
|
|
|
|
|
|
|
|
| Power on |
|
| 1 |
| 1 |
| |
|
|
|
|
|
|
|
|
|
| /RESET during Operation mode |
|
| *P |
| *P | ||
|
|
|
|
|
|
|
|
|
| /RESET |
|
| *P |
| *P | ||
|
|
|
|
|
|
|
|
|
| /RESET |
|
| *P |
| *P | ||
|
|
|
|
|
|
|
|
|
| WDT during Operation mode |
| 0 |
| *P | |||
|
|
|
|
|
|
|
|
|
| WDT |
| 0 |
| *P | |||
|
|
|
|
|
|
|
|
|
| WDT |
| 0 |
| *P | |||
|
|
|
|
|
|
|
|
|
*P: Previous status before reset |
|
|
|
|
| |||
Table 8 The Events that may affect the T and P Status |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
| Event |
|
|
| T |
| P |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| Power on |
|
| 1 |
| 1 |
| |
|
|
|
|
|
|
|
| |
| WDTC instruction |
|
| 1 |
| 1 |
| |
|
|
|
|
|
|
| ||
| WDT |
|
| 0 |
| *P | ||
|
|
|
|
|
|
|
| |
| SLEP instruction |
|
| 1 |
| 0 |
| |
|
|
|
|
|
|
| ||
|
|
| *P |
| *P | |||
|
|
|
|
|
|
| ||
*P: Previous value before reset |
|
|
|
|
|
48 • | Product Specification (V1.0) 10.03.2006 |
(This specification is subject to change without further notice)