LibDriver STTS22H
Loading...
Searching...
No Matches
stts22h test driver function

stts22h test driver modules More...

Collaboration diagram for stts22h test driver function:

Functions

uint8_t stts22h_interrupt_test_irq_handler (void)
 interrupt test irq
uint8_t stts22h_interrupt_test (stts22h_address_t addr_pin, float low_celsius_deg, float high_celsius_deg)
 interrupt test
uint8_t stts22h_read_test (stts22h_address_t addr_pin, uint32_t times)
 read test
uint8_t stts22h_register_test (stts22h_address_t addr_pin)
 register test

Detailed Description

stts22h test driver modules

Function Documentation

◆ stts22h_interrupt_test()

uint8_t stts22h_interrupt_test ( stts22h_address_t addr_pin,
float low_celsius_deg,
float high_celsius_deg )

interrupt test

Parameters
[in]addr_pinaddress pin
[in]low_celsius_deglow threshold celsius degrees
[in]high_celsius_deghigh threshold celsius degrees
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 111 of file driver_stts22h_interrupt_test.c.

Here is the call graph for this function:

◆ stts22h_interrupt_test_irq_handler()

uint8_t stts22h_interrupt_test_irq_handler ( void )

interrupt test irq

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

Definition at line 91 of file driver_stts22h_interrupt_test.c.

Here is the call graph for this function:

◆ stts22h_read_test()

uint8_t stts22h_read_test ( stts22h_address_t addr_pin,
uint32_t times )

read test

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

Definition at line 50 of file driver_stts22h_read_test.c.

Here is the call graph for this function:

◆ stts22h_register_test()

uint8_t stts22h_register_test ( stts22h_address_t addr_pin)

register test

Parameters
[in]addr_pinaddress pin
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 50 of file driver_stts22h_register_test.c.

Here is the call graph for this function: