![]() |
LibDriver MAG3110
|
mag3110 extend driver modules More...
Functions | |
| uint8_t | mag3110_set_reg (mag3110_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | mag3110_get_reg (mag3110_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
mag3110 extend driver modules
| uint8_t mag3110_get_reg | ( | mag3110_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to a mag3110 handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1391 of file driver_mag3110.c.
| uint8_t mag3110_set_reg | ( | mag3110_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to a mag3110 handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | data buffer length |
Definition at line 1364 of file driver_mag3110.c.