LibDriver AMG8833
Loading...
Searching...
No Matches
amg8833 test driver function

amg8833 test driver modules More...

Collaboration diagram for amg8833 test driver function:

Functions

uint8_t amg8833_interrupt_test_irq_handler (void)
 interrupt test irq callback
uint8_t amg8833_interrupt_test (amg8833_address_t addr_pin, amg8833_interrupt_mode_t mode, float high_level, float low_level, float hysteresis_level, uint32_t times)
 interrupt test
uint8_t amg8833_read_test (amg8833_address_t addr_pin, uint32_t times)
 read test
uint8_t amg8833_register_test (amg8833_address_t addr_pin)
 register test

Detailed Description

amg8833 test driver modules

Function Documentation

◆ amg8833_interrupt_test()

uint8_t amg8833_interrupt_test ( amg8833_address_t addr_pin,
amg8833_interrupt_mode_t mode,
float high_level,
float low_level,
float hysteresis_level,
uint32_t times )

interrupt test

Parameters
[in]addr_piniic device address
[in]modeinterrupt mode
[in]high_levelhigh level
[in]low_levellow level
[in]hysteresis_levelhysteresis level
[in]timestest times
Returns
status code
  • 0 success
  • 1 test failed
Note
none

Definition at line 73 of file driver_amg8833_interrupt_test.c.

Here is the call graph for this function:

◆ amg8833_interrupt_test_irq_handler()

uint8_t amg8833_interrupt_test_irq_handler ( void )

interrupt test irq callback

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

Definition at line 48 of file driver_amg8833_interrupt_test.c.

Here is the call graph for this function:

◆ amg8833_read_test()

uint8_t amg8833_read_test ( amg8833_address_t addr_pin,
uint32_t times )

read test

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

Definition at line 52 of file driver_amg8833_read_test.c.

Here is the call graph for this function:

◆ amg8833_register_test()

uint8_t amg8833_register_test ( amg8833_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_amg8833_register_test.c.

Here is the call graph for this function: