![]() |
LibDriver MMA7660FC
|
mma7660fc extend driver modules More...
Functions | |
| uint8_t | mma7660fc_set_reg (mma7660fc_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| set the chip register | |
| uint8_t | mma7660fc_get_reg (mma7660fc_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| get the chip register | |
mma7660fc extend driver modules
| uint8_t mma7660fc_get_reg | ( | mma7660fc_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
get the chip register
| [in] | *handle | pointer to a mma7660fc handle structure |
| [in] | reg | iic register address |
| [out] | *buf | pointer to a data buffer |
| [in] | len | buffer length |
Definition at line 2524 of file driver_mma7660fc.c.
| uint8_t mma7660fc_set_reg | ( | mma7660fc_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len ) |
set the chip register
| [in] | *handle | pointer to a mma7660fc handle structure |
| [in] | reg | iic register address |
| [in] | *buf | pointer to a data buffer |
| [in] | len | buffer length |
Definition at line 2497 of file driver_mma7660fc.c.