OWA_TX_CHSTA0 Контроллер последовательной аудио-шины: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 30CLOCK_ACC Bits 29 : 28R/W 0x0 Clock Accuracy FREQ Bits 27 : 24R/W 0x0 Sample Frequency CHAN_NUM Bits 23 : 20R/W 0x0 CN SOURCE_NUM Bits 19 : 16R/W 0x0 Source Number CAT_CODE Bits 15 : 8R/W 0x0 Category Code MODE Bits 7 : 6R/W 0x0 Mode EMPHASIS Bits 5 : 3R/W 0x0 Additional format information COPYRIGHT Bit 2R/W 0x0 0: Copyright is asserted AUDIO_TYPE Bit 1R/W 0x0 Audio Data Type APP_TYPE Bit 0R/W 0x0 Application Type Команда U-Boot для чтения регистра md 509302c 1Bit fields structuretypedef union owa_tx_chsta0 { struct { unsigned app_type : 1; unsigned audio_type : 1; unsigned copyright : 1; unsigned emphasis : 3; unsigned mode : 2; unsigned cat_code : 8; unsigned source_num : 4; unsigned chan_num : 4; unsigned freq : 4; unsigned clock_acc : 2; unsigned unused0 : 2; } b; unsigned long w; } OWA_TX_CHSTA0 |