
EM78P569
8-bit OTP Micro-controller
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
8/19/2004 V4.4
If ADI = 0 in IOCE PAGE0 Bit5, when A/D start conversion by setting ADST(IOCB PAGE1 Bit0) = 1 then
A/D will continue conversion without stop and hardware won’t reset ADST bit. In this condition, ADI is
deactived. After ADI in IOCE PAGE0 bit5 is set, ADI in RE PAGE0 bit5 will activate again.
To minimum operating current , all biasing circuits in the A/D module that consume DC current are power
down when ADPWR bit in IOCB PAGE1 Bit2 register is a ’0’. When ADPWR bit is a ‘1’, A/D converter
module is operating.
User has to set PORT60~ PORT65as AD converter input pin or bi-direction IO PORT.
Fig.15 A/D converter timing
Bit 6 (RBF) : SPI’s RBF interrupt mask
0/1
disable/enable interrupt
Bit 7 (PWM2) : PWM2 interrupt enable bit
0/1
disable/enable interrupt
IOCF (Interrupt mask)
(Interrupt mask register)
Bit7
INT3
R/W-0
R/W-0
Bit 0 ~ 5,7 : interrupt enable bit
0
disable interrupt
1
enable interrupt
Bit 6
: (remain these values to “0”othwise it will generate unpredicted interrupts)
The status after interrupt and the interrupt sources list as the table below.
Interrupt signal
GREEN mode
RA(7,6)=(x,0)
no SLEP
TCC time out
IOCF bit0=1
And "ENI"
COUNTER1 time out
IOCF bit1=1
(jump to address 8 at
Bit6
0
Bit5
INT2
R/W-0
Bit4
INT1
R/W-0
Bit3
INT0
R/W-0
Bit2
CNT2
R/W-0
Bit1
CNT1
R/W-0
Bit0
TCIF
R/W-0
NORMAL mode
RA(7,6)=(x,1)
no SLEP
Interrupt
(jump to address 8 at
page0)
Interrupt
(jump to address 8 at
page0)
Interrupt
Interrupt
(jump to address 8 at
START
SAMPLE
ADI(IOCE PAGE0 bit5 ) =1
ADI(RE PAGE0 bit 5)
DATA
Clear by software
1
2
3
4
5
6
7
8
9
10
11
12