TSG_CSR Контроллер ШИМ: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 26TSG_STS Bits 25 : 24R 0x0 Status for TS Generator Unused Bits 23 : 10TSGL_BUF_MODE Bit 9R/W 0x0 Loop Buffer Mode TSG_SYNC_BYTE_CHK_EN Bit 8R/W 0x0 Sync Byte Check Enable Unused Bits 7 : 3TSG_PAUSE_BIT Bit 2R/W 0x0 Pause Bit for TS Generator TSG_STOP_BIT Bit 1R/W 0x0 Stop Bit for TS Generator TSG_START_BIT Bit 0R/W 0x0 Start Bit for TS Generator Команда U-Boot для чтения регистра md 300a000 1Bit fields structuretypedef union tsg_csr { struct { unsigned tsg_start_bit : 1; unsigned tsg_stop_bit : 1; unsigned tsg_pause_bit : 1; unsigned unused0 : 5; unsigned tsg_sync_byte_chk_en : 1; unsigned tsgl_buf_mode : 1; unsigned unused1 : 14; unsigned tsg_sts : 2; unsigned unused2 : 6; } b; unsigned long w; } TSG_CSR |