NTC_THERMISTOR Driver 0.1.0
API reference
Loading...
Searching...
No Matches
ntc_thermistor::AdcPort Concept Reference

Satisfied by a class that derives from AdcInterface<Port> and implements the required hooks with exactly the types above, noexcept and returning bool (handbook KB-CPP20-006). More...

#include <ntc_thermistor_adc_interface.hpp>

Concept definition

template<typename Port>
concept ntc_thermistor::AdcPort = std::derived_from<Port, AdcInterface<Port>> && requires {
detail::ExactHook<Port, bool() noexcept>::Take(&Port::EnsureInitialized);
detail::ExactHook<Port, bool(uint8_t, uint32_t&) noexcept>::Take(&Port::ReadRaw);
}
Satisfied by a class that derives from AdcInterface<Port> and implements the required hooks with exac...
Definition ntc_thermistor_adc_interface.hpp:64

Detailed Description

Satisfied by a class that derives from AdcInterface<Port> and implements the required hooks with exactly the types above, noexcept and returning bool (handbook KB-CPP20-006).

Template Parameters
PortThe port class.