PG_CFG0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bit 31PG7_SELECT Bits 30 : 28R/W 0x7 000:Input Unused Bit 27PG6_SELECT Bits 26 : 24R/W 0x7 000:Input Unused Bit 23PG5_SELECT Bits 22 : 20R/W 0x7 000:Input Unused Bit 19PG4_SELECT Bits 18 : 16R/W 0x7 000:Input Unused Bit 15PG3_SELECT Bits 14 : 12R/W 0x7 000:Input Unused Bit 11PG2_SELECT Bits 10 : 8R/W 0x7 000:Input Unused Bit 7PG1_SELECT Bits 6 : 4R/W 0x7 000:Input Unused Bit 3PG0_SELECT Bits 2 : 0R/W 0x7 000:Input Команда U-Boot для чтения регистра md 300b0d8 1Bit fields structuretypedef union pg_cfg0 { struct { unsigned pg0_select : 3; unsigned unused0 : 1; unsigned pg1_select : 3; unsigned unused1 : 1; unsigned pg2_select : 3; unsigned unused2 : 1; unsigned pg3_select : 3; unsigned unused3 : 1; unsigned pg4_select : 3; unsigned unused4 : 1; unsigned pg5_select : 3; unsigned unused5 : 1; unsigned pg6_select : 3; unsigned unused6 : 1; unsigned pg7_select : 3; unsigned unused7 : 1; } b; unsigned long w; } PG_CFG0 |