PF_DRV0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 14PF6_DRV Bits 13 : 12R/W 0x1 PF6 Multi-Driving Select PF5_DRV Bits 11 : 10R/W 0x1 PF5 Multi-Driving Select PF4_DRV Bits 9 : 8R/W 0x1 PF4 Multi-Driving Select PF3_DRV Bits 7 : 6R/W 0x1 PF3 Multi-Driving Select PF2_DRV Bits 5 : 4R/W 0x1 PF2 Multi-Driving Select PF1_DRV Bits 3 : 2R/W 0x1 PF1 Multi-Driving Select PF0_DRV Bits 1 : 0R/W 0x1 PF0 Multi-Driving Select Команда U-Boot для чтения регистра md 300b0c8 1Bit fields structuretypedef union pf_drv0 { struct { unsigned pf0_drv : 2; unsigned pf1_drv : 2; unsigned pf2_drv : 2; unsigned pf3_drv : 2; unsigned pf4_drv : 2; unsigned pf5_drv : 2; unsigned pf6_drv : 2; unsigned unused0 : 18; } b; unsigned long w; } PF_DRV0 |