#include <AnalogDriverBase.h>
|
| static void | scaleTo16Bits (uint8_t *data, size_t size_bytes, int adc_bits, bool is_centered) |
| |
◆ available()
| virtual int available |
( |
| ) |
|
|
pure virtual |
◆ availableForWrite()
| virtual int availableForWrite |
( |
| ) |
|
|
inlinevirtual |
◆ begin()
◆ end()
◆ readBytes()
| virtual size_t readBytes |
( |
uint8_t * |
dest, |
|
|
size_t |
size_bytes |
|
) |
| |
|
pure virtual |
◆ scaleTo16Bits()
| static void scaleTo16Bits |
( |
uint8_t * |
data, |
|
|
size_t |
size_bytes, |
|
|
int |
adc_bits, |
|
|
bool |
is_centered |
|
) |
| |
|
inlinestaticprotected |
Scales int16_t samples with adc_bits resolution to the full 16 bit range. If the samples are not centered yet, the midpoint of the ADC range is subtracted first.
◆ write()
| virtual size_t write |
( |
const uint8_t * |
src, |
|
|
size_t |
size_bytes |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: