![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
#include <stdint.h>
#include <stdbool.h>
#include "ci_nvdata_port.h"
#include "ci_nvdata_manage.h"
#include "ci130x_spiflash.h"
#include "ci130x_uart.h"
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "flash_manage_outside_port.h"
函数 | |
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) |
bool | cinv_port_power_check (void) |
void | cinv_port_flash_used_request (void) |
void | cinv_port_flash_used_release (void) |
变量 | |
static SemaphoreHandle_t | cinv_mutex |
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 | ) |
|
static |