blob: 4c1fee453d6f71eede5fb68189828e81875ce5bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef SUNXI_HAL_CFG_H
#define SUNXI_HAL_CFG_H
#ifdef CONFIG_KERNEL_FREERTOS
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
int32_t Hal_Cfg_GetGPIOSecKeyCount(char *GPIOSecName);
int32_t Hal_Cfg_GetGPIOSecData(char *GPIOSecName, void *pGPIOCfg, int32_t GPIONum);
#else
#include <stdint.h>
#include <kapi.h>
#include <stdlib.h>
#include <stdio.h>
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
|