Expand description
Comparator
Structs§
- COMP1
- COMP2
- Comp1
InP - Comparator 1 positive input used as positive input for Comparator 2. Used to implement window comparator mode.
- Comp2
InP - Comparator 2 positive input used as positive input for Comparator 1. Used to implement window comparator mode.
- Comparator
- Config
- Disabled
- Disabled Comparator (type state)
- Enabled
- Enabled Comparator (type state)
- Open
- Comparator negative input open (not connected)
- Window
Comparator - Uses two comparators to implement a window comparator. See Figure 69 in RM0444 Rev 5.
Enums§
Traits§
- Comparator
Ext - Comparator
Split - ED
- Negative
Input - Comparator negative input
- Output
Pin - Positive
Input - Comparator positive input
- Window
Comparator Ext
Functions§
- split
- Enables the comparator peripheral, and splits the
COMP
into independentCOMP1
andCOMP2
- window_
comparator12 - window_
comparator21