Macros | |
#define | Comparator_EVENT_RESERVED (32) |
#define | Comparator_EVENT_OUTPUT_TRIGGERED (1) |
The comparator output triggered in the positive direction. More... | |
#define | Comparator_EVENT_OUTPUT_INVERTED_TRIGGERED (2) |
The comparator output triggered in the inverted direction. More... | |
#define | Comparator_EVENT_ERROR (-1) |
An error occurred with the underlying comparator driver. More... | |
parameter of the driver callback.
#define Comparator_EVENT_RESERVED (32) |
Common Comparator event code reservation offset. Comparator driver implementations should offset event codes with Comparator_EVENT_RESERVED growing positively.
Example implementation specific event codes:
#define Comparator_EVENT_OUTPUT_TRIGGERED (1) |
The comparator output triggered in the positive direction.
Callback function called with Comparator_EVENT_OUTPUT_TRIGGERED if the comparator triggered in the positive direction.
#define Comparator_EVENT_OUTPUT_INVERTED_TRIGGERED (2) |
The comparator output triggered in the inverted direction.
Callback function called with Comparator_EVENT_OUTPUT_INVERTED_TRIGGERED if the comparator triggered in the negative direction.
#define Comparator_EVENT_ERROR (-1) |
An error occurred with the underlying comparator driver.
Callback function called with Comparator_EVENT_ERROR if an error happened in the operation of the driver.