Skyward boardcore
|
#include <interfaces/arch_registers.h>
#include <kernel/kernel.h>
Go to the source code of this file.
Namespaces | |
namespace | Boardcore |
This file includes all the types the logdecoder script will decode. | |
namespace | Boardcore::ClockUtils |
Enumerations | |
enum class | Boardcore::ClockUtils::APB { Boardcore::ClockUtils::APB1 , Boardcore::ClockUtils::APB2 } |
Timer input clock. More... | |
Functions | |
uint32_t | Boardcore::ClockUtils::getAPBPeripheralsClock (APB bus) |
Computes the output clock frequency for peripherals on the given APB. | |
uint32_t | Boardcore::ClockUtils::getAPBTimersClock (APB bus) |
Computes the output clock frequency for timers on the given APB. | |
bool | Boardcore::ClockUtils::enablePeripheralClock (void *peripheral) |
Enables a peripheral clock source from the APB1 and APB2 peripheral buses. | |
bool | Boardcore::ClockUtils::disablePeripheralClock (void *peripheral) |
Disables a peripheral clock source from the APB1 and APB2 peripheral buses. | |