FLASH HAL Extension module driver.
More...
FLASH HAL Extension module driver.
◆ FLASH_OB_CPUFreq_BoostConfig()
static void FLASH_OB_CPUFreq_BoostConfig |
( |
uint32_t |
FreqBoost | ) |
|
|
static |
Configure the CPU Frequency Boost.
- Parameters
-
- Return values
-
Definition at line 1839 of file stm32h7xx_hal_flash_ex.c.
1842 assert_param(IS_OB_USER_CPUFREQ_BOOST(FreqBoost));
1845 MODIFY_REG(FLASH->OPTSR2_PRG, FLASH_OPTSR2_CPUFREQ_BOOST, FreqBoost);
◆ FLASH_OB_CPUFreq_GetBoost()
static uint32_t FLASH_OB_CPUFreq_GetBoost |
( |
void |
| ) |
|
|
static |
Get the CPU Frequency Boost state.
- Return values
-
Definition at line 1853 of file stm32h7xx_hal_flash_ex.c.
1855 return (FLASH->OPTSR2_CUR & FLASH_OPTSR2_CPUFREQ_BOOST);;
◆ FLASH_OB_OTP_GetLock()
static uint32_t FLASH_OB_OTP_GetLock |
( |
void |
| ) |
|
|
static |
Get the OTP Block Lock.
- Return values
-
OTP_Block | specifies the OTP Block to lock. This return value can be a value of FLASH OTP blocks |
Definition at line 1799 of file stm32h7xx_hal_flash_ex.c.
1801 return (FLASH->OTPBL_CUR);
◆ FLASH_OB_OTP_LockConfig()
static void FLASH_OB_OTP_LockConfig |
( |
uint32_t |
OTP_Block | ) |
|
|
static |
Configure the OTP Block Lock.
- Parameters
-
OTP_Block | specifies the OTP Block to lock. This parameter can be a value of FLASH OTP blocks |
- Return values
-
Definition at line 1785 of file stm32h7xx_hal_flash_ex.c.
1788 assert_param(IS_OTP_BLOCK(OTP_Block));
1791 FLASH->OTPBL_PRG |= (OTP_Block & FLASH_OTPBL_LOCKBL);
◆ FLASH_OB_SharedRAM_Config()
static void FLASH_OB_SharedRAM_Config |
( |
uint32_t |
SharedRamConfig | ) |
|
|
static |
Configure the TCM / AXI Shared RAM.
- Parameters
-
- Return values
-
Definition at line 1812 of file stm32h7xx_hal_flash_ex.c.
1815 assert_param(IS_OB_USER_TCM_AXI_SHARED(SharedRamConfig));
1818 MODIFY_REG(FLASH->OPTSR2_PRG, FLASH_OPTSR2_TCM_AXI_SHARED, SharedRamConfig);
◆ FLASH_OB_SharedRAM_GetConfig()
static uint32_t FLASH_OB_SharedRAM_GetConfig |
( |
void |
| ) |
|
|
static |
Get the TCM / AXI Shared RAM configurtion.
- Return values
-
Definition at line 1826 of file stm32h7xx_hal_flash_ex.c.
1828 return (FLASH->OPTSR2_CUR & FLASH_OPTSR2_TCM_AXI_SHARED);;