Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Programming operation functions

Programming operation functions
[FLASH Exported Functions]

Programming operation functions. More...

Functions

HAL_StatusTypeDef HAL_FLASH_Program (uint32_t TypeProgram, uint32_t Address, uint64_t Data)
 Program double word or fast program of a row at a specified address.
HAL_StatusTypeDef HAL_FLASH_Program_IT (uint32_t TypeProgram, uint32_t Address, uint64_t Data)
 Program double word or fast program of a row at a specified address with interrupt enabled.
void HAL_FLASH_IRQHandler (void)
 Handle FLASH interrupt request.
__weak void HAL_FLASH_EndOfOperationCallback (uint32_t ReturnValue)
 FLASH end of operation interrupt callback.
__weak void HAL_FLASH_OperationErrorCallback (uint32_t ReturnValue)
 FLASH operation error interrupt callback.

Detailed Description

Programming operation functions.

 ===============================================================================
                  ##### Programming operation functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to manage the FLASH 
    program operations.
 

Function Documentation

__weak void HAL_FLASH_EndOfOperationCallback ( uint32_t  ReturnValue )

FLASH end of operation interrupt callback.

Parameters:
ReturnValue,:The value saved in this parameter depends on the ongoing procedure Mass Erase: Bank number which has been requested to erase Page Erase: Page which has been erased (if 0xFFFFFFFF, it means that all the selected pages have been erased) Program: Address which was selected for data program
Return values:
None

Definition at line 412 of file stm32l4xx_hal_flash.c.

void HAL_FLASH_IRQHandler ( void   )

Handle FLASH interrupt request.

Return values:
None

Definition at line 288 of file stm32l4xx_hal_flash.c.

__weak void HAL_FLASH_OperationErrorCallback ( uint32_t  ReturnValue )

FLASH operation error interrupt callback.

Parameters:
ReturnValue,:The value saved in this parameter depends on the ongoing procedure Mass Erase: Bank number which has been requested to erase Page Erase: Page number which returned an error Program: Address which was selected for data program
Return values:
None

Definition at line 427 of file stm32l4xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_Program ( uint32_t  TypeProgram,
uint32_t  Address,
uint64_t  Data 
)

Program double word or fast program of a row at a specified address.

Parameters:
TypeProgram,:Indicate the way to program at a specified address. This parameter can be a value of FLASH_Type_Program
Address,:specifies the address to be programmed.
Data,:specifies the data to be programmed This parameter is the data for the double word program and the address where are stored the data for the row fast program
Return values:
HAL_StatusTypeDefHAL Status

Definition at line 181 of file stm32l4xx_hal_flash.c.

HAL_StatusTypeDef HAL_FLASH_Program_IT ( uint32_t  TypeProgram,
uint32_t  Address,
uint64_t  Data 
)

Program double word or fast program of a row at a specified address with interrupt enabled.

Parameters:
TypeProgram,:Indicate the way to program at a specified address. This parameter can be a value of FLASH_Type_Program
Address,:specifies the address to be programmed.
Data,:specifies the data to be programmed This parameter is the data for the double word program and the address where are stored the data for the row fast program
Return values:
HALStatus

Definition at line 244 of file stm32l4xx_hal_flash.c.