em78p5830aa ELAN Microelectronics Corp, em78p5830aa Datasheet - Page 26

no-image

em78p5830aa

Manufacturer Part Number
em78p5830aa
Description
8-bit Micro-controller 8-bit Micro-controller
Manufacturer
ELAN Microelectronics Corp
Datasheet
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
IOCC (PORTC I/O control, ADC control)
PAGE0 (Unused)
** 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)
IOCD (Clock source, Prescaler of CN1 and CN2)
PAGE0 (Reserved)
PAGE1 (Clock source and prescaler for COUNTER1 and COUNTER2)
R/W-1
R/W-0
CNT2S
R/W-0
Bit 1 ~ Bit 2 (IOCC1 ~ IOCC2) : PORTC(1~2) I/O direction control register
Bit 0(MS) : P6* switch mode selection
Bit 1 ~ Bit 7: (undefined) not allowed to use
Bit 0 ~ Bit 2 (C1_PSC0 ~ C1_PSC2) : COUNTER1 prescaler ratio
Bit 4 ~ Bit 6 (C2_PSC0 ~ C2_PSC2) : COUNTER2 prescaler ratio
Bit 3(CNT1S) : COUNTER1 clock source
Bit 7(CNT2S) : COUNTER2 clock source
0
1
7
0
1
(Always set this bit to “1” otherwise partial ADC function cannot be used)
7
0
-
0/1
0/1
7
C1_PSC2
C2_PSC2
put the relative I/O pin as output
put the relative I/O pin into high impedance
(default unknown)
ADC input mode selection
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
16.384kHz/system clock
16.384kHz/system clock
R/W-1
R/W-0
C2_PSC2
R/W-0
6
6
0
-
6
C1_PSC1
C2_PSC1
R/W-1
R/W-0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
C2_PSC1
5
5
0
-
R/W-0
5
C1_PSC0
C2_PSC0
R/W-1
R/W-0
4
4
0
-
C2_PSC0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
R/W-0
4
R/W-1
R/W-0
COUNTER1
COUNTER2
3
3
0
-
1:128
1:256
1:128
1:256
CNT1S
R/W-0
1:16
1:32
1:64
1:16
1:32
1:64
1:2
1:4
1:8
1:2
1:4
1:8
24
3
R/W-1
R/W-0
IOCC2
2
2
-
C1_PSC2
R/W-0
2
R/W-1
R/W-0
IOCC1
1
1
-
C1_PSC1
R/W-0
R/W-1
R/W/0
1
MS
0
0
0
8-bit Micro-controller
C1_PSC0
R/W-0
12/1/2004 V1.6
0
EM785830AA

Related parts for em78p5830aa