RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros

Macros

#define __HAL_FLASH_CALC_BOOT_BASE_ADR(__ADDRESS__)   ((__ADDRESS__) >> 14U)
 Calculate the FLASH Boot Base Address (BOOT_ADD0 or BOOT_ADD1)
 
#define __HAL_FLASH_SET_PROGRAM_DELAY(__DELAY__)   MODIFY_REG(FLASH->ACR, FLASH_ACR_WRHIGHFREQ, (__DELAY__))
 Set the FLASH Programming Delay.
 
#define __HAL_FLASH_GET_PROGRAM_DELAY()   READ_BIT(FLASH->ACR, FLASH_ACR_WRHIGHFREQ)
 Get the FLASH Programming Delay.
 

Detailed Description

Macro Definition Documentation

◆ __HAL_FLASH_CALC_BOOT_BASE_ADR

#define __HAL_FLASH_CALC_BOOT_BASE_ADR (   __ADDRESS__)    ((__ADDRESS__) >> 14U)

Calculate the FLASH Boot Base Address (BOOT_ADD0 or BOOT_ADD1)

Note
Returned value BOOT_ADDx[15:0] corresponds to boot address [29:14].
Parameters
__ADDRESS__FLASH Boot Address (in the range 0x0000 0000 to 0x2004 FFFF with a granularity of 16KB)
Return values
TheFLASH Boot Base Address

◆ __HAL_FLASH_GET_PROGRAM_DELAY

#define __HAL_FLASH_GET_PROGRAM_DELAY ( )    READ_BIT(FLASH->ACR, FLASH_ACR_WRHIGHFREQ)

Get the FLASH Programming Delay.

Return values
FLASHProgramming Delay This return value can be a value of FLASH Programming Delay

◆ __HAL_FLASH_SET_PROGRAM_DELAY

#define __HAL_FLASH_SET_PROGRAM_DELAY (   __DELAY__)    MODIFY_REG(FLASH->ACR, FLASH_ACR_WRHIGHFREQ, (__DELAY__))

Set the FLASH Programming Delay.

Parameters
__DELAY__FLASH Programming Delay This parameter can be a value of FLASH Programming Delay
Return values
none