#include <inttypes.h>
Go to the source code of this file.
◆ W25X_STATUS_BUSY
#define W25X_STATUS_BUSY 0x01 |
◆ W25X_STATUS_WEL
#define W25X_STATUS_WEL 0x02 |
◆ W25X_STATUS_BP0
#define W25X_STATUS_BP0 0x04 |
◆ W25X_STATUS_BP1
#define W25X_STATUS_BP1 0x08 |
◆ W25X_STATUS_TB
#define W25X_STATUS_TB 0x20 |
◆ W25X_STATUS_SRP
#define W25X_STATUS_SRP 0x80 |
◆ W25X_SPI_ENTER
#define W25X_SPI_ENTER |
( |
| ) |
|
◆ w25x_init()
int8_t w25x_init |
( |
void |
| ) |
|
◆ w25x_enable_wr()
◆ w25x_disable_wr()
◆ w25x_rd_status_reg()
◆ w25x_wr_status_reg()
◆ w25x_rd_data()
void w25x_rd_data |
( |
uint32_t |
addr, |
|
|
uint8_t * |
data, |
|
|
uint16_t |
cnt |
|
) |
| |
◆ w25x_page_program()
void w25x_page_program |
( |
uint32_t |
addr, |
|
|
uint8_t * |
data, |
|
|
uint16_t |
cnt |
|
) |
| |
◆ w25x_page_program_P()
void w25x_page_program_P |
( |
uint32_t |
addr, |
|
|
uint8_t * |
data, |
|
|
uint16_t |
cnt |
|
) |
| |
◆ w25x_sector_erase()
void w25x_sector_erase |
( |
uint32_t |
addr | ) |
|
◆ w25x_block32_erase()
void w25x_block32_erase |
( |
uint32_t |
addr | ) |
|
◆ w25x_block64_erase()
void w25x_block64_erase |
( |
uint32_t |
addr | ) |
|
◆ w25x_chip_erase()
◆ w25x_rd_uid()
◆ w25x_wait_busy()