Mock LIS3MDL magnetometer sourcing readings from SerialSim.
More...
#include <Serial_Sim_LIS3MDL.h>
Mock LIS3MDL magnetometer sourcing readings from SerialSim.
- Note
- When to use: magnetometer-dependent code paths during desktop or HIL testing without the physical sensor.
Definition at line 11 of file Serial_Sim_LIS3MDL.h.
◆ Adafruit_LIS3MDL()
| Adafruit_LIS3MDL::Adafruit_LIS3MDL |
( |
| ) |
|
|
inline |
◆ begin_I2C() [1/2]
| bool Adafruit_LIS3MDL::begin_I2C |
( |
| ) |
|
|
inline |
◆ begin_I2C() [2/2]
| bool Adafruit_LIS3MDL::begin_I2C |
( |
int | addr | ) |
|
|
inline |
◆ begin_SPI()
| bool Adafruit_LIS3MDL::begin_SPI |
( |
int | cs | ) |
|
|
inline |
◆ configInterrupt() [1/2]
| void Adafruit_LIS3MDL::configInterrupt |
( |
bool | a, |
|
|
bool | b, |
|
|
bool | c ) |
|
inline |
◆ configInterrupt() [2/2]
| void Adafruit_LIS3MDL::configInterrupt |
( |
bool | a, |
|
|
bool | b, |
|
|
bool | c, |
|
|
bool | d, |
|
|
bool | e, |
|
|
bool | f ) |
|
inline |
◆ getDataRate()
| int Adafruit_LIS3MDL::getDataRate |
( |
| ) |
|
|
inline |
◆ getEvent()
| void Adafruit_LIS3MDL::getEvent |
( |
sensors_event_t * | mag | ) |
|
|
inline |
◆ getIntThreshold()
| uint16_t Adafruit_LIS3MDL::getIntThreshold |
( |
| ) |
|
|
inline |
◆ getOperationMode()
| int Adafruit_LIS3MDL::getOperationMode |
( |
| ) |
|
|
inline |
◆ getPerformanceMode()
| int Adafruit_LIS3MDL::getPerformanceMode |
( |
| ) |
|
|
inline |
◆ getRange()
| int Adafruit_LIS3MDL::getRange |
( |
| ) |
|
|
inline |
◆ setDataRate()
| void Adafruit_LIS3MDL::setDataRate |
( |
int | rate | ) |
|
|
inline |
◆ setIntThreshold()
| void Adafruit_LIS3MDL::setIntThreshold |
( |
int | threshold | ) |
|
|
inline |
◆ setOperationMode()
| void Adafruit_LIS3MDL::setOperationMode |
( |
int | mode | ) |
|
|
inline |
◆ setPerformanceMode()
| void Adafruit_LIS3MDL::setPerformanceMode |
( |
int | mode | ) |
|
|
inline |
◆ setRange()
| void Adafruit_LIS3MDL::setRange |
( |
int | range | ) |
|
|
inline |
The documentation for this class was generated from the following file: