LibDriver LM75B
Loading...
Searching...
No Matches
lm75b test driver function

lm75b test driver modules More...

Collaboration diagram for lm75b test driver function:

Functions

uint8_t lm75b_interrupt_test (lm75b_address_t addr, lm75b_os_operation_mode_t mode, float low_threshold, float high_threshold, uint32_t times)
 interrupt test
uint8_t lm75b_read_test (lm75b_address_t addr, uint32_t times)
 read test
uint8_t lm75b_register_test (lm75b_address_t addr)
 register test

Detailed Description

lm75b test driver modules

Function Documentation

◆ lm75b_interrupt_test()

uint8_t lm75b_interrupt_test ( lm75b_address_t addr,
lm75b_os_operation_mode_t mode,
float low_threshold,
float high_threshold,
uint32_t times )

interrupt test

Parameters
[in]addriic address pin
[in]modeos operation mode
[in]low_thresholdinterrupt low threshold
[in]high_thresholdinterrupt high threshold
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 54 of file driver_lm75b_interrupt_test.c.

Here is the call graph for this function:

◆ lm75b_read_test()

uint8_t lm75b_read_test ( lm75b_address_t addr,
uint32_t times )

read test

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

Definition at line 51 of file driver_lm75b_read_test.c.

Here is the call graph for this function:

◆ lm75b_register_test()

uint8_t lm75b_register_test ( lm75b_address_t addr)

register test

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

Definition at line 51 of file driver_lm75b_register_test.c.

Here is the call graph for this function: