Go to the source code of this file.
◆ FLASH_BULK_ERASE
#define FLASH_BULK_ERASE 0xC7 |
◆ FLASH_FAST_READ_DATA
#define FLASH_FAST_READ_DATA 0x0B |
◆ FLASH_PROGRAM_PAGE
#define FLASH_PROGRAM_PAGE 0x02 |
◆ FLASH_READ_DATA
#define FLASH_READ_DATA 0x03 |
◆ FLASH_READ_ID
#define FLASH_READ_ID 0x9F |
◆ FLASH_READ_LOCK_REG
#define FLASH_READ_LOCK_REG 0xE8 |
◆ FLASH_READ_STATUS_REG
#define FLASH_READ_STATUS_REG 0x05 |
◆ FLASH_SECTOR_ERASE
#define FLASH_SECTOR_ERASE 0xD8 |
◆ FLASH_SPI_BITRATE
#define FLASH_SPI_BITRATE 1000000 |
◆ FLASH_SPI_FRAME_SIZE
#define FLASH_SPI_FRAME_SIZE 8 |
◆ FLASH_WRITE_DISABLE
#define FLASH_WRITE_DISABLE 0x04 |
◆ FLASH_WRITE_ENABLE
#define FLASH_WRITE_ENABLE 0x06 |
◆ FLASH_WRITE_LOCK_REG
#define FLASH_WRITE_LOCK_REG 0xE5 |
◆ FLASH_WRITE_STATUS_REG
#define FLASH_WRITE_STATUS_REG 0x01 |
◆ flash_bulk_erase()
void flash_bulk_erase |
( |
void | | ) |
|
◆ flash_fast_read_data()
void flash_fast_read_data |
( |
uint32_t | start_addr, |
|
|
uint8_t * | dst, |
|
|
uint32_t | size ) |
◆ flash_program_page()
void flash_program_page |
( |
uint32_t | address, |
|
|
uint8_t * | data, |
|
|
uint16_t | size ) |
◆ flash_read_data()
uint8_t flash_read_data |
( |
uint32_t | address | ) |
|
◆ flash_read_id()
void flash_read_id |
( |
uint8_t * | id_buffer, |
|
|
uint8_t | buff_size ) |
◆ flash_read_lock_reg()
uint8_t flash_read_lock_reg |
( |
uint32_t | address | ) |
|
◆ flash_read_status_reg()
uint8_t flash_read_status_reg |
( |
void | | ) |
|
◆ flash_sector_erase()
void flash_sector_erase |
( |
uint32_t | address | ) |
|
◆ flash_write_disable()
void flash_write_disable |
( |
void | | ) |
|
◆ flash_write_enable()
void flash_write_enable |
( |
void | | ) |
|
◆ flash_write_lock_reg()
void flash_write_lock_reg |
( |
uint32_t | address, |
|
|
uint8_t | data ) |
◆ flash_write_status_reg()
void flash_write_status_reg |
( |
uint8_t | data | ) |
|
◆ is_flash_busy()
uint8_t is_flash_busy |
( |
void | | ) |
|