Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
HMC5883L Struct Reference

Implementation of the HMC5883L multi-chip three-axis magnetic sensor. More...

#include <HMC5883L.h>

Inherits I2C::Device.

Collaboration diagram for HMC5883L:
[legend]

Public Member Functions

 HMC5883L (Sink< I2C::Request > &bus, enum ADDR addr=DEFAULT)
 initialize the sensor
 
void measure ()
 start async read of angle
 
void callback (const I2C::Request &rq) override
 callback.
 

Public Attributes

const uint8_t address
 unshifted 7bit I2C device address
 

Detailed Description

Implementation of the HMC5883L multi-chip three-axis magnetic sensor.

see for details

Member Function Documentation

◆ callback()

void HMC5883L::callback ( const I2C::Request req)
inlineoverridevirtual

callback.

is called as soon as transmission completed successfully

Implements I2C::Device.


The documentation for this struct was generated from the following file: