CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
IEspHardware.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
cdc_core/IService.h
"
4
5
namespace
cdc::hal
{
6
12
class
IEspHardware
:
public
core::IService
{
13
public
:
14
virtual
~IEspHardware
() =
default
;
15
21
virtual
bool
getTemperatureC
(
float
* outC) = 0;
22
};
23
24
// Factory function
25
IEspHardware
*
getEspHardwareInstance
();
26
27
}
// namespace cdc::hal
IService.h
cdc::core::IService
Definition
IService.h:27
cdc::hal::IEspHardware
Definition
IEspHardware.h:12
cdc::hal::IEspHardware::getTemperatureC
virtual bool getTemperatureC(float *outC)=0
cdc::hal::IEspHardware::~IEspHardware
virtual ~IEspHardware()=default
cdc::hal
Definition
IBluetoothController.h:8
cdc::hal::getEspHardwareInstance
IEspHardware * getEspHardwareInstance()
Definition
EspHardware.cpp:92
components
cdc_hal
include
cdc_hal
IEspHardware.h
Generated by
1.16.1