EM78P259N/260N
8-Bit Microprocessor with OTP ROM
6.13 Code Option
EM78P259N/260N has two CODE option words and one Customer ID word that are
not part of the normal program memory.
Word 0
Word1
Word 2
Bit12 ~ Bit0
Bit12 ~ Bit0
Bit12 ~ Bit0
6.13.1 Code Option Register (Word 0)
WORD 0
Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
Bit 7
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
–
–
–
TYPE CLKS ENWDTB OSC2 OSC1 OSC0 HLP
PR2
PR1
PR0
Bit 12 ~ 10:
Not used (reserved). These bits are set to “1” all the time
Bit 9 (TYPE):
Type selection for EM78P259N or EM78P260N
0 = EM78P260N
1 = EM78P259N (default)
Bit 8 (CLKS):
Instruction period option bit
0 = two oscillator periods
1 = four oscillator periods (default)
Refer to Section 6.15 for Instruction Set
Bit 7 (ENWDTB): Watchdog timer enable bit
0 = Enable
1 = Disable (default)
Bit 6, 5 & 4 (OSC2, OSC1 & OSC0): Oscillator Modes Selection bits
Oscillator Modes
OSC2 OSC1 OSC0
ERC1 (External RC oscillator mode); P70/OSCO acts as P70
ERC1 (External RC oscillator mode); P70/OSCO acts as OSCO
IRC2 (Internal RC oscillator mode); P70/OSCO acts as P70
IRC2 (Internal RC oscillator mode); P70/OSCO acts as OSCO
LXT3 (Low XTAL oscillator mode)
0
0
0
0
1
1
0
0
1
1
1
1
0
1
0
1
0
1
HXT3 High XTAL oscillator mode) (default)
1 Under ERC mode, OSCI is used as oscillator pin. OSCO/P70 is defined by code
option WORD0 Bit6 ~ Bit4.
2 Under IRC mode, P55 is normal I/O pin. OSCO/P70 is defined by code
option WORD0 Bit6 ~ Bit4.
3 Under LXT and HXT modes; OSCI and OSCO are used as oscillator pins. These
pins cannot and should not be defined as normal I/O pins.
NOTE
The transient point of the system frequency between HXT and LXY is around 400kHz.
Product Specification (V1.0) 06.16.2005
• 67
(This specification is subject to change without further notice)