PG_PULL0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 PG15_PULL Bits 31 : 30R/W 0x0 PG15 Pull-up/down Select PG14_PULL Bits 29 : 28R/W 0x0 PG14 Pull-up/down Select PG13_PULL Bits 27 : 26R/W 0x0 PG13 Pull-up/down Select PG12_PULL Bits 25 : 24R/W 0x0 PG12 Pull-up/down Select PG11_PULL Bits 23 : 22R/W 0x0 PG11 Pull-up/down Select PG10_PULL Bits 21 : 20R/W 0x0 PG10 Pull-up/down Select PG9_PULL Bits 19 : 18R/W 0x0 PG9 Pull-up/down Select PG8_PULL Bits 17 : 16R/W 0x0 PG8 Pull-up/down Select PG7_PULL Bits 15 : 14R/W 0x0 PG7 Pull-up/down Select PG6_PULL Bits 13 : 12R/W 0x0 PG6 Pull-up/down Select PG5_PULL Bits 11 : 10R/W 0x1 PG5 Pull-up/down Select PG4_PULL Bits 9 : 8R/W 0x1 PG4 Pull-up/down Select PG3_PULL Bits 7 : 6R/W 0x1 PG3 Pull-up/down Select PG2_PULL Bits 5 : 4R/W 0x1 PG2 Pull-up/down Select PG1_PULL Bits 3 : 2R/W 0x1 PG1 Pull-up/down Select PG0_PULL Bits 1 : 0R/W 0x0 PG0 Pull-up/down Select Команда U-Boot для чтения регистра md 300b0f4 1Bit fields structuretypedef union pg_pull0 { struct { unsigned pg0_pull : 2; unsigned pg1_pull : 2; unsigned pg2_pull : 2; unsigned pg3_pull : 2; unsigned pg4_pull : 2; unsigned pg5_pull : 2; unsigned pg6_pull : 2; unsigned pg7_pull : 2; unsigned pg8_pull : 2; unsigned pg9_pull : 2; unsigned pg10_pull : 2; unsigned pg11_pull : 2; unsigned pg12_pull : 2; unsigned pg13_pull : 2; unsigned pg14_pull : 2; unsigned pg15_pull : 2; } b; unsigned long w; } PG_PULL0 |