
EM78P870
8-bit OTP Micro-controller
_________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
35
8/19/2004 (V1.5)
PAGE1 (PORT7 pull high control register)
7
6
PH77
PH76
Bit 0 ~ Bit 7 (PH70 ~ PH77) : PORT7(0~7) pull high control register
0
disable pull high function.
1
enable pull high function
IOCB (PORTB I/O control, PORT6 pull high control)
PAGE0 (PORTB I/O control register)
7
6
5
IOCB7
IOCB6
IOCB5
Bit 0 ~ Bit 7 (IOCB0 ~ IOCB7) : PORTB(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 (PORT6 pull high control register)
7
6
5
4
PH67
PH66
PH65
PH64
Bit 0 ~ Bit 7 (PH60 ~ PH67) : PORT6(0~7) pull high control register
0
disable pull high function.
1
enable pull high function
IOCC (PORTC I/O control, TONE1 control)
PAGE0 (PORT9 I/O control register)
7
6
5
4
IOCC7
IOCC6
IOCC5
IOCC4
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 (TONE1 control register)
7
6
5
4
T17
T16
T15
T14
Bit 0 ~ Bit 7(T10 ~ T17) : Tone generator1‘s frequency divider and power control
Please Run in Normal mode .
Clock source = 111957Hz
T17~T10 = ‘11111111’ => Tone generator1 will has 439Hz SIN wave output.
:
T17~T10 = ‘00000010’ => Tone generator1 will has 55978Hz SIN wave output.
T17~T10 = ‘00000001’ => DC bias voltage output
T17~T10 = ‘00000000’ => Power off
Built-in tone generator can generate dialing tone signals for telephone of dialing tone type or just a single
tone. In DTMF application, there are two kinds of tone. One is the group of row frequency (TONE1), the
other is the group of column frequency (TONE2), each group has 4 kinds of frequency, user can get 16
kinds of DTMF frequency totally. Tone generator contains a row frequency sine wave generator for
generating the DTMF signal which selected by IOCC and a column frequency sine wave generator for
generating the DTMF signal which selected by IOCD. This block can generate single tone by filling one of
these two registers.
5
4
3
2
1
0
PH75
PH74
PH73
PH72
PH71
PH70
4
3
2
1
0
IOCB4
IOCB3
IOCB2
IOCB1
IOCB0
3
2
1
0
PH63
PH62
PH61
PH60
3
2
1
0
IOCC3
IOCC2
IOCC1
IOCC0
3
2
1
0
T13
T12
T11
T10