SN8P26L38
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 111
Version 1.5
10.2
IR CONTROL REGISTER
10.2.1 IRM MODE REGISTER
0DAH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IRM
-
-
-
-
-
-
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.
10.2.2 IRC COUNTING REGISTER
IRC is an 8-bit counter register for IR interval time control.
0DBH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IRC
IRC7
IRC6
IRC5
IRC4
IRC3
IRC2
IRC1
IRC0
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 IRC=IRR before IR output enable to make sure the first cycle correct.