TWI_DRV_SLV Двухпроводной интерфейс: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 16SLV_ID Bits 15 : 9R/W 0x0 Slave device ID CMD Bit 8R/W 0x0 R/W operation to slave device SLV_ID_X Bits 7 : 0R/W 0x0 SLAX[7:0], low 8 bits for slave device ID with 10-bit addressing Команда U-Boot для чтения регистра md 5002208 1md 5002608 1 md 5002a08 1 md 5002e08 1 md 5003208 1 md 7081608 1 Bit fields structuretypedef union twi_drv_slv { struct { unsigned slv_id_x : 8; unsigned cmd : 1; unsigned slv_id : 7; unsigned unused0 : 16; } b; unsigned long w; } TWI_DRV_SLV |