_BSP_User_Manual
|
Functions | |
uint8_t | BSP_NAND_Init (void) |
Initializes the NAND device. | |
uint8_t | BSP_NAND_ReadData (NAND_AddressTypeDef BlockAddress, uint8_t *pData, uint32_t uwNumPage) |
Reads an amount of data from the NAND device. | |
uint8_t | BSP_NAND_WriteData (NAND_AddressTypeDef BlockAddress, uint8_t *pData, uint32_t uwNumPage) |
Writes an amount of data to the NAND device. | |
uint8_t | BSP_NAND_Erase_Block (NAND_AddressTypeDef BlockAddress) |
Erases the specified block of the NAND device. | |
uint8_t | BSP_NAND_Read_ID (NAND_IDTypeDef *pNAND_ID) |
Reads NAND flash IDs. | |
uint8_t | BSP_NAND_Erase_Chip (void) |
static void | NAND_MspInit (void) |
Initializes the NAND MSP. |
Function Documentation
uint8_t BSP_NAND_Erase_Block | ( | NAND_AddressTypeDef | BlockAddress | ) |
Erases the specified block of the NAND device.
Definition at line 224 of file stm3210e_eval_nand.c.
References NAND_OK, and nandHandle.
uint8_t BSP_NAND_Erase_Chip | ( | void | ) |
uint8_t BSP_NAND_Init | ( | void | ) |
Initializes the NAND device.
Definition at line 146 of file stm3210e_eval_nand.c.
References NAND_BLOCK_SIZE, NAND_MAX_ZONE, NAND_MspInit(), NAND_OK, NAND_PAGE_SIZE, NAND_SPARE_AREA_SIZE, NAND_ZONE_SIZE, nandHandle, and Timing.
uint8_t BSP_NAND_Read_ID | ( | NAND_IDTypeDef * | pNAND_ID | ) |
Reads NAND flash IDs.
Definition at line 240 of file stm3210e_eval_nand.c.
References NAND_OK, and nandHandle.
uint8_t BSP_NAND_ReadData | ( | NAND_AddressTypeDef | BlockAddress, |
uint8_t * | pData, | ||
uint32_t | uwNumPage | ||
) |
Reads an amount of data from the NAND device.
Definition at line 190 of file stm3210e_eval_nand.c.
References NAND_OK, and nandHandle.
uint8_t BSP_NAND_WriteData | ( | NAND_AddressTypeDef | BlockAddress, |
uint8_t * | pData, | ||
uint32_t | uwNumPage | ||
) |
Writes an amount of data to the NAND device.
Definition at line 208 of file stm3210e_eval_nand.c.
References NAND_OK, and nandHandle.
static void NAND_MspInit | ( | void | ) | [static] |
Initializes the NAND MSP.
< CLE, ALE, D0->D3, NOE, NWE and NCE2 NAND pin configuration
< D4->D7 NAND pin configuration
< NWAIT NAND pin configuration
< INT2 NAND pin configuration
Definition at line 256 of file stm3210e_eval_nand.c.
Referenced by BSP_NAND_Init().
Generated on Thu Dec 11 2014 16:16:37 for _BSP_User_Manual by 1.7.5.1