STM3210E_EVAL BSP User Manual: Exported_Functions

STM3210E EVAL BSP Drivers

STM3210E_EVAL BSP User Manual
Exported_Functions

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.

Parameters:
BlockAddress,:Block address to Erase
Return values:
NANDmemory status

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.

Return values:
NANDmemory status

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.

Parameters:
pNAND_ID: Pointer to NAND ID structure
Return values:
NANDmemory status

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.

Parameters:
BlockAddress,:Block address to Read
pData,:Pointer to data to be read
uwNumPage,:Number of Pages to read to Block
Return values:
NANDmemory status

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.

Parameters:
BlockAddress,:Block address to Write
pData,:Pointer to data to be written
uwNumPage,:Number of Pages to write to Block
Return values:
NANDmemory status

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.

Return values:
None

< 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 10 2015 17:39:43 for STM3210E_EVAL BSP User Manual by   doxygen 1.7.6.1