LibDriver HDC302X
Loading...
Searching...
No Matches
hdc302x test driver function

hdc302x test driver modules More...

Collaboration diagram for hdc302x test driver function:

Functions

uint8_t hdc302x_interrupt_test (hdc302x_address_t addr, float temperature_low_deg, float temperature_high_deg, float humidity_low_percentage, float humidity_high_percentage, uint32_t times)
 interrupt test
uint8_t hdc302x_read_test (hdc302x_address_t addr, uint32_t times)
 read test
uint8_t hdc302x_register_test (hdc302x_address_t addr_pin)
 register test

Detailed Description

hdc302x test driver modules

Function Documentation

◆ hdc302x_interrupt_test()

uint8_t hdc302x_interrupt_test ( hdc302x_address_t addr,
float temperature_low_deg,
float temperature_high_deg,
float humidity_low_percentage,
float humidity_high_percentage,
uint32_t times )

interrupt test

Parameters
[in]addriic device address
[in]temperature_low_deglow threshold in degree celsius
[in]temperature_high_deghigh threshold in degree celsius
[in]humidity_low_percentagelow threshold in percentage
[in]humidity_high_percentagehigh threshold in percentage
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 54 of file driver_hdc302x_interrupt_test.c.

Here is the call graph for this function:

◆ hdc302x_read_test()

uint8_t hdc302x_read_test ( hdc302x_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 50 of file driver_hdc302x_read_test.c.

Here is the call graph for this function:

◆ hdc302x_register_test()

uint8_t hdc302x_register_test ( hdc302x_address_t addr_pin)

register test

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

Definition at line 50 of file driver_hdc302x_register_test.c.

Here is the call graph for this function: