PI_CFG1 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bit 31PI15_SELECT Bits 30 : 28R/W 0x7 000:Input Unused Bit 27PI14_SELECT Bits 26 : 24R/W 0x7 000:Input Unused Bit 23PI13_SELECT Bits 22 : 20R/W 0x7 000:Input Unused Bit 19PI12_SELECT Bits 18 : 16R/W 0x7 000:Input Unused Bit 15PI11_SELECT Bits 14 : 12R/W 0x7 000:Input Unused Bit 11PI10_SELECT Bits 10 : 8R/W 0x7 000:Input Unused Bit 7PI9_SELECT Bits 6 : 4R/W 0x7 000:Input Unused Bit 3PI8_SELECT Bits 2 : 0R/W 0x7 000:Input Команда U-Boot для чтения регистра md 300b124 1Bit fields structuretypedef union pi_cfg1 { struct { unsigned pi8_select : 3; unsigned unused0 : 1; unsigned pi9_select : 3; unsigned unused1 : 1; unsigned pi10_select : 3; unsigned unused2 : 1; unsigned pi11_select : 3; unsigned unused3 : 1; unsigned pi12_select : 3; unsigned unused4 : 1; unsigned pi13_select : 3; unsigned unused5 : 1; unsigned pi14_select : 3; unsigned unused6 : 1; unsigned pi15_select : 3; unsigned unused7 : 1; } b; unsigned long w; } PI_CFG1 |