Avionics
Core avionics package for CURE flight computers
Loading...
Searching...
No Matches
Adafruit_LIS2MDL Class Reference

#include <Serial_Sim_LIS2MDL.h>

Collaboration diagram for Adafruit_LIS2MDL:
Collaboration graph

Public Member Functions

 Adafruit_LIS2MDL ()
bool begin_SPI (int cs)
bool begin (int addr)
void setDataRate (int rate)
void enableInterrupts (bool a)
int getDataRate ()
void getEvent (sensors_event_t *mag)

Detailed Description

Definition at line 6 of file Serial_Sim_LIS2MDL.h.

Constructor & Destructor Documentation

◆ Adafruit_LIS2MDL()

Adafruit_LIS2MDL::Adafruit_LIS2MDL ( )
inline

Definition at line 8 of file Serial_Sim_LIS2MDL.h.

Member Function Documentation

◆ begin()

bool Adafruit_LIS2MDL::begin ( int addr)
inline

Definition at line 11 of file Serial_Sim_LIS2MDL.h.

◆ begin_SPI()

bool Adafruit_LIS2MDL::begin_SPI ( int cs)
inline

Definition at line 10 of file Serial_Sim_LIS2MDL.h.

◆ enableInterrupts()

void Adafruit_LIS2MDL::enableInterrupts ( bool a)
inline

Definition at line 14 of file Serial_Sim_LIS2MDL.h.

◆ getDataRate()

int Adafruit_LIS2MDL::getDataRate ( )
inline

Definition at line 16 of file Serial_Sim_LIS2MDL.h.

◆ getEvent()

void Adafruit_LIS2MDL::getEvent ( sensors_event_t * mag)
inline

Definition at line 18 of file Serial_Sim_LIS2MDL.h.

◆ setDataRate()

void Adafruit_LIS2MDL::setDataRate ( int rate)
inline

Definition at line 13 of file Serial_Sim_LIS2MDL.h.


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