CIR_RXINT Инфракрасный приемник: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 14RAL Bits 13 : 8R/W 0x0 RX FIFO available received byte level for interrupt and DMA request TRIGGER_LEVEL = RAL + 1 Unused Bits 7 : 6DRQ_EN Bit 5R/W 0x0 RX FIFO DMA Enable RAI_EN Bit 4R/W 0x0 RX FIFO Available Interrupt Enable Unused Bits 3 : 2RPEI_EN Bit 1R/W 0x0 Receiver Packet End Interrupt Enable ROI_EN Bit 0R/W 0x0 Receiver FIFO Overrun Interrupt Enable Команда U-Boot для чтения регистра md 704002c 1Bit fields structuretypedef 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 |