EM78P257
OTP ROM
11. RC (TCC Prescaler Counter)
TCC prescaler counter can be read and written.
PSR2 PSR1 PSR0 Bit7 Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TCC Rate
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
-
-
-
-
-
-
-
-
-
-
-
-
-
V
V
V
V
V
V
V
V
1:2
1:4
V
V
V
V
V
V
V
-
-
-
-
-
V
V
V
V
V
V
1:8
-
-
-
-
V
V
V
V
V
1:16
1:32
1:64
1:128
1:256
-
-
-
V
V
V
V
-
-
V
V
V
-
V
V
V
*V: valid value
12. RD (IR Control Register)
7
6
5
4
3
2
1
0
DP1
DP0
MF1
MF0
IRE
HF
LGP
PWM
• Bit 7: Bit 6 (DP1:DP0) : Ratios of duty and period of modulated frequency
DP1
DP0
Ratio
0
0
1
1
0
1
0
1
1:2(default)
1:2
1:3
1
1
1:3
1:4
-
2
3
• Bit 5: Bit 4 ( MF1:MF0 ) : Modulated frequency
MF1
MF0
Fosco
0
0
1
1
0
1
0
1
Fosc/1
-
Fosc/4
Fosc/8
• Bit 3(IRE) Infrared Remote Enable bit
0: Disable IRE. Disable H/W Modulator Function.
1: Enable IRE. Disable RB (Bit4(TCCBTE) and Bit5(TCCBTS)), and TCCBX acts as a down counter.
Enable H/W Modulator Function. Pin 67 defined as IR OUT.
• Bit 2(HF) High Frequency. When HF = 1; the Low-time part of the generated pulse is modulated with
a frequency Fosco.
• Bit 1(LGP) Long Pulse. When LGP = 1, the contents of the High-time register are ignored. A single
pulse is generated; its pulse is high.
Pulse width = (Contents of Low-time register) x (number of pulse) x (1/Fosc)
If HF = 1, this pulse is modulated with a frequency Fosco (selected by MF1,MF0).
This specification is subject to change without prior notice.
16
07.27.2004 (V1.4)