MCP9700 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
mcp9700::AdcInterface< Derived > Class Template Reference

CRTP base of the platform ADC port. More...

#include <mcp9700_adc_interface.hpp>

Public Member Functions

 AdcInterface (const AdcInterface &)=delete
 Ports are not copied: the driver holds a reference.
 
AdcInterface & operator= (const AdcInterface &)=delete
 Ports are not copied: the driver holds a reference.
 

Protected Member Functions

 AdcInterface () noexcept=default
 Only the derived port is constructed.
 
 ~AdcInterface () noexcept=default
 Destroyed through the derived port only.
 

Detailed Description

template<typename Derived>
class mcp9700::AdcInterface< Derived >

CRTP base of the platform ADC port.

The base declares no hook itself (a forwarding hook would turn a missing override into infinite recursion); the driver checks your class with the AdcPort concept.

Template Parameters
DerivedYour port class.

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