CIR_CTL Инфракрасный приемник: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 8ACTIVE_PULSE_ACCEPT_MODE Bits 7 : 6R/W 0x0 00, 01: Both positive and negative pulses are valid as a leading code CIR_ENABLE Bits 5 : 4R/W 0x0 00~10: Reserved Unused Bits 3 : 2RXEN Bit 1R/W 0x0 Receiver Block Enable GEN Bit 0R/W 0x0 Global Enable Команда U-Boot для чтения регистра md 7040000 1Bit fields structuretypedef 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 |