Lines Matching full:flash

2  * This file is part of the Serial Flash Universal Driver Library.
47 * SFUD initialize by flash device
49 * @param flash flash device
53 sfud_err sfud_device_init(sfud_flash *flash);
56 * get flash device by its index which in the flash information table
58 * @param index the index which in the flash information table @see flash_table
60 * @return flash device
65 * get flash device total number on flash device information table @see flash_table
67 * @return flash device total number
72 * get flash device information table @see flash_table
74 * @return flash device table pointer
80 * Enbale the fast read mode in QSPI flash mode. Default read mode is normal SPI mode.
85 * @note When Flash is in QSPI mode, the method must be called after sfud_device_init().
87 * @param flash flash device
92 sfud_err sfud_qspi_fast_read_enable(sfud_flash *flash, uint8_t data_line_width);
96 * read flash data
98 * @param flash flash device
105 sfud_err sfud_read(const sfud_flash *flash, uint32_t addr, size_t size, uint8_t *data);
108 * erase flash data
112 * @param flash flash device
118 sfud_err sfud_erase(const sfud_flash *flash, uint32_t addr, size_t size);
121 * write flash data (no erase operate)
123 * @param flash flash device
130 sfud_err sfud_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data);
133 * erase and write flash data
135 * @param flash flash device
142 sfud_err sfud_erase_write(const sfud_flash *flash, uint32_t addr, size_t size, const uint8_t *data);
145 * erase all flash data
147 * @param flash flash device
151 sfud_err sfud_chip_erase(const sfud_flash *flash);
154 * read flash register status
156 * @param flash flash device
161 sfud_err sfud_read_status(const sfud_flash *flash, uint8_t *status);
166 * @param flash flash device
172 sfud_err sfud_write_status(const sfud_flash *flash, bool is_volatile, uint8_t status);