LibDriver ADXL345
Loading...
Searching...
No Matches
adxl345 test driver function

adxl345 test driver modules More...

Collaboration diagram for adxl345 test driver function:

Functions

uint8_t adxl345_fifo_test_irq_handler (void)
 fifo test irq
uint8_t adxl345_fifo_test (adxl345_interface_t interface, adxl345_address_t addr_pin)
 fifo test
uint8_t adxl345_read_test (adxl345_interface_t interface, adxl345_address_t addr_pin, uint32_t times)
 read test
uint8_t adxl345_register_test (adxl345_interface_t interface, adxl345_address_t addr_pin)
 register test
uint8_t adxl345_action_test_irq_handler (void)
 action test irq
uint8_t adxl345_tap_action_fall_test (adxl345_interface_t interface, adxl345_address_t addr_pin)
 tap action fall test

Detailed Description

adxl345 test driver modules

Function Documentation

◆ adxl345_action_test_irq_handler()

uint8_t adxl345_action_test_irq_handler ( void )

action test irq

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

Definition at line 50 of file driver_adxl345_tap_action_fall_test.c.

Here is the call graph for this function:

◆ adxl345_fifo_test()

uint8_t adxl345_fifo_test ( adxl345_interface_t interface,
adxl345_address_t addr_pin )

fifo test

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

Definition at line 125 of file driver_adxl345_fifo_test.c.

Here is the call graph for this function:

◆ adxl345_fifo_test_irq_handler()

uint8_t adxl345_fifo_test_irq_handler ( void )

fifo test irq

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

Definition at line 52 of file driver_adxl345_fifo_test.c.

Here is the call graph for this function:

◆ adxl345_read_test()

uint8_t adxl345_read_test ( adxl345_interface_t interface,
adxl345_address_t addr_pin,
uint32_t times )

read test

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

Definition at line 54 of file driver_adxl345_read_test.c.

Here is the call graph for this function:

◆ adxl345_register_test()

uint8_t adxl345_register_test ( adxl345_interface_t interface,
adxl345_address_t addr_pin )

register test

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

Definition at line 52 of file driver_adxl345_register_test.c.

Here is the call graph for this function:

◆ adxl345_tap_action_fall_test()

uint8_t adxl345_tap_action_fall_test ( adxl345_interface_t interface,
adxl345_address_t addr_pin )

tap action fall test

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

Definition at line 156 of file driver_adxl345_tap_action_fall_test.c.

Here is the call graph for this function: