modm API documentation
modm::GpioSampler Class Reference

Classes

class  Channel
 
class  Handle
 

Public Typedefs

using Type = uint32_t
 

Static Public Member Functions

template<class... Gpios>
static auto Create (size_t max_samples)
 

Protected Types

enum  Interrupt : uint8_t {
  Exti0 = 0, Exti1 = 1, Exti15_10 = 2, Exti2 = 3,
  Exti3 = 4, Exti4 = 5, Exti9_5 = 6
}
 

Static Protected Member Functions

template<size_t channels, size_t pin_count, uint8_t pin, class Gpio , class... Gpios>
static void sampleGpio (Channel *data, Type time)
 
template<size_t channels, size_t pin_count, uint8_t pin>
static void sampleGpio (Channel *, Type)
 
static void reset (Interrupt vector)
 
static void setHandler (Interrupt vector, void (*handler)())
 
static Type getTime ()
 

Static Protected Attributes

static void * context {nullptr}
 

The documentation for this class was generated from the following files: