31 void SetConfig(
int port,
IOmode mode);
32 void SetConfig_GPIO9to0(uint32_t bitdata);
33 void SetConfig_GPIO19to10(uint32_t bitdata);
34 void SetConfig_GPIO29to20(uint32_t bitdata);
35 void SetConfig_GPIO39to30(uint32_t bitdata);
36 void SetConfig_GPIO49to40(uint32_t bitdata);
37 void SetConfig_GPIO53to50(uint32_t bitdata);
38 void SetConfig_AllOutput(
void);
39 void SetBitDataLo(uint32_t bitdata);
40 void SetBitDataHi(uint32_t bitdata);
41 void BitSet(
unsigned int port);
42 void BitClear(
unsigned int port);
43 uint32_t GetBitDataLo(
void)
const;
44 uint32_t GetBitDataHi(
void)
const;
45 bool BitGet(
unsigned int port)
const;
46 void SetACTLED(
bool onoff);
47 void SetPWRLED(
bool onoff);
53 static const int IOREG_SIZE = 64;
54 static const unsigned long IOREG_ADDRESS = 0x3F200000;