Please use AnalogAudioStream: A ADC and DAC API for the Arduino Giga.
More...
#include <AnalogDriverMBED.h>
|
|
| AnalogDriverMBED ()=default |
| | Default constructor.
|
| |
|
virtual | ~AnalogDriverMBED () |
| | Destructor.
|
| |
| virtual int | available () override |
| |
| int | availableForWrite () |
| |
| bool | begin (AnalogConfig cfg) |
| | starts the DAC
|
| |
| void | end () override |
| | stops the I2S and unistalls the driver
|
| |
|
void | flush () |
| |
| size_t | readBytes (uint8_t *dest, size_t size_bytes) override |
| |
| size_t | write (const uint8_t *src, size_t size_bytes) override |
| | writes the data to the I2S interface
|
| |
|
|
size_t | writeBuffer () |
| | The ringbuffer is used to make sure that we can write full SampleBuffers.
|
| |
Please use AnalogAudioStream: A ADC and DAC API for the Arduino Giga.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ available()
| virtual int available |
( |
| ) |
|
|
inlineoverridevirtual |
◆ availableForWrite()
| int availableForWrite |
( |
| ) |
|
|
inlinevirtual |
◆ begin()
◆ end()
◆ readBytes()
| size_t readBytes |
( |
uint8_t * |
dest, |
|
|
size_t |
size_bytes |
|
) |
| |
|
inlineoverridevirtual |
◆ write()
| size_t write |
( |
const uint8_t * |
src, |
|
|
size_t |
size_bytes |
|
) |
| |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: