modm API documentation
modm::platform::CompBase Class Reference
Inheritance diagram for modm::platform::CompBase:
modm::platform::Comp1 modm::platform::Comp2

Public Types

enum  Mode { HighSpeed = 0b00 << 2, MediumSpeed = 0b01 << 2 }
 
enum  Polarity { NonInverted = 0b0 << 15, Inverted = 0b1 << 15 }
 
enum  Hysteresis { NoHysteresis = 0b00 << 16, LowHysteresis = 0b01 << 16, MediumHysteresis = 0b10 << 16, HighHysteresis = 0b11 << 16 }
 

Static Protected Attributes

static constexpr uint32_t ModeMask = 0b11 << 2
 
static constexpr uint32_t PolarityMask = 0b1 << 15
 
static constexpr uint32_t HysteresisMask = 0b11 << 16
 

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