EM78P569
8-bit OTP Micro-controller
IOCC (PORTC I/O control, ADC control)
PAGE0 (PORTC I/O control register)
7
6
5
4
3
2
1
0
IOCC7 IOCC6 IOCC5 IOCC4 IOCC3 IOCC2 IOCC1 IOCC0
R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
Bit 0 ~ Bit 7 (IOCC0 ~ IOCC7) : PORTC(0~7) I/O direction control register
0 put the relative I/O pin as output
1 put the relative I/O pin into high impedance
PAGE1 (PORT switch)
7
6
5
4
3
2
1
0
PC7S PC6S PC5S PBSH PBSL P5SH
-
MS
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: (undefined) not allowed to use
Bit 2(P5SH) : Switch I/O PORT5 high nibble(5~7) or LCD segment signal
0 (P55 ~ P57 pins are selected) : normal PORT5 high nibble(5~7)
1 (SEG10 ~ SEG12 pins are selected) : SEGMENT output
Bit 3(PBSL) : Switch I/O PORTB low nibble(0~3) or LCD segment signal
0 (PB0 ~ PB3 pins are selected) : normal PORTB low nibble(0~3)
1 (SEG28 ~ SEG25 pins are selected) : SEGMENT output
Bit 4(PBSH) : Switch I/O PORTB high nibble(4~7) or LCD segment signal
0 (PB5 ~ PB7 pins are selected) : normal PORTB high nibble(4~7)
1 (SEG24 ~ SEG21 pins are selected) : SEGMENT output
Bit 5(PC5S) : Switch I/O PORTC5 or LCD segment signal
0 (PC5 pin is selected) : normal PORTC5
1 (SEG31 pin) : SEGMENT output
Bit 6(PC6S) : Switch I/O PORTC6 or LCD segment signal
0 (PC6 pin is selected) : normal PORTC6
1 (SEG30 pin) : SEGMENT output
Bit 7(PC7S) : Switch I/O PORTC7 or LCD segment signal
0 (PC7 pin is selected) : normal PORTC7
1 (SEG29 pin) : SEGMENT output
IOCD (Clock source, Prescaler of CN1 and CN2)
PAGE0: (undefined) not allowed to use
PAGE1 (Clock source and prescaler for COUNTER1 and COUNTER2)
7
6
5
4
3
2
CNT2S C2_PSC2 C2_PSC1 C2_PSC0 CNT1S C1_PSC2
R/W-0 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
0
0
0
1:2
0
0
1
1:4
0
1
0
1:8
0
1
1
1:16
1
0
0
1:32
1
C1_PSC1
R/W-0
0
C1_PSC0
R/W-0
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
37
8/19/2004 V4.4