Struct hal::lpc40::adc::channel
ClassList > hal > lpc40 > adc > channel
Channel specific information.
#include <adc.hpp>
Public Attributes
Type | Name |
---|---|
pin | adc_pin ADC pin. |
hertz | clock_rate = = 1'000'000.0f |
uint8_t | index Channel data index. |
uint8_t | pin_function Pin mux function code. |
Public Attributes Documentation
variable adc_pin
pin hal::lpc40::adc::channel::adc_pin;
variable clock_rate
hertz hal::lpc40::adc::channel::clock_rate;
Default and highest sampling rate is 1 MHz. Careful as changing this for one channel changes this for all channels on the lpc40xx mcu.
variable index
uint8_t hal::lpc40::adc::channel::index;
variable pin_function
uint8_t hal::lpc40::adc::channel::pin_function;
The documentation for this class was generated from the following file libraries/include/libhal-lpc40/adc.hpp