EM78P5840N/41N/42N
8-Bit Microcontrollers
OSCM1,0
PLL
Output
IRC
oscillator
ERIC
oscillator
OSCM1,0
Xtal
32.768k
/2
IRC
oscillator
ERIC
oscillator
Figure 7-3 TCC/WDT Block Diagram
7.3.3 IOC6 (Port 6 I/O Control, P6 Pin Switch Control)
Page 0 (Port 6 I/O Control Register)
Bit 7
Bit 6
Bit 5
IOC65
R/W-1
Bit 4
IOC64
R/W-1
Bit 3
IOC63
R/W-1
Bit 2
IOC62
R/W-1
Bit 1
IOC61
R/W-1
Bit 0
IOC60
R/W-1
0
-
0
-
Bit 0 ~ Bit 1 (IOC60 ~ IOC61): In IRC or ERIC mode, Port 60 and Port 61 are I/O
direction control registers. In Crystal mode, these two bits are unused.
Bit 2 ~ Bit 5 (IOC62 ~ IOC65): Port 62 ~ Port 65 I/O direction control register
"0" : Set the corresponding I/O pin as output
"1" : Set the corresponding I/O pin to high impedance
Bit 6 ~ Bit 7 (undefined): These bits are not used. However, these two bits must be
cleared to “0.” Otherwise, the MCU power consumption will increase.
NOTE
The default value of these bits is “1.” Clear them to “0” when initializing
the MCU.
20 •
Product Specification (V1.0) 04.25.2006
(This specification is subject to change without further notice)