flash8 2.0.0.0
|
This file contains API for Flash 8 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | flash8_t |
Flash 8 Click context object. More... | |
struct | flash8_cfg_t |
Flash 8 Click configuration object. More... | |
struct | feature_cfg_t |
Flash 8 Feature operation object. More... | |
Enumerations | |
enum | flash8_return_value_t { FLASH8_OK = 0 , FLASH8_ERROR = -1 } |
Flash 8 Click return value data. More... | |
Functions | |
void | flash8_cfg_setup (flash8_cfg_t *cfg) |
Flash 8 configuration object setup function. | |
err_t | flash8_init (flash8_t *ctx, flash8_cfg_t *cfg) |
Flash 8 initialization function. | |
void | flash8_default_cfg (flash8_t *ctx) |
Flash 8 default configuration function. | |
err_t | flash8_generic_write (flash8_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Flash 8 data writing function. | |
err_t | flash8_generic_read (flash8_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Flash 8 data reading function. | |
void | flash8_hold_enable (flash8_t *ctx) |
Flash 8 hold enable function. | |
void | flash8_hold_disable (flash8_t *ctx) |
Flash 8 hold disable function. | |
void | flash8_write_protect_enable (flash8_t *ctx) |
Flash 8 enable write protection function. | |
void | flash8_write_protect_disable (flash8_t *ctx) |
Flash 8 disable write protection function. | |
err_t | flash8_read_cell_array (flash8_t *ctx, uint32_t row_address, uint16_t column_address, uint8_t *feature_status_out) |
Flash 8 read cell array function. | |
err_t | flash8_read_buffer (flash8_t *ctx, uint16_t column_address, uint8_t *read_data) |
Flash 8 read buffer function. | |
err_t | flash8_program_load (flash8_t *ctx, uint16_t column_address, uint8_t *data_in, uint16_t len) |
Flash 8 program load function. | |
err_t | flash8_program_execute (flash8_t *ctx, uint32_t row_address) |
Flash 8 program execute function. | |
err_t | flash8_program_load_random (flash8_t *ctx, uint16_t column_address, uint8_t *data_in, uint8_t len) |
Flash 8 program load random function. | |
err_t | flash8_block_erase (flash8_t *ctx, uint32_t row_address, uint8_t *feat_data) |
Flash 8 block erase function. | |
err_t | flash8_sw_reset (flash8_t *ctx, uint8_t *feat_data) |
Flash 8 soft reset function. | |
err_t | flash8_write_enable (flash8_t *ctx) |
Flash 8 write enable function. | |
err_t | flash8_write_disable (flash8_t *ctx) |
Flash 8 write disable function. | |
err_t | flash8_set_feature (flash8_t *ctx, uint8_t feature_addr, uint8_t feature_data) |
Flash 8 set feature function. | |
err_t | flash8_set_config_feature (flash8_t *ctx, feature_cfg_t feature_data) |
Flash 8 set config feature function. | |
err_t | flash8_get_feature (flash8_t *ctx, uint8_t feature_addr, uint8_t *feature_data) |
Flash 8 get feature function. | |
err_t | flash8_get_config_feature (flash8_t *ctx, feature_cfg_t *feature_data) |
Flash 8 get config feature function. | |
err_t | flash8_protected_area_all_unlocked (flash8_t *ctx) |
Flash 8 protected area all unlocked function. | |
err_t | flash8_protect_execute (flash8_t *ctx, uint32_t row_address, uint8_t *feature_status_out) |
Flash 8 protect execute function. | |
err_t | flash8_read_id (flash8_t *ctx, uint8_t *manufacture_id, uint8_t *device_id, uint8_t *organization_id) |
Flash 8 read ID function. | |
err_t | flash8_write_memory (flash8_t *ctx, uint32_t row_address, uint16_t column_address, uint8_t *data_in, uint16_t len, uint8_t *feature_status_out) |
Flash 8 write memory function. | |
err_t | flash8_read_memory (flash8_t *ctx, uint32_t row_address, uint16_t column_address, uint8_t *data_out, uint16_t len, uint8_t *feature_status_out) |
Flash 8 read memory function. | |
This file contains API for Flash 8 Click Driver.