Compile-time parameters for a serial flash device. More...
Compile-time parameters for a serial flash device.
Definition at line 102 of file mtd_spi_nor.h.
#include <mtd_spi_nor.h>
Data Fields | |
const mtd_spi_nor_opcode_t * | opcode |
Opcode table for the device. | |
uint32_t | wait_chip_erase |
Full chip erase wait time in µs. | |
uint32_t | wait_64k_erase |
64KB page erase wait time in µs | |
uint32_t | wait_32k_erase |
32KB page erase wait time in µs | |
uint32_t | wait_sector_erase |
4KB sector erase wait time in µs | |
uint32_t | wait_chip_wake_up |
Chip wake up time in µs. | |
spi_clk_t | clk |
SPI clock. | |
uint16_t | flag |
Config flags. | |
spi_t | spi |
SPI bus the device is connected to. | |
spi_mode_t | mode |
SPI mode. | |
gpio_t | cs |
CS pin GPIO handle. | |
gpio_t | wp |
Write Protect pin GPIO handle. | |
gpio_t | hold |
HOLD pin GPIO handle. | |
spi_clk_t mtd_spi_nor_params_t::clk |
SPI clock.
Definition at line 109 of file mtd_spi_nor.h.
gpio_t mtd_spi_nor_params_t::cs |
CS pin GPIO handle.
Definition at line 113 of file mtd_spi_nor.h.
uint16_t mtd_spi_nor_params_t::flag |
Config flags.
Definition at line 110 of file mtd_spi_nor.h.
gpio_t mtd_spi_nor_params_t::hold |
HOLD pin GPIO handle.
Definition at line 115 of file mtd_spi_nor.h.
spi_mode_t mtd_spi_nor_params_t::mode |
SPI mode.
Definition at line 112 of file mtd_spi_nor.h.
const mtd_spi_nor_opcode_t* mtd_spi_nor_params_t::opcode |
Opcode table for the device.
Definition at line 103 of file mtd_spi_nor.h.
spi_t mtd_spi_nor_params_t::spi |
SPI bus the device is connected to.
Definition at line 111 of file mtd_spi_nor.h.
uint32_t mtd_spi_nor_params_t::wait_32k_erase |
32KB page erase wait time in µs
Definition at line 106 of file mtd_spi_nor.h.
uint32_t mtd_spi_nor_params_t::wait_64k_erase |
64KB page erase wait time in µs
Definition at line 105 of file mtd_spi_nor.h.
uint32_t mtd_spi_nor_params_t::wait_chip_erase |
Full chip erase wait time in µs.
Definition at line 104 of file mtd_spi_nor.h.
uint32_t mtd_spi_nor_params_t::wait_chip_wake_up |
Chip wake up time in µs.
Definition at line 108 of file mtd_spi_nor.h.
uint32_t mtd_spi_nor_params_t::wait_sector_erase |
4KB sector erase wait time in µs
Definition at line 107 of file mtd_spi_nor.h.
gpio_t mtd_spi_nor_params_t::wp |
Write Protect pin GPIO handle.
Definition at line 114 of file mtd_spi_nor.h.