|
enum | Polarity { NonInverted = 0b0 << 15,
Inverted = 0b1 << 15
} |
|
enum | Hysteresis {
NoHysteresis = 0b000 << COMP_CSR_HYST_Pos,
Hysteresis10mV = 0b001 << COMP_CSR_HYST_Pos,
Hysteresis20mV = 0b010 << COMP_CSR_HYST_Pos,
Hysteresis30mV = 0b011 << COMP_CSR_HYST_Pos,
Hysteresis40mV = 0b100 << COMP_CSR_HYST_Pos,
Hysteresis50mV = 0b101 << COMP_CSR_HYST_Pos,
Hysteresis60mV = 0b110 << COMP_CSR_HYST_Pos,
Hysteresis70mV = 0b111 << COMP_CSR_HYST_Pos,
LowHysteresis = Hysteresis10mV,
MediumHysteresis = Hysteresis40mV,
HighHysteresis = Hysteresis70mV
} |
|
|
static constexpr uint32_t | PolarityMask = 0b1 << 15 |
|
static constexpr uint32_t | HysteresisMask = COMP_CSR_HYST_Msk |
|
The documentation for this class was generated from the following file: