
PG_CFG2 Контроллер портов ввода-вывода (GPIO): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 15PG19_SELECT Bits 14 : 12R/W 0x7 000:Input Unused Bit 11PG18_SELECT Bits 10 : 8R/W 0x7 000:Input Unused Bit 7PG17_SELECT Bits 6 : 4R/W 0x7 000:Input Unused Bit 3PG16_SELECT Bits 2 : 0R/W 0x7 000:Input Команда U-Boot для чтения регистра md 300b0e0 1Bit fields structure
typedef union pg_cfg2
{
struct
{
unsigned pg16_select : 3;
unsigned unused0 : 1;
unsigned pg17_select : 3;
unsigned unused1 : 1;
unsigned pg18_select : 3;
unsigned unused2 : 1;
unsigned pg19_select : 3;
unsigned unused3 : 17;
} b;
unsigned long w;
} PG_CFG2
|
![]() |