![]() |
LibDriver SPS30
1.0.0
SPS30 full-featured driver
|
sps30 extern driver modules More...
Functions | |
uint8_t | sps30_set_reg_iic (sps30_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
set the chip register with iic interface More... | |
uint8_t | sps30_get_reg_iic (sps30_handle_t *handle, uint16_t reg, uint8_t *buf, uint16_t len) |
get the chip register with iic interface More... | |
uint8_t | sps30_set_get_reg_uart (sps30_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 More... | |
sps30 extern driver modules
uint8_t sps30_get_reg_iic | ( | sps30_handle_t * | handle, |
uint16_t | reg, | ||
uint8_t * | buf, | ||
uint16_t | len | ||
) |
get the chip register with iic interface
[in] | *handle | pointer to an sps30 handle structure |
[in] | reg | iic register address |
[out] | *buf | pointer to a data buffer |
[in] | len | data buffer length |
Definition at line 2241 of file driver_sps30.c.
uint8_t sps30_set_get_reg_uart | ( | sps30_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 sps30 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 2169 of file driver_sps30.c.
uint8_t sps30_set_reg_iic | ( | sps30_handle_t * | handle, |
uint16_t | reg, | ||
uint8_t * | buf, | ||
uint16_t | len | ||
) |
set the chip register with iic interface
[in] | *handle | pointer to an sps30 handle structure |
[in] | reg | iic register address |
[in] | *buf | pointer to a data buffer |
[in] | len | data buffer length |
Definition at line 2205 of file driver_sps30.c.