寄存器
请查看
寄存器访问类型
,了解 Access 列缩写的含义。
Base Address: 0x41107000
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R |
||
00Ch |
R/W |
||
010h |
R/W |
||
014h |
R/W |
||
018h |
R/W |
||
01Ch |
R |
||
020h |
R/W |
||
024h |
R/W |
||
028h |
R |
||
02Ch |
R |
||
030h |
R |
REG_IR_CLK_DIV
Name: IR clock division register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
IR_CLK_DIV |
R/W |
0x0 |
IR_CLK = IO_CLK/(1 + IR_CLK_DIV)
For example: sys_clk = 100MHz, modulation_freq = 455kHz, IR_DIV_NUM = (sys_clk/modulation_freq) - 1
IR_DIV_NUM = (sys_clk/sample clock) - 1 For example: sample clock = 100MHz, IR_DIV_NUM = 0; sample clock = 50MHz, IR_DIV_NUM = 1 |
REG_IR_TX_CONFIG
Name: IR Tx configuration register
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_MODE_SEL |
R/W |
0x0 |
|
30 |
IR_TX_START |
R/W |
0x0 |
|
29:28 |
RSVD |
R |
- |
Reserved |
27:16 |
IR_TX_DUTY_NUM |
R/W |
0x0 |
Duty cycle setting for modulation frequency For example: for 1/3 duty cycle, IR_DUTY_NUM = (IR_DIV_NUM+1)/3 备注 Set this value equal to IR_DIV_NUM to generate 100% duty waveform. |
15 |
RSVD |
R |
- |
Reserved |
14 |
IR_TX_OUTPUT_INVERSE |
R/W |
0x0 |
|
13 |
IR_TX_DE_INVERSE |
R/W |
0x0 |
|
12:8 |
IR_TX_FIFO_LEVEL_TH |
R/W |
0x0 |
Tx FIFO interrupt threshold. When Tx FIFO depth = < threshold value, interrupt is triggered. |
7 |
RSVD |
R |
- |
Reserved |
6 |
IR_TX_IDLE_STATE |
R/W |
0x0 |
Tx output state in idle
|
5 |
IR_TX_FIFO_OVER_INT_MASK |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
4 |
IR_TX_FIFO_OVER_INT_EN |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
3 |
IR_TX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Tx FIFO level interrupt
|
2 |
IR_TX_FIFO_EMPTY_INT_MASK |
R/W |
0x0 |
Tx FIFO empty interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Tx FIFO level interrupt When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_EN |
R/W |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_SR
Name: IR Tx FIFO and interrupt status register
Size: 32
Address offset: 008h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15 |
IR_TX_FIFO_EMPTY |
R |
0x0 |
|
14 |
IR_TX_FIFO_FULL |
R |
0x0 |
|
13:8 |
IR_TX_FIFO_OFFSET |
R |
0x0 |
Tx FIFO offset is from 0 to 32. 备注 After Tx last packet, hardware can't clear Tx FIFO offset. |
7:5 |
RSVD |
R |
- |
Reserved |
4 |
IR_TX_STATUS |
R |
0x0 |
|
3 |
RSVD |
R |
- |
Reserved |
2 |
IR_TX_FIFO_OVER_INT_STATUS |
R |
0x0 |
Tx FIFO overflow interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_STATUS |
R |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_COMPE_DIV
Name: IR Tx compensation division register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TX_COMPE_DIV |
R/W |
0x0 |
IR_TX_CLK_Period = SCLK/(TX_COMPE_DIV + 1) |
REG_IR_TX_INT_CLR
Name: IR Tx FIFO and interrupt clear register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
IR_TX_FIFO_OVER_INT_CLR |
R/W |
Tx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_TX_FIFO_LEVEL_INT_CLR |
R/W |
When Tx FIFO offset <= threshold value, interrupt is triggered. Write 1 to clear |
|
1 |
IR_TX_FIFO_EMPTY_INT_CLR |
R/W |
Tx FIFO empty interrupt Write 1 to clear |
|
0 |
IR_TX_FIFO_CLR |
R/W |
Write 1 to clear Tx FIFO |
REG_IR_TX_FIFO
Name: IR Tx FIFO register
Size: 32
Address offset: 014h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_TX_DATA_TYPE |
R/W |
0 |
Data type
|
30 |
IR_TX_DATA_END_FLAG |
R/W |
0 |
|
29:28 |
IR_TX_COMPENSATION |
R/W |
0 |
|
27:0 |
IR_TX_DATA_TIME |
R/W |
0 |
Real active time = (IR_TX_DATA_TIME + 1) * IR_TX_CLK_Period |
REG_IR_RX_CONFIG
Name: IR Rx configuration register
Size: 32
Address offset: 018h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
IR_RX_START |
R/W |
0x0 |
|
27 |
IR_RX_START_MODE |
R/W |
0x0 |
|
26 |
IR_RX_MAN_START |
R/W |
0x0 |
If IR_RX_TRIGGER_MODE =0, writing 1 means starting to check the waveform. |
25:24 |
IR_RX_TRIGGER_MODE |
R/W |
0x0 |
|
23:21 |
IR_RX_FILTER_STAGETX |
R/W |
0x0 |
… |
20 |
RSVD |
R |
- |
Reserved |
19 |
IR_RX_FIFO_ERROR_INT_MASK |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, read Rx FIFO and trigger interrupt.
|
18 |
IR_RX_CNT_THR_INT_MASK |
R/W |
0x0 |
Rx count threshold interrupt
|
17 |
IR_RX_FIFO_OF_INT_MASK |
R/W |
0x0 |
Rx FIFO overflow
|
16 |
IR_RX_CNT_OF_INT_MASK |
R/W |
0x0 |
RX counter overflow
|
15 |
IR_RX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Rx FIFO level interrupt
When Rx FIFO offset >= threshold value, this interrupt is triggered. |
14 |
IR_RX_FIFO_FULL_INT_MASK |
R/W |
0x0 |
Rx FIFO full interrupt
|
13 |
IR_RX_FIFO_DISCARD_SET |
R/W |
0x0 |
When FIFO is full, new data is send to FIFO.
|
12:8 |
IR_RX_FIFO_LEVEL_TH |
R/W |
0x0 |
Rx FIFO interrupt threshold When Rx FIFO depth > threshold value, this interrupt is triggered. |
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_EN |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_EN |
R/W |
0x0 |
Rx count threshold interrupt
|
3 |
IR_RX_FIFO_OF_INT_EN |
R/W |
0x0 |
RX FIFO overflow
|
2 |
IR_RX_CNT_OF_INT_EN |
R/W |
0x0 |
RX counter overflow
|
1 |
IR_RX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Rx FIFO level interrupt When Rx FIFO offset >= threshold value, this interrupt is triggered.
|
0 |
IR_RX_FIFO_FULL_INT_EN |
R/W |
0x0 |
Rx FIFO full interrupt
|
REG_IR_RX_SR
Name: IR Rx FIFO and interrupt status register
Size: 32
Address offset: 01Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:18 |
RSVD |
R |
- |
Reserved |
17 |
IR_RX_FIFO_EMPTY |
R |
0x0 |
|
16 |
IR_RX_FIFO_FULL |
R |
0x0 |
|
15:14 |
RSVD |
R |
- |
Reserved |
13:8 |
IR_RX_FIFO_OFFSET |
R |
0x0 |
Rx FIFO offset |
7 |
IR_RX_STATE |
R |
0x0 |
|
6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_STATUS |
R |
0x0 |
Rx FIFO error read interrupt status When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_STATUS |
R |
0x0 |
Rx count threshold interrupt status
|
3 |
IR_RX_FIFO_OF_INT_STATUS |
R |
0x0 |
Rx FIFO overflow interrupt status
|
2 |
IR_RX_CNT_OF_INT_STATUS |
R |
0x0 |
Rx counter overflow interrupt status
|
1 |
IR_RX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
Rx FIFO level interrupt status
|
0 |
IR_RX_FIFO_FULL_INT_STATUS |
R |
0x0 |
Rx FIFO full interrupt status
|
REG_IR_RX_INT_CLR
Name: IR Rx FIFO and interrupt clear register
Size: 32
Address offset: 020h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:9 |
RSVD |
R |
- |
Reserved |
8 |
IR_RX_FIFO_CLR |
R/W |
Write 1 to clear Rx FIFO |
|
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_CLR |
R/W |
Rx FIFO error read interrupt Write 1 to clear |
|
4 |
IR_RX_CNT_THR_INT_CLR |
R/W |
Rx count threshold interrupt Write 1 to clear |
|
3 |
IR_RX_FIFO_OF_INT_CLR |
R/W |
Rx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_RX_CNT_OF_INT_CLR |
R/W |
Rx counter overflow interrupt Write 1 to clear |
|
1 |
IR_RX_FIFO_LEVEL_INT_CLR |
R/W |
Rx FIFO level interrupt Write 1 to clear |
|
0 |
IR_RX_FIFO_FULL_INT_CLR |
R/W |
Rx FIFO full interrupt Write 1 to clear |
REG_IR_RX_CNT_INT_SEL
Name: IR Rx count threshold configure register
Size: 32
Address offset: 024h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_CNT_THR_TRIGGER_LV |
R/W |
0x0 |
Trigger level
|
30:0 |
IR_RX_CNT_THR |
R/W |
0x0 |
31-bits threshold |
REG_IR_RX_FIFO
Name: IR Rx FIFO register
Size: 32
Address offset: 028h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_LEVEL |
R |
0x0 |
Rx Level
|
30:0 |
IR_RX_CNT |
R |
0x0 |
31 bits cycle duration |
REG_IR_VERSION
Name: IR version register
Size: 32
Address offset: 02Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:0 |
IR_VERSION |
R |
0x1410150A |
IR IP version |
REG_IR_DUMMY
Name: IR Dummy Register
Size: 32
Address offset: 030h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R |
0x0 |
Reserved for HW |
Base Address: 0x400EE000
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R |
||
00Ch |
R/W |
||
010h |
R/W |
||
014h |
R/W |
||
018h |
R/W |
||
01Ch |
R |
||
020h |
R/W |
||
024h |
R/W |
||
028h |
R |
||
02Ch |
R |
REG_IR_CLK_DIV
Name: IR clock division register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
IR_CLK_DIV |
R/W |
0x0 |
IR_CLK = IO_CLK/(1 + IR_CLK_DIV)
For example: sys_clk = 100MHz, modulation_freq = 455kHz, IR_DIV_NUM = (sys_clk/modulation_freq) - 1
IR_DIV_NUM = (sys_clk/sample clock) - 1 For example: sample clock = 100MHz, IR_DIV_NUM = 0; sample clock = 50MHz, IR_DIV_NUM = 1 |
REG_IR_TX_CONFIG
Name: IR Tx configuration register
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_MODE_SEL |
R/W |
0x0 |
|
30 |
IR_TX_START |
R/W |
0x0 |
|
29:28 |
RSVD |
R |
- |
Reserved |
27:16 |
IR_TX_DUTY_NUM |
R/W |
0x0 |
Duty cycle setting for modulation frequency For example: for 1/3 duty cycle, IR_DUTY_NUM = (IR_DIV_NUM+1)/3 备注 Set this value equals to IR_DIV_NUM to generate 100% duty waveform. |
15 |
RSVD |
R |
- |
Reserved |
14 |
IR_TX_OUTPUT_INVERSE |
R/W |
0x0 |
|
13 |
IR_TX_DE_INVERSE |
R/W |
0x0 |
|
12:8 |
IR_TX_FIFO_LEVEL_TH |
R/W |
0x0 |
Tx FIFO interrupt threshold. When Tx FIFO depth = < threshold value, interrupt is triggered. |
7 |
RSVD |
R |
- |
Reserved |
6 |
IR_TX_IDLE_STATE |
R/W |
0x0 |
Tx output state in idle
|
5 |
IR_TX_FIFO_OVER_INT_MASK |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
4 |
IR_TX_FIFO_OVER_INT_EN |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
3 |
IR_TX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Tx FIFO level interrupt
|
2 |
IR_TX_FIFO_EMPTY_INT_MASK |
R/W |
0x0 |
Tx FIFO empty interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Tx FIFO level interrupt When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_EN |
R/W |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_SR
Name: IR Tx FIFO and interrupt status register
Size: 32
Address offset: 008h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15 |
IR_TX_FIFO_EMPTY |
R |
0x0 |
|
14 |
IR_TX_FIFO_FULL |
R |
0x0 |
|
13:8 |
IR_TX_FIFO_OFFSET |
R |
0x0 |
Tx FIFO offset is from 0 to 32. 备注 After Tx last packet, hardware can't clear Tx FIFO offset. |
7:5 |
RSVD |
R |
- |
Reserved |
4 |
IR_TX_STATUS |
R |
0x0 |
|
3 |
RSVD |
R |
- |
Reserved |
2 |
IR_TX_FIFO_OVER_INT_STATUS |
R |
0x0 |
Tx FIFO overflow interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_STATUS |
R |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_COMPE_DIV
Name: IR Tx compensation division register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TX_COMPE_DIV |
R/W |
0x0 |
IR_TX_CLK_Period = SCLK/(TX_COMPE_DIV + 1) |
REG_IR_TX_INT_CLR
Name: IR Tx FIFO and interrupt clear register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
IR_TX_FIFO_OVER_INT_CLR |
R/W |
Tx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_TX_FIFO_LEVEL_INT_CLR |
R/W |
When Tx FIFO offset <= threshold value, interrupt is triggered. Write 1 to clear |
|
1 |
IR_TX_FIFO_EMPTY_INT_CLR |
R/W |
Tx FIFO empty interrupt Write 1 to clear |
|
0 |
IR_TX_FIFO_CLR |
R/W |
Write 1 to clear Tx FIFO |
REG_IR_TX_FIFO
Name: IR Tx FIFO register
Size: 32
Address offset: 014h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_TX_DATA_TYPE |
R/W |
0 |
Data type
|
30 |
IR_TX_DATA_END_FLAG |
R/W |
0 |
|
29:28 |
IR_TX_COMPENSATION |
R/W |
0 |
|
27:0 |
IR_TX_DATA_TIME |
R/W |
0 |
Real active time = (IR_TX_DATA_TIME + 1) * IR_TX_CLK_Period |
REG_IR_RX_CONFIG
Name: IR Rx configuration register
Size: 32
Address offset: 018h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
IR_RX_START |
R/W |
0x0 |
|
27 |
IR_RX_START_MODE |
R/W |
0x0 |
|
26 |
IR_RX_MAN_START |
R/W |
0x0 |
If IR_RX_TRIGGER_MODE =0, writing 1 means starting to check the waveform. |
25:24 |
IR_RX_TRIGGER_MODE |
R/W |
0x0 |
|
23:21 |
IR_RX_FILTER_STAGETX |
R/W |
0x0 |
… |
20 |
RSVD |
R |
- |
Reserved |
19 |
IR_RX_FIFO_ERROR_INT_MASK |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, read Rx FIFO and trigger interrupt.
|
18 |
IR_RX_CNT_THR_INT_MASK |
R/W |
0x0 |
Rx count threshold interrupt
|
17 |
IR_RX_FIFO_OF_INT_MASK |
R/W |
0x0 |
Rx FIFO overflow
|
16 |
IR_RX_CNT_OF_INT_MASK |
R/W |
0x0 |
RX counter overflow
|
15 |
IR_RX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Rx FIFO level interrupt
When Rx FIFO offset >= threshold value, this interrupt is triggered. |
14 |
IR_RX_FIFO_FULL_INT_MASK |
R/W |
0x0 |
Rx FIFO full interrupt
|
13 |
IR_RX_FIFO_DISCARD_SET |
R/W |
0x0 |
When FIFO is full, new data is send to FIFO.
|
12:8 |
IR_RX_FIFO_LEVEL_TH |
R/W |
0x0 |
Rx FIFO interrupt threshold When Rx FIFO depth > threshold value, this interrupt is triggered. |
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_EN |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_EN |
R/W |
0x0 |
Rx count threshold interrupt
|
3 |
IR_RX_FIFO_OF_INT_EN |
R/W |
0x0 |
RX FIFO overflow
|
2 |
IR_RX_CNT_OF_INT_EN |
R/W |
0x0 |
RX counter overflow
|
1 |
IR_RX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Rx FIFO level interrupt When Rx FIFO offset >= threshold value, this interrupt is triggered.
|
0 |
IR_RX_FIFO_FULL_INT_EN |
R/W |
0x0 |
Rx FIFO full interrupt
|
REG_IR_RX_SR
Name: IR Rx FIFO and interrupt status register
Size: 32
Address offset: 01Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:18 |
RSVD |
R |
- |
Reserved |
17 |
IR_RX_FIFO_EMPTY |
R |
0x0 |
|
16 |
IR_RX_FIFO_FULL |
R |
0x0 |
|
15:14 |
RSVD |
R |
- |
Reserved |
13:8 |
IR_RX_FIFO_OFFSET |
R |
0x0 |
Rx FIFO offset |
7 |
IR_RX_STATE |
R |
0x0 |
|
6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_STATUS |
R |
0x0 |
Rx FIFO error read interrupt status When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_STATUS |
R |
0x0 |
Rx count threshold interrupt status
|
3 |
IR_RX_FIFO_OF_INT_STATUS |
R |
0x0 |
Rx FIFO overflow interrupt status
|
2 |
IR_RX_CNT_OF_INT_STATUS |
R |
0x0 |
Rx counter overflow interrupt status
|
1 |
IR_RX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
Rx FIFO level interrupt status
|
0 |
IR_RX_FIFO_FULL_INT_STATUS |
R |
0x0 |
Rx FIFO full interrupt status
|
REG_IR_RX_INT_CLR
Name: IR Rx FIFO and interrupt clear register
Size: 32
Address offset: 020h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:9 |
RSVD |
R |
- |
Reserved |
8 |
IR_RX_FIFO_CLR |
R/W |
Write 1 to clear Rx FIFO |
|
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_CLR |
R/W |
Rx FIFO error read interrupt Write 1 to clear |
|
4 |
IR_RX_CNT_THR_INT_CLR |
R/W |
Rx count threshold interrupt Write 1 to clear |
|
3 |
IR_RX_FIFO_OF_INT_CLR |
R/W |
Rx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_RX_CNT_OF_INT_CLR |
R/W |
Rx counter overflow interrupt Write 1 to clear |
|
1 |
IR_RX_FIFO_LEVEL_INT_CLR |
R/W |
Rx FIFO level interrupt Write 1 to clear |
|
0 |
IR_RX_FIFO_FULL_INT_CLR |
R/W |
Rx FIFO full interrupt Write 1 to clear |
REG_IR_RX_CNT_INT_SEL
Name: IR Rx count threshold configure register
Size: 32
Address offset: 024h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_CNT_THR_TRIGGER_LV |
R/W |
0x0 |
Trigger level
|
30:0 |
IR_RX_CNT_THR |
R/W |
0x0 |
31-bits threshold |
REG_IR_RX_FIFO
Name: IR Rx FIFO register
Size: 32
Address offset: 028h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_LEVEL |
R |
0x0 |
Rx Level
|
30:0 |
IR_RX_CNT |
R |
0x0 |
31-bits cycle duration |
REG_IR_VERSION
Name: IR IP version register
Size: 32
Address offset: 02Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:0 |
IR_VERSION |
R |
0x1410150A |
IR IP version |
Base Address: 0x41007000
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R |
||
00Ch |
R/W |
||
010h |
R/W |
||
014h |
R/W |
||
018h |
R/W |
||
01Ch |
R |
||
020h |
R/W |
||
024h |
R/W |
||
028h |
R |
||
02Ch |
R |
||
030h |
R |
REG_IR_CLK_DIV
Name: IR clock division register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
IR_CLK_DIV |
R/W |
0x0 |
IR_CLK = IO_CLK/(1 + IR_CLK_DIV)
For example: sys_clk = 40MHz, modulation_freq = 455kHz, IR_DIV_NUM = (sys_clk/modulation_freq) - 1
IR_DIV_NUM = (sys_clk/sample clock) - 1 For example: sample clock = 40MHz, IR_DIV_NUM = 0; sample clock = 20MHz, IR_DIV_NUM = 1 |
REG_IR_TX_CONFIG
Name: IR Tx configuration register
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_MODE_SEL |
R/W |
0x0 |
|
30 |
IR_TX_START |
R/W |
0x0 |
|
29:28 |
RSVD |
R |
- |
Reserved |
27:16 |
IR_TX_DUTY_NUM |
R/W |
0x0 |
Duty cycle setting for modulation frequency For example: for 1/3 duty cycle, IR_DUTY_NUM = (IR_DIV_NUM+1)/3 备注 Set this value equals to IR_DIV_NUM to generate 100% duty waveform. |
15 |
RSVD |
R |
- |
Reserved |
14 |
IR_TX_OUTPUT_INVERSE |
R/W |
0x0 |
|
13 |
IR_TX_DE_INVERSE |
R/W |
0x0 |
|
12:8 |
IR_TX_FIFO_LEVEL_TH |
R/W |
0x0 |
Tx FIFO interrupt threshold. When Tx FIFO depth = < threshold value, interrupt is triggered. |
7 |
RSVD |
R |
- |
Reserved |
6 |
IR_TX_IDLE_STATE |
R/W |
0x0 |
Tx output state in idle
|
5 |
IR_TX_FIFO_OVER_INT_MASK |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
4 |
IR_TX_FIFO_OVER_INT_EN |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
3 |
IR_TX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Tx FIFO level interrupt
|
2 |
IR_TX_FIFO_EMPTY_INT_MASK |
R/W |
0x0 |
Tx FIFO empty interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Tx FIFO level interrupt When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_EN |
R/W |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_SR
Name: IR Tx FIFO and interrupt status register
Size: 32
Address offset: 008h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15 |
IR_TX_FIFO_EMPTY |
R |
0x0 |
|
14 |
IR_TX_FIFO_FULL |
R |
0x0 |
|
13:8 |
IR_TX_FIFO_OFFSET |
R |
0x0 |
Tx FIFO offset is from 0 to 32. 备注 After Tx last packet, hardware can't clear Tx FIFO offset. |
7:5 |
RSVD |
R |
- |
Reserved |
4 |
IR_TX_STATUS |
R |
0x0 |
|
3 |
RSVD |
R |
- |
Reserved |
2 |
IR_TX_FIFO_OVER_INT_STATUS |
R |
0x0 |
Tx FIFO overflow interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_STATUS |
R |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_COMPE_DIV
Name: IR Tx compensation division register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TX_COMPE_DIV |
R/W |
0x0 |
IR_TX_CLK_Period = SCLK/(TX_COMPE_DIV + 1) |
REG_IR_TX_INT_CLR
Name: IR Tx FIFO and interrupt clear register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
IR_TX_FIFO_OVER_INT_CLR |
R/W |
Tx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_TX_FIFO_LEVEL_INT_CLR |
R/W |
When Tx FIFO offset <= threshold value, interrupt is triggered. Write 1 to clear |
|
1 |
IR_TX_FIFO_EMPTY_INT_CLR |
R/W |
Tx FIFO empty interrupt Write 1 to clear |
|
0 |
IR_TX_FIFO_CLR |
R/W |
Write 1 to clear Tx FIFO |
REG_IR_TX_FIFO
Name: IR Tx FIFO register
Size: 32
Address offset: 014h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_TX_DATA_TYPE |
R/W |
0 |
Data type
|
30 |
IR_TX_DATA_END_FLAG |
R/W |
0 |
|
29:28 |
IR_TX_COMPENSATION |
R/W |
0 |
|
27:0 |
IR_TX_DATA_TIME |
R/W |
0 |
Real active time = (IR_TX_DATA_TIME + 1) * IR_TX_CLK_Period |
REG_IR_RX_CONFIG
Name: IR Rx configuration register
Size: 32
Address offset: 018h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
IR_RX_START |
R/W |
0x0 |
|
27 |
IR_RX_START_MODE |
R/W |
0x0 |
|
26 |
IR_RX_MAN_START |
R/W |
0x0 |
If IR_RX_TRIGGER_MODE =0, writing 1 means starting to check the waveform. |
25:24 |
IR_RX_TRIGGER_MODE |
R/W |
0x0 |
|
23:21 |
IR_RX_FILTER_STAGETX |
R/W |
0x0 |
… |
20 |
RSVD |
R |
- |
Reserved |
19 |
IR_RX_FIFO_ERROR_INT_MASK |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, read Rx FIFO and trigger interrupt.
|
18 |
IR_RX_CNT_THR_INT_MASK |
R/W |
0x0 |
Rx count threshold interrupt
|
17 |
IR_RX_FIFO_OF_INT_MASK |
R/W |
0x0 |
Rx FIFO overflow
|
16 |
IR_RX_CNT_OF_INT_MASK |
R/W |
0x0 |
RX counter overflow
|
15 |
IR_RX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Rx FIFO level interrupt
When Rx FIFO offset >= threshold value, this interrupt is triggered. |
14 |
IR_RX_FIFO_FULL_INT_MASK |
R/W |
0x0 |
Rx FIFO full interrupt
|
13 |
IR_RX_FIFO_DISCARD_SET |
R/W |
0x0 |
When FIFO is full, new data is send to FIFO.
|
12:8 |
IR_RX_FIFO_LEVEL_TH |
R/W |
0x0 |
Rx FIFO interrupt threshold When Rx FIFO depth > threshold value, this interrupt is triggered. |
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_EN |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_EN |
R/W |
0x0 |
Rx count threshold interrupt
|
3 |
IR_RX_FIFO_OF_INT_EN |
R/W |
0x0 |
RX FIFO overflow
|
2 |
IR_RX_CNT_OF_INT_EN |
R/W |
0x0 |
RX counter overflow
|
1 |
IR_RX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Rx FIFO level interrupt When Rx FIFO offset >= threshold value, this interrupt is triggered.
|
0 |
IR_RX_FIFO_FULL_INT_EN |
R/W |
0x0 |
Rx FIFO full interrupt
|
REG_IR_RX_SR
Name: IR Rx FIFO and interrupt status register
Size: 32
Address offset: 01Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:18 |
RSVD |
R |
- |
Reserved |
17 |
IR_RX_FIFO_EMPTY |
R |
0x0 |
|
16 |
IR_RX_FIFO_FULL |
R |
0x0 |
|
15:14 |
RSVD |
R |
- |
Reserved |
13:8 |
IR_RX_FIFO_OFFSET |
R |
0x0 |
Rx FIFO offset |
7 |
IR_RX_STATE |
R |
0x0 |
|
6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_STATUS |
R |
0x0 |
Rx FIFO error read interrupt status When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_STATUS |
R |
0x0 |
Rx count threshold interrupt status
|
3 |
IR_RX_FIFO_OF_INT_STATUS |
R |
0x0 |
Rx FIFO overflow interrupt status
|
2 |
IR_RX_CNT_OF_INT_STATUS |
R |
0x0 |
Rx counter overflow interrupt status
|
1 |
IR_RX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
Rx FIFO level interrupt status
|
0 |
IR_RX_FIFO_FULL_INT_STATUS |
R |
0x0 |
Rx FIFO full interrupt status
|
REG_IR_RX_INT_CLR
Name: IR Rx FIFO and interrupt clear register
Size: 32
Address offset: 020h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:9 |
RSVD |
R |
- |
Reserved |
8 |
IR_RX_FIFO_CLR |
R/W |
Write 1 to clear Rx FIFO |
|
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_CLR |
R/W |
Rx FIFO error read interrupt Write 1 to clear |
|
4 |
IR_RX_CNT_THR_INT_CLR |
R/W |
Rx count threshold interrupt Write 1 to clear |
|
3 |
IR_RX_FIFO_OF_INT_CLR |
R/W |
Rx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_RX_CNT_OF_INT_CLR |
R/W |
Rx counter overflow interrupt Write 1 to clear |
|
1 |
IR_RX_FIFO_LEVEL_INT_CLR |
R/W |
Rx FIFO level interrupt Write 1 to clear |
|
0 |
IR_RX_FIFO_FULL_INT_CLR |
R/W |
Rx FIFO full interrupt Write 1 to clear |
REG_IR_RX_CNT_INT_SEL
Name: IR Rx count threshold configure register
Size: 32
Address offset: 024h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_CNT_THR_TRIGGER_LV |
R/W |
0x0 |
Trigger level
|
30:0 |
IR_RX_CNT_THR |
R/W |
0x0 |
31-bits threshold |
REG_IR_RX_FIFO
Name: IR Rx FIFO register
Size: 32
Address offset: 028h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_LEVEL |
R |
0x0 |
Rx Level
|
30:0 |
IR_RX_CNT |
R |
0x0 |
31-bits cycle duration |
REG_IR_VERSION
Name: IR IP version register
Size: 32
Address offset: 02Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:0 |
IR_VERSION |
R |
0x1410150A |
IR IP version |
REG_IR_DUMMY
Name: Ir Dummy Register
Size: 32
Address offset: 030h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R |
0x0 |
Rsvd for hw |
Base Address: 0x4080C000
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R |
||
00Ch |
R/W |
||
010h |
R/W |
||
014h |
R/W |
||
018h |
R/W |
||
01Ch |
R |
||
020h |
R/W |
||
024h |
R/W |
||
028h |
R |
||
02Ch |
R |
||
030h |
R |
REG_IR_CLK_DIV
Name: IR clock division register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
IR_CLK_DIV |
R/W |
0x0 |
IR_CLK = IO_CLK/(1 + IR_CLK_DIV)
For example: sys_clk = 40MHz, modulation_freq = 455kHz, IR_DIV_NUM = (sys_clk/modulation_freq) - 1
IR_DIV_NUM = (sys_clk/sample clock) - 1 For example: sample clock = 40MHz, IR_DIV_NUM = 0; sample clock = 20MHz, IR_DIV_NUM = 1 |
REG_IR_TX_CONFIG
Name: IR Tx configuration register
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_MODE_SEL |
R/W |
0x0 |
|
30 |
IR_TX_START |
R/W |
0x0 |
|
29:28 |
RSVD |
R |
- |
Reserved |
27:16 |
IR_TX_DUTY_NUM |
R/W |
0x0 |
Duty cycle setting for modulation frequency For example: for 1/3 duty cycle, IR_DUTY_NUM = (IR_DIV_NUM+1)/3 备注 Set this value equals to IR_DIV_NUM to generate 100% duty waveform. |
15 |
RSVD |
R |
- |
Reserved |
14 |
IR_TX_OUTPUT_INVERSE |
R/W |
0x0 |
|
13 |
IR_TX_DE_INVERSE |
R/W |
0x0 |
|
12:8 |
IR_TX_FIFO_LEVEL_TH |
R/W |
0x0 |
Tx FIFO interrupt threshold. When Tx FIFO depth = < threshold value, interrupt is triggered. |
7 |
RSVD |
R |
- |
Reserved |
6 |
IR_TX_IDLE_STATE |
R/W |
0x0 |
Tx output state in idle
|
5 |
IR_TX_FIFO_OVER_INT_MASK |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
4 |
IR_TX_FIFO_OVER_INT_EN |
R/W |
0x0 |
Tx FIFO overflow interrupt
|
3 |
IR_TX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Tx FIFO level interrupt
|
2 |
IR_TX_FIFO_EMPTY_INT_MASK |
R/W |
0x0 |
Tx FIFO empty interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Tx FIFO level interrupt When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_EN |
R/W |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_SR
Name: IR Tx FIFO and interrupt status register
Size: 32
Address offset: 008h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15 |
IR_TX_FIFO_EMPTY |
R |
0x0 |
|
14 |
IR_TX_FIFO_FULL |
R |
0x0 |
|
13:8 |
IR_TX_FIFO_OFFSET |
R |
0x0 |
Tx FIFO offset is from 0 to 32. 备注 After Tx last packet, hardware can't clear Tx FIFO offset. |
7:5 |
RSVD |
R |
- |
Reserved |
4 |
IR_TX_STATUS |
R |
0x0 |
|
3 |
RSVD |
R |
- |
Reserved |
2 |
IR_TX_FIFO_OVER_INT_STATUS |
R |
0x0 |
Tx FIFO overflow interrupt
|
1 |
IR_TX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
When Tx FIFO offset <= threshold value, interrupt is triggered.
|
0 |
IR_TX_FIFO_EMPTY_INT_STATUS |
R |
0x0 |
Tx FIFO empty interrupt
|
REG_IR_TX_COMPE_DIV
Name: IR Tx compensation division register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TX_COMPE_DIV |
R/W |
0x0 |
IR_TX_CLK_Period = SCLK/(TX_COMPE_DIV + 1) |
REG_IR_TX_INT_CLR
Name: IR Tx FIFO and interrupt clear register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
IR_TX_FIFO_OVER_INT_CLR |
R/W |
Tx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_TX_FIFO_LEVEL_INT_CLR |
R/W |
When Tx FIFO offset <= threshold value, interrupt is triggered. Write 1 to clear |
|
1 |
IR_TX_FIFO_EMPTY_INT_CLR |
R/W |
Tx FIFO empty interrupt Write 1 to clear |
|
0 |
IR_TX_FIFO_CLR |
R/W |
Write 1 to clear Tx FIFO |
REG_IR_TX_FIFO
Name: IR Tx FIFO register
Size: 32
Address offset: 014h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_TX_DATA_TYPE |
R/W |
0 |
Data type
|
30 |
IR_TX_DATA_END_FLAG |
R/W |
0 |
|
29:28 |
IR_TX_COMPENSATION |
R/W |
0 |
|
27:0 |
IR_TX_DATA_TIME |
R/W |
0 |
Real active time = (IR_TX_DATA_TIME + 1) * IR_TX_CLK_Period |
REG_IR_RX_CONFIG
Name: IR Rx configuration register
Size: 32
Address offset: 018h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
IR_RX_START |
R/W |
0x0 |
|
27 |
IR_RX_START_MODE |
R/W |
0x0 |
|
26 |
IR_RX_MAN_START |
R/W |
0x0 |
If IR_RX_TRIGGER_MODE =0, writing 1 means starting to check the waveform. |
25:24 |
IR_RX_TRIGGER_MODE |
R/W |
0x0 |
|
23:21 |
IR_RX_FILTER_STAGETX |
R/W |
0x0 |
… |
20 |
RSVD |
R |
- |
Reserved |
19 |
IR_RX_FIFO_ERROR_INT_MASK |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, read Rx FIFO and trigger interrupt.
|
18 |
IR_RX_CNT_THR_INT_MASK |
R/W |
0x0 |
Rx count threshold interrupt
|
17 |
IR_RX_FIFO_OF_INT_MASK |
R/W |
0x0 |
Rx FIFO overflow
|
16 |
IR_RX_CNT_OF_INT_MASK |
R/W |
0x0 |
RX counter overflow
|
15 |
IR_RX_FIFO_LEVEL_INT_MASK |
R/W |
0x0 |
Rx FIFO level interrupt
When Rx FIFO offset >= threshold value, this interrupt is triggered. |
14 |
IR_RX_FIFO_FULL_INT_MASK |
R/W |
0x0 |
Rx FIFO full interrupt
|
13 |
IR_RX_FIFO_DISCARD_SET |
R/W |
0x0 |
When FIFO is full, new data is send to FIFO.
|
12:8 |
IR_RX_FIFO_LEVEL_TH |
R/W |
0x0 |
Rx FIFO interrupt threshold When Rx FIFO depth > threshold value, this interrupt is triggered. |
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_EN |
R/W |
0x0 |
Rx FIFO error read interrupt When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_EN |
R/W |
0x0 |
Rx count threshold interrupt
|
3 |
IR_RX_FIFO_OF_INT_EN |
R/W |
0x0 |
RX FIFO overflow
|
2 |
IR_RX_CNT_OF_INT_EN |
R/W |
0x0 |
RX counter overflow
|
1 |
IR_RX_FIFO_LEVEL_INT_EN |
R/W |
0x0 |
Rx FIFO level interrupt When Rx FIFO offset >= threshold value, this interrupt is triggered.
|
0 |
IR_RX_FIFO_FULL_INT_EN |
R/W |
0x0 |
Rx FIFO full interrupt
|
REG_IR_RX_SR
Name: IR Rx FIFO and interrupt status register
Size: 32
Address offset: 01Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:18 |
RSVD |
R |
- |
Reserved |
17 |
IR_RX_FIFO_EMPTY |
R |
0x0 |
|
16 |
IR_RX_FIFO_FULL |
R |
0x0 |
|
15:14 |
RSVD |
R |
- |
Reserved |
13:8 |
IR_RX_FIFO_OFFSET |
R |
0x0 |
Rx FIFO offset |
7 |
IR_RX_STATE |
R |
0x0 |
|
6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_STATUS |
R |
0x0 |
Rx FIFO error read interrupt status When Rx FIFO is empty, reading the Rx FIFO triggers this interrupt.
|
4 |
IR_RX_CNT_THR_INT_STATUS |
R |
0x0 |
Rx count threshold interrupt status
|
3 |
IR_RX_FIFO_OF_INT_STATUS |
R |
0x0 |
Rx FIFO overflow interrupt status
|
2 |
IR_RX_CNT_OF_INT_STATUS |
R |
0x0 |
Rx counter overflow interrupt status
|
1 |
IR_RX_FIFO_LEVEL_INT_STATUS |
R |
0x0 |
Rx FIFO level interrupt status
|
0 |
IR_RX_FIFO_FULL_INT_STATUS |
R |
0x0 |
Rx FIFO full interrupt status
|
REG_IR_RX_INT_CLR
Name: IR Rx FIFO and interrupt clear register
Size: 32
Address offset: 020h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:9 |
RSVD |
R |
- |
Reserved |
8 |
IR_RX_FIFO_CLR |
R/W |
Write 1 to clear Rx FIFO |
|
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IR_RX_FIFO_ERROR_INT_CLR |
R/W |
Rx FIFO error read interrupt Write 1 to clear |
|
4 |
IR_RX_CNT_THR_INT_CLR |
R/W |
Rx count threshold interrupt Write 1 to clear |
|
3 |
IR_RX_FIFO_OF_INT_CLR |
R/W |
Rx FIFO overflow interrupt Write 1 to clear |
|
2 |
IR_RX_CNT_OF_INT_CLR |
R/W |
Rx counter overflow interrupt Write 1 to clear |
|
1 |
IR_RX_FIFO_LEVEL_INT_CLR |
R/W |
Rx FIFO level interrupt Write 1 to clear |
|
0 |
IR_RX_FIFO_FULL_INT_CLR |
R/W |
Rx FIFO full interrupt Write 1 to clear |
REG_IR_RX_CNT_INT_SEL
Name: IR Rx count threshold configure register
Size: 32
Address offset: 024h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_CNT_THR_TRIGGER_LV |
R/W |
0x0 |
Trigger level
|
30:0 |
IR_RX_CNT_THR |
R/W |
0x0 |
31-bits threshold |
REG_IR_RX_FIFO
Name: IR Rx FIFO register
Size: 32
Address offset: 028h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
IR_RX_LEVEL |
R |
0x0 |
Rx Level
|
30:0 |
IR_RX_CNT |
R |
0x0 |
31-bits cycle duration |
REG_IR_VERSION
Name: IR IP version register
Size: 32
Address offset: 02Ch
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:0 |
IR_VERSION |
R |
0x1410150A |
IR IP version |
REG_IR_DUMMY
Name: Ir Dummy Register
Size: 32
Address offset: 030h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R |
0x0 |
Rsvd for hw |