Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
LSM6DS3 Class Reference
Inheritance diagram for LSM6DS3:
LSM6DS3Core

Public Types

enum  InterruptType {
  None , Fall , BigMotion , Step ,
  AngleChange
}
 

Public Member Functions

 LSM6DS3 (uint8_t busType=I2C_MODE, uint8_t inputArg=0x6A)
 
status_t begin (void)
 
int16_t readRawAccelX (void)
 
int16_t readRawAccelY (void)
 
int16_t readRawAccelZ (void)
 
int16_t readRawGyroX (void)
 
int16_t readRawGyroY (void)
 
int16_t readRawGyroZ (void)
 
float readFloatAccelX (void)
 
float readFloatAccelY (void)
 
float readFloatAccelZ (void)
 
float readFloatGyroX (void)
 
float readFloatGyroY (void)
 
float readFloatGyroZ (void)
 
int16_t readRawTemp (void)
 
float readTempC (void)
 
float readTempF (void)
 
void fifoBegin (void)
 
void fifoClear (void)
 
int16_t fifoRead (void)
 
uint16_t fifoGetStatus (void)
 
void fifoEnd (void)
 
bool enable_interrupt1 (const InterruptType interr)
 
float calcGyro (int16_t)
 
float calcAccel (int16_t)
 
status_t beginCore (void)
 
status_t readRegisterRegion (uint8_t *, uint8_t, uint8_t)
 
status_t readRegister (uint8_t *, uint8_t)
 
status_t readRegisterInt16 (int16_t *, uint8_t offset)
 
status_t writeRegister (uint8_t, uint8_t)
 
status_t embeddedPage (void)
 
status_t basePage (void)
 

Public Attributes

SensorSettings settings
 
uint16_t allOnesCounter
 
uint16_t nonSuccessCounter
 

Protected Member Functions

bool enable_free_fall_detection ()
 
bool enable_big_motion_detection ()
 

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