AMS Advanced Air Mobility Sensors UG
Loading...
Searching...
No Matches
CIcm20789Driver Class Reference
Inheritance diagram for CIcm20789Driver:
CSoftwareComponent< CIcm20789Driver, 2U >

Public Types

enum class  EIcmIds : uint8_t { eInvalid = 0 , eIcm1 , eIcm2 }
 ICM20789 chip instances supported by the driver. More...
 

Public Member Functions

void PollPressureSensor ()
 Implements an iteration of cyclic data exchange with the pressure sensor.
 
void PollInertialSensor ()
 Implements an iteration of cyclic data exchange with the inertial sensor.
 
bool RequestInertialSensorDataDma ()
 Request IMU data in DMA mode. When reception is completed, received bytes can be processed in the interrupt handler.
 
bool RequestPressureSensorDataDma ()
 Request pressure data in DMA mode. When reception is completed, received bytes can be processed in the interrupt handler.
 
bool TriggerPressureMeasurement ()
 Trigger measuring sequence of the pressure sensor.
 
void ParseReceivedImuDataDma ()
 Parses IMU data received in DMA mode.
 
void ParseReceivedPressureDataDma ()
 Parses pressure data received in DMA mode.
 
void InvalidateImuOutputPort ()
 
void InvalidatePressureOutputPort ()
 
- Public Member Functions inherited from CSoftwareComponent< CIcm20789Driver, 2U >
virtual void Init ()=0
 
virtual bool IsInitialized ()=0
 

Friends

class CSoftwareComponent< CIcm20789Driver, 2U >
 

Additional Inherited Members

- Static Public Member Functions inherited from CSoftwareComponent< CIcm20789Driver, 2U >
static CIcm20789DriverGetInstance (unsigned uInstanceIndex=0U)
 
- Static Public Attributes inherited from CSoftwareComponent< CIcm20789Driver, 2U >
static constexpr unsigned skuInstanceCount_
 
- Protected Member Functions inherited from CSoftwareComponent< CIcm20789Driver, 2U >
 CSoftwareComponent ()=default
 
 ~CSoftwareComponent ()=default
 

Member Enumeration Documentation

◆ EIcmIds

enum class CIcm20789Driver::EIcmIds : uint8_t
strong

ICM20789 chip instances supported by the driver.

Enumerator
eInvalid 

Invalid ICM chip.

eIcm1 

The first ICM20789.

eIcm2 

The second ICM20789.

Member Function Documentation

◆ InvalidateImuOutputPort()

void CIcm20789Driver::InvalidateImuOutputPort ( )

Writes default invalid data to IMU output port.

◆ InvalidatePressureOutputPort()

void CIcm20789Driver::InvalidatePressureOutputPort ( )

Writes default invalid data to pressure output port.

◆ ParseReceivedImuDataDma()

void CIcm20789Driver::ParseReceivedImuDataDma ( )

Parses IMU data received in DMA mode.

◆ ParseReceivedPressureDataDma()

void CIcm20789Driver::ParseReceivedPressureDataDma ( )

Parses pressure data received in DMA mode.

◆ PollInertialSensor()

void CIcm20789Driver::PollInertialSensor ( )

Implements an iteration of cyclic data exchange with the inertial sensor.

◆ PollPressureSensor()

void CIcm20789Driver::PollPressureSensor ( )

Implements an iteration of cyclic data exchange with the pressure sensor.

◆ RequestInertialSensorDataDma()

bool CIcm20789Driver::RequestInertialSensorDataDma ( )

Request IMU data in DMA mode. When reception is completed, received bytes can be processed in the interrupt handler.

Returns
Status of the DMA request, true – OK, false otherwise.

◆ RequestPressureSensorDataDma()

bool CIcm20789Driver::RequestPressureSensorDataDma ( )

Request pressure data in DMA mode. When reception is completed, received bytes can be processed in the interrupt handler.

Returns
Status of the DMA request, true – OK, false otherwise.

◆ TriggerPressureMeasurement()

bool CIcm20789Driver::TriggerPressureMeasurement ( )

Trigger measuring sequence of the pressure sensor.

Returns
True – success, false – failure.

Friends And Related Function Documentation

◆ CSoftwareComponent< CIcm20789Driver, 2U >

friend class CSoftwareComponent< CIcm20789Driver, 2U >
friend

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