Lines Matching full:trigger
73 const struct sensor_trigger *trigger) in trigger_handler() argument
75 if (trigger->type != SENSOR_TRIG_DATA_READY && in trigger_handler()
76 trigger->type != SENSOR_TRIG_DELTA) { in trigger_handler()
77 printf("Gyro: trigger handler: unknown trigger type.\n"); in trigger_handler()
97 printf("Gyro: Testing anymotion trigger.\n"); in test_trigger_mode()
99 /* set up the trigger */ in test_trigger_mode()
122 printf("Gyro: cannot set trigger.\n"); in test_trigger_mode()
133 printf("Gyro: cannot clear trigger.\n"); in test_trigger_mode()
137 printf("Gyro: Anymotion trigger test finished.\n"); in test_trigger_mode()
139 printf("Gyro: Testing data ready trigger.\n"); in test_trigger_mode()
154 printf("Gyro: cannot set trigger.\n"); in test_trigger_mode()
166 printf("Gyro: cannot clear trigger.\n"); in test_trigger_mode()
170 printf("Gyro: Data ready trigger test finished.\n"); in test_trigger_mode()
203 printf("Testing the trigger mode.\n"); in main()
205 printf("Trigger mode test finished.\n"); in main()