#ifndef SUNXI_HAL_CFG_H #define SUNXI_HAL_CFG_H #ifdef CONFIG_KERNEL_FREERTOS #include #include #include int32_t Hal_Cfg_GetGPIOSecKeyCount(char *GPIOSecName); int32_t Hal_Cfg_GetGPIOSecData(char *GPIOSecName, void *pGPIOCfg, int32_t GPIONum); #else #include #include #include #include int32_t Hal_Cfg_Init(uint8_t *CfgVAddr, uint32_t size); int32_t Hal_Cfg_Exit(void); int32_t Hal_Cfg_GetKeyValue(char *SecName, char *KeyName, int32_t Value[], int32_t Count); int32_t Hal_Cfg_GetSecKeyCount(char *SecName); int32_t Hal_Cfg_GetSecCount(void); int32_t Hal_Cfg_GetGPIOSecKeyCount(char *GPIOSecName); int32_t Hal_Cfg_GetGPIOSecData(char *GPIOSecName, void *pGPIOCfg, int32_t GPIONum); #endif #endif