SN8P26L00 Series
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 93
Preliminary Version 0.2
9.2
IR CONTROL REGISTER
9.2.1 TC0M MODE REGISTER
0DAH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC0M
- - - - - -
IREN
CREN
Read/Write
- - - - - -
R/W
R/W
After
reset
- - - - - - 0 0
Bit 1
IREN:
IROUT pin control bit.
0 = Disable. IROUT pin is P5.4 GPIO mode.
1 = Enable. IROUT pin is output low status.
Bit 0
CREN:
IR carry signal output control bit.
0 = Disable. IROUT pin is output low status.
1 = Enable. IROUT pin outputs IR carry signal.
Note: IR carry output condition is IREN=1 and CREN=1. If CREN=1 and IREN=0, the IROUT pin is P5.4
GPIO mode.
9.2.2 TC0C COUNTING REGISTER
TC0C is an 8-bit counter register for TC0 interval time control.
0DBH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC0C
TC0C7 TC0C6 TC0C5 TC0C4 TC0C3 TC0C2 TC0C1 TC0C0
Read/Write
R/W R/W R/W R/W R/W R/W R/W R/W
After
reset
0 0 0 0 0 0 0 0
Note: Set TC0C=TC0R before IR output enable to make sure the first cycle correct.