VSF Documented
|
Data Structures | |
struct | vsf_hw_flash_t |
Macros | |
#define | VSF_HW_FLASH_CFG_MULTI_CLASS VSF_FLASH_CFG_MULTI_CLASS |
#define | __AIC8800_FLASH_CFG_PROTECT interrupt |
#define | __aic8800_flash_protect vsf_protect(__AIC8800_FLASH_CFG_PROTECT) |
#define | __aic8800_flash_unprotect vsf_unprotect(__AIC8800_FLASH_CFG_PROTECT) |
#define | __aic8800_flash_address_get(__offset) ((unsigned int)(VSF_HW_FLASH_CFG_BASE_ADDRESS + (uint32_t)__offset)) |
#define | VSF_FLASH_CFG_REIMPLEMENT_API_CAPABILITY ENABLED |
#define | VSF_FLASH_CFG_ERASE_ALL_TEMPLATE ENABLED |
#define | VSF_FLASH_CFG_ERASE_ONE_SECTOR_TEMPLATE ENABLED |
#define | VSF_FLASH_CFG_WRITE_ONE_SECTOR_TEMPLATE ENABLED |
#define | VSF_FLASH_CFG_READ_ONE_SECTOR_TEMPLATE ENABLED |
#define | VSF_FLASH_CFG_IMP_PREFIX vsf_hw |
#define | VSF_FLASH_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define | VSF_FLASH_CFG_IMP_LV0(__IDX, __HAL_OP) |
Typedefs | |
typedef struct vsf_hw_flash_t | vsf_hw_flash_t |
Functions | |
vsf_err_t | vsf_hw_flash_init (vsf_hw_flash_t *hw_flash_ptr, vsf_flash_cfg_t *cfg_ptr) |
void | vsf_hw_flash_fini (vsf_hw_flash_t *hw_flash_ptr) |
fsm_rt_t | vsf_hw_flash_enable (vsf_hw_flash_t *hw_flash_ptr) |
fsm_rt_t | vsf_hw_flash_disable (vsf_hw_flash_t *hw_flash_ptr) |
void | vsf_hw_flash_irq_enable (vsf_hw_flash_t *hw_flash_ptr, vsf_flash_irq_mask_t irq_mask) |
void | vsf_hw_flash_irq_disable (vsf_hw_flash_t *hw_flash_ptr, vsf_flash_irq_mask_t irq_mask) |
vsf_err_t | vsf_hw_flash_erase_multi_sector (vsf_hw_flash_t *hw_flash_ptr, vsf_flash_size_t offset, vsf_flash_size_t size) |
vsf_err_t | vsf_hw_flash_write_multi_sector (vsf_hw_flash_t *hw_flash_ptr, vsf_flash_size_t offset, uint8_t *buffer, vsf_flash_size_t size) |
vsf_err_t | vsf_hw_flash_read_multi_sector (vsf_hw_flash_t *hw_flash_ptr, vsf_flash_size_t offset, uint8_t *buffer, vsf_flash_size_t size) |
vsf_flash_status_t | vsf_hw_flash_status (vsf_hw_flash_t *hw_flash_ptr) |
vsf_flash_capability_t | vsf_hw_flash_capability (vsf_hw_flash_t *hw_flash_ptr) |
#define VSF_HW_FLASH_CFG_MULTI_CLASS VSF_FLASH_CFG_MULTI_CLASS |
#define __AIC8800_FLASH_CFG_PROTECT interrupt |
#define __aic8800_flash_protect vsf_protect(__AIC8800_FLASH_CFG_PROTECT) |
#define __aic8800_flash_unprotect vsf_unprotect(__AIC8800_FLASH_CFG_PROTECT) |
#define __aic8800_flash_address_get | ( | __offset | ) | ((unsigned int)(VSF_HW_FLASH_CFG_BASE_ADDRESS + (uint32_t)__offset)) |
#define VSF_FLASH_CFG_REIMPLEMENT_API_CAPABILITY ENABLED |
#define VSF_FLASH_CFG_ERASE_ALL_TEMPLATE ENABLED |
#define VSF_FLASH_CFG_ERASE_ONE_SECTOR_TEMPLATE ENABLED |
#define VSF_FLASH_CFG_WRITE_ONE_SECTOR_TEMPLATE ENABLED |
#define VSF_FLASH_CFG_READ_ONE_SECTOR_TEMPLATE ENABLED |
#define VSF_FLASH_CFG_IMP_PREFIX vsf_hw |
#define VSF_FLASH_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define VSF_FLASH_CFG_IMP_LV0 | ( | __IDX, | |
__HAL_OP | |||
) |
typedef struct vsf_hw_flash_t vsf_hw_flash_t |
vsf_err_t vsf_hw_flash_init | ( | vsf_hw_flash_t * | hw_flash_ptr, |
vsf_flash_cfg_t * | cfg_ptr | ||
) |
void vsf_hw_flash_fini | ( | vsf_hw_flash_t * | hw_flash_ptr | ) |
fsm_rt_t vsf_hw_flash_enable | ( | vsf_hw_flash_t * | hw_flash_ptr | ) |
fsm_rt_t vsf_hw_flash_disable | ( | vsf_hw_flash_t * | hw_flash_ptr | ) |
void vsf_hw_flash_irq_enable | ( | vsf_hw_flash_t * | hw_flash_ptr, |
vsf_flash_irq_mask_t | irq_mask | ||
) |
void vsf_hw_flash_irq_disable | ( | vsf_hw_flash_t * | hw_flash_ptr, |
vsf_flash_irq_mask_t | irq_mask | ||
) |
vsf_err_t vsf_hw_flash_erase_multi_sector | ( | vsf_hw_flash_t * | hw_flash_ptr, |
vsf_flash_size_t | offset, | ||
vsf_flash_size_t | size | ||
) |
vsf_err_t vsf_hw_flash_write_multi_sector | ( | vsf_hw_flash_t * | hw_flash_ptr, |
vsf_flash_size_t | offset, | ||
uint8_t * | buffer, | ||
vsf_flash_size_t | size | ||
) |
vsf_err_t vsf_hw_flash_read_multi_sector | ( | vsf_hw_flash_t * | hw_flash_ptr, |
vsf_flash_size_t | offset, | ||
uint8_t * | buffer, | ||
vsf_flash_size_t | size | ||
) |
vsf_flash_status_t vsf_hw_flash_status | ( | vsf_hw_flash_t * | hw_flash_ptr | ) |
vsf_flash_capability_t vsf_hw_flash_capability | ( | vsf_hw_flash_t * | hw_flash_ptr | ) |