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

FLASH Private Functions

FLASH Private Functions
[FLASH]

Functions

HAL_StatusTypeDef FLASH_WaitForLastOperation (uint32_t Timeout)
 Wait for a FLASH operation to complete.
void FLASH_PageErase (uint32_t Page, uint32_t Banks)
 Erase the specified FLASH memory page.
void FLASH_FlushCaches (void)
 Flush the instruction and data caches.
static void FLASH_SetErrorCode (void)
 Set the specific FLASH error flag.
static void FLASH_Program_DoubleWord (uint32_t Address, uint64_t Data)
 Program double-word (64-bit) at a specified address.
static void FLASH_Program_Fast (uint32_t Address, uint32_t DataAddress)
 Fast program a 32 row double-word (64-bit) at a specified address.

Function Documentation

void FLASH_FlushCaches ( void   )

Flush the instruction and data caches.

Return values:
None

Definition at line 422 of file stm32l4xx_hal_flash_ex.c.

void FLASH_PageErase ( uint32_t  Page,
uint32_t  Banks 
)

Erase the specified FLASH memory page.

Parameters:
Page,:FLASH page to erase This parameter must be a value between 0 and (max number of pages in the bank - 1)
Banks,:Bank(s) where the page will be erased This parameter can be one or a combination of the following values:

  • FLASH_BANK_1: Page in bank 1 to be erased
  • FLASH_BANK_2: Page in bank 2 to be erased
Return values:
None

Definition at line 397 of file stm32l4xx_hal_flash_ex.c.

static void FLASH_Program_DoubleWord ( uint32_t  Address,
uint64_t  Data 
) [static]

Program double-word (64-bit) at a specified address.

Parameters:
Address,:specifies the address to be programmed.
Data,:specifies the data to be programmed.
Return values:
None

Definition at line 708 of file stm32l4xx_hal_flash.c.

static void FLASH_Program_Fast ( uint32_t  Address,
uint32_t  DataAddress 
) [static]

Fast program a 32 row double-word (64-bit) at a specified address.

Parameters:
Address,:specifies the address to be programmed.
DataAddress,:specifies the address where the data are stored.
Return values:
None

Definition at line 727 of file stm32l4xx_hal_flash.c.

static void FLASH_SetErrorCode ( void   ) [static]

Set the specific FLASH error flag.

Return values:
None

Definition at line 641 of file stm32l4xx_hal_flash.c.

HAL_StatusTypeDef FLASH_WaitForLastOperation ( uint32_t  Timeout )

Wait for a FLASH operation to complete.

Parameters:
Timeout,:maximum flash operation timeout
Return values:
HAL_StatusTypeDefHAL Status

Definition at line 594 of file stm32l4xx_hal_flash.c.