|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| void | SystemInit (void) |
| Setup the microcontroller system Initialize the FPU setting and vector table location configuration. | |
| void | SystemCoreClockUpdate (void) |
| Update SystemCoreClock variable according to Clock Register Values. | |
| void | ExitRun0Mode (void) |
| Exit Run* mode and Configure the system Power Supply. | |
|
extern |
Exit Run* mode and Configure the system Power Supply.
| None |
| None |
Definition at line 474 of file system_stm32h7xx.c.
References PWR, PWR_CR3_BYPASS, PWR_CR3_LDOEN, and PWR_CSR1_ACTVOSRDY.
|
extern |
Update SystemCoreClock variable according to Clock Register Values.
The SystemCoreClock variable contains the core clock , it can be used by the user application to setup the SysTick timer or configure other parameters.
(*) CSI_VALUE is a constant defined in stm32h7xx_hal.h file (default value 4 MHz) but the real value may vary depending on the variations in voltage and temperature. (**) HSI_VALUE is a constant defined in stm32h7xx_hal.h file (default value 64 MHz) but the real value may vary depending on the variations in voltage and temperature.
(***)HSE_VALUE is a constant defined in stm32h7xx_hal.h file (default value 25 MHz), user has to ensure that HSE_VALUE is same as the real frequency of the crystal used. Otherwise, this function may have wrong result.
| None |
| None |
Definition at line 352 of file system_stm32h7xx.c.
References CSI_VALUE, D1CorePrescTable, HSE_VALUE, HSI_VALUE, RCC, RCC_CFGR_SWS, RCC_CFGR_SWS_CSI, RCC_CFGR_SWS_HSE, RCC_CFGR_SWS_HSI, RCC_CFGR_SWS_PLL1, RCC_CR_HSIDIV, RCC_D1CFGR_D1CPRE, RCC_D1CFGR_D1CPRE_Pos, RCC_D1CFGR_HPRE, RCC_D1CFGR_HPRE_Pos, RCC_PLL1DIVR_N1, RCC_PLL1DIVR_P1, RCC_PLL1FRACR_FRACN1, RCC_PLLCFGR_PLL1FRACEN, RCC_PLLCFGR_PLL1FRACEN_Pos, RCC_PLLCKSELR_DIVM1, RCC_PLLCKSELR_PLLSRC, RCC_PLLCKSELR_PLLSRC_CSI, RCC_PLLCKSELR_PLLSRC_HSE, RCC_PLLCKSELR_PLLSRC_HSI, SystemCoreClock, and SystemD2Clock.
|
extern |
Setup the microcontroller system Initialize the FPU setting and vector table location configuration.
| None |
| None |
Definition at line 178 of file system_stm32h7xx.c.
References __IO, CLEAR_BIT, DBGMCU, FLASH, FLASH_ACR_LATENCY, FLASH_LATENCY_DEFAULT, FMC_Bank1_R, MODIFY_REG, RCC, RCC_AHB2ENR_D2SRAM1EN, RCC_AHB2ENR_D2SRAM2EN, RCC_AHB3ENR_FMCEN, RCC_CR_HSION, READ_BIT, SCB, and SET_BIT.