Return the output level (high or low) of the selected comparator. The output level depends on the selected polarity. If the polarity is not inverted:
- Comparator output is low when the input plus is at a lower voltage than the input minus
- Comparator output is high when the input plus is at a higher voltage than the input minus If the polarity is inverted:
- Comparator output is high when the input plus is at a lower voltage than the input minus
- Comparator output is low when the input plus is at a higher voltage than the input minus
- Parameters
-
- Return values
-
Returns | the selected comparator output level:
- COMP_OUTPUT_LEVEL_LOW
- COMP_OUTPUT_LEVEL_HIGH
|