![]() |
LibDriver APM2000
|
apm2000 extern driver modules More...
Functions | |
| uint8_t | apm2000_set_reg_iic (apm2000_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| set the chip register with iic interface | |
| uint8_t | apm2000_get_reg_iic (apm2000_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| get the chip register with iic interface | |
| uint8_t | apm2000_set_get_reg_uart (apm2000_handle_t *handle, uint8_t *input, uint16_t in_len, uint8_t *output, uint16_t out_len) |
| set and get the chip register with uart interface | |
apm2000 extern driver modules
| uint8_t apm2000_get_reg_iic | ( | apm2000_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register with iic interface
| [in] | *handle | pointer to an apm2000 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 799 of file driver_apm2000.c.
| uint8_t apm2000_set_get_reg_uart | ( | apm2000_handle_t * | handle, |
| uint8_t * | input, | ||
| uint16_t | in_len, | ||
| uint8_t * | output, | ||
| uint16_t | out_len ) |
set and get the chip register with uart interface
| [in] | *handle | pointer to an apm2000 handle structure |
| [in] | *input | pointer to an input buffer |
| [in] | in_len | input length |
| [out] | *output | pointer to an output buffer |
| [in] | out_len | output length |
Definition at line 727 of file driver_apm2000.c.
| uint8_t apm2000_set_reg_iic | ( | apm2000_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register with iic interface
| [in] | *handle | pointer to an apm2000 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 763 of file driver_apm2000.c.