STM32H735xx HAL User Manual
Defines
NAND Private Constants
NAND

Defines

#define NAND_DEVICE   0x80000000UL
#define NAND_WRITE_TIMEOUT   0x01000000UL
#define CMD_AREA   (1UL<<16U) /* A16 = CLE high */
#define ADDR_AREA   (1UL<<17U) /* A17 = ALE high */
#define NAND_CMD_AREA_A   ((uint8_t)0x00)
#define NAND_CMD_AREA_B   ((uint8_t)0x01)
#define NAND_CMD_AREA_C   ((uint8_t)0x50)
#define NAND_CMD_AREA_TRUE1   ((uint8_t)0x30)
#define NAND_CMD_WRITE0   ((uint8_t)0x80)
#define NAND_CMD_WRITE_TRUE1   ((uint8_t)0x10)
#define NAND_CMD_ERASE0   ((uint8_t)0x60)
#define NAND_CMD_ERASE1   ((uint8_t)0xD0)
#define NAND_CMD_READID   ((uint8_t)0x90)
#define NAND_CMD_STATUS   ((uint8_t)0x70)
#define NAND_CMD_LOCK_STATUS   ((uint8_t)0x7A)
#define NAND_CMD_RESET   ((uint8_t)0xFF)
#define NAND_VALID_ADDRESS   0x00000100UL
#define NAND_INVALID_ADDRESS   0x00000200UL
#define NAND_TIMEOUT_ERROR   0x00000400UL
#define NAND_BUSY   0x00000000UL
#define NAND_ERROR   0x00000001UL
#define NAND_READY   0x00000040UL

Define Documentation

#define ADDR_AREA   (1UL<<17U) /* A17 = ALE high */
#define CMD_AREA   (1UL<<16U) /* A16 = CLE high */
#define NAND_BUSY   0x00000000UL

Definition at line 307 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Read_Status().

#define NAND_CMD_AREA_A   ((uint8_t)0x00)
#define NAND_CMD_AREA_B   ((uint8_t)0x01)

Definition at line 290 of file stm32h7xx_hal_nand.h.

#define NAND_CMD_AREA_C   ((uint8_t)0x50)
#define NAND_CMD_AREA_TRUE1   ((uint8_t)0x30)
#define NAND_CMD_ERASE0   ((uint8_t)0x60)

Definition at line 296 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Erase_Block().

#define NAND_CMD_ERASE1   ((uint8_t)0xD0)

Definition at line 297 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Erase_Block().

#define NAND_CMD_LOCK_STATUS   ((uint8_t)0x7A)

Definition at line 300 of file stm32h7xx_hal_nand.h.

#define NAND_CMD_READID   ((uint8_t)0x90)

Definition at line 298 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Read_ID().

#define NAND_CMD_RESET   ((uint8_t)0xFF)

Definition at line 301 of file stm32h7xx_hal_nand.h.

#define NAND_CMD_STATUS   ((uint8_t)0x70)

Definition at line 299 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Read_Status().

#define NAND_CMD_WRITE0   ((uint8_t)0x80)
#define NAND_CMD_WRITE_TRUE1   ((uint8_t)0x10)
#define NAND_DEVICE   0x80000000UL
#define NAND_ERROR   0x00000001UL

Definition at line 308 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Read_Status().

#define NAND_INVALID_ADDRESS   0x00000200UL

Definition at line 305 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Address_Inc().

#define NAND_READY   0x00000040UL
#define NAND_TIMEOUT_ERROR   0x00000400UL

Definition at line 306 of file stm32h7xx_hal_nand.h.

#define NAND_VALID_ADDRESS   0x00000100UL

Definition at line 304 of file stm32h7xx_hal_nand.h.

Referenced by HAL_NAND_Address_Inc().

#define NAND_WRITE_TIMEOUT   0x01000000UL