Lines Matching +full:proximity +full:- +full:trigger
4 * SPDX-License-Identifier: Apache-2.0
25 printf("Cannot read proximity data.\n"); in print_proxy_data()
29 printf("Proximity: %d\n", (uint16_t) pdata.val1); in print_proxy_data()
61 remaining_test_time -= SLEEPTIME; in test_polling_mode()
69 switch (trig->type) { in trigger_handler()
80 printf("trigger handler: unknown trigger type.\n"); in trigger_handler()
92 printf("Testing proximity trigger.\n"); in test_trigger_mode()
99 printf("cannot set proximity high threshold.\n"); in test_trigger_mode()
107 printf("cannot set proximity low threshold.\n"); in test_trigger_mode()
115 printf("cannot set trigger.\n"); in test_trigger_mode()
122 printf("cannot clear trigger.\n"); in test_trigger_mode()
126 printf("Threshold trigger test finished.\n"); in test_trigger_mode()
144 printf("Testing the trigger mode.\n"); in main()
146 printf("Trigger mode test finished.\n"); in main()