ADC facilities are defined in the
include/picolibrary/adc.h/source/picolibrary/adc.cc
header/source file pair.
The ::picolibrary::ADC::Sample template class is used to store ADC samples.
::picolibrary::ADC::Sample::min() static
member function.::picolibrary::ADC::Sample::max() static
member function.::picolibrary::ADC::Sample::as_unsigned_integer() member function.::picolibrary::ADC::Sample automated tests are defined in the
test/automated/picolibrary/adc/sample/main.cc
source file.
A std::ostream insertion operator is defined for ::picolibrary::ADC::Sample if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The insertion operator is defined in the
include/picolibrary/testing/automated/adc.h/source/picolibrary/testing/automated/adc.cc
header/source file pair.
The ::picolibrary::ADC::Blocking_Single_Sample_Converter_Concept concept class defines
the expected interface of a blocking, single sample ADC implementation.
initialize() member
function.sample() member function.The ::picolibrary::Testing::Automated::ADC::Mock_Blocking_Single_Sample_Converter mock
blocking, single sample ADC class is available if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The mock is defined in the
include/picolibrary/testing/automated/adc.h/source/picolibrary/testing/automated/adc.cc
header/source file pair.
The ::picolibrary::Testing::Interactive::ADC::sample_blocking_single_sample_converter()
interactive test helper is available if the PICOLIBRARY_ENABLE_INTERACTIVE_TESTING
project configuration option is ON.
The interactive test helper is defined in the
include/picolibrary/testing/interactive/adc.h/source/picolibrary/testing/interactive/adc.cc
header/source file pair.
The ::picolibrary::ADC::Non_Blocking_Single_Sample_Converter_Concept concept class
defines the expected interface of a non-blocking, single sample ADC implementation.
initialize() member
function.initiate_conversion() member
function.sample_is_available()
member function.sample() member function.The ::picolibrary::Testing::Automated::ADC::Mock_Non_Blocking_Single_Sample_Converter
mock non-blocking, single sample ADC class is available if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The mock is defined in the
include/picolibrary/testing/automated/adc.h/source/picolibrary/testing/automated/adc.cc
header/source file pair.
The ::picolibrary::ADC::Blocking_Free_Running_Converter_Concept concept class defines
the expected interface of a blocking, free running ADC implementation.
initialize() member
function.start_converter() member function.stop_converter() member function.sample() member function.The ::picolibrary::Testing::Automated::ADC::Mock_Blocking_Free_Running_Converter mock
blocking, free running ADC class is available if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The mock is defined in the
include/picolibrary/testing/automated/adc.h/source/picolibrary/testing/automated/adc.cc
header/source file pair.
The ::picolibrary::ADC::Non_Blocking_Free_Running_Converter_Concept concept class
defines the expected interface of a non-blocking, free running ADC implementation.
initialize() member
function.start_converter() member function.stop_converter() member function.sample_is_available()
member function.sample() member function.The ::picolibrary::Testing::Automated::ADC::Mock_Non_Blocking_Free_Running_Converter
mock non-blocking, free running ADC class is available if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON.
The mock is defined in the
include/picolibrary/testing/automated/adc.h/source/picolibrary/testing/automated/adc.cc
header/source file pair.