EM78P259N/260N

8-Bit Microprocessor with OTP ROM

6.9.3 Programming the Related Registers

When defining TCCX, refer to its related registers operation as shown in the tables below.

TCCX Related Control Registers:

Address

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0x08

IOC80

0

0

CPOUT/0

COS1/0

COS0/0

TCCAEN/0

TCCATS/0

TCCATE/0

0x09

IOC90

TCCBHE/0

TCCBEN/0

TCCBTS/0

TCCBTE/0

0

TCCCEN/0

TCCCTS/0

TCCCTE/0

0x0A

IR CR

TCCCSE/0

TCCCS2/0

TCCCS1/0

TCCCS0/0

IRE/0

HF/0

LGP/0

IROUTE/0

/IOCA0

 

 

 

 

 

 

 

 

 

0x0F

IMR

LPWTE/0

HPWTE/0

TCCCIE/0

TCCBIE/0

TCCAIE/0

EXIE/0

ICIE/0

TCIE/0

/IOCF0

 

 

 

 

 

 

 

 

 

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

ICIF/0

TCIF/0

0x05

TCCA

TCCA7/0

TCCA6/0

TCCA5/0

TCCA4/0

TCCA3/0

TCCA2/0

TCCA1/0

TCCA0/0

/IOC51

 

 

 

 

 

 

 

 

 

0x06

TCCB

TCCB7/0

TCCB6/0

TCCB5/0

TCCB4/0

TCCB3/0

TCCB2/0

TCCB1/0

TCCB0/0

/IOC61

 

 

 

 

 

 

 

 

 

0x07

TCCBH

TCCBH7/0

TCCBH6/0

TCCBH5/0

TCCBH4/0

TCCBH3/0

TCCBH2/0

TCCBH1/0

TCCBH0/0

/IOC71

 

 

 

 

 

 

 

 

 

0x08

TCCC

TCCC7/0

TCCC6/0

TCCC5/0

TCCC4/0

TCCC3/0

TCCC2/0

TCCC1/0

TCCC0/0

/IOC81

 

 

 

 

 

 

 

 

 

6.10 Comparator

EM78P259N/260N has one comparator which has two analog inputs and one output. The comparator can be employed to wake-up from the sleep mode. Figure below shows the circuit of the comparator.

Cin -

-

 

 

CO

 

 

Cin+

+

CMP

 

 

 

Cin-

 

 

Cin+

 

 

Output

 

 

 

30mV

 

Fig. 6-14 Comparator Operating Mode

58 •

Product Specification (V1.2) 05.18.2007

 

(This specification is subject to change without further notice)

Page 64
Image 64
IBM EM78P259N/260N manual Comparator, Related Tccx Status/Data Registers