10#ifndef SBL_HAL_TIMING_TYPES_HPP_
11#define SBL_HAL_TIMING_TYPES_HPP_
TimerMode
Timer operating modes.
@ OneShot
Timer fires once then stops.
@ Periodic
Timer fires repeatedly at interval.
TimerEvent
Timer interrupt types.
@ Overflow
Timer overflow/update interrupt.
@ Capture
Input capture interrupt (if supported)
@ Compare
Output compare interrupt (if supported)
Root namespace for all Sound Byte Libs functionality.
Timer configuration structure.
bool enable_interrupt
Enable overflow interrupt.
uint32_t frequency_hz
Desired timer frequency in Hz.
constexpr TimerConfig(uint32_t freq, TimerMode m, bool irq=false)
TimerMode mode
Operating mode.