Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Input and Output functions
[NAND Exported Functions]
Input Output and memory control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_NAND_Read_ID (NAND_HandleTypeDef *hnand, NAND_IDTypeDef *pNAND_ID) |
Read the NAND memory electronic signature. | |
HAL_StatusTypeDef | HAL_NAND_Reset (NAND_HandleTypeDef *hnand) |
NAND memory reset. | |
HAL_StatusTypeDef | HAL_NAND_Read_Page (NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumPageToRead) |
Read Page(s) from NAND memory block. | |
HAL_StatusTypeDef | HAL_NAND_Write_Page (NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumPageToWrite) |
Write Page(s) to NAND memory block. | |
HAL_StatusTypeDef | HAL_NAND_Read_SpareArea (NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumSpareAreaToRead) |
Read Spare area(s) from NAND memory. | |
HAL_StatusTypeDef | HAL_NAND_Write_SpareArea (NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumSpareAreaTowrite) |
Write Spare area(s) to NAND memory. | |
HAL_StatusTypeDef | HAL_NAND_Erase_Block (NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress) |
NAND memory Block erase. | |
uint32_t | HAL_NAND_Read_Status (NAND_HandleTypeDef *hnand) |
NAND memory read status. | |
uint32_t | HAL_NAND_Address_Inc (NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress) |
Increment the NAND memory address. |
Detailed Description
Input Output and memory control functions.
============================================================================== ##### NAND Input and Output functions ##### ============================================================================== [..] This section provides functions allowing to use and control the NAND memory
Function Documentation
uint32_t HAL_NAND_Address_Inc | ( | NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress | ||
) |
Increment the NAND memory address.
- Parameters:
-
hnand,: pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. pAddress,: pointer to NAND address structure
- Return values:
-
The new status of the increment address operation. It can be: - NAND_VALID_ADDRESS: When the new address is valid address
- NAND_INVALID_ADDRESS: When the new address is invalid address
Definition at line 906 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Erase_Block | ( | NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress | ||
) |
NAND memory Block erase.
- Parameters:
-
hnand,: pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. pAddress,: pointer to NAND address structure
- Return values:
-
HAL status
Definition at line 802 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_ID | ( | NAND_HandleTypeDef * | hnand, |
NAND_IDTypeDef * | pNAND_ID | ||
) |
Read the NAND memory electronic signature.
- Parameters:
-
hnand,: pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. pNAND_ID,: NAND ID structure
- Return values:
-
HAL status
Definition at line 341 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_Page | ( | NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress, | ||
uint8_t * | pBuffer, | ||
uint32_t | NumPageToRead | ||
) |
Read Page(s) from NAND memory block.
- Parameters:
-
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
- Return values:
-
HAL status
Definition at line 431 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Read_SpareArea | ( | NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress, | ||
uint8_t * | pBuffer, | ||
uint32_t | NumSpareAreaToRead | ||
) |
Read Spare area(s) from NAND memory.
- Parameters:
-
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
- Return values:
-
HAL status
Definition at line 618 of file stm32l4xx_hal_nand.c.
uint32_t HAL_NAND_Read_Status | ( | NAND_HandleTypeDef * | hnand ) |
NAND memory read status.
- Parameters:
-
hnand,: pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module.
- Return values:
-
NAND status
Definition at line 867 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Reset | ( | NAND_HandleTypeDef * | hnand ) |
NAND memory reset.
- Parameters:
-
hnand,: pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module.
- Return values:
-
HAL status
Definition at line 389 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Write_Page | ( | NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress, | ||
uint8_t * | pBuffer, | ||
uint32_t | NumPageToWrite | ||
) |
Write Page(s) to NAND memory block.
- Parameters:
-
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
- Return values:
-
HAL status
Definition at line 518 of file stm32l4xx_hal_nand.c.
HAL_StatusTypeDef HAL_NAND_Write_SpareArea | ( | NAND_HandleTypeDef * | hnand, |
NAND_AddressTypeDef * | pAddress, | ||
uint8_t * | pBuffer, | ||
uint32_t | NumSpareAreaTowrite | ||
) |
Write Spare area(s) to NAND memory.
- Parameters:
-
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
- Return values:
-
HAL status
Definition at line 704 of file stm32l4xx_hal_nand.c.
Generated on Tue Jul 12 2022 17:38:53 by
