STM32_EVAL_SPI_FLASH_Exported_Constants
[STM32_EVAL_SPI_FLASH]

Defines

#define sFLASH_CMD_BE   0xC7
#define sFLASH_CMD_RDID   0x9F
#define sFLASH_CMD_RDSR   0x05
#define sFLASH_CMD_READ   0x03
#define sFLASH_CMD_SE   0xD8
#define sFLASH_CMD_WREN   0x06
#define sFLASH_CMD_WRITE   0x02
 M25P SPI Flash supported commands.
#define sFLASH_CMD_WRSR   0x01
#define sFLASH_DUMMY_BYTE   0xA5
#define sFLASH_M25P128_ID   0x202018
#define sFLASH_M25P64_ID   0x202017
#define sFLASH_SPI_PAGESIZE   0x100
#define sFLASH_WIP_FLAG   0x01

Define Documentation

#define sFLASH_CMD_BE   0xC7

Bulk Erase instruction

Definition at line 69 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_EraseBulk().

#define sFLASH_CMD_RDID   0x9F

Read identification

Definition at line 67 of file stm32_eval_spi_flash.h.

#define sFLASH_CMD_RDSR   0x05

Read Status Register instruction

Definition at line 66 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_WaitForWriteEnd().

#define sFLASH_CMD_READ   0x03

Read from Memory instruction

Definition at line 65 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_ReadBuffer(), and sFLASH_StartReadSequence().

#define sFLASH_CMD_SE   0xD8

Sector Erase instruction

Definition at line 68 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_EraseSector().

#define sFLASH_CMD_WREN   0x06

Write enable instruction

Definition at line 64 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_WriteEnable().

#define sFLASH_CMD_WRITE   0x02

M25P SPI Flash supported commands.

Write to Memory instruction

Definition at line 62 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_WritePage().

#define sFLASH_CMD_WRSR   0x01

Write Status Register instruction

Definition at line 63 of file stm32_eval_spi_flash.h.

#define sFLASH_DUMMY_BYTE   0xA5
#define sFLASH_M25P128_ID   0x202018

Definition at line 76 of file stm32_eval_spi_flash.h.

#define sFLASH_M25P64_ID   0x202017

Definition at line 77 of file stm32_eval_spi_flash.h.

#define sFLASH_SPI_PAGESIZE   0x100

Definition at line 74 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_WriteBuffer().

#define sFLASH_WIP_FLAG   0x01

Write In Progress (WIP) flag

Definition at line 71 of file stm32_eval_spi_flash.h.

Referenced by sFLASH_WaitForWriteEnd().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32