typedef struct
{
_Bool Bit0;
_Bool Bit1;
_Bool Bit2;
_Bool Bit3;
_Bool Bit4;
_Bool Bit5;
_Bool Bit6;
_Bool Bit7;
}SBitChar;
typedef struct
{
SBitChar ODR;
SBitChar IDR;
SBitChar DDR;
SBitChar CR1;
SBitChar CR2;
}GPIO;
volatile GPIO PA @ 0x5000;
volatile GPIO PB @ 0x5005;
volatile GPIO PC @ 0x500a;
volatile GPIO PD @ 0x500f;
volatile GPIO PE @ 0x5014;
volatile GPIO PF @ 0x5019;
volatile GPIO PG @ 0x501e;
volatile GPIO PI @ 0x5028;
|