LibDriver PCA9685
Loading...
Searching...
No Matches
pca9685 test driver function

pca9685 test driver modules More...

Collaboration diagram for pca9685 test driver function:

Functions

uint8_t pca9685_register_test (pca9685_address_t addr)
 register test
uint8_t pca9685_servo_write_test (pca9685_address_t addr, pca9685_channel_t channel, uint32_t times)
 servo write test

Detailed Description

pca9685 test driver modules

Function Documentation

◆ pca9685_register_test()

uint8_t pca9685_register_test ( pca9685_address_t addr)

register test

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

Definition at line 50 of file driver_pca9685_register_test.c.

Here is the call graph for this function:

◆ pca9685_servo_write_test()

uint8_t pca9685_servo_write_test ( pca9685_address_t addr,
pca9685_channel_t channel,
uint32_t times )

servo write test

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

Definition at line 51 of file driver_pca9685_write_test.c.

Here is the call graph for this function: