|
void | fram6_cfg_setup (fram6_cfg_t *cfg) |
| FRAM 6 configuration object setup function.
|
|
err_t | fram6_init (fram6_t *ctx, fram6_cfg_t *cfg) |
| FRAM 6 initialization function.
|
|
err_t | fram6_default_cfg (fram6_t *ctx) |
| FRAM 6 default configuration function.
|
|
err_t | fram6_write_opcode (fram6_t *ctx, uint8_t opcode) |
| FRAM 6 write opcode function.
|
|
err_t | fram6_read_opcode (fram6_t *ctx, uint8_t opcode, uint8_t *data_out, uint8_t len) |
| FRAM 6 read opcode function.
|
|
err_t | fram6_check_communication (fram6_t *ctx) |
| FRAM 6 check communication function.
|
|
void | fram6_set_wp_pin (fram6_t *ctx, uint8_t state) |
| FRAM 6 set WP pin function.
|
|
void | fram6_set_hld_pin (fram6_t *ctx, uint8_t state) |
| FRAM 6 set HLD pin function.
|
|
err_t | fram6_enable_write (fram6_t *ctx) |
| FRAM 6 enable write function.
|
|
err_t | fram6_disable_write (fram6_t *ctx) |
| FRAM 6 disable write function.
|
|
err_t | fram6_set_block_protection (fram6_t *ctx, uint8_t block_protect) |
| FRAM 6 set block protection function.
|
|
err_t | fram6_write_status (fram6_t *ctx, uint8_t status) |
| FRAM 6 write status function.
|
|
err_t | fram6_read_status (fram6_t *ctx, uint8_t *status) |
| FRAM 6 read status function.
|
|
err_t | fram6_enter_sleep_mode (fram6_t *ctx) |
| FRAM 6 enter sleep mode function.
|
|
void | fram6_wakeup_from_sleep (fram6_t *ctx) |
| FRAM 6 wake up from sleep function.
|
|
err_t | fram6_memory_write (fram6_t *ctx, uint32_t address, uint8_t *data_in, uint16_t len) |
| FRAM 6 memory write function.
|
|
err_t | fram6_memory_read (fram6_t *ctx, uint32_t address, uint8_t *data_out, uint16_t len) |
| FRAM 6 memory read function.
|
|
err_t | fram6_memory_read_fast (fram6_t *ctx, uint32_t address, uint8_t *data_out, uint16_t len) |
| FRAM 6 memory read fast function.
|
|
This file contains API for FRAM 6 Click Driver.