STM32469I_EVAL BSP User Manual
|
Modules | |
STM32469I EVAL NOR Private Types Definitions | |
STM32469I EVAL NOR Private Defines | |
STM32469I EVAL NOR Private Macros | |
STM32469I EVAL NOR Private Variables | |
STM32469I EVAL NOR Private Function Prototypes | |
STM32469I EVAL NOR Exported Types | |
STM32469I EVAL NOR Exported Constants | |
STM32469I EVAL NOR Exported Macro | |
STM32469I EVAL NOR Exported Functions | |
Functions | |
uint8_t | BSP_NOR_Init (void) |
Initializes the NOR device. | |
uint8_t | BSP_NOR_DeInit (void) |
DeInitializes the NOR device. | |
uint8_t | BSP_NOR_ReadData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Reads an amount of data from the NOR device. | |
void | BSP_NOR_ReturnToReadMode (void) |
Returns the NOR memory to read mode. | |
uint8_t | BSP_NOR_WriteData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Writes an amount of data to the NOR device. | |
uint8_t | BSP_NOR_ProgramData (uint32_t uwStartAddress, uint16_t *pData, uint32_t uwDataSize) |
Programs an amount of data to the NOR device. | |
uint8_t | BSP_NOR_Erase_Block (uint32_t BlockAddress) |
Erases the specified block of the NOR device. | |
uint8_t | BSP_NOR_Erase_Chip (void) |
Erases the entire NOR chip. | |
uint8_t | BSP_NOR_Read_ID (NOR_IDTypeDef *pNOR_ID) |
Reads NOR flash IDs. | |
__weak void | BSP_NOR_MspInit (NOR_HandleTypeDef *hnor, void *Params) |
Initializes the NOR MSP. | |
__weak uint8_t | BSP_NOR_MspDeInit (NOR_HandleTypeDef *hnor, void *Params) |
DeInitializes the NOR MSP. | |
void | HAL_NOR_MspWait (NOR_HandleTypeDef *hnor, uint32_t Timeout) |
NOR BSP Wait for Ready/Busy signal. |
Function Documentation
uint8_t BSP_NOR_DeInit | ( | void | ) |
DeInitializes the NOR device.
- Return values:
-
NOR memory status
Definition at line 189 of file stm32469i_eval_nor.c.
References BSP_NOR_MspDeInit(), NOR_STATUS_ERROR, NOR_STATUS_OK, and NorHandle.
uint8_t BSP_NOR_Erase_Block | ( | uint32_t | BlockAddress | ) |
Erases the specified block of the NOR device.
- Parameters:
-
BlockAddress,: Block address to erase
- Return values:
-
NOR memory status
Definition at line 290 of file stm32469i_eval_nor.c.
References BLOCKERASE_TIMEOUT, NOR_DEVICE_ADDR, NOR_STATUS_ERROR, NOR_STATUS_OK, and NorHandle.
uint8_t BSP_NOR_Erase_Chip | ( | void | ) |
Erases the entire NOR chip.
- Return values:
-
NOR memory status
Definition at line 310 of file stm32469i_eval_nor.c.
References CHIPERASE_TIMEOUT, NOR_DEVICE_ADDR, NOR_STATUS_ERROR, NOR_STATUS_OK, and NorHandle.
uint8_t BSP_NOR_Init | ( | void | ) |
Initializes the NOR device.
- Return values:
-
NOR memory status
Definition at line 143 of file stm32469i_eval_nor.c.
References BSP_NOR_MspInit(), CONTINUOUSCLOCK_FEATURE, NOR_BURSTACCESS, NOR_MEMORY_WIDTH, NOR_STATUS_ERROR, NOR_STATUS_OK, NOR_WRITEBURST, NorHandle, and Timing.
__weak uint8_t BSP_NOR_MspDeInit | ( | NOR_HandleTypeDef * | hnor, |
void * | Params | ||
) |
DeInitializes the NOR MSP.
- Parameters:
-
hnor pointer to NOR structure Params : pointer on additional configuration parameters, can be NULL.
- Return values:
-
status
Definition at line 396 of file stm32469i_eval_nor.c.
Referenced by BSP_NOR_DeInit().
__weak void BSP_NOR_MspInit | ( | NOR_HandleTypeDef * | hnor, |
void * | Params | ||
) |
Initializes the NOR MSP.
- Parameters:
-
hnor,: pointer to nor structure Params : pointer on additional configuration parameters, can be NULL.
Definition at line 348 of file stm32469i_eval_nor.c.
Referenced by BSP_NOR_Init().
uint8_t BSP_NOR_ProgramData | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Programs an amount of data to the NOR device.
- Parameters:
-
uwStartAddress,: Write start address pData,: Pointer to data to be written uwDataSize,: Size of data to write
- Return values:
-
NOR memory status
Definition at line 269 of file stm32469i_eval_nor.c.
References NOR_DEVICE_ADDR, NOR_STATUS_ERROR, NOR_STATUS_OK, NorHandle, and PROGRAM_TIMEOUT.
uint8_t BSP_NOR_Read_ID | ( | NOR_IDTypeDef * | pNOR_ID | ) |
Reads NOR flash IDs.
- Parameters:
-
pNOR_ID : Pointer to NOR ID structure
- Return values:
-
NOR memory status
Definition at line 331 of file stm32469i_eval_nor.c.
References NOR_STATUS_ERROR, NOR_STATUS_OK, and NorHandle.
uint8_t BSP_NOR_ReadData | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Reads an amount of data from the NOR device.
- Parameters:
-
uwStartAddress,: Read start address pData,: Pointer to data to be read uwDataSize,: Size of data to read
- Return values:
-
NOR memory status
Definition at line 211 of file stm32469i_eval_nor.c.
References NOR_DEVICE_ADDR, NOR_STATUS_ERROR, NOR_STATUS_OK, and NorHandle.
void BSP_NOR_ReturnToReadMode | ( | void | ) |
Returns the NOR memory to read mode.
Definition at line 226 of file stm32469i_eval_nor.c.
References NorHandle.
uint8_t BSP_NOR_WriteData | ( | uint32_t | uwStartAddress, |
uint16_t * | pData, | ||
uint32_t | uwDataSize | ||
) |
Writes an amount of data to the NOR device.
- Parameters:
-
uwStartAddress,: Write start address pData,: Pointer to data to be written uwDataSize,: Size of data to write
- Return values:
-
NOR memory status
Definition at line 238 of file stm32469i_eval_nor.c.
References NOR_DEVICE_ADDR, NOR_STATUS_ERROR, NOR_STATUS_OK, NorHandle, and PROGRAM_TIMEOUT.
void HAL_NOR_MspWait | ( | NOR_HandleTypeDef * | hnor, |
uint32_t | Timeout | ||
) |
NOR BSP Wait for Ready/Busy signal.
- Parameters:
-
hnor,: Pointer to NOR handle Timeout,: Timeout duration
Definition at line 412 of file stm32469i_eval_nor.c.
References NOR_BUSY_STATE, NOR_READY_BUSY_GPIO, NOR_READY_BUSY_PIN, and NOR_READY_STATE.
Generated on Tue Jan 12 2016 17:51:25 for STM32469I_EVAL BSP User Manual by
