YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
adc_rp2350_channel Class Reference
Inheritance diagram for adc_rp2350_channel:
adc_channel

Public Member Functions

 adc_rp2350_channel (uint16_t c)
 
- Public Member Functions inherited from adc_channel
 adc_channel (adc_interface &interf)
 
 adc_channel (adc_interface &interf, uint8_t c)
 
void setChannel (uint8_t c)
 
void adcMode (adc_mode_t mode)
 
adc_mode_t getMode ()
 
uint16_t adcReadRaw ()
 
float adcReadVoltage ()
 
float rawToVoltage (uint16_t raw)
 

Additional Inherited Members

- Protected Attributes inherited from adc_channel
adc_interface_interf
 
uint8_t _channel
 

Detailed Description

Definition at line 45 of file adc_rp2350.h.

Constructor & Destructor Documentation

◆ adc_rp2350_channel() [1/2]

adc_rp2350_channel::adc_rp2350_channel ( )
inline

Definition at line 47 of file adc_rp2350.h.

◆ adc_rp2350_channel() [2/2]

adc_rp2350_channel::adc_rp2350_channel ( uint16_t c)
inlineexplicit

Definition at line 50 of file adc_rp2350.h.


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