EM78P259N/260N
8-Bit Microprocessor with OTP ROM
6.9.3 Programming the Related Registers
When defining TCCX, refer to the operation of its related registers as shown in the
tables below.
TCCX Related Control Registers:
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
TCCAEN TCCATS TCCATE
/0 /0 /0
TCCCEN TCCCTS TCCCTE
Bit 1
Bit 0
0x08
IOC80
0
0
CPOUT/0 COS1/0 COS0/0
TCCBHE TCCBEN TCCBTS TCCBTE
/0 /0 /0 /0
TCCCSE TCCCS2 TCCCS1/ TCCCS0
/0 /0 /0
0x09
0x0A
0x0F
IOC90
0
/0
/0
/0
IR CR
/IOCA0
IRE/0
HF/0
LGP/0 IROUTE/0
0
IMR
/IOCF0
LPWTE/0 HPWTE/0 TCCCIE/0 TCCBIE/0 TCCAIE/0 EXIE/0
ICIE/0
TCIE/0
Related TCCX Status/Data Registers:
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0x0F
ISR/RF LPWTF/0 HPWTF/0 TCCCIF/0 TCCBIF/0 TCCAIF/0 EXIF/0
TCCA
/IOC51
ICIF/0
TCIF/0
0x05
0x06
0x07
0x08
TCCA7/0 TCCA6/0 TCCA5/0 TCCA4/0 TCCA3/0 TCCA2/0 TCCA1/0 TCCA0/0
TCCB7/0 TCCB6/0 TCCB5/0 TCCB4/0 TCCB3/0 TCCB2/0 TCCB1/0 TCCB0/0
TCCB
/IOC61
TCCBH TCCBH7 TCCBH6 TCCBH5 TCCBH4 TCCBH3 TCCBH2 TCCBH1 TCCBH0
/IOC71
/0
/0
/0
/0
/0
/0
/0
/0
TCCC
/IOC81
TCCC7/0 TCCC6/0 TCCC5/0 TCCC4/0 TCCC3/0 TCCC2/0 TCCC1/0 TCCC0/0
6.10 Comparator
EM78P259N/260N has
-
Cin
one comparator which
has two analog inputs and
one output. The
-
CO
CMP
Cin+
+
comparator can be
employed to wake-up
from the sleep mode.
Figure below shows the
circuit of the comparator.
Cin-
Cin+
Output
30mV
Fig. 6.13 Comparator Operating Mode
58 •
Product Specification (V1.0) 06.16.2005
(This specification is subject to change without further notice)