TSG_IESR Контроллер ШИМ: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 20TSG_END_IE Bit 19R/W 0x0 TS Generator (TSG) End Interrupt Enable TSGFFIE Bit 18R/W 0x0 TS Generator (TSG) Full Finish Interrupt Enable TSGHFIE Bit 17R/W 0x0 TS Generator (TSG) Half Finish Interrupt Enable TSG_ERRSYNCBYTEIE Bit 16R/W 0x0 TS Generator (TSG) Error Sync Byte Interrupt Enable Unused Bits 15 : 4TSG_END_STS Bit 3R/W1C 0x0 TS Generator (TSG) End Status TSG_FF_STS Bit 2R/W1C 0x0 TS Generator (TSG) Full Finish Status TSG_HF_STS Bit 1R/W1C 0x0 TS Generator (TSG) Half Finish Status TSG_ERR_SYNC_BYTE_STS Bit 0R/W1C 0x0 TS Generator (TSG) Error Sync Byte Status Команда U-Boot для чтения регистра md 300a008 1Bit fields structuretypedef union tsg_iesr { struct { unsigned tsg_err_sync_byte_sts : 1; unsigned tsg_hf_sts : 1; unsigned tsg_ff_sts : 1; unsigned tsg_end_sts : 1; unsigned unused0 : 12; unsigned tsg_errsyncbyteie : 1; unsigned tsghfie : 1; unsigned tsgffie : 1; unsigned tsg_end_ie : 1; unsigned unused1 : 12; } b; unsigned long w; } TSG_IESR |