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, Exti10 = 2, Exti11 = 3,
  Exti12 = 4, Exti13 = 5, Exti14 = 6, Exti15 = 7,
  Exti2 = 8, Exti3 = 9, Exti4 = 10, Exti5 = 11,
  Exti6 = 12, Exti7 = 13, Exti8 = 14, Exti9 = 15
}
 

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: