Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
312
30:0
IR_RX_CNT
RO
0x0
31-bits cycle duration
15.3.4
IR Version Register
15.3.4.1
IR_VERSION
Name:
IR IP version register
Size:
32 bits
Address offset:
0x002C
Read/write access:
read
31
30
29
28
27
26
25
26
…
7
6
5
4
3
2
1
0
IR_VERSION
RO
Bit
Name
Access
Reset
Description
31:0
IR_VERSION
RO
1410150A
IR IP version
15.4
IR Application Note
There are two typical application scenarios, RCU application and receiver application.
For RCU application, except for sending IR signals, Ameba-D also supports IR learning function.
For receiver application, Ameba-D supports IR diode input and module input.
15.4.1
RCU Application
15.4.1.1
IR Tx
(1)
Enable IR clock, set RCC configuration register.
(2)
Disable all interrupts.
(3)
Set IR_CLK_DIV and IR_TX_DUTY_NUM.
(4)
Set IR Tx output level characteristic, IR_TX_OUTPUT_INVERSE/IR_TX_DE_INVERSE/IR_TX_IDEL_STATE (See Fig 15-5).
(5)
Set Tx FIFO threshold if needed.
(6)
Clear all interrupts.
(7)
Set IR work mode.
(8)
Write data to Tx FIFO.
(9)
Start transfer by writing 1 to IR_TX_START.
(10)
Write more data to Tx FIFO if needed (based on TX_FIFO_LEVEL_INT).
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03