TWI_DRV_INT_CTRL Двухпроводной интерфейс: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 20RX_REQ_INT_EN Bit 19R/W 0x0 TX_REQ_INT_EN Bit 18R/W 0x0 TRAN_ERR_INT_EN Bit 17R/W 0x0 TRAN_COM_INT_EN Bit 16R/W 0x0 Unused Bits 15 : 4RX_REQ_PD Bit 3R/W1C 0x0 Set when the data byte number in RECV_FIFO reaches RX_TRIG TX_REQ_PD Bit 2R/W1C 0x0 Set when there is no less than DMA_TX_TRIG empty byte number in SEND_FIFO TRAN_ERR_PD Bit 1R/W1C 0x0 Packet transmission failed pending TRAN_COM_PD Bit 0R/W1C 0x0 Packet transmission completed pending Команда U-Boot для чтения регистра md 5002214 1md 5002614 1 md 5002a14 1 md 5002e14 1 md 5003214 1 md 7081614 1 Bit fields structuretypedef union twi_drv_int_ctrl { struct { unsigned tran_com_pd : 1; unsigned tran_err_pd : 1; unsigned tx_req_pd : 1; unsigned rx_req_pd : 1; unsigned unused0 : 12; unsigned tran_com_int_en : 1; unsigned tran_err_int_en : 1; unsigned tx_req_int_en : 1; unsigned rx_req_int_en : 1; unsigned unused1 : 12; } b; unsigned long w; } TWI_DRV_INT_CTRL |