CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::hal::IEspHardware Class Referenceabstract

#include <IEspHardware.h>

Inheritance diagram for cdc::hal::IEspHardware:
cdc::core::IService cdc::hal::EspHardware

Public Member Functions

virtual ~IEspHardware ()=default
virtual bool getTemperatureC (float *outC)=0
Public Member Functions inherited from cdc::core::IService
virtual ~IService ()=default
virtual bool init ()=0
virtual bool start ()=0
virtual void stop ()=0
virtual ServiceState getState () const =0
virtual const char * getName () const =0

Detailed Description

ESP Hardware helper interface

Provides access to ESP-specific hardware features.

Definition at line 12 of file IEspHardware.h.

Constructor & Destructor Documentation

◆ ~IEspHardware()

virtual cdc::hal::IEspHardware::~IEspHardware ( )
virtualdefault

Member Function Documentation

◆ getTemperatureC()

virtual bool cdc::hal::IEspHardware::getTemperatureC ( float * outC)
pure virtual

Read internal temperature sensor in Celsius.

Parameters
outCOutput temperature
Returns
true on success

Implemented in cdc::hal::EspHardware.


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