em78p5842 ELAN Microelectronics Corp, em78p5842 Datasheet - Page 19

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.
IOC5
IOC6 (PORT6 I/O control, P6* pins switch control)
PAGE0 (PORT6 I/O control register)
Bit0~Bit1: In crystal mode, these two bits are unused registers. In IRC or ERIC mode, PORT60 and PORT61 are
Bit 2 ~ Bit 6 (IOC62 ~ IOC66) : PORT6(2~5) I/O direction control register
Bit6~Bit7 (Unused): These2 bits must clear to 0 or MCU power consumption will increase.
PAGE1 (P6* pins switch control register)
I/O direction control register.
ADC channel 1 and channel 2 are shared with PORT90 and PORT91.
Bit 0(P90S) : Select normal I/O PORT90 pin or channel 1 input AD1 pin of ADC
-
X
X
7
0 Î put the relative I/O pin as output
1 Î put the relative I/O pin into high impedance
7
-
(undefined) not allowed to use.(This page is not sure to 0 or 1 )
oscillator
oscillator
Output
IRC2
(32K)
IRC1
ERC
PLL
The default value in these 2 bits are “1”. Please clear them to “0” when init MCU.
R/W-X
R/W-0
6
0
6
0
R/W-1
IOC65
R/W-0
OSCM1,0
P65S
5
5
R/W-1
IOC64
R/W-0
4
P64S
4
Fig.5 Block diagram of TCC WDT
R/W-1
IOC63
3
R/W-0
P63S
3
17
R/W-1
IOC62
2
R/W-0
P62S
2
R/W-1
IOC61
1
R/W-0
P91S
1
R/W-1
IOC60
0
EM785840/5841/5842
8-bit Micro-controller
R/W-0
P90S
0
2004/11/10 V1.2

Related parts for em78p5842