I2Sn_CTRL Аудио-концентратор: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 24LOOPBACK3 Bit 23R/W 0x0 Loop back test LOOPBACK2 Bit 22R/W 0x0 Loop back test LOOPBACK1 Bit 21R/W 0x0 Loop back test LOOPBACK0 Bit 20R/W 0x0 Loop back test Unused Bit 19BCLK_LRCK_DIRECTION Bit 18R/W 0x1 0:Input Unused Bits 17 : 16SDI3_EN Bit 15R/W 0x0 0:Disable, Hi-Z state SDI2_EN Bit 14R/W 0x0 0:Disable, Hi-Z state SDI1_EN Bit 13R/W 0x0 0:Disable, Hi-Z state SDI0_EN Bit 12R/W 0x0 0:Disable, Hi-Z state SDO3_EN Bit 11R/W 0x0 0:Disable, Hi-Z state SDO2_EN Bit 10R/W 0x0 0:Disable, Hi-Z state SDO1_EN Bit 9R/W 0x0 0:Disable, Hi-Z state SDO0_EN Bit 8R/W 0x0 0:Disable, Hi-Z state Unused Bit 7OUT_MUTE Bit 6R/W 0x0 0: Normal transfer MODE_SEL Bits 5 : 4R/W 0x0 Mode Selection LOOPBACK Bit 3R/W 0x0 Loop back test TXEN Bit 2R/W 0x0 Transmitter Block Enable RXEN Bit 1R/W 0x0 Receiver Block Enable GEN Bit 0R/W 0x0 Globe Enable Команда U-Boot для чтения регистра md 20050a7003 1Bit fields structuretypedef union i2sn_ctrl { struct { unsigned gen : 1; unsigned rxen : 1; unsigned txen : 1; unsigned loopback : 1; unsigned mode_sel : 2; unsigned out_mute : 1; unsigned unused0 : 1; unsigned sdo0_en : 1; unsigned sdo1_en : 1; unsigned sdo2_en : 1; unsigned sdo3_en : 1; unsigned sdi0_en : 1; unsigned sdi1_en : 1; unsigned sdi2_en : 1; unsigned sdi3_en : 1; unsigned unused1 : 2; unsigned bclk_lrck_direction : 1; unsigned unused2 : 1; unsigned loopback0 : 1; unsigned loopback1 : 1; unsigned loopback2 : 1; unsigned loopback3 : 1; unsigned unused3 : 8; } b; unsigned long w; } I2Sn_CTRL |