modm API documentation
|
Basic Timer 6. More...
#include <modm/platform/timer/timer_6.hpp>
Public Typedefs | |
using | Value = uint16_t |
Public Member Functions | |
MODM_FLAGS32 (Interrupt) | |
MODM_FLAGS32 (InterruptFlag) | |
Static Public Member Functions | |
template<class... Signals> | |
static void | connect () |
static void | enable () |
static void | disable () |
static bool | isEnabled () |
static void | pause () |
static void | start () |
static void | setMode (Mode mode) |
static void | setPrescaler (uint16_t prescaler) |
static uint16_t | getPrescaler () |
static void | setOverflow (Value overflow) |
static Value | getOverflow () |
template<class SystemClock > | |
static constexpr uint32_t | getClockFrequency () |
template<class SystemClock , class Rep , class Period > | |
static Value | setPeriod (std::chrono::duration< Rep, Period > duration, bool autoApply=true) |
static void | generateEvent (Event ev) |
static void | applyAndReset () |
static Value | getValue () |
static void | setValue (Value value) |
static bool | isCountingUp () |
static bool | isCountingDown () |
static constexpr bool | hasAdvancedPwmControl () |
static void | enableInterruptVector (bool enable, uint32_t priority) |
static void | enableInterrupt (Interrupt_t interrupt) |
static void | disableInterrupt (Interrupt_t interrupt) |
static InterruptFlag_t | getInterruptFlags () |
static void | acknowledgeInterruptFlags (InterruptFlag_t interrupt) |
static void | enableInterruptVector (bool enable, uint8_t priority) |
Basic Timer 6.
Interrupt handler:
For the STM32F2xx and STM32F4xx:
|
inheritedstatic |
Enables or disables the Interrupt Vector.
enable | Enable/disable the interrupt vector |
priority | Priority of the interrupt vector (0=highest to 15=lowest). |