flash4 2.0.0.0
Flash 4 Click Driver

Topics

 Macros
 
 Commands
 

Macros

#define FLASH4_CMD_READ_ID   0x90
 
#define FLASH4_CMD_READ_IDENTIFICATION   0x9F
 
#define FLASH4_CMD_READ_ELECTRONIC_SIGNATURE   0xAB
 
#define FLASH4_CMD_READ_SERIAL_FLASH_PARAMETERS   0x5A
 
#define FLASH4_CMD_READ_STATUS_REG_1   0x05
 
#define FLASH4_CMD_READ_STATUS_REG_2   0x07
 
#define FLASH4_CMD_READ_CONFIGURATION_REG   0x35
 
#define FLASH4_CMD_READ_BANK_REG   0x16
 
#define FLASH4_CMD_WRITE_BANK_REG   0x17
 
#define FLASH4_CMD_ACCESS_BANK_REG   0xB9
 
#define FLASH4_CMD_WRITE_REGISTER_WRR   0x01
 
#define FLASH4_CMD_WRITE_ENABLE_WREN   0x06
 
#define FLASH4_CMD_WRITE_DISABLE_WRDI   0x04
 
#define FLASH4_CMD_CLEAR_STATUS_REG   0x30
 
#define FLASH4_CMD_READ_ECC_STATUS_REG   0x18
 
#define FLASH4_CMD_READ_AUTO_BOOT_REG   0x14
 
#define FLASH4_CMD_WRITE_AUTO_BOOT_REG   0x15
 
#define FLASH4_CMD_PROGRAM_NVDLR   0x43
 
#define FLASH4_CMD_WRITE_VDLR   0x4A
 
#define FLASH4_CMD_READ_DATA_LEARNING_PATTERN   0x41
 
#define FLASH4_CMD_READ_FLASH   0x03
 
#define FLASH4_CMD_4READ_FLASH   0x13
 
#define FLASH4_CMD_FAST_READ_FLASH   0x0B
 
#define FLASH4_CMD_FAST_4READ_FLASH   0x0C
 
#define FLASH4_CMD_FAST_READ_DDR   0x0D
 
#define FLASH4_CMD_FAST_4READ_DDR   0x0E
 
#define FLASH4_CMD_PAGE_PROGRAM   0x02
 
#define FLASH4_CMD_PAGE_4PROGRAM   0x12
 
#define FLASH4_CMD_PROGRAM_SUSPEND   0x85
 
#define FLASH4_CMD_PROGRAM_RESUME   0x8A
 
#define FLASH4_CMD_SECTOR_ERASE   0xD8
 
#define FLASH4_CMD_SECTOR_4ERASE   0xDC
 
#define FLASH4_CMD_BULK_ERASE   0xC7
 
#define FLASH4_CMD_ERASE_SUSPEND   0x75
 
#define FLASH4_CMD_ERASE_RESUME   0x7A
 
#define FLASH4_CMD_WRITE_OTP_PROGRAM   0x42
 
#define FLASH4_CMD_READ_OTP   0x4B
 
#define FLASH4_CMD_READ_ASP   0x2B
 
#define FLASH4_CMD_WRITE_ASP_PROGRAM   0x2F
 
#define FLASH4_CMD_READ_DYB   0xE0
 
#define FLASH4_CMD_WRITE_DYB   0xE1
 
#define FLASH4_CMD_READ_PPB   0xE2
 
#define FLASH4_CMD_WRITE_PPB   0xE3
 
#define FLASH4_CMD_ERASE_PPB   0xE4
 
#define FLASH4_CMD_READ_PPB_LOCK_BIT   0xA7
 
#define FLASH4_CMD_WRITE_PPB_LOCK_BIT   0xA6
 
#define FLASH4_CMD_SOFTWARE_RESET   0xF0
 
#define FLASH4_CMD_MODE_BIT_RESET   0xFF
 

Detailed Description

Macro Definition Documentation

◆ FLASH4_CMD_4READ_FLASH

#define FLASH4_CMD_4READ_FLASH   0x13

◆ FLASH4_CMD_ACCESS_BANK_REG

#define FLASH4_CMD_ACCESS_BANK_REG   0xB9

◆ FLASH4_CMD_BULK_ERASE

#define FLASH4_CMD_BULK_ERASE   0xC7

◆ FLASH4_CMD_CLEAR_STATUS_REG

#define FLASH4_CMD_CLEAR_STATUS_REG   0x30

◆ FLASH4_CMD_ERASE_PPB

#define FLASH4_CMD_ERASE_PPB   0xE4

◆ FLASH4_CMD_ERASE_RESUME

#define FLASH4_CMD_ERASE_RESUME   0x7A

◆ FLASH4_CMD_ERASE_SUSPEND

#define FLASH4_CMD_ERASE_SUSPEND   0x75

◆ FLASH4_CMD_FAST_4READ_DDR

#define FLASH4_CMD_FAST_4READ_DDR   0x0E

◆ FLASH4_CMD_FAST_4READ_FLASH

#define FLASH4_CMD_FAST_4READ_FLASH   0x0C

◆ FLASH4_CMD_FAST_READ_DDR

#define FLASH4_CMD_FAST_READ_DDR   0x0D

◆ FLASH4_CMD_FAST_READ_FLASH

#define FLASH4_CMD_FAST_READ_FLASH   0x0B

◆ FLASH4_CMD_MODE_BIT_RESET

#define FLASH4_CMD_MODE_BIT_RESET   0xFF

◆ FLASH4_CMD_PAGE_4PROGRAM

#define FLASH4_CMD_PAGE_4PROGRAM   0x12

◆ FLASH4_CMD_PAGE_PROGRAM

#define FLASH4_CMD_PAGE_PROGRAM   0x02

◆ FLASH4_CMD_PROGRAM_NVDLR

#define FLASH4_CMD_PROGRAM_NVDLR   0x43

◆ FLASH4_CMD_PROGRAM_RESUME

#define FLASH4_CMD_PROGRAM_RESUME   0x8A

◆ FLASH4_CMD_PROGRAM_SUSPEND

#define FLASH4_CMD_PROGRAM_SUSPEND   0x85

◆ FLASH4_CMD_READ_ASP

#define FLASH4_CMD_READ_ASP   0x2B

◆ FLASH4_CMD_READ_AUTO_BOOT_REG

#define FLASH4_CMD_READ_AUTO_BOOT_REG   0x14

◆ FLASH4_CMD_READ_BANK_REG

#define FLASH4_CMD_READ_BANK_REG   0x16

◆ FLASH4_CMD_READ_CONFIGURATION_REG

#define FLASH4_CMD_READ_CONFIGURATION_REG   0x35

◆ FLASH4_CMD_READ_DATA_LEARNING_PATTERN

#define FLASH4_CMD_READ_DATA_LEARNING_PATTERN   0x41

◆ FLASH4_CMD_READ_DYB

#define FLASH4_CMD_READ_DYB   0xE0

◆ FLASH4_CMD_READ_ECC_STATUS_REG

#define FLASH4_CMD_READ_ECC_STATUS_REG   0x18

◆ FLASH4_CMD_READ_ELECTRONIC_SIGNATURE

#define FLASH4_CMD_READ_ELECTRONIC_SIGNATURE   0xAB

◆ FLASH4_CMD_READ_FLASH

#define FLASH4_CMD_READ_FLASH   0x03

◆ FLASH4_CMD_READ_ID

#define FLASH4_CMD_READ_ID   0x90

◆ FLASH4_CMD_READ_IDENTIFICATION

#define FLASH4_CMD_READ_IDENTIFICATION   0x9F

◆ FLASH4_CMD_READ_OTP

#define FLASH4_CMD_READ_OTP   0x4B

◆ FLASH4_CMD_READ_PPB

#define FLASH4_CMD_READ_PPB   0xE2

◆ FLASH4_CMD_READ_PPB_LOCK_BIT

#define FLASH4_CMD_READ_PPB_LOCK_BIT   0xA7

◆ FLASH4_CMD_READ_SERIAL_FLASH_PARAMETERS

#define FLASH4_CMD_READ_SERIAL_FLASH_PARAMETERS   0x5A

◆ FLASH4_CMD_READ_STATUS_REG_1

#define FLASH4_CMD_READ_STATUS_REG_1   0x05

◆ FLASH4_CMD_READ_STATUS_REG_2

#define FLASH4_CMD_READ_STATUS_REG_2   0x07

◆ FLASH4_CMD_SECTOR_4ERASE

#define FLASH4_CMD_SECTOR_4ERASE   0xDC

◆ FLASH4_CMD_SECTOR_ERASE

#define FLASH4_CMD_SECTOR_ERASE   0xD8

◆ FLASH4_CMD_SOFTWARE_RESET

#define FLASH4_CMD_SOFTWARE_RESET   0xF0

◆ FLASH4_CMD_WRITE_ASP_PROGRAM

#define FLASH4_CMD_WRITE_ASP_PROGRAM   0x2F

◆ FLASH4_CMD_WRITE_AUTO_BOOT_REG

#define FLASH4_CMD_WRITE_AUTO_BOOT_REG   0x15

◆ FLASH4_CMD_WRITE_BANK_REG

#define FLASH4_CMD_WRITE_BANK_REG   0x17

◆ FLASH4_CMD_WRITE_DISABLE_WRDI

#define FLASH4_CMD_WRITE_DISABLE_WRDI   0x04

◆ FLASH4_CMD_WRITE_DYB

#define FLASH4_CMD_WRITE_DYB   0xE1

◆ FLASH4_CMD_WRITE_ENABLE_WREN

#define FLASH4_CMD_WRITE_ENABLE_WREN   0x06

◆ FLASH4_CMD_WRITE_OTP_PROGRAM

#define FLASH4_CMD_WRITE_OTP_PROGRAM   0x42

◆ FLASH4_CMD_WRITE_PPB

#define FLASH4_CMD_WRITE_PPB   0xE3

◆ FLASH4_CMD_WRITE_PPB_LOCK_BIT

#define FLASH4_CMD_WRITE_PPB_LOCK_BIT   0xA6

◆ FLASH4_CMD_WRITE_REGISTER_WRR

#define FLASH4_CMD_WRITE_REGISTER_WRR   0x01

◆ FLASH4_CMD_WRITE_VDLR

#define FLASH4_CMD_WRITE_VDLR   0x4A