Имя модуля: CIR_RX , базовый адрес: 0x07040000 Руководство п. 9.8.5 Регистров: 6 Имя регистра | Смещение 1) CIR_CTL | 0x0000 typedef union cir_ctl { struct { unsigned gen : 1; unsigned rxen : 1; unsigned unused0 : 2; unsigned cir_enable : 2; unsigned active_pulse_accept_mode : 2; unsigned unused1 : 24; } b; unsigned long w; } CIR_CTL 2) CIR_RXPCFG | 0x0010 typedef union cir_rxpcfg { struct { unsigned unused0 : 2; unsigned rppi : 1; unsigned unused1 : 29; } b; unsigned long w; } CIR_RXPCFG 3) CIR_RXFIFO | 0x0020 typedef union cir_rxfifo { struct { unsigned receiver_byte_fifo : 8; unsigned unused0 : 24; } b; unsigned long w; } CIR_RXFIFO 4) CIR_RXINT | 0x002C typedef union cir_rxint { struct { unsigned roi_en : 1; unsigned rpei_en : 1; unsigned unused0 : 2; unsigned rai_en : 1; unsigned drq_en : 1; unsigned unused1 : 2; unsigned ral : 6; unsigned unused2 : 18; } b; unsigned long w; } CIR_RXINT 5) CIR_RXSTA | 0x0030 typedef union cir_rxsta { struct { unsigned roi : 1; unsigned rpe : 1; unsigned unused0 : 2; unsigned rx_fifo_available : 1; unsigned unused1 : 2; unsigned stat : 1; unsigned rac : 6; unsigned unused2 : 18; } b; unsigned long w; } CIR_RXSTA 6) CIR_RXCFG | 0x0034 typedef union cir_rxcfg { struct { unsigned scs : 2; unsigned nthr : 6; unsigned ithr : 8; unsigned athr : 7; unsigned athc : 1; unsigned scs2 : 1; unsigned unused0 : 7; } b; unsigned long w; } CIR_RXCFG |