EM78P258N
8-Bit Microprocessor with OTP ROM
6.9.3 Programming the Related Registers
When defining TCCX, refer to the related registers of its 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
TCCAEN TCCATS TCCATE
0x08
IOC80
0
0
0
0
0
/0
/0
0
/0
0
TCCBHE TCCBEN
/0 /0
TCCCEN
/0
0x09
0x0A
0x0F
IOC90
0
0
0
IR CR
/IOCA0
TCCCSE TCCCS2 TCCCS1/ TCCCS0
/0 /0 /0
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 Oscillator
6.10.1 Oscillator Modes
The EM78P258N can be operated in four different oscillator modes, such as High XTAL
oscillator mode (HXT), Low XTAL oscillator mode (LXT), External RC oscillator mode
(ERC), and RC oscillator mode with Internal RC oscillator mode (IRC). You can select
one of them by programming the OSC2, OCS1, and OSC0 in the CODE Option
register.
Product Specification (V1.0) 06.16.2005
• 55
(This specification is subject to change without further notice)