Expand description
Analog Comparator (COMP)
This driver currently supports chips with the comp_u5 peripheral version (STM32WBA and STM32U5 series).
Structs§
- Comp
- Comparator driver.
- Config
- Configuration for the comparator.
- Interrupt
Handler - Interrupt handler for COMP.
- State
- Comparator state for async operations.
Enums§
- Blanking
Source - Blanking source selection.
- Hysteresis
- Hysteresis level.
- Inverting
Input - Inverting input selection.
- Output
Polarity - Output polarity.
- Power
Mode - Power mode for the comparator.
- Window
Mode - Window mode configuration.
- Window
Output - Window output mode for window comparisons.
Traits§
- Input
Minus Pin - Inverting input pin trait.
- Input
Plus Pin - Non-inverting input pin trait.
- Instance
- Comparator instance trait.