LibDriver MAX30205
Loading...
Searching...
No Matches
max30205 test driver function

max30205 test driver modules More...

Collaboration diagram for max30205 test driver function:

Functions

uint8_t max30205_interrupt_test (max30205_address_t addr, max30205_interrupt_mode_t mode, float f_low_threshold, float f_high_threshold, uint32_t times)
 interrupt test
uint8_t max30205_read_test (max30205_address_t addr, uint32_t times)
 read test
uint8_t max30205_register_test (max30205_address_t addr)
 register test

Detailed Description

max30205 test driver modules

Function Documentation

◆ max30205_interrupt_test()

uint8_t max30205_interrupt_test ( max30205_address_t addr,
max30205_interrupt_mode_t mode,
float f_low_threshold,
float f_high_threshold,
uint32_t times )

interrupt test

Parameters
[in]addriic device address
[in]modeinterrupt mode
[in]f_low_thresholdinterrupt low threshold
[in]f_high_thresholdinterrupt high threshold
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 54 of file driver_max30205_interrupt_test.c.

Here is the call graph for this function:

◆ max30205_read_test()

uint8_t max30205_read_test ( max30205_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_max30205_read_test.c.

Here is the call graph for this function:

◆ max30205_register_test()

uint8_t max30205_register_test ( max30205_address_t addr)

register test

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

Definition at line 51 of file driver_max30205_register_test.c.

Here is the call graph for this function: