PC_PULL0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 PC15_PULL Bits 31 : 30R/W 0x0 PC15 Pull-up/down Select PC14_PULL Bits 29 : 28R/W 0x0 PC14 Pull-up/down Select PC13_PULL Bits 27 : 26R/W 0x0 PC13 Pull-up/down Select PC12_PULL Bits 25 : 24R/W 0x0 PC12 Pull-up/down Select PC11_PULL Bits 23 : 22R/W 0x0 PC11 Pull-up/down Select PC10_PULL Bits 21 : 20R/W 0x0 PC10 Pull-up/down Select PC9_PULL Bits 19 : 18R/W 0x0 PC9 Pull-up/down Select PC8_PULL Bits 17 : 16R/W 0x0 PC8 Pull-up/down Select PC7_PULL Bits 15 : 14R/W 0x1 PC7 Pull-up/down Select PC6_PULL Bits 13 : 12R/W 0x1 PC6 Pull-up/down Select PC5_PULL Bits 11 : 10R/W 0x1 PC5 Pull-up/down Select PC4_PULL Bits 9 : 8R/W 0x1 PC4 Pull-up/down Select PC3_PULL Bits 7 : 6R/W 0x1 PC3 Pull-up/down Select PC2_PULL Bits 5 : 4R/W 0x0 PC2 Pull-up/down Select PC1_PULL Bits 3 : 2R/W 0x0 PC Pull-up/down Select PC0_PULL Bits 1 : 0R/W 0x0 PC0 Pull-up/down Select Команда U-Boot для чтения регистра md 300b064 1Bit fields structuretypedef union pc_pull0 { struct { unsigned pc0_pull : 2; unsigned pc1_pull : 2; unsigned pc2_pull : 2; unsigned pc3_pull : 2; unsigned pc4_pull : 2; unsigned pc5_pull : 2; unsigned pc6_pull : 2; unsigned pc7_pull : 2; unsigned pc8_pull : 2; unsigned pc9_pull : 2; unsigned pc10_pull : 2; unsigned pc11_pull : 2; unsigned pc12_pull : 2; unsigned pc13_pull : 2; unsigned pc14_pull : 2; unsigned pc15_pull : 2; } b; unsigned long w; } PC_PULL0 |