Lines Matching full:comparator
11 * @brief Comparator Interface
12 * @defgroup comparator_interface Comparator Interface
26 /** Comparator trigger enumerations */
30 /** Trigger on rising edge of comparator output */
32 /** Trigger on falling edge of comparator output */
34 /** Trigger on both edges of comparator output */
38 /** Comparator callback template */
61 * @brief Get comparator's output state
63 * @param dev Comparator device
73 return DEVICE_API_GET(comparator, dev)->get_output(dev); in z_impl_comparator_get_output()
77 * @brief Set comparator's trigger
79 * @param dev Comparator device
91 return DEVICE_API_GET(comparator, dev)->set_trigger(dev, trigger); in z_impl_comparator_set_trigger()
95 * @brief Set comparator's trigger callback
97 * @param dev Comparator device
111 return DEVICE_API_GET(comparator, dev)->set_trigger_callback(dev, callback, user_data); in comparator_set_trigger_callback()
115 * @brief Check if comparator's trigger is pending and clear it
117 * @param dev Comparator device
127 return DEVICE_API_GET(comparator, dev)->trigger_is_pending(dev); in z_impl_comparator_trigger_is_pending()
136 #include <zephyr/syscalls/comparator.h>