AMS Advanced Air Mobility Sensors UG
Loading...
Searching...
No Matches
CBmm150Driver Class Reference

The class implements the BMM150 Driver. The driver adjusts the sensor BMM150. More...

Inheritance diagram for CBmm150Driver:
CSoftwareComponent< CBmm150Driver, 2U >

Classes

struct  STrimRegData
 Structure of BMM150 compensation trim parameters. More...
 

Public Types

enum class  EBmmIds : uint8_t { eInvalid = 0 , eBmm1 , eBmm2 }
 BMM150 chips supported by the driver. More...
 

Public Member Functions

void Bmm150ReadMagData (void)
 Read Magnetic data from BMM150 Sensor.
 
- Public Member Functions inherited from CSoftwareComponent< CBmm150Driver, 2U >
virtual void Init ()=0
 
virtual bool IsInitialized ()=0
 

Static Public Attributes

static constexpr int16_t skiOvrflwAdcValXYaxisFlip_ { -4096 }
 
static constexpr int16_t skiOvrflwAdcValZaxisHall_ { -16384 }
 
static constexpr int16_t skiNegSaturationZaxis_ { -32767 }
 
static constexpr int16_t skiPosSaturationZaxis_ { 32767 }
 
static constexpr int32_t skiOvrflwOutput_ { -32768 }
 
- Static Public Attributes inherited from CSoftwareComponent< CBmm150Driver, 2U >
static constexpr unsigned skuInstanceCount_
 

Friends

class CSoftwareComponent< CBmm150Driver, 2U >
 

Additional Inherited Members

- Static Public Member Functions inherited from CSoftwareComponent< CBmm150Driver, 2U >
static CBmm150DriverGetInstance (unsigned uInstanceIndex=0U)
 
- Protected Member Functions inherited from CSoftwareComponent< CBmm150Driver, 2U >
 CSoftwareComponent ()=default
 
 ~CSoftwareComponent ()=default
 

Detailed Description

The class implements the BMM150 Driver. The driver adjusts the sensor BMM150.

Member Enumeration Documentation

◆ EBmmIds

enum class CBmm150Driver::EBmmIds : uint8_t
strong

BMM150 chips supported by the driver.

Enumerator
eInvalid 

Invalid BMM chip.

eBmm1 

The first BMM150.

eBmm2 

The second BMM150.

Member Function Documentation

◆ Bmm150ReadMagData()

void CBmm150Driver::Bmm150ReadMagData ( void  )

Read Magnetic data from BMM150 Sensor.

Friends And Related Function Documentation

◆ CSoftwareComponent< CBmm150Driver, 2U >

friend class CSoftwareComponent< CBmm150Driver, 2U >
friend

Member Data Documentation

◆ skiNegSaturationZaxis_

constexpr int16_t CBmm150Driver::skiNegSaturationZaxis_ { -32767 }
staticconstexpr

◆ skiOvrflwAdcValXYaxisFlip_

constexpr int16_t CBmm150Driver::skiOvrflwAdcValXYaxisFlip_ { -4096 }
staticconstexpr

◆ skiOvrflwAdcValZaxisHall_

constexpr int16_t CBmm150Driver::skiOvrflwAdcValZaxisHall_ { -16384 }
staticconstexpr

◆ skiOvrflwOutput_

constexpr int32_t CBmm150Driver::skiOvrflwOutput_ { -32768 }
staticconstexpr

◆ skiPosSaturationZaxis_

constexpr int16_t CBmm150Driver::skiPosSaturationZaxis_ { 32767 }
staticconstexpr

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