DIY Logging Volt/Ampmeter
|
Go to the documentation of this file.
33 #ifndef __STM32F1xx_LL_UTILS_H
34 #define __STM32F1xx_LL_UTILS_H
60 #define LL_MAX_DELAY 0xFFFFFFFFU
65 #define UID_BASE_ADDRESS UID_BASE
70 #define FLASHSIZE_BASE_ADDRESS FLASHSIZE_BASE
142 #define LL_UTILS_HSEBYPASS_OFF 0x00000000U
143 #define LL_UTILS_HSEBYPASS_ON 0x00000001U
221 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL);
239 #if defined(FLASH_ACR_LATENCY)
240 ErrorStatus LL_SetFlashLatency(uint32_t Frequency);
__STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks)
This function configures the Cortex-M SysTick source of the time base.
#define UID_BASE_ADDRESS
Unique device ID register base address.
void LL_SetSystemCoreClock(uint32_t HCLKFrequency)
This function sets directly SystemCoreClock CMSIS variable.
#define SysTick_CTRL_CLKSOURCE_Msk
ErrorStatus LL_PLL_ConfigSystemClock_HSE(uint32_t HSEFrequency, uint32_t HSEBypass, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
This function configures system clock with HSE as clock source of the PLL.
void LL_mDelay(uint32_t Delay)
This function provides accurate delay (in milliseconds) based on SysTick counter flag.
__STATIC_INLINE uint32_t LL_GetUID_Word2(void)
Get Word2 of the unique device identifier (UID based on 96 bits)
__STATIC_INLINE uint32_t LL_GetUID_Word0(void)
Get Word0 of the unique device identifier (UID based on 96 bits)
ErrorStatus LL_PLL_ConfigSystemClock_HSI(LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
Update number of Flash wait states in line with new frequency and current voltage range.
UTILS PLL structure definition.
CMSIS STM32F1xx Device Peripheral Access Layer Header File.
void LL_Init1msTick(uint32_t HCLKFrequency)
This function configures the Cortex-M SysTick source to have 1ms time base.
#define SysTick_CTRL_ENABLE_Msk
__STATIC_INLINE uint32_t LL_GetFlashSize(void)
Get Flash memory size.
UTILS System, AHB and APB buses clock configuration structure definition.
#define FLASHSIZE_BASE_ADDRESS
Flash size data register base address.
__STATIC_INLINE uint32_t LL_GetUID_Word1(void)
Get Word1 of the unique device identifier (UID based on 96 bits)