1234567891011121314151617181920 |
- #ifndef _gpio_h
- #include <asm/types.h>
- #include "./../../drivers/include/gpio_pin_define.h"
- //void GPIOWriteFun(u8 index, u8 value);
- u8 GPIOReadFun(u8 index);
- void GPIOFun(unsigned char index,int mode,unsigned char value,int INPH_Enable,int INPL_Enable);
- int GetCustomerData(char *pcTableName, char **tablestart, unsigned int *tablesize);
- void MAIN_DOMAIN_GPIO_INIT(void);
- UINT8 GPIOSetValue(UINT8 TabIndex, GPIOState_t State);
- UINT8 GPIOSetValueByPinFunc(GPIODriverFunc_t PinFunc, GPIOState_t State);
- UINT8 GPIOSetValueByPinNumber(UINT8 PinNum, GPIOState_t State);
- void GPIOFunctionSelect(UINT8 index, UINT8 mode);
- #if (CONFIG_CHIPID == 0x531)
- void GPIO_INIT(void);
- #endif
- #endif //_gpio_h
|