![]() |
LibDriver SCD4X
|
scd4x extern driver modules More...
Functions | |
| uint8_t | scd4x_set_reg (scd4x_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | scd4x_get_reg (scd4x_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len, uint16_t delay_ms) |
| get the chip register | |
scd4x extern driver modules
| uint8_t scd4x_get_reg | ( | scd4x_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len, | ||
| uint16_t | delay_ms ) |
get the chip register
| [in] | *handle | pointer to an scd4x 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 1872 of file driver_scd4x.c.
| uint8_t scd4x_set_reg | ( | scd4x_handle_t * | handle, |
| uint16_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to an scd4x handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1844 of file driver_scd4x.c.