![]() |
LibDriver STCC4
|
stcc4 extern driver modules More...
Functions | |
| uint8_t | stcc4_set_reg (stcc4_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | stcc4_get_reg (stcc4_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len, uint16_t delay_ms) |
| get the chip register | |
stcc4 extern driver modules
| uint8_t stcc4_get_reg | ( | stcc4_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len, | ||
| uint16_t | delay_ms ) |
get the chip register
| [in] | *handle | pointer to a stcc4 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
| [in] | delay_ms | delay time in ms |
Definition at line 1337 of file driver_stcc4.c.
| uint8_t stcc4_set_reg | ( | stcc4_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to a stcc4 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1309 of file driver_stcc4.c.