NavHAL 0.1.0
NAVRobotec's architecture-agnostic HAL for embedded systems.
Loading...
Searching...
No Matches
clock_types.h
Go to the documentation of this file.
1
13
14#ifndef CLOCK_TYPES_H
15#define CLOCK_TYPES_H
16
18#include <stdint.h>
19
29
41
42#endif // CLOCK_TYPES_H
hal_clock_source_t
Enumeration of possible system clock sources.
Definition clock_types.h:23
@ HAL_CLOCK_SOURCE_HSE
Definition clock_types.h:25
@ HAL_CLOCK_SOURCE_HSI
Internal high-speed oscillator (~16 MHz)
Definition clock_types.h:24
@ HAL_CLOCK_SOURCE_PLL
Phase-locked loop (derived clock)
Definition clock_types.h:27
rcc_cfgr_ppre_div_t
APB prescaler division factors.
Definition rcc_reg.h:133
rcc_cfgr_hpre_div_t
AHB prescaler division factors.
Definition rcc_reg.h:118
System clock configuration structure.
Definition clock_types.h:35
rcc_cfgr_ppre_div_t ppre1_div
Definition clock_types.h:38
rcc_cfgr_ppre_div_t ppre2_div
Definition clock_types.h:39
hal_clock_source_t source
Selected clock source (HSI, HSE, or PLL)
Definition clock_types.h:36
rcc_cfgr_hpre_div_t hpre_div
Definition clock_types.h:37