I2Sn_FMT0 Аудио-концентратор: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bit 31LRCK_WIDTH Bit 30R/W 0x0 (Only apply in PCM mode) LRCK width Unused Bits 29 : 20LRCK_POLARITY Bit 19R/W 0x0 When apply in I2S/Left-Justified/Right-Justified mode: Unused Bit 18LRCK_PERIOD Bits 17 : 8R/W 0x0 It is used to program the number of BCLKs per channel of sample BCLK_POLARITY Bit 7R/W 0x0 0: Normal mode, negative edge drive and positive edge sample SR_ Bits 6 : 4R/W 0x3 Sample Resolution EDGE_TRANSFER Bit 3R/W 0x0 0: SDO drive data and SDI sample data at the different BCLK edge SW_ Bits 2 : 0R/W 0x3 Slot Width Select Команда U-Boot для чтения регистра md 20450a7003 1Bit fields structuretypedef union i2sn_fmt0 { struct { unsigned sw_ : 3; unsigned edge_transfer : 1; unsigned sr_ : 3; unsigned bclk_polarity : 1; unsigned lrck_period : 10; unsigned unused0 : 1; unsigned lrck_polarity : 1; unsigned unused1 : 10; unsigned lrck_width : 1; unsigned unused2 : 1; } b; unsigned long w; } I2Sn_FMT0 |
![]() |