EasyManua.ls Logo

APPOTECH CW6632B - IR Receiver Control Registers

Default Icon
133 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9 IR receiver 81
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
9.2 IR Receiver Control Registers
Register 9-1 IRCON0 IR receiver control 0 register
Position
7
6
5
4
3
2
1
0
Name
-
-
-
IRPINSEL
IRREPEAT
IRPND
IRIE
IREN
Default
0
0
0
0
0
0
0
0
Access
RO
RO
RO
R/W
RO
R/W
R/W
R/W
IRPINSEL: IR input pin select
0 = P07 as IR receiver input
1 = P33 as IR receiver input
IRREPEAT: IR receiver repeating data
0 = Not repeat
1 = Repeat
IRPND: IR receiver done
0 = Undone
1 = Done
IRIE: IR interrupt enable
0 = Disabled
1 = Enabled
IREN: IR enable
0 = Disabled
1 = Enabled
Register 9-2 IRCON1 IR receiver control 1 register
Position
7
6
5
4
3
2
1
0
Name
IRCON1
Default
0
0
0
0
0
0
0
0
Access
WO
WO
WO
WO
WO
WO
WO
WO
The IRCON1 is the entrance for five 8-bit control registers: ONEFULL, ZEROCYC, REPEATCNT, ENDCONT and
BEGINCNT. And IRCON1 must be written five times to update all the five control registers.
First time for the ONEFULL.
Position
7
6
5
4
3
2
1
0
Name
ONEFULL
Default
1
0
0
1
1
1
0
0
When IR clock is 1 MHz, ONEFULL*16*CLKCYC us is the time of IRDATA error. It is recommended to set ONEFULL
to 0x9C. (NOTE: ONEFULL*16 > BIT 1 cycle),
When IR clock is 32 KHz, ONEFULL*CLKCYC us is the time of IRDATA error. It is recommended to set ONEFULL to
0x5E(NOTE: ONEFULL*8 > BIT 1 cycle)
Second time for the ZEROCYC.

Table of Contents