Lines Matching full:acmp
83 printf("ACMP input above threshold\n"); in acmp_input_handler()
85 printf("ACMP input below threshold\n"); in acmp_input_handler()
101 const struct device *const acmp = DEVICE_DT_GET(ACMP_NODE); in main() local
106 if (!device_is_ready(acmp)) { in main()
107 printf("ACMP device not ready"); in main()
111 /* Set ACMP attributes */ in main()
115 err = sensor_attr_set(acmp, SENSOR_CHAN_MCUX_ACMP_OUTPUT, in main()
126 /* Set ACMP triggers */ in main()
130 err = sensor_trigger_set(acmp, &trigger, acmp_trigger_handler); in main()
137 printf("Adjust ACMP input voltage by turning the potentiometer\n"); in main()
140 err = sensor_sample_fetch(acmp); in main()
146 err = sensor_channel_get(acmp, SENSOR_CHAN_MCUX_ACMP_OUTPUT, &val); in main()