Sample program for interfacing with PNI's RM3100 Breakout Board

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

RM3100MagDriver.h File Reference

RM3100MagDriver.h File Reference

RM3100 driver. More...

Go to the source code of this file.

Enumerations

enum  SensorPowerMode
 

Possible sensor power modes supported.

More...
enum  SensorStatus {
  SensorOK, SensorInitialized, SensorUnknownError, SensorErrorNonExistant,
  SensorErrorUnexpectedDevice, SensorStatusPending = 255
}
 

Sensor status results.

More...

Detailed Description

RM3100 driver.

Authors:
Betty Zhang, Daniel Delsuc
Date:
03/03/2017 (C) 2017 PNI Corp

This sample code is provided "as is" without express or implied warranty.

Definition in file RM3100MagDriver.h.


Enumeration Type Documentation

Possible sensor power modes supported.

Definition at line 75 of file RM3100MagDriver.h.

Sensor status results.

Enumerator:
SensorOK 

Sensor responded with expected data.

SensorInitialized 

Sensor has been initialized.

SensorUnknownError 

An unknown error has occurred.

SensorErrorNonExistant 

Unable to communicate with sensor, sensor did not ACK.

SensorErrorUnexpectedDevice 

A different sensor was detected at the address.

SensorStatusPending 

Reserved for internal used.

Definition at line 86 of file RM3100MagDriver.h.