LibDriver APDS9960
Loading...
Searching...
No Matches
apds9960 test driver function

apds9960 test driver modules More...

Collaboration diagram for apds9960 test driver function:

Functions

uint8_t apds9960_gesture_test_irq_handler (void)
 gesture test irq
uint8_t apds9960_gesture_test (uint32_t times)
 gesture test
uint8_t apds9960_interrupt_test_irq_handler (void)
 interrupt test irq
uint8_t apds9960_interrupt_test (uint32_t times, uint16_t als_low_threshold, uint16_t als_high_threshold, uint8_t proximity_low_threshold, uint8_t proximity_high_threshold)
 interrupt test
uint8_t apds9960_read_test (uint32_t times)
 register test
uint8_t apds9960_register_test (void)
 register test

Detailed Description

apds9960 test driver modules

Function Documentation

◆ apds9960_gesture_test()

uint8_t apds9960_gesture_test ( uint32_t times)

gesture test

Parameters
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 199 of file driver_apds9960_gesture_test.c.

Here is the call graph for this function:

◆ apds9960_gesture_test_irq_handler()

uint8_t apds9960_gesture_test_irq_handler ( void )

gesture test irq

Returns
status code
  • 0 success
  • 1 run failed
Note
none

Definition at line 50 of file driver_apds9960_gesture_test.c.

Here is the call graph for this function:

◆ apds9960_interrupt_test()

uint8_t apds9960_interrupt_test ( uint32_t times,
uint16_t als_low_threshold,
uint16_t als_high_threshold,
uint8_t proximity_low_threshold,
uint8_t proximity_high_threshold )

interrupt test

Parameters
[in]timestest times
[in]als_low_thresholdals low threshold
[in]als_high_thresholdals high threshold
[in]proximity_low_thresholdproximity low threshold
[in]proximity_high_thresholdproximity high threshold
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 206 of file driver_apds9960_interrupt_test.c.

Here is the call graph for this function:

◆ apds9960_interrupt_test_irq_handler()

uint8_t apds9960_interrupt_test_irq_handler ( void )

interrupt test irq

Returns
status code
  • 0 success
  • 1 run failed
Note
none

Definition at line 49 of file driver_apds9960_interrupt_test.c.

Here is the call graph for this function:

◆ apds9960_read_test()

uint8_t apds9960_read_test ( uint32_t times)

register test

Parameters
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 49 of file driver_apds9960_read_test.c.

Here is the call graph for this function:

◆ apds9960_register_test()

uint8_t apds9960_register_test ( void )

register test

Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 49 of file driver_apds9960_register_test.c.

Here is the call graph for this function: