![]() |
LibDriver HMC5883L
|
hmc5883l extend driver modules More...
Functions | |
| uint8_t | hmc5883l_set_reg (hmc5883l_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | hmc5883l_get_reg (hmc5883l_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
hmc5883l extend driver modules
| uint8_t hmc5883l_get_reg | ( | hmc5883l_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to an hmc5883l handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1099 of file driver_hmc5883l.c.
| uint8_t hmc5883l_set_reg | ( | hmc5883l_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to an hmc5883l handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1072 of file driver_hmc5883l.c.