LibDriver MAX44009
Loading...
Searching...
No Matches
max44009 test driver function

max44009 test driver modules More...

Collaboration diagram for max44009 test driver function:

Functions

uint8_t max44009_interrupt_test (max44009_address_t addr, float low_threshold_lux, float high_threshold_lux, uint32_t times)
 interrupt test
uint8_t max44009_read_test (max44009_address_t addr, uint32_t times)
 read test
uint8_t max44009_register_test (max44009_address_t addr)
 register test

Detailed Description

max44009 test driver modules

Function Documentation

◆ max44009_interrupt_test()

uint8_t max44009_interrupt_test ( max44009_address_t addr,
float low_threshold_lux,
float high_threshold_lux,
uint32_t times )

interrupt test

Parameters
[in]addriic device address
[in]low_threshold_luxlow threshold in lux
[in]high_threshold_luxhigh threshold in lux
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 53 of file driver_max44009_interrupt_test.c.

Here is the call graph for this function:

◆ max44009_read_test()

uint8_t max44009_read_test ( max44009_address_t addr,
uint32_t times )

read test

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

Definition at line 51 of file driver_max44009_read_test.c.

Here is the call graph for this function:

◆ max44009_register_test()

uint8_t max44009_register_test ( max44009_address_t addr)

register test

Parameters
[in]addriic device address
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_max44009_register_test.c.

Here is the call graph for this function: