Reset and Clock Control acesss.
More...
#include <ClockControl.hpp>
|
static void | on () |
|
static void | off () |
|
static void | reset () |
|
template<PeripheralName Peripheral>
struct STM32LIB::ClockControl< Peripheral >
Reset and Clock Control acesss.
Alllows to enable/disable peripheral clock.
Example usage:
- Template Parameters
-
Peripheral | The peripheral we want to control. The names are defined in PeripheralName |
- Warning
- The specific MCU may not have all the peripherals in the PeripheralName group
template<PeripheralName Peripheral>
Enables the Peripheral clock
template<PeripheralName Peripheral>
Disables the Peripheral clock
template<PeripheralName Peripheral>
The documentation for this struct was generated from the following file: