LibDriver TCS34725
Loading...
Searching...
No Matches
tcs34725 test driver function

tcs34725 test driver modules More...

Collaboration diagram for tcs34725 test driver function:

Functions

uint8_t tcs34725_interrupt_test (tcs34725_interrupt_mode_t mode, uint16_t clear_low_threshold, uint16_t clear_high_threshold, uint32_t times)
 interrupt test
uint8_t tcs34725_read_test (uint32_t times)
 read test
uint8_t tcs34725_register_test (void)
 register test

Detailed Description

tcs34725 test driver modules

Function Documentation

◆ tcs34725_interrupt_test()

uint8_t tcs34725_interrupt_test ( tcs34725_interrupt_mode_t mode,
uint16_t clear_low_threshold,
uint16_t clear_high_threshold,
uint32_t times )

interrupt test

Parameters
[in]modeinterrupt mode
[in]clear_low_thresholdclear channel low threshold
[in]clear_high_thresholdclear channel high threshold
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 53 of file driver_tcs34725_interrupt_test.c.

Here is the call graph for this function:

◆ tcs34725_read_test()

uint8_t tcs34725_read_test ( uint32_t times)

read test

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

Definition at line 50 of file driver_tcs34725_read_test.c.

Here is the call graph for this function:

◆ tcs34725_register_test()

uint8_t tcs34725_register_test ( void )

register test

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

Definition at line 50 of file driver_tcs34725_register_test.c.

Here is the call graph for this function: