PC_CFG1 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bit 31PC15_SELECT Bits 30 : 28R/W 0x7 000:Input Unused Bit 27PC14_SELECT Bits 26 : 24R/W 0x7 000:Input Unused Bit 23PC13_SELECT Bits 22 : 20R/W 0x7 000:Input Unused Bit 19PC12_SELECT Bits 18 : 16R/W 0x7 000:Input Unused Bit 15PC11_SELECT Bits 14 : 12R/W 0x7 000:Input Unused Bit 11PC10_SELECT Bits 10 : 8R/W 0x7 000:Input Unused Bit 7PC9_SELECT Bits 6 : 4R/W 0x7 000:Input Unused Bit 3PC8_SELECT Bits 2 : 0R/W 0x7 000:Input Команда U-Boot для чтения регистра md 300b04c 1Bit fields structuretypedef union pc_cfg1 { struct { unsigned pc8_select : 3; unsigned unused0 : 1; unsigned pc9_select : 3; unsigned unused1 : 1; unsigned pc10_select : 3; unsigned unused2 : 1; unsigned pc11_select : 3; unsigned unused3 : 1; unsigned pc12_select : 3; unsigned unused4 : 1; unsigned pc13_select : 3; unsigned unused5 : 1; unsigned pc14_select : 3; unsigned unused6 : 1; unsigned pc15_select : 3; unsigned unused7 : 1; } b; unsigned long w; } PC_CFG1 |