PC_DRV0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 PC15_DRV Bits 31 : 30R/W 0x1 PC15 Multi-Driving Select PC14_DRV Bits 29 : 28R/W 0x1 PC14 Multi-Driving Select PC13_DRV Bits 27 : 26R/W 0x1 PC13 Multi-Driving Select PC12_DRV Bits 25 : 24R/W 0x1 PC12 Multi-Driving Select PC11_DRV Bits 23 : 22R/W 0x1 PC11 Multi-Driving Select PC10_DRV Bits 21 : 20R/W 0x1 PC10 Multi-Driving Select PC9_DRV Bits 19 : 18R/W 0x1 PC9 Multi-Driving Select PC8_DRV Bits 17 : 16R/W 0x1 PC8 Multi-Driving Select PC7_DRV Bits 15 : 14R/W 0x1 PC7 Multi-Driving Select PC6_DRV Bits 13 : 12R/W 0x1 PC6 Multi-Driving Select PC5_DRV Bits 11 : 10R/W 0x1 PC5 Multi-Driving Select PC4_DRV Bits 9 : 8R/W 0x1 PC4 Multi-Driving Select PC3_DRV Bits 7 : 6R/W 0x1 PC3 Multi-Driving Select PC2_DRV Bits 5 : 4R/W 0x1 PC2 Multi-Driving Select PC1_DRV Bits 3 : 2R/W 0x1 PC1 Multi-Driving Select PC0_DRV Bits 1 : 0R/W 0x1 PC0 Multi-Driving Select Команда U-Boot для чтения регистра md 300b05c 1Bit fields structuretypedef union pc_drv0 { struct { unsigned pc0_drv : 2; unsigned pc1_drv : 2; unsigned pc2_drv : 2; unsigned pc3_drv : 2; unsigned pc4_drv : 2; unsigned pc5_drv : 2; unsigned pc6_drv : 2; unsigned pc7_drv : 2; unsigned pc8_drv : 2; unsigned pc9_drv : 2; unsigned pc10_drv : 2; unsigned pc11_drv : 2; unsigned pc12_drv : 2; unsigned pc13_drv : 2; unsigned pc14_drv : 2; unsigned pc15_drv : 2; } b; unsigned long w; } PC_DRV0 |