|
flash13 2.2.0
|
This file contains API for Flash 13 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | flash13_t |
| Flash 13 Click context object. More... | |
| struct | flash13_cfg_t |
| Flash 13 Click configuration object. More... | |
Enumerations | |
| enum | flash13_return_value_t { FLASH13_OK = 0 , FLASH13_ERROR = -1 } |
| Flash 13 Click return value data. More... | |
Functions | |
| void | flash13_cfg_setup (flash13_cfg_t *cfg) |
| Flash 13 configuration object setup function. | |
| err_t | flash13_init (flash13_t *ctx, flash13_cfg_t *cfg) |
| Flash 13 initialization function. | |
| err_t | flash13_write_cmd (flash13_t *ctx, uint8_t cmd) |
| Flash 13 write cmd function. | |
| err_t | flash13_write_cmd_data (flash13_t *ctx, uint8_t cmd, uint8_t *data_in, uint8_t len) |
| Flash 13 write cmd data function. | |
| err_t | flash13_read_cmd_data (flash13_t *ctx, uint8_t cmd, uint8_t *data_out, uint8_t len) |
| Flash 13 read cmd data function. | |
| err_t | flash13_write_cmd_address_data (flash13_t *ctx, uint8_t cmd, uint32_t address, uint8_t *data_in, uint32_t len) |
| Flash 13 write cmd address data function. | |
| err_t | flash13_read_cmd_address_data (flash13_t *ctx, uint8_t cmd, uint32_t address, uint8_t *data_out, uint32_t len) |
| Flash 13 read cmd address data function. | |
| err_t | flash13_memory_write (flash13_t *ctx, uint32_t address, uint8_t *data_in, uint32_t len) |
| Flash 13 memory write function. | |
| err_t | flash13_memory_read (flash13_t *ctx, uint32_t address, uint8_t *data_out, uint32_t len) |
| Flash 13 memory read function. | |
| err_t | flash13_erase_memory (flash13_t *ctx, uint8_t erase_cmd, uint32_t address) |
| Flash 13 erase memory function. | |
| err_t | flash13_check_communication (flash13_t *ctx) |
| Flash 13 check communication function. | |
| err_t | flash13_write_protect (flash13_t *ctx) |
| Flash 13 write protect function. | |
| err_t | flash13_write_enable (flash13_t *ctx) |
| Flash 13 write enable function. | |
| err_t | flash13_soft_reset (flash13_t *ctx) |
| Flash 13 soft reset function. | |
| void | flash13_set_wp_pin (flash13_t *ctx, uint8_t state) |
| Flash 13 set wp pin function. | |
| void | flash13_set_hold_pin (flash13_t *ctx, uint8_t state) |
| Flash 13 set hold pin function. | |
This file contains API for Flash 13 Click Driver.