![]() |
LibDriver TSL2561
|
tsl2561 extend driver modules More...
Functions | |
| uint8_t | tsl2561_set_reg (tsl2561_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | tsl2561_get_reg (tsl2561_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
tsl2561 extend driver modules
| uint8_t tsl2561_get_reg | ( | tsl2561_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to a tsl2561 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1012 of file driver_tsl2561.c.
| uint8_t tsl2561_set_reg | ( | tsl2561_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to a tsl2561 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 976 of file driver_tsl2561.c.