LibDriver ADXL345  2.0.0
ADXL345 full-featured driver
adxl345 test driver function

adxl345 test driver modules More...

Functions

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

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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.