![]() |
LibDriver TCS34725
|
tcs34725 extend driver modules More...
Functions | |
| uint8_t | tcs34725_set_reg (tcs34725_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | tcs34725_get_reg (tcs34725_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
tcs34725 extend driver modules
| uint8_t tcs34725_get_reg | ( | tcs34725_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to a tcs34725 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1262 of file driver_tcs34725.c.
| uint8_t tcs34725_set_reg | ( | tcs34725_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to a tcs34725 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1225 of file driver_tcs34725.c.