12 #ifndef NMH1000_DRIVER_H_ 13 #define NMH1000_DRIVER_H_ 19 #include "sensor_common.h" sensor_comm_handle_t comHandle
enum nmh1000_error_code nmh1000_error_code_t
nmh1000 error_code
uint8_t nmh1000_write_reg(nmh1000_driver_t *pDriver, uint16_t pWriteAddress, uint8_t data)
The interface function write to a nmh1000 sensor register.
struct nmh1000_driver nmh1000_driver_t
nmh1000_error_code
nmh1000 error_code
uint8_t nmh1000_read_reg(nmh1000_driver_t *pDriver, uint16_t address, uint8_t *pReadBuffer)
The interface function read from the nmh1000 sensor register.
uint8_t nmh1000_init(nmh1000_driver_t *pDriver)
The interface function to initialize the nmh1000 sensor.
uint8_t nmh1000_get_magnetic_data(nmh1000_driver_t *pDriver, uint8_t *pMagData)
The interface function to get magnetic data.