![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
宏定义 | |
#define | cinv_log_debug(fmt, args...) do{}while(0) |
#define | cinv_log_info _printf |
#define | cinv_log_error _printf |
#define | cinv_assert(x) do{}while(0) |
枚举 | |
enum | functional_state_t { F_DISABLE = 0, F_ENABLE = !F_DISABLE } |
函数 | |
void | cinv_port_mutex_creat (void) |
void | cinv_port_mutex_take (void) |
void | cinv_port_mutex_give (void) |
void * | cinv_port_malloc (uint32_t size) |
void | cinv_port_free (void *pdata) |
void | cinv_port_flash_read (uint32_t address, uint8_t *buffer, uint32_t length) |
void | cinv_port_flash_write (uint32_t address, const uint8_t *buffer, uint32_t length) |
void | cinv_port_flash_erase (uint32_t address) |
void | cinv_port_flash_protect (functional_state_t fun_en) |
void | cinv_port_flash_used_request (void) |
void | cinv_port_flash_used_release (void) |
bool | cinv_port_power_check (void) |
#define cinv_assert | ( | x | ) | do{}while(0) |
#define cinv_log_debug | ( | fmt, | |
args... | |||
) | do{}while(0) |
#define cinv_log_error _printf |
#define cinv_log_info _printf |
void cinv_port_flash_erase | ( | uint32_t | address | ) |
void cinv_port_flash_protect | ( | functional_state_t | fun_en | ) |
void cinv_port_flash_read | ( | uint32_t | address, |
uint8_t * | buffer, | ||
uint32_t | length | ||
) |
address | |
buffer | |
length |
void cinv_port_flash_used_release | ( | void | ) |
void cinv_port_flash_used_request | ( | void | ) |
void cinv_port_flash_write | ( | uint32_t | address, |
const uint8_t * | buffer, | ||
uint32_t | length | ||
) |
void cinv_port_free | ( | void * | pdata | ) |
void* cinv_port_malloc | ( | uint32_t | size | ) |
void cinv_port_mutex_creat | ( | void | ) |
void cinv_port_mutex_give | ( | void | ) |
void cinv_port_mutex_take | ( | void | ) |
bool cinv_port_power_check | ( | void | ) |