EM785830AA
8-bit Micro-controller
IOCC (PORTC I/O control, ADC control)
PAGE0 (Unused)
7
0
6
0
5
0
4
0
3
0
2
1
0
IOCC2
R/W-1
IOCC1
R/W-1
0
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
Bit 1 ~ Bit 2 (IOCC1 ~ IOCC2) : PORTC(1~2) I/O direction control register
0 Î put the relative I/O pin as output
1 Î put the relative I/O pin into high impedance
** Bit0 , Bit3 ~ Bit7 must clear to 0 or MCU power consumption will increase.
The default value in these 6 un-define bits are “1”. Please clear them to “0” when init MCU.
PAGE1 (PORT switch)
7
-
6
-
5
-
4
-
3
-
2
-
1
-
0
MS
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W/0
Bit 0(MS) : P6* switch mode selection
0 Î (default unknown)
1 Î ADC input mode selection
(Always set this bit to “1” otherwise partial ADC function cannot be used)
Bit 1 ~ Bit 7: (undefined) not allowed to use
IOCD (Clock source, Prescaler of CN1 and CN2)
PAGE0 (Reserved)
PAGE1 (Clock source and prescaler for COUNTER1 and COUNTER2)
7
6
5
4
3
2
1
C1_PSC2 C1_PSC1 C1_PSC0
R/W-0 R/W-0 R/W-0
0
CNT2S
C2_PSC2 C2_PSC1 C2_PSC0
CNT1S
R/W-0
R/W-0 R/W-0 R/W-0
R/W-0
Bit 0 ~ Bit 2 (C1_PSC0 ~ C1_PSC2) : COUNTER1 prescaler ratio
C1_PSC2
C1_PSC1
C1_PSC0
COUNTER1
1:2
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1:4
1:8
1:16
1:32
1:64
1:128
1:256
Bit 3(CNT1S) : COUNTER1 clock source
0/1 Î 16.384kHz/system clock
Bit 4 ~ Bit 6 (C2_PSC0 ~ C2_PSC2) : COUNTER2 prescaler ratio
C2_PSC2
C2_PSC1
C2_PSC0
COUNTER2
1:2
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1:4
1:8
1:16
1:32
1:64
1:128
1:256
Bit 7(CNT2S) : COUNTER2 clock source
0/1 Î 16.384kHz/system clock
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
24
12/1/2004 V1.6