
PH_DRV0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 22PH10_DRV Bits 21 : 20R/W 0x1 PH10 Multi-Driving Select PH9_DRV Bits 19 : 18R/W 0x1 PH9 Multi-Driving Select PH8_DRV Bits 17 : 16R/W 0x1 PH8 Multi-Driving Select PH7_DRV Bits 15 : 14R/W 0x1 PH7 Multi-Driving Select PH6_DRV Bits 13 : 12R/W 0x1 PH6 Multi-Driving Select PH5_DRV Bits 11 : 10R/W 0x1 PH5 Multi-Driving Select PH4_DRV Bits 9 : 8R/W 0x1 PH4 Multi-Driving Select PH3_DRV Bits 7 : 6R/W 0x1 PH3 Multi-Driving Select PH2_DRV Bits 5 : 4R/W 0x1 PH2 Multi-Driving Select PH1_DRV Bits 3 : 2R/W 0x1 PH1 Multi-Driving Select PH0_DRV Bits 1 : 0R/W 0x1 PH0 Multi-Driving Select Команда U-Boot для чтения регистра md 300b110 1Bit fields structure
typedef union ph_drv0
{
struct
{
unsigned ph0_drv : 2;
unsigned ph1_drv : 2;
unsigned ph2_drv : 2;
unsigned ph3_drv : 2;
unsigned ph4_drv : 2;
unsigned ph5_drv : 2;
unsigned ph6_drv : 2;
unsigned ph7_drv : 2;
unsigned ph8_drv : 2;
unsigned ph9_drv : 2;
unsigned ph10_drv : 2;
unsigned unused0 : 10;
} b;
unsigned long w;
} PH_DRV0
|
![]() |