
PH_CFG0 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bit 31PH7_SELECT Bits 30 : 28R/W 0x7 000:Input Unused Bit 27PH6_SELECT Bits 26 : 24R/W 0x7 000:Input Unused Bit 23PH5_SELECT Bits 22 : 20R/W 0x7 000:Input Unused Bit 19PH4_SELECT Bits 18 : 16R/W 0x7 000:Input Unused Bit 15PH3_SELECT Bits 14 : 12R/W 0x7 000:Input Unused Bit 11PH2_SELECT Bits 10 : 8R/W 0x7 000:Input Unused Bit 7PH1_SELECT Bits 6 : 4R/W 0x7 000:Input Unused Bit 3PH0_SELECT Bits 2 : 0R/W 0x7 000:Input Команда U-Boot для чтения регистра md 300b0fc 1Bit fields structure
typedef union ph_cfg0
{
struct
{
unsigned ph0_select : 3;
unsigned unused0 : 1;
unsigned ph1_select : 3;
unsigned unused1 : 1;
unsigned ph2_select : 3;
unsigned unused2 : 1;
unsigned ph3_select : 3;
unsigned unused3 : 1;
unsigned ph4_select : 3;
unsigned unused4 : 1;
unsigned ph5_select : 3;
unsigned unused5 : 1;
unsigned ph6_select : 3;
unsigned unused6 : 1;
unsigned ph7_select : 3;
unsigned unused7 : 1;
} b;
unsigned long w;
} PH_CFG0
|
![]() |