STM32F4xx_HAL_Driver
1.8.3
|
Input Output and memory control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_NAND_Reset (NAND_HandleTypeDef *hnand) |
NAND memory reset. More... | |
HAL_StatusTypeDef | HAL_NAND_Read_Page_8b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumPageToRead) |
Read Page(s) from NAND memory block (8-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Write_Page_8b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, const uint8_t *pBuffer, uint32_t NumPageToWrite) |
Write Page(s) to NAND memory block (8-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Read_SpareArea_8b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumSpareAreaToRead) |
Read Spare area(s) from NAND memory (8-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Write_SpareArea_8b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, const uint8_t *pBuffer, uint32_t NumSpareAreaTowrite) |
Write Spare area(s) to NAND memory (8-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Read_Page_16b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, uint32_t NumPageToRead) |
Read Page(s) from NAND memory block (16-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Write_Page_16b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, const uint16_t *pBuffer, uint32_t NumPageToWrite) |
Write Page(s) to NAND memory block (16-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Read_SpareArea_16b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, uint32_t NumSpareAreaToRead) |
Read Spare area(s) from NAND memory (16-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Write_SpareArea_16b (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, const uint16_t *pBuffer, uint32_t NumSpareAreaTowrite) |
Write Spare area(s) to NAND memory (16-bits addressing) More... | |
HAL_StatusTypeDef | HAL_NAND_Erase_Block (NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress) |
NAND memory Block erase. More... | |
uint32_t | HAL_NAND_Address_Inc (const NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress) |
Increment the NAND memory address. More... | |
HAL_StatusTypeDef | HAL_NAND_RegisterCallback (NAND_HandleTypeDef *hnand, HAL_NAND_CallbackIDTypeDef CallbackId, pNAND_CallbackTypeDef pCallback) |
Register a User NAND Callback To be used to override the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_NAND_UnRegisterCallback (NAND_HandleTypeDef *hnand, HAL_NAND_CallbackIDTypeDef CallbackId) |
Unregister a User NAND Callback NAND Callback is redirected to the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_NAND_Read_ID (NAND_HandleTypeDef *hnand, NAND_IDTypeDef *pNAND_ID) |
Read the NAND memory electronic signature. More... | |
HAL_StatusTypeDef | HAL_NAND_ConfigDevice (NAND_HandleTypeDef *hnand, NAND_DeviceConfigTypeDef *pDeviceConfig) |
Configure the device: Enter the physical parameters of the device. More... | |
Input Output and memory control functions.
============================================================================== ##### NAND Input and Output functions ##### ============================================================================== [..] This section provides functions allowing to use and control the NAND memory
uint32_t HAL_NAND_Address_Inc | ( | const NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress | ||
) |
Increment the NAND memory address.
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
The | new status of the increment address operation. It can be:
|
Definition at line 2024 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_ConfigDevice | ( | NAND_HandleTypeDef * | hnand, |
NAND_DeviceConfigTypeDef * | pDeviceConfig | ||
) |
Configure the device: Enter the physical parameters of the device.
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pDeviceConfig | pointer to NAND_DeviceConfigTypeDef structure |
HAL | status |
Definition at line 542 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Erase_Block | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress | ||
) |
NAND memory Block erase.
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
HAL | status |
Definition at line 1957 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_ID | ( | NAND_HandleTypeDef * | hnand, |
NAND_IDTypeDef * | pNAND_ID | ||
) |
Read the NAND memory electronic signature.
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pNAND_ID | NAND ID structure |
HAL | status |
Definition at line 400 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_Page_16b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
uint16_t * | pBuffer, | ||
uint32_t | NumPageToRead | ||
) |
Read Page(s) from NAND memory block (16-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to destination read buffer. pBuffer should be 16bits aligned |
NumPageToRead | number of pages to read from block |
HAL | status |
Definition at line 733 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_Page_8b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
uint8_t * | pBuffer, | ||
uint32_t | NumPageToRead | ||
) |
Read Page(s) from NAND memory block (8-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to destination read buffer |
NumPageToRead | number of pages to read from block |
HAL | status |
Definition at line 564 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
uint16_t * | pBuffer, | ||
uint32_t | NumSpareAreaToRead | ||
) |
Read Spare area(s) from NAND memory (16-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to source buffer to write. pBuffer should be 16bits aligned. |
NumSpareAreaToRead | Number of spare area to read |
HAL | status |
Definition at line 1435 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_SpareArea_8b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
uint8_t * | pBuffer, | ||
uint32_t | NumSpareAreaToRead | ||
) |
Read Spare area(s) from NAND memory (8-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to source buffer to write |
NumSpareAreaToRead | Number of spare area to read |
HAL | status |
Definition at line 1259 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_RegisterCallback | ( | NAND_HandleTypeDef * | hnand, |
HAL_NAND_CallbackIDTypeDef | CallbackId, | ||
pNAND_CallbackTypeDef | pCallback | ||
) |
Register a User NAND Callback To be used to override the weak predefined callback.
hnand | : NAND handle |
CallbackId | : ID of the callback to be registered This parameter can be one of the following values:
|
pCallback | : pointer to the Callback function |
status |
Definition at line 2065 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Reset | ( | NAND_HandleTypeDef * | hnand | ) |
NAND memory reset.
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
HAL | status |
Definition at line 486 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_UnRegisterCallback | ( | NAND_HandleTypeDef * | hnand, |
HAL_NAND_CallbackIDTypeDef | CallbackId | ||
) |
Unregister a User NAND Callback NAND Callback is redirected to the weak predefined callback.
hnand | : NAND handle |
CallbackId | : ID of the callback to be unregistered This parameter can be one of the following values:
|
status |
Definition at line 2130 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Write_Page_16b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
const uint16_t * | pBuffer, | ||
uint32_t | NumPageToWrite | ||
) |
Write Page(s) to NAND memory block (16-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to source buffer to write. pBuffer should be 16bits aligned |
NumPageToWrite | number of pages to write to block |
HAL | status |
Definition at line 1080 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Write_Page_8b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
const uint8_t * | pBuffer, | ||
uint32_t | NumPageToWrite | ||
) |
Write Page(s) to NAND memory block (8-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to source buffer to write |
NumPageToWrite | number of pages to write to block |
HAL | status |
Definition at line 916 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
const uint16_t * | pBuffer, | ||
uint32_t | NumSpareAreaTowrite | ||
) |
Write Spare area(s) to NAND memory (16-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to source buffer to write. pBuffer should be 16bits aligned. |
NumSpareAreaTowrite | number of spare areas to write to block |
HAL | status |
Definition at line 1785 of file stm32f4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b | ( | NAND_HandleTypeDef * | hnand, |
const NAND_AddressTypeDef * | pAddress, | ||
const uint8_t * | pBuffer, | ||
uint32_t | NumSpareAreaTowrite | ||
) |
Write Spare area(s) to NAND memory (8-bits addressing)
hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
pAddress | pointer to NAND address structure |
pBuffer | pointer to source buffer to write |
NumSpareAreaTowrite | number of spare areas to write to block |
HAL | status |
Definition at line 1611 of file stm32f4xx_hal_nand.c.