HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
Loading...
Searching...
No Matches
IBno08xDriverOps Class Referenceabstract

Internal abstract interface for type-erasing the BNO085<CommType> template. More...

#include <Bno08xHandler.h>

Inheritance diagram for IBno08xDriverOps:
[legend]

Public Member Functions

virtual ~IBno08xDriverOps () noexcept=default
 
virtual bool Begin () noexcept=0
 
virtual void Update () noexcept=0
 
virtual bool EnableSensor (BNO085Sensor sensor, uint32_t interval_ms, float sensitivity) noexcept=0
 
virtual bool DisableSensor (BNO085Sensor sensor) noexcept=0
 
virtual void SetCallback (SensorCallback cb) noexcept=0
 
virtual bool HasNewData (BNO085Sensor sensor) const noexcept=0
 
virtual SensorEvent GetLatest (BNO085Sensor sensor) const noexcept=0
 
virtual int GetLastError () const noexcept=0
 
virtual void HardwareReset (uint32_t lowMs) noexcept=0
 
virtual void SetBootPin (bool state) noexcept=0
 
virtual void SetWakePin (bool state) noexcept=0
 
virtual void SelectInterface (BNO085Interface iface) noexcept=0
 
virtual BNO085Interface GetInterfaceType () noexcept=0
 

Detailed Description

Internal abstract interface for type-erasing the BNO085<CommType> template.

This enables the handler to work with both I2C and SPI transports without exposing template parameters to handler users.

Constructor & Destructor Documentation

◆ ~IBno08xDriverOps()

virtual IBno08xDriverOps::~IBno08xDriverOps ( )
virtualdefaultnoexcept

Member Function Documentation

◆ Begin()

virtual bool IBno08xDriverOps::Begin ( )
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

◆ DisableSensor()

virtual bool IBno08xDriverOps::DisableSensor ( BNO085Sensor sensor)
pure virtualnoexcept

◆ EnableSensor()

virtual bool IBno08xDriverOps::EnableSensor ( BNO085Sensor sensor,
uint32_t interval_ms,
float sensitivity )
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

◆ GetInterfaceType()

virtual BNO085Interface IBno08xDriverOps::GetInterfaceType ( )
pure virtualnoexcept

◆ GetLastError()

virtual int IBno08xDriverOps::GetLastError ( ) const
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

◆ GetLatest()

virtual SensorEvent IBno08xDriverOps::GetLatest ( BNO085Sensor sensor) const
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

◆ HardwareReset()

virtual void IBno08xDriverOps::HardwareReset ( uint32_t lowMs)
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

◆ HasNewData()

virtual bool IBno08xDriverOps::HasNewData ( BNO085Sensor sensor) const
pure virtualnoexcept

◆ SelectInterface()

virtual void IBno08xDriverOps::SelectInterface ( BNO085Interface iface)
pure virtualnoexcept

◆ SetBootPin()

virtual void IBno08xDriverOps::SetBootPin ( bool state)
pure virtualnoexcept

◆ SetCallback()

virtual void IBno08xDriverOps::SetCallback ( SensorCallback cb)
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

◆ SetWakePin()

virtual void IBno08xDriverOps::SetWakePin ( bool state)
pure virtualnoexcept

◆ Update()

virtual void IBno08xDriverOps::Update ( )
pure virtualnoexcept

Implemented in Bno08xDriverImpl< CommType >.

Here is the caller graph for this function:

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