
* This specification is subject to be changed without notice. 7.23.2001
8
EM78P451
•Only the lower 6 bits of the IOC9 register are used.
4. IOCD (Pull-high Control Register)
7654321 0
S7 - - - /PU9 /PU8 /PU6 /PU5
•The default values of /PU5, /PU6, /PU8, and /PU9 are “1”which means the pull-high function is disabled.
•/PU6, /PU9 are "AND" gating with /PHEN; that is, each one written "0" will enable the pull high function.
•S7 defines the driving ability of the P70-P72.
0: Normal output.
1: Enhance the driving ability for LED.
5. IOCE (WDT Control Register)
7654321 0
- ODE WTE SLPC ROC - - /WUE
•Bit 0 (/WUE) Control bit used to enable the wake-up function of P60~P67, P74~P75, and P90~P91.
0: Enable the wake-up function.
1: Disable the wake-up function.
The /WUE bit can be read and written.
•Bit 3 (ROC) ROC is used for the R-option. Setting ROC to "1" will enable the status of R-option pins (P80, P81)
to be read by the controller. Clearing ROC will disable the R-option function. Otherwise, the R-option function
is introduced. Users must connect the P81 pin or/and P80 pin to VSS by a 560KΩexternal resistor (Rex). If Rex
is connected/disconnected with VDD, the status of P80 (P81) will be read as "0"/"1". Refer to Fig. 7(b). The ROC
bit can be read and written.
•Bit 4 (SLPC) This bit is set by hardware at the falling edge of wake-up signal and is cleared in software. SLPC is
used to control the operation of oscillator. The oscillator is disabled (oscillator is stopped, and the controller
enters the SLEEP2 mode) on the high-to-low transition and is enabled (the controller is awakened from SLEEP2
mode) on the low-to-high transition. In order to ensure the stable output of the oscillator, once the oscillator is enabled
again, there is a delay for approximately 18 ms (oscillator start-up timer, OST) before the next instruction of program
being executed. The OST is always activated by wake-up from sleep mode whether the Code Option bit WTC is "0"
or not.After waking up, the WDT is enabled if Code Option WTC is "1". The block diagram of SLEEP2 mode and
wake-up caused by input triggered are depicted in Fig. 5. The SLPC bit can be read and written.
•Bit 5 (WTE) Control bit used to enable Watchdog Timer.
The WTE bit is used only if WTC, the CODE option bit, is "1". If the WTC bit is "1", then WDT can
be disabled/enabled by the WTE bit.
0: Disable WDT.
1: Enable WDT.
The WTE bit is not used if WTC, the CODE option bit WTC, is "0". That is, if the WTC bit is "0", WDT is
always disabled no matter what the WTE bit is.
The WTE bit can be read and written.