| 1234567891011121314151617181920212223 |
- typedef struct _ADJUST_GPIO {
- unsigned char GPIO[256];
- }ADJUST_GPIO, *PADJUST_GPIO;
- typedef struct _ADJUST_GPIO_ITEM { //
- unsigned char pGPIOData[256]; //0x7f8~0x8f7 struct ADJUST_GPIO will copy there
- }ADJUST_GPIO_ITEM, *PADJUST_GPIO_ITEM;
- typedef struct _GPIO_FORMAT {
- unsigned char index; // 0~63
- unsigned char AuxEnalbe; // Enable GPIO function 0:disable; 1:enable
- unsigned char AuxMode; // 0: output; 1: input; 2: open drain
- unsigned char AuxValue; // 0:low; 1:high
- unsigned char AInternalPU; // 0:disable/1:enable pull high
- unsigned char AInternalPD; // 0:disable/1:enable pull low
- unsigned char MainEnalbe; // Enable GPIO function 0:disable; 1:enable
- unsigned char MainMode; // 0: output; 1: input; 2: open drain
- unsigned char MainValue; // 0:low; 1:high
- unsigned char MInternalPU; // 0:disable/1:enable pull high
- unsigned char MInternalPD; // 0:disable/1:enable pull low
- unsigned char MDELAY_TIME;
- }GPIO_FORMAT, *PGPIO_FORMAT;
|