Skyward boardcore
|
Enumerations | |
enum class | APB { APB1 , APB2 } |
Timer input clock. More... | |
Functions | |
uint32_t | getAPBPeripheralsClock (APB bus) |
Computes the output clock frequency for peripherals on the given APB. | |
uint32_t | getAPBTimersClock (APB bus) |
Computes the output clock frequency for timers on the given APB. | |
bool | enablePeripheralClock (void *peripheral) |
Enables a peripheral clock source from the APB1 and APB2 peripheral buses. | |
bool | disablePeripheralClock (void *peripheral) |
Disables a peripheral clock source from the APB1 and APB2 peripheral buses. | |
|
strong |
|
inline |
Disables a peripheral clock source from the APB1 and APB2 peripheral buses.
Definition at line 531 of file ClockUtils.h.
|
inline |
Enables a peripheral clock source from the APB1 and APB2 peripheral buses.
Definition at line 155 of file ClockUtils.h.
|
inline |
Computes the output clock frequency for peripherals on the given APB.
bus | Advanced Peripheral Bus |
Definition at line 73 of file ClockUtils.h.
|
inline |
Computes the output clock frequency for timers on the given APB.
bus | Advanced Peripheral Bus |
Definition at line 114 of file ClockUtils.h.