em78p5842 ELAN Microelectronics Corp, em78p5842 Datasheet - Page 23

no-image

em78p5842

Manufacturer Part Number
em78p5842
Description
8-bit Micro-controller
Manufacturer
ELAN Microelectronics Corp
Datasheet
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
IRC2
P94
ERC
Fosc
Fpll
PAGE1 (PORT switch)
IOCD (TONE1 control, Clock source, Prescaler of CN1)
PAGE0 (Reserved)
PAGE1 (Clock source and prescaler for COUNTER1)
CNTI/ES
R/W-0
Bit 0: Always set this bit to “1” otherwise partial ADC function cannot be used)
Bit 1 ~ Bit 7: (undefined) not allowed to use
R/W-0
Bit 0 ~ Bit 2 (C1_PSC0 ~ C1_PSC2) : COUNTER1 prescaler ratio
Bit4 ~ Bit6: Unused register. These three bits are not allowed to use.
Bit7 (CNTI/ES):Counter source select.
CNTI/ES = 0
CHTI/ES = 1
Bit 3(CNT1S) : COUNTER1 clock source. This bit will un-effect on RC mode (RC mode’s CLK is always
7
CNT1S
-
0/1 Î 16.384kHz / system clock.
7
C1_PSC2
0
0
0
0
1
1
1
1
R/W-0
6
-
OSCM1,0
X
Æ
-
Æ
6
C1_PSC1
Timer counter CLK come from system CLK or Crystal output and P94 is defined to
general propose IO.
P94 is defined to input and Timer counter’s CLK will come from P94’s falling edge.
equal to oscillator frequency).
R/W-0
0
0
1
1
0
0
1
1
CNTI/ES
5
-
X
-
5
C1_PSC0
R/W-0
Fig 7: Timer CLK source diagram
4
-
0
1
0
1
0
1
0
1
PSR2..PSR0
Prescaler
X
-
4
R/W-0
COUNTER1
3
-
CNT1S
1:128
1:256
R/W-0
1:16
1:32
1:64
1:2
1:4
1:8
21
3
R/W-0
2
-
C1_PSC2
Counter
TRL
R/W-0
Timer
8-bit
EN
reload
2
R/W-0
1
-
C1_PSC1
R/W-0
R/W/0
1
Overflow
0
1
EM785840/5841/5842
8-bit Micro-controller
C1_PSC0
R/W-0
2004/11/10 V1.2
0
Timer Interrupt
Timer wake up

Related parts for em78p5842