diff --git a/AudioRadioRelay_8ino-example.html b/AudioRadioRelay_8ino-example.html index e90777d..99f4715 100644 --- a/AudioRadioRelay_8ino-example.html +++ b/AudioRadioRelay_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -230,16 +230,16 @@
void dacHandler(void)
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
uint8_t adcBuffer[MAX_BUFFER_SIZE]
-
bool autoAdjust
-
uint8_t dacBuffer[MAX_BUFFER_SIZE]
+
uint8_t adcBuffer[MAX_BUFFER_SIZE]
+
bool autoAdjust
+
uint8_t dacBuffer[MAX_BUFFER_SIZE]
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/AutoAnalogAudio_8cpp.html b/AutoAnalogAudio_8cpp.html index 1b21713..69c4e95 100644 --- a/AutoAnalogAudio_8cpp.html +++ b/AutoAnalogAudio_8cpp.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -91,7 +91,7 @@
diff --git a/AutoAnalogAudio_8cpp_source.html b/AutoAnalogAudio_8cpp_source.html index fc498d6..7b50978 100644 --- a/AutoAnalogAudio_8cpp_source.html +++ b/AutoAnalogAudio_8cpp_source.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -511,29 +511,29 @@
446#endif //#if defined (ESP32)
void adcInterrupts(bool enabled=true)
void dacHandler(void)
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
void rampIn(uint8_t sample)
-
uint8_t adcBuffer[MAX_BUFFER_SIZE]
+
uint8_t adcBuffer[MAX_BUFFER_SIZE]
AutoAnalog()
-
uint8_t dacBuffer[MAX_BUFFER_SIZE]
-
TaskHandle_t dacTaskHandle
+
uint8_t dacBuffer[MAX_BUFFER_SIZE]
+
TaskHandle_t dacTaskHandle
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
-
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
+
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
void rampOut(uint8_t sample)
void disableDAC(bool withinTask=false)
-
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
void dacInterrupts(bool enabled=true, bool withinTask=false)
void enableAdcChannel(uint8_t pinAx)
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
-
uint8_t adcBitsPerSample
+
uint8_t adcBitsPerSample
void triggerADC()
void disableAdcChannel(uint8_t pinAx)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/AutoAnalogAudio_8h.html b/AutoAnalogAudio_8h.html index 4d91b85..2786d72 100644 --- a/AutoAnalogAudio_8h.html +++ b/AutoAnalogAudio_8h.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -155,7 +155,7 @@

diff --git a/AutoAnalogAudio_8h_source.html b/AutoAnalogAudio_8h_source.html index fa732f4..3f1652d 100644 --- a/AutoAnalogAudio_8h_source.html +++ b/AutoAnalogAudio_8h_source.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -121,191 +121,214 @@
41
50
-
52 void begin(bool enADC, bool enDAC, uint8_t _useI2S = false);
-
53
-
57 void triggerADC();
-
58
-
67 void getADC(uint32_t samples = MAX_BUFFER_SIZE);
-
68
-
75 void feedDAC(uint8_t dacChannel = 0, uint32_t samples = MAX_BUFFER_SIZE, bool startInterrupts = false);
-
76
-
82 uint8_t dacBuffer[MAX_BUFFER_SIZE];
-
83
-
89 uint8_t adcBuffer[MAX_BUFFER_SIZE];
-
90
-
96 uint16_t dacBuffer16[MAX_BUFFER_SIZE];
-
97
-
103 #if !defined (ARDUINO_ARCH_NRF52840) && !defined (ARDUINO_ARCH_NRF52) && !defined ARDUINO_NRF52840_FEATHER
-
104 uint16_t adcBuffer16[MAX_BUFFER_SIZE];
-
105 #elif defined __MBED__
-
106 inline static uint16_t adcBuffer16[MAX_BUFFER_SIZE];
-
107 #else
-
108 static uint16_t adcBuffer16[MAX_BUFFER_SIZE];
-
109 #endif
-
110
-
115 void setSampleRate(uint32_t sampRate = 0, bool stereo = false);
-
116
-
118 void dacHandler(void);
-
119
- +
58 void begin(bool enADC, bool enDAC, uint8_t _useI2S = false);
+
59
+
63 void triggerADC();
+
64
+
73 void getADC(uint32_t samples = MAX_BUFFER_SIZE);
+
74
+
81 void feedDAC(uint8_t dacChannel = 0, uint32_t samples = MAX_BUFFER_SIZE, bool startInterrupts = false);
+
82
+
88 uint8_t dacBuffer[MAX_BUFFER_SIZE];
+
89
+
95 uint8_t adcBuffer[MAX_BUFFER_SIZE];
+
96
+
102 uint16_t dacBuffer16[MAX_BUFFER_SIZE];
+
103
+
109 #if !defined (ARDUINO_ARCH_NRF52840) && !defined (ARDUINO_ARCH_NRF52) && !defined ARDUINO_NRF52840_FEATHER
+
110 uint16_t adcBuffer16[MAX_BUFFER_SIZE];
+
111 #elif defined __MBED__
+
112 inline static uint16_t adcBuffer16[MAX_BUFFER_SIZE];
+
113 #else
+
114 static uint16_t adcBuffer16[MAX_BUFFER_SIZE];
+
115 #endif
+
116
+
121 void setSampleRate(uint32_t sampRate = 0, bool stereo = false);
+
122
+
124 void dacHandler(void);
125
-
126
- -
136
- -
147
-
155 void enableAdcChannel(uint8_t pinAx);
-
156
-
161 void disableAdcChannel(uint8_t pinAx);
+ +
131
+
132
+ +
142
+ +
153
+
161 void enableAdcChannel(uint8_t pinAx);
162
-
167 void disableDAC(bool withinTask = false);
+
167 void disableAdcChannel(uint8_t pinAx);
168
-
179 void adcInterrupts(bool enabled = true);
-
180
-
181 void dacInterrupts(bool enabled = true, bool withinTask = false);
-
182
-
183 #if defined (ESP32) || defined (DOXYGEN_FORCED)
-
187 void rampOut(uint8_t sample);
-
188 void rampIn(uint8_t sample);
-
189 TaskHandle_t dacTaskHandle;
-
190 #endif
-
191
-
194#if defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) && !defined ARDUINO_NRF52840_FEATHER && defined __MBED__
-
195 inline static uint8_t aCtr;
-
196 inline static uint32_t aSize;
-
197 inline static uint16_t *buf0 = NULL;
-
198 inline static uint16_t *buf1 = NULL;
-
199 inline static void (*_onReceive)(uint16_t *buf, uint32_t buf_len) = NULL;
-
200 inline static void adcCallback(uint16_t *buf, uint32_t buf_len);
-
201 inline static void set_callback(void(*function)(uint16_t *buf, uint32_t buf_len));
-
202 inline static bool adcReady;
-
203 inline static uint16_t dacBuf0[MAX_BUFFER_SIZE];
-
204 inline static uint16_t dacBuf1[MAX_BUFFER_SIZE];
-
205 inline static uint32_t sampleCounter;
-
206
-
207#elif defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) || defined (ARDUINO_NRF52840_FEATHER) && !defined __MBED__
-
208 uint16_t dacBuf0[MAX_BUFFER_SIZE];
-
209 uint16_t dacBuf1[MAX_BUFFER_SIZE];
-
210 static uint8_t aCtr;
-
211 static uint32_t aSize;
-
212 static uint16_t *buf0;
-
213 static uint16_t *buf1;
-
214 static void (*_onReceive)(uint16_t *buf, uint32_t buf_len);
-
215 static void adcCallback(uint16_t *buf, uint32_t buf_len);
-
216 void set_callback(void(*function)(uint16_t *buf, uint32_t buf_len));
-
217 static bool adcReady;
-
218 uint32_t sampleCounter;
-
219 //void DACC_Handler();
-
220#endif
-
221#if defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52)
-
222 bool micOn;
-
223 int pwrPin;
-
224 int dinPin;
-
225 int clkPin;
-
226 int8_t gain;
-
227 bool useI2S;
-
228 uint16_t I2S_PIN_MCK;
-
229 uint8_t I2S_PORT_MCK;
-
230 uint16_t I2S_PIN_SCK;
-
231 uint8_t I2S_PORT_SCK;
-
232 uint16_t I2S_PIN_LRCK;
-
233 uint8_t I2S_PORT_LRCK;
-
234 uint16_t I2S_PIN_SDOUT;
-
235 uint8_t I2S_PORT_SDOUT;
-
236
-
237#endif
-
238
-
239
-
240private:
-
241
-
250#if defined (ARDUINO_ARCH_SAM)
-
251 bool whichDma = 0;
-
252 bool whichDac;
-
253 bool dacChan;
-
254
-
255 uint8_t aCtr = 0; /* Internal counter for ADC data */
-
256 uint16_t realBuf[MAX_BUFFER_SIZE]; /* Internal DAC buffer */
-
257 uint16_t adcDma[MAX_BUFFER_SIZE]; /* Buffers for ADC DMA transfers */
-
258 uint16_t dataReady; /* Internal indicator for DAC data */
-
259
-
260 uint32_t dataTimer; /* Internal timer tracks timing of incoming data */
-
261 uint32_t sampleCount; /* Internal counter for delaying analysis of timing */
-
262 uint32_t tcTicks; /* Stores the current TC0 Ch0 counter value */
-
263 uint32_t tcTicks2; /* Stores the current TC0 Ch1 counter value */
-
264 uint32_t adjustDivider; /* Internal variables for adjusting timers on-the-fly */
-
265
-
266 uint32_t dacNumSamples; /* Internal variable for number of samples sent to the DAC */
-
267 uint32_t adcNumSamples;
-
268 uint16_t adjustCtr; /* Internal variables for adjusting timers on-the-fly */
-
269 uint16_t adjustCtr2; /* Internal variables for adjusting timers on-the-fly */
-
270 uint32_t adcLastAdjust;
-
271#endif
-
272 void adcSetup(void); /* Enable the ADC */
-
273 void dacSetup(void); /* Enable the DAC */
-
274
-
275 void dacBufferStereo(uint8_t dacChannel);
-
276
-
277 void tcSetup(uint32_t sampRate = 0); /* Sets up Timer TC0 Channel 0 */
-
278 void tc2Setup(uint32_t sampRate = 0); /* Sets up Timer TC0 Channel 1 */
-
279
-
280 uint32_t frequencyToTimerCount(uint32_t Frequency); /* Function to calculate timer counters */
-
281
-
282#if defined ESP32
-
283
-
284 uint32_t sampleRate;
-
285 i2s_config_t i2s_cfg;
-
286
-
287 bool i2sStopped;
-
288 adc1_channel_t adcChannel;
-
289
-
290 bool taskCreated;
-
291
-
292 bool dacEnabled;
-
293 uint8_t lastDacSample;
-
294 i2s_event_t myI2SQueue[5];
-
295 //void dacTask(void *args);
-
296
-
297 bool adcTaskCreated;
-
298 bool adcDisabled;
-
299
-
300 #define DELAY_250MS (250 / portTICK_PERIOD_MS)
-
301
-
302#endif
-
304};
+
173 void disableDAC(bool withinTask = false);
+
174
+
185 void adcInterrupts(bool enabled = true);
+
186
+
187 void dacInterrupts(bool enabled = true, bool withinTask = false);
+
188
+
189 #if defined (ESP32) || defined (DOXYGEN_FORCED)
+
193 void rampOut(uint8_t sample);
+
194 void rampIn(uint8_t sample);
+
195 TaskHandle_t dacTaskHandle;
+
196 #endif
+
197
+
198
+
199#if defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) && !defined ARDUINO_NRF52840_FEATHER && defined __MBED__
+
200 inline static uint8_t aCtr;
+
201 inline static uint32_t aSize;
+
202 inline static uint16_t *adcBuf0 = NULL;
+
203 inline static uint16_t *adcBuf1 = NULL;
+
204 inline static void (*_onReceive)(uint16_t *buf, uint32_t buf_len) = NULL;
+
205 inline static void adcCallback(uint16_t *buf, uint32_t buf_len);
+
206 inline static void set_callback(void(*function)(uint16_t *buf, uint32_t buf_len));
+
207 inline static bool adcReady;
+
208 inline static uint16_t *dacBuf0;
+
209 inline static uint16_t *dacBuf1;
+
210 inline static uint32_t sampleCounter;
+
211
+
212#elif defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) || defined (ARDUINO_NRF52840_FEATHER) && !defined __MBED__
+
213 uint16_t *dacBuf0;
+
214 uint16_t *dacBuf1;
+
215 static uint8_t aCtr;
+
216 static uint32_t aSize;
+
217 static uint16_t *adcBuf0;
+
218 static uint16_t *adcBuf1;
+
219 static void (*_onReceive)(uint16_t *buf, uint32_t buf_len);
+
220 static void adcCallback(uint16_t *buf, uint32_t buf_len);
+
221 void set_callback(void(*function)(uint16_t *buf, uint32_t buf_len));
+
222 static bool adcReady;
+
223 uint32_t sampleCounter;
+
224 //void DACC_Handler();
+
225#endif
+
226
+
227#if defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) || defined (DOXYGEN_FORCED)
+ +
245
+ +
253
+ +
261
+
267 int8_t gain;
+
268
+
278 uint8_t useI2S;
+
279
+
294 uint16_t I2S_PIN_MCK;
+ +
296 uint16_t I2S_PIN_SCK;
+ +
298 uint16_t I2S_PIN_LRCK;
+ + + +
302 uint16_t I2S_PIN_SDIN;
+ +
304
+ +
312#endif
+
313
+
315private:
+
324#if defined (ARDUINO_ARCH_SAM)
+
325 bool whichDma = 0;
+
326 bool whichDac;
+
327 bool dacChan;
+
328
+
329 uint8_t aCtr = 0; /* Internal counter for ADC data */
+
330 uint16_t realBuf[MAX_BUFFER_SIZE]; /* Internal DAC buffer */
+
331 uint16_t adcDma[MAX_BUFFER_SIZE]; /* Buffers for ADC DMA transfers */
+
332 uint16_t dataReady; /* Internal indicator for DAC data */
+
333
+
334 uint32_t dataTimer; /* Internal timer tracks timing of incoming data */
+
335 uint32_t sampleCount; /* Internal counter for delaying analysis of timing */
+
336 uint32_t tcTicks; /* Stores the current TC0 Ch0 counter value */
+
337 uint32_t tcTicks2; /* Stores the current TC0 Ch1 counter value */
+
338 uint32_t adjustDivider; /* Internal variables for adjusting timers on-the-fly */
+
339
+
340 uint32_t dacNumSamples; /* Internal variable for number of samples sent to the DAC */
+
341 uint32_t adcNumSamples;
+
342 uint16_t adjustCtr; /* Internal variables for adjusting timers on-the-fly */
+
343 uint16_t adjustCtr2; /* Internal variables for adjusting timers on-the-fly */
+
344 uint32_t adcLastAdjust;
+
345#endif
+
346 void adcSetup(void); /* Enable the ADC */
+
347 void dacSetup(void); /* Enable the DAC */
+
348
+
349 void dacBufferStereo(uint8_t dacChannel);
+
350
+
351 void tcSetup(uint32_t sampRate = 0); /* Sets up Timer TC0 Channel 0 */
+
352 void tc2Setup(uint32_t sampRate = 0); /* Sets up Timer TC0 Channel 1 */
+
353
+
354 uint32_t frequencyToTimerCount(uint32_t Frequency); /* Function to calculate timer counters */
+
355
+
356#if defined ESP32
+
357
+
358 uint32_t sampleRate;
+
359 i2s_config_t i2s_cfg;
+
360
+
361 bool i2sStopped;
+
362 adc1_channel_t adcChannel;
+
363
+
364 bool taskCreated;
+
365
+
366 bool dacEnabled;
+
367 uint8_t lastDacSample;
+
368 i2s_event_t myI2SQueue[5];
+
369 //void dacTask(void *args);
+
370
+
371 bool adcTaskCreated;
+
372 bool adcDisabled;
+
373
+
374 #define DELAY_250MS (250 / portTICK_PERIOD_MS)
+
375
+
376#endif
+
378};
-
305
-
306
-
307
-
308#endif
-
309
-
310
+
379
+
380
+
381
+
382#endif
+
383
+
384
void adcInterrupts(bool enabled=true)
void dacHandler(void)
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
void rampIn(uint8_t sample)
-
uint8_t adcBuffer[MAX_BUFFER_SIZE]
- +
uint8_t adcBuffer[MAX_BUFFER_SIZE]
+
uint8_t I2S_PORT_SDIN
+
uint16_t I2S_PIN_LRCK
+ + -
uint8_t dacBuffer[MAX_BUFFER_SIZE]
-
TaskHandle_t dacTaskHandle
+
uint8_t I2S_PORT_LRCK
+
uint8_t dacBuffer[MAX_BUFFER_SIZE]
+ +
TaskHandle_t dacTaskHandle
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
-
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
+
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
void rampOut(uint8_t sample)
+
uint8_t I2S_PORT_SCK
void disableDAC(bool withinTask=false)
-
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
uint16_t I2S_PIN_SCK
+ +
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
uint8_t I2S_PORT_SDOUT
+
uint16_t I2S_PIN_MCK
void dacInterrupts(bool enabled=true, bool withinTask=false)
+
void enableAdcChannel(uint8_t pinAx)
+
uint8_t I2S_PORT_MCK
+
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
-
uint8_t adcBitsPerSample
+
uint16_t I2S_PIN_SDOUT
+
uint16_t I2S_PIN_SDIN
+
uint8_t adcBitsPerSample
void triggerADC()
+
uint32_t maxBufferSize
void disableAdcChannel(uint8_t pinAx)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)

diff --git a/MultiChannelAdcStream_8ino-example.html b/MultiChannelAdcStream_8ino-example.html index 92fb3ee..1a41960 100644 --- a/MultiChannelAdcStream_8ino-example.html +++ b/MultiChannelAdcStream_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -181,16 +181,16 @@
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
+
bool autoAdjust
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
-
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
+
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
void enableAdcChannel(uint8_t pinAx)
-
uint8_t adcBitsPerSample
+
uint8_t adcBitsPerSample
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/NRF52_PDM_PWMTest_8ino-example.html b/NRF52_PDM_PWMTest_8ino-example.html index 171f168..b987bf9 100644 --- a/NRF52_PDM_PWMTest_8ino-example.html +++ b/NRF52_PDM_PWMTest_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -104,19 +104,19 @@
}
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
+
bool autoAdjust
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
-
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
-
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
+
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
-
uint8_t adcBitsPerSample
+
uint8_t adcBitsPerSample
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SdAudioAuto_8ino-example.html b/SdAudioAuto_8ino-example.html index 44e6ab0..14a426d 100644 --- a/SdAudioAuto_8ino-example.html +++ b/SdAudioAuto_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -212,18 +212,18 @@
void dacHandler(void)
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
-
uint8_t dacBuffer[MAX_BUFFER_SIZE]
+
bool autoAdjust
+
uint8_t dacBuffer[MAX_BUFFER_SIZE]
void disableDAC(bool withinTask=false)
-
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SdAudioBasic_8ino-example.html b/SdAudioBasic_8ino-example.html index f5986b0..787cd19 100644 --- a/SdAudioBasic_8ino-example.html +++ b/SdAudioBasic_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -186,16 +186,16 @@
void dacHandler(void)
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
-
uint8_t dacBuffer[MAX_BUFFER_SIZE]
+
bool autoAdjust
+
uint8_t dacBuffer[MAX_BUFFER_SIZE]
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SdAudioRecording_8ino-example.html b/SdAudioRecording_8ino-example.html index e603a65..6b97f94 100644 --- a/SdAudioRecording_8ino-example.html +++ b/SdAudioRecording_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -188,12 +188,12 @@
/*********************************************************/
-
bool autoAdjust
+
bool autoAdjust
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SdAudioWavPlayer_8ino-example.html b/SdAudioWavPlayer_8ino-example.html index 857093a..b7b432d 100644 --- a/SdAudioWavPlayer_8ino-example.html +++ b/SdAudioWavPlayer_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -164,12 +164,12 @@
-
bool autoAdjust
+
bool autoAdjust
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SimpleAdcStream_8ino-example.html b/SimpleAdcStream_8ino-example.html index 713ac6a..c0644f7 100644 --- a/SimpleAdcStream_8ino-example.html +++ b/SimpleAdcStream_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -171,15 +171,15 @@
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
+
bool autoAdjust
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
-
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
-
uint8_t adcBitsPerSample
+
uint16_t adcBuffer16[MAX_BUFFER_SIZE]
+
uint8_t adcBitsPerSample
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SimpleSine12Bit_8ino-example.html b/SimpleSine12Bit_8ino-example.html index d698a49..7ab92ad 100644 --- a/SimpleSine12Bit_8ino-example.html +++ b/SimpleSine12Bit_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -232,16 +232,16 @@
void dacHandler(void)
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
-
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
bool autoAdjust
+
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/SimpleSine_8ino-example.html b/SimpleSine_8ino-example.html index 8dfc95c..b9698f9 100644 --- a/SimpleSine_8ino-example.html +++ b/SimpleSine_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -242,14 +242,14 @@
void dacHandler(void)
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
-
uint8_t dacBuffer[MAX_BUFFER_SIZE]
+
bool autoAdjust
+
uint8_t dacBuffer[MAX_BUFFER_SIZE]
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/WirelessMicrophone_8ino-example.html b/WirelessMicrophone_8ino-example.html index dcda4c7..e986ea5 100644 --- a/WirelessMicrophone_8ino-example.html +++ b/WirelessMicrophone_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -182,15 +182,15 @@
void dacHandler(void)
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
uint8_t adcBuffer[MAX_BUFFER_SIZE]
-
bool autoAdjust
+
uint8_t adcBuffer[MAX_BUFFER_SIZE]
+
bool autoAdjust
void getADC(uint32_t samples=MAX_BUFFER_SIZE)
-
uint8_t adcBitsPerSample
+
uint8_t adcBitsPerSample
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/WirelessSpeaker_8ino-example.html b/WirelessSpeaker_8ino-example.html index 18b05f9..56c4b46 100644 --- a/WirelessSpeaker_8ino-example.html +++ b/WirelessSpeaker_8ino-example.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -215,16 +215,16 @@
void dacHandler(void)
-
uint8_t dacBitsPerSample
+
uint8_t dacBitsPerSample
void setSampleRate(uint32_t sampRate=0, bool stereo=false)
-
bool autoAdjust
-
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
+
bool autoAdjust
+
uint16_t dacBuffer16[MAX_BUFFER_SIZE]
void feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)
void begin(bool enADC, bool enDAC, uint8_t _useI2S=false)
diff --git a/annotated.html b/annotated.html index 2ebfe3b..7045bae 100644 --- a/annotated.html +++ b/annotated.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -82,7 +82,7 @@
diff --git a/classAutoAnalog-members.html b/classAutoAnalog-members.html index 52d2c0b..049cbab 100644 --- a/classAutoAnalog-members.html +++ b/classAutoAnalog-members.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -84,25 +84,41 @@ autoAdjustAutoAnalog AutoAnalog()AutoAnalog begin(bool enADC, bool enDAC, uint8_t _useI2S=false)AutoAnalog - dacBitsPerSampleAutoAnalog - dacBufferAutoAnalog - dacBuffer16AutoAnalog - dacHandler(void)AutoAnalog - dacInterrupts(bool enabled=true, bool withinTask=false)AutoAnalog - dacTaskHandleAutoAnalog + clkPinAutoAnalog + dacBitsPerSampleAutoAnalog + dacBufferAutoAnalog + dacBuffer16AutoAnalog + dacHandler(void)AutoAnalog + dacInterrupts(bool enabled=true, bool withinTask=false)AutoAnalog + dacTaskHandleAutoAnalog + dinPinAutoAnalog disableAdcChannel(uint8_t pinAx)AutoAnalog disableDAC(bool withinTask=false)AutoAnalog enableAdcChannel(uint8_t pinAx)AutoAnalog feedDAC(uint8_t dacChannel=0, uint32_t samples=MAX_BUFFER_SIZE, bool startInterrupts=false)AutoAnalog - getADC(uint32_t samples=MAX_BUFFER_SIZE)AutoAnalog - rampIn(uint8_t sample)AutoAnalog - rampOut(uint8_t sample)AutoAnalog - setSampleRate(uint32_t sampRate=0, bool stereo=false)AutoAnalog - triggerADC()AutoAnalog + gainAutoAnalog + getADC(uint32_t samples=MAX_BUFFER_SIZE)AutoAnalog + I2S_PIN_LRCKAutoAnalog + I2S_PIN_MCKAutoAnalog + I2S_PIN_SCKAutoAnalog + I2S_PIN_SDINAutoAnalog + I2S_PIN_SDOUTAutoAnalog + I2S_PORT_LRCKAutoAnalog + I2S_PORT_MCKAutoAnalog + I2S_PORT_SCKAutoAnalog + I2S_PORT_SDINAutoAnalog + I2S_PORT_SDOUTAutoAnalog + maxBufferSizeAutoAnalog + pwrPinAutoAnalog + rampIn(uint8_t sample)AutoAnalog + rampOut(uint8_t sample)AutoAnalog + setSampleRate(uint32_t sampRate=0, bool stereo=false)AutoAnalog + triggerADC()AutoAnalog + useI2SAutoAnalog
diff --git a/classAutoAnalog.html b/classAutoAnalog.html index d2da99a..da2642c 100644 --- a/classAutoAnalog.html +++ b/classAutoAnalog.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -79,6 +79,45 @@

#include <AutoAnalogAudio.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

Section for nRF52 Devices Only

This section is for nRF52 devices only
+

+
int pwrPin
 
int dinPin
 
int clkPin
 
int8_t gain
 
uint8_t useI2S
 
uint16_t I2S_PIN_MCK
 
uint8_t I2S_PORT_MCK
 
uint16_t I2S_PIN_SCK
 
uint8_t I2S_PORT_SCK
 
uint16_t I2S_PIN_LRCK
 
uint8_t I2S_PORT_LRCK
 
uint16_t I2S_PIN_SDOUT
 
uint8_t I2S_PORT_SDOUT
 
uint16_t I2S_PIN_SDIN
 
uint8_t I2S_PORT_SDIN
 
uint32_t maxBufferSize
 
@@ -182,8 +221,9 @@

-

Setup the timer(s)

-
Examples
AudioRadioRelay.ino, MultiChannelAdcStream.ino, NRF52_PDM_PWMTest.ino, SdAudioAuto.ino, SdAudioBasic.ino, SdAudioRecording.ino, SdAudioWavPlayer.ino, SimpleAdcStream.ino, SimpleSine.ino, SimpleSine12Bit.ino, WirelessMicrophone.ino, and WirelessSpeaker.ino.
+

Setup the timer(s)

+

NRF52 Only: Call the below code prior to begin() to limit memory usage/buffer sizes:

aaAudio.maxBufferSize = YOUR_AUDIO_BUFFER_SIZE;
+
Examples
AudioRadioRelay.ino, MultiChannelAdcStream.ino, NRF52_PDM_PWMTest.ino, SdAudioAuto.ino, SdAudioBasic.ino, SdAudioRecording.ino, SdAudioWavPlayer.ino, SimpleAdcStream.ino, SimpleSine.ino, SimpleSine12Bit.ino, WirelessMicrophone.ino, and WirelessSpeaker.ino.
@@ -515,7 +555,7 @@

Examples
AudioRadioRelay.ino, SdAudioAuto.ino, SdAudioBasic.ino, and SimpleSine.ino.

-

Definition at line 82 of file AutoAnalogAudio.h.

+

Definition at line 88 of file AutoAnalogAudio.h.

@@ -536,7 +576,7 @@

Examples
AudioRadioRelay.ino, and WirelessMicrophone.ino.
-

Definition at line 89 of file AutoAnalogAudio.h.

+

Definition at line 95 of file AutoAnalogAudio.h.

@@ -557,7 +597,7 @@

Examples
NRF52_PDM_PWMTest.ino, SdAudioAuto.ino, SimpleSine12Bit.ino, and WirelessSpeaker.ino.
-

Definition at line 96 of file AutoAnalogAudio.h.

+

Definition at line 102 of file AutoAnalogAudio.h.

@@ -578,7 +618,7 @@

Examples
MultiChannelAdcStream.ino, NRF52_PDM_PWMTest.ino, and SimpleAdcStream.ino.
-

Definition at line 104 of file AutoAnalogAudio.h.

+

Definition at line 110 of file AutoAnalogAudio.h.

@@ -598,7 +638,7 @@

Examples
AudioRadioRelay.ino, MultiChannelAdcStream.ino, NRF52_PDM_PWMTest.ino, SdAudioAuto.ino, SdAudioBasic.ino, SdAudioRecording.ino, SdAudioWavPlayer.ino, SimpleAdcStream.ino, SimpleSine.ino, SimpleSine12Bit.ino, WirelessMicrophone.ino, and WirelessSpeaker.ino.
-

Definition at line 124 of file AutoAnalogAudio.h.

+

Definition at line 130 of file AutoAnalogAudio.h.

@@ -624,7 +664,7 @@

Examples
MultiChannelAdcStream.ino, NRF52_PDM_PWMTest.ino, SimpleAdcStream.ino, and WirelessMicrophone.ino.
-

Definition at line 135 of file AutoAnalogAudio.h.

+

Definition at line 141 of file AutoAnalogAudio.h.

@@ -650,7 +690,7 @@

Examples
NRF52_PDM_PWMTest.ino, SdAudioAuto.ino, SdAudioBasic.ino, SimpleSine12Bit.ino, and WirelessSpeaker.ino.
-

Definition at line 146 of file AutoAnalogAudio.h.

+

Definition at line 152 of file AutoAnalogAudio.h.

@@ -666,7 +706,308 @@

-

Definition at line 189 of file AutoAnalogAudio.h.

+

Definition at line 195 of file AutoAnalogAudio.h.

+ + + + +

◆ pwrPin

+ +
+
+

User Interface

Main methods to drive the library

+ + + +
int AutoAnalog::pwrPin
+
+

Set the Power Pin for PDM
+ By default this is PIN_PDM_PWR
+ If PIN_PDM_PWR is not defined, it is set to -1 by default
+ Configure this before calling begin()
+

+ +

Definition at line 244 of file AutoAnalogAudio.h.

+ +
+ + +

◆ dinPin

+ +
+
+ + + + +
int AutoAnalog::dinPin
+
+

Set the Input Pin for PDM
+ By default this is PIN_PDM_DIN
+ If PIN_PDM_DIN is not defined, it is set to 35 by default
+ Configure this before calling begin()
+

+ +

Definition at line 252 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ clkPin

+ +
+
+ + + + +
int AutoAnalog::clkPin
+
+

Set the Clock Pin for PDM
+ By default this is PIN_PDM_CLK
+ If PIN_PDM_CLK is not defined, it is set to 36 by default
+ Configure this before calling begin()
+

+ +

Definition at line 260 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ gain

+ +
+
+ + + + +
int8_t AutoAnalog::gain
+
+

Set the Gain for PDM
+ By default this is set to 40
+ Configure this before calling begin()
+

+ +

Definition at line 267 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ useI2S

+ +
+
+ + + + +
uint8_t AutoAnalog::useI2S
+
+

Enable I2S on nRF52 By default this is disabled (analog output using PWM)

+
aaAudio.begin(1,1,3);
+
Parameters
+ + +
Setto 1 for I2S DAC, 2 for I2S ADC, 3 for both
+
+
+ +

Definition at line 278 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PIN_MCK

+ +
+
+ + + + +
uint16_t AutoAnalog::I2S_PIN_MCK
+
+

Configure the pins and ports for nRF52 using GPIO numbers before calling begin()
+ Defaults:
+ I2S_PIN_MCK = 2;
+ I2S_PORT_MCK = 0;
+ I2S_PIN_SCK = 3;
+ I2S_PORT_SCK = 0;
+ I2S_PIN_LRCK = 29;
+ I2S_PORT_LRCK = 0;
+ I2S_PIN_SDOUT = 5;
+ I2S_PORT_SDOUT = 0;
+ I2S_PIN_SDIN = 4;
+ I2S_PORT_SDIN = 0;
+

+ +

Definition at line 294 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PORT_MCK

+ +
+
+ + + + +
uint8_t AutoAnalog::I2S_PORT_MCK
+
+ +

Definition at line 295 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PIN_SCK

+ +
+
+ + + + +
uint16_t AutoAnalog::I2S_PIN_SCK
+
+ +

Definition at line 296 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PORT_SCK

+ +
+
+ + + + +
uint8_t AutoAnalog::I2S_PORT_SCK
+
+ +

Definition at line 297 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PIN_LRCK

+ +
+
+ + + + +
uint16_t AutoAnalog::I2S_PIN_LRCK
+
+ +

Definition at line 298 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PORT_LRCK

+ +
+
+ + + + +
uint8_t AutoAnalog::I2S_PORT_LRCK
+
+ +

Definition at line 299 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PIN_SDOUT

+ +
+
+ + + + +
uint16_t AutoAnalog::I2S_PIN_SDOUT
+
+ +

Definition at line 300 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PORT_SDOUT

+ +
+
+ + + + +
uint8_t AutoAnalog::I2S_PORT_SDOUT
+
+ +

Definition at line 301 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PIN_SDIN

+ +
+
+ + + + +
uint16_t AutoAnalog::I2S_PIN_SDIN
+
+ +

Definition at line 302 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ I2S_PORT_SDIN

+ +
+
+ + + + +
uint8_t AutoAnalog::I2S_PORT_SDIN
+
+ +

Definition at line 303 of file AutoAnalogAudio.h.

+ +
+
+ +

◆ maxBufferSize

+ +
+
+ + + + +
uint32_t AutoAnalog::maxBufferSize
+
+

Set the maximum buffer size for nRF52
+ The internal buffers are all allocated dynamically.
+ By default the MAX_BUFFER_SIZE is defined in AutoAnalogAudio_config.h
+ Override that value for internal buffers by setting this before calling begin()
+

+ +

Definition at line 311 of file AutoAnalogAudio.h.

@@ -676,7 +1017,7 @@

diff --git a/classes.html b/classes.html index 8434926..0b432da 100644 --- a/classes.html +++ b/classes.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -83,7 +83,7 @@
diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index feead93..3f20f70 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -92,7 +92,7 @@
diff --git a/dir_d35e8d9c847c512a0480f8070ffef7ed.html b/dir_d35e8d9c847c512a0480f8070ffef7ed.html index 0a5dcdf..364f064 100644 --- a/dir_d35e8d9c847c512a0480f8070ffef7ed.html +++ b/dir_d35e8d9c847c512a0480f8070ffef7ed.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -87,7 +87,7 @@
diff --git a/examples.html b/examples.html index 7503748..b6801cd 100644 --- a/examples.html +++ b/examples.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -91,7 +91,7 @@
diff --git a/files.html b/files.html index 0db7e2a..3ae4978 100644 --- a/files.html +++ b/files.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -85,7 +85,7 @@
diff --git a/functions.html b/functions.html index 343c4a6..657a48d 100644 --- a/functions.html +++ b/functions.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -71,34 +71,104 @@
-
Here is a list of all class members with links to the classes they belong to:
diff --git a/functions_func.html b/functions_func.html index ce39c53..6d2f335 100644 --- a/functions_func.html +++ b/functions_func.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -90,7 +90,7 @@
diff --git a/functions_vars.html b/functions_vars.html index 49f40b9..2b33818 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -22,7 +22,7 @@ -
Auto Analog Audio v1.51.1 +
Auto Analog Audio v1.52.0
TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
@@ -76,15 +76,31 @@
  • adcBuffer : AutoAnalog
  • adcBuffer16 : AutoAnalog
  • autoAdjust : AutoAnalog
  • +
  • clkPin : AutoAnalog
  • dacBitsPerSample : AutoAnalog
  • dacBuffer : AutoAnalog
  • dacBuffer16 : AutoAnalog
  • dacTaskHandle : AutoAnalog
  • +
  • dinPin : AutoAnalog
  • +
  • gain : AutoAnalog
  • +
  • I2S_PIN_LRCK : AutoAnalog
  • +
  • I2S_PIN_MCK : AutoAnalog
  • +
  • I2S_PIN_SCK : AutoAnalog
  • +
  • I2S_PIN_SDIN : AutoAnalog
  • +
  • I2S_PIN_SDOUT : AutoAnalog
  • +
  • I2S_PORT_LRCK : AutoAnalog
  • +
  • I2S_PORT_MCK : AutoAnalog
  • +
  • I2S_PORT_SCK : AutoAnalog
  • +
  • I2S_PORT_SDIN : AutoAnalog
  • +
  • I2S_PORT_SDOUT : AutoAnalog
  • +
  • maxBufferSize : AutoAnalog
  • +
  • pwrPin : AutoAnalog
  • +
  • useI2S : AutoAnalog
  • diff --git a/globals.html b/globals.html index 7f665fd..3776a50 100644 --- a/globals.html +++ b/globals.html @@ -22,7 +22,7 @@ -
    Auto Analog Audio v1.51.1 +
    Auto Analog Audio v1.52.0
    TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
    @@ -79,7 +79,7 @@
    diff --git a/globals_defs.html b/globals_defs.html index d57b3e0..aaa62c6 100644 --- a/globals_defs.html +++ b/globals_defs.html @@ -22,7 +22,7 @@ -
    Auto Analog Audio v1.51.1 +
    Auto Analog Audio v1.52.0
    TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
    @@ -79,7 +79,7 @@
    diff --git a/index.html b/index.html index ac19d8b..536d815 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ -
    Auto Analog Audio v1.51.1 +
    Auto Analog Audio v1.52.0
    TMRh20 2020 - Automatic DAC, ADC & Timers on Arduino Due
    @@ -101,7 +101,7 @@
    diff --git a/menudata.js b/menudata.js index 5c6f0f0..f7be70d 100644 --- a/menudata.js +++ b/menudata.js @@ -28,7 +28,21 @@ var menudata={children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, {text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html"}, +{text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, +{text:"b",url:"functions.html#index_b"}, +{text:"c",url:"functions.html#index_c"}, +{text:"d",url:"functions.html#index_d"}, +{text:"e",url:"functions.html#index_e"}, +{text:"f",url:"functions.html#index_f"}, +{text:"g",url:"functions.html#index_g"}, +{text:"i",url:"functions.html#index_i"}, +{text:"m",url:"functions.html#index_m"}, +{text:"p",url:"functions.html#index_p"}, +{text:"r",url:"functions.html#index_r"}, +{text:"s",url:"functions.html#index_s"}, +{text:"t",url:"functions.html#index_t"}, +{text:"u",url:"functions.html#index_u"}]}, {text:"Functions",url:"functions_func.html"}, {text:"Variables",url:"functions_vars.html"}]}]}, {text:"Files",url:"files.html",children:[ diff --git a/search/all_2.js b/search/all_2.js index 8841bb9..218e63f 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,12 +1,4 @@ var searchData= [ - ['dac_20adc_20timer_20library_0',['Auto Analog Audio (Automatic DAC, ADC & Timer) library',['../index.html#LibInfo',1,'']]], - ['dacbitspersample_1',['dacBitsPerSample',['../classAutoAnalog.html#a122737d7a251d9da00ecf02be72c2e18',1,'AutoAnalog']]], - ['dacbuffer_2',['dacBuffer',['../classAutoAnalog.html#a4b5f46afb8f50e9bc28431cd467ee8bf',1,'AutoAnalog']]], - ['dacbuffer16_3',['dacBuffer16',['../classAutoAnalog.html#a85377e5dc495fdbd129db30c6c88ca71',1,'AutoAnalog']]], - ['dachandler_4',['dacHandler',['../classAutoAnalog.html#a0bf0cb2ddbf79748887551f09a7932ec',1,'AutoAnalog']]], - ['dacinterrupts_5',['dacInterrupts',['../classAutoAnalog.html#aa689bffc34485c3fc6cddfdd01ca399b',1,'AutoAnalog']]], - ['dactaskhandle_6',['dacTaskHandle',['../classAutoAnalog.html#a58ffe6c35c52bf503720a89546ad6d61',1,'AutoAnalog']]], - ['disableadcchannel_7',['disableAdcChannel',['../classAutoAnalog.html#af23ab64cf3d4881f55ba1d5c0b1d607b',1,'AutoAnalog']]], - ['disabledac_8',['disableDAC',['../classAutoAnalog.html#a7936ca7efd99bb3a66ece6115893af94',1,'AutoAnalog']]] + ['clkpin_0',['clkPin',['../classAutoAnalog.html#a355219bdf09e71be365c893f4b109a97',1,'AutoAnalog']]] ]; diff --git a/search/all_3.js b/search/all_3.js index be77dca..9f7a4d3 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,4 +1,13 @@ var searchData= [ - ['enableadcchannel_0',['enableAdcChannel',['../classAutoAnalog.html#ab0f3ceccd76b77c0a6e407ba92f42346',1,'AutoAnalog']]] + ['dac_20adc_20timer_20library_0',['Auto Analog Audio (Automatic DAC, ADC & Timer) library',['../index.html#LibInfo',1,'']]], + ['dacbitspersample_1',['dacBitsPerSample',['../classAutoAnalog.html#a122737d7a251d9da00ecf02be72c2e18',1,'AutoAnalog']]], + ['dacbuffer_2',['dacBuffer',['../classAutoAnalog.html#a4b5f46afb8f50e9bc28431cd467ee8bf',1,'AutoAnalog']]], + ['dacbuffer16_3',['dacBuffer16',['../classAutoAnalog.html#a85377e5dc495fdbd129db30c6c88ca71',1,'AutoAnalog']]], + ['dachandler_4',['dacHandler',['../classAutoAnalog.html#a0bf0cb2ddbf79748887551f09a7932ec',1,'AutoAnalog']]], + ['dacinterrupts_5',['dacInterrupts',['../classAutoAnalog.html#aa689bffc34485c3fc6cddfdd01ca399b',1,'AutoAnalog']]], + ['dactaskhandle_6',['dacTaskHandle',['../classAutoAnalog.html#a58ffe6c35c52bf503720a89546ad6d61',1,'AutoAnalog']]], + ['dinpin_7',['dinPin',['../classAutoAnalog.html#a7f296c1c3964e0672410203b5349ae81',1,'AutoAnalog']]], + ['disableadcchannel_8',['disableAdcChannel',['../classAutoAnalog.html#af23ab64cf3d4881f55ba1d5c0b1d607b',1,'AutoAnalog']]], + ['disabledac_9',['disableDAC',['../classAutoAnalog.html#a7936ca7efd99bb3a66ece6115893af94',1,'AutoAnalog']]] ]; diff --git a/search/all_4.js b/search/all_4.js index f8a55af..be77dca 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,5 +1,4 @@ var searchData= [ - ['feeddac_0',['feedDAC',['../classAutoAnalog.html#ad6728b5d90528b5817c1b8aa661de5e5',1,'AutoAnalog']]], - ['for_20arduino_1',['Automatic Analog Audio Library for Arduino',['../index.html',1,'']]] + ['enableadcchannel_0',['enableAdcChannel',['../classAutoAnalog.html#ab0f3ceccd76b77c0a6e407ba92f42346',1,'AutoAnalog']]] ]; diff --git a/search/all_5.js b/search/all_5.js index cae27aa..f8a55af 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,4 +1,5 @@ var searchData= [ - ['getadc_0',['getADC',['../classAutoAnalog.html#a61f2ceee4ff61ec9323a30a6c44ab504',1,'AutoAnalog']]] + ['feeddac_0',['feedDAC',['../classAutoAnalog.html#ad6728b5d90528b5817c1b8aa661de5e5',1,'AutoAnalog']]], + ['for_20arduino_1',['Automatic Analog Audio Library for Arduino',['../index.html',1,'']]] ]; diff --git a/search/all_6.js b/search/all_6.js index 90c0ecf..486e55c 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['library_0',['Auto Analog Audio (Automatic DAC, ADC & Timer) library',['../index.html#LibInfo',1,'']]], - ['library_20for_20arduino_1',['Automatic Analog Audio Library for Arduino',['../index.html',1,'']]] + ['gain_0',['gain',['../classAutoAnalog.html#a54f25231b01aab2a33bbe5e30f63cc5e',1,'AutoAnalog']]], + ['getadc_1',['getADC',['../classAutoAnalog.html#a61f2ceee4ff61ec9323a30a6c44ab504',1,'AutoAnalog']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 439e271..0969d72 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,5 +1,13 @@ var searchData= [ - ['rampin_0',['rampIn',['../classAutoAnalog.html#a20472840f8cd85e9a41a5a968f522d23',1,'AutoAnalog']]], - ['rampout_1',['rampOut',['../classAutoAnalog.html#a6a49d5ac89bf8edbc8e91f9686099dbc',1,'AutoAnalog']]] + ['i2s_5fpin_5flrck_0',['I2S_PIN_LRCK',['../classAutoAnalog.html#a3179c55e69f6af75a0880201e47a9783',1,'AutoAnalog']]], + ['i2s_5fpin_5fmck_1',['I2S_PIN_MCK',['../classAutoAnalog.html#a9954f23251cb3d2041c8d992f6c8884d',1,'AutoAnalog']]], + ['i2s_5fpin_5fsck_2',['I2S_PIN_SCK',['../classAutoAnalog.html#a7c7a1da703fddefb09937b9b6be1e3cc',1,'AutoAnalog']]], + ['i2s_5fpin_5fsdin_3',['I2S_PIN_SDIN',['../classAutoAnalog.html#adc2a36fbbce9a768fbfcc039da45e670',1,'AutoAnalog']]], + ['i2s_5fpin_5fsdout_4',['I2S_PIN_SDOUT',['../classAutoAnalog.html#ad728ec75989630f9ba84febfff8d97aa',1,'AutoAnalog']]], + ['i2s_5fport_5flrck_5',['I2S_PORT_LRCK',['../classAutoAnalog.html#a390c2eb56726e5d6a72cdb45a716770e',1,'AutoAnalog']]], + ['i2s_5fport_5fmck_6',['I2S_PORT_MCK',['../classAutoAnalog.html#ac0d501c86f7053207a35a1a3622a5877',1,'AutoAnalog']]], + ['i2s_5fport_5fsck_7',['I2S_PORT_SCK',['../classAutoAnalog.html#a7459d9f19e8027fb7e648a394d3cf4c5',1,'AutoAnalog']]], + ['i2s_5fport_5fsdin_8',['I2S_PORT_SDIN',['../classAutoAnalog.html#a316b48c4a54fb1c413003a63c0d1df84',1,'AutoAnalog']]], + ['i2s_5fport_5fsdout_9',['I2S_PORT_SDOUT',['../classAutoAnalog.html#a8f7deb561fba5b9f713e89486f20848a',1,'AutoAnalog']]] ]; diff --git a/search/all_8.js b/search/all_8.js index f9fac7f..90c0ecf 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,4 +1,5 @@ var searchData= [ - ['setsamplerate_0',['setSampleRate',['../classAutoAnalog.html#a1c595377f0593c783d04828bb5fbaaa7',1,'AutoAnalog']]] + ['library_0',['Auto Analog Audio (Automatic DAC, ADC & Timer) library',['../index.html#LibInfo',1,'']]], + ['library_20for_20arduino_1',['Automatic Analog Audio Library for Arduino',['../index.html',1,'']]] ]; diff --git a/search/all_9.js b/search/all_9.js index bb121fe..f3336a0 100644 --- a/search/all_9.js +++ b/search/all_9.js @@ -1,5 +1,4 @@ var searchData= [ - ['timer_20library_0',['Auto Analog Audio (Automatic DAC, ADC & Timer) library',['../index.html#LibInfo',1,'']]], - ['triggeradc_1',['triggerADC',['../classAutoAnalog.html#aedd70fc9f6f130c32ccb015b670f5318',1,'AutoAnalog']]] + ['maxbuffersize_0',['maxBufferSize',['../classAutoAnalog.html#aef5733461b7668bd677d931c9c02fdf7',1,'AutoAnalog']]] ]; diff --git a/search/all_a.js b/search/all_a.js new file mode 100644 index 0000000..0c1b7c9 --- /dev/null +++ b/search/all_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pwrpin_0',['pwrPin',['../classAutoAnalog.html#aafc3bdf45e7066417c4c3b242be7ef94',1,'AutoAnalog']]] +]; diff --git a/search/all_b.js b/search/all_b.js new file mode 100644 index 0000000..439e271 --- /dev/null +++ b/search/all_b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['rampin_0',['rampIn',['../classAutoAnalog.html#a20472840f8cd85e9a41a5a968f522d23',1,'AutoAnalog']]], + ['rampout_1',['rampOut',['../classAutoAnalog.html#a6a49d5ac89bf8edbc8e91f9686099dbc',1,'AutoAnalog']]] +]; diff --git a/search/all_c.js b/search/all_c.js new file mode 100644 index 0000000..f9fac7f --- /dev/null +++ b/search/all_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['setsamplerate_0',['setSampleRate',['../classAutoAnalog.html#a1c595377f0593c783d04828bb5fbaaa7',1,'AutoAnalog']]] +]; diff --git a/search/all_d.js b/search/all_d.js new file mode 100644 index 0000000..bb121fe --- /dev/null +++ b/search/all_d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['timer_20library_0',['Auto Analog Audio (Automatic DAC, ADC & Timer) library',['../index.html#LibInfo',1,'']]], + ['triggeradc_1',['triggerADC',['../classAutoAnalog.html#aedd70fc9f6f130c32ccb015b670f5318',1,'AutoAnalog']]] +]; diff --git a/search/all_e.js b/search/all_e.js new file mode 100644 index 0000000..e85fd01 --- /dev/null +++ b/search/all_e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['usei2s_0',['useI2S',['../classAutoAnalog.html#ac6750ae27adc5c22f142e24e71b9e50c',1,'AutoAnalog']]] +]; diff --git a/search/searchdata.js b/search/searchdata.js index 9550177..c907da9 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,10 +1,10 @@ var indexSectionsWithContent = { - 0: "abdefglrst", + 0: "abcdefgilmprstu", 1: "a", 2: "a", 3: "abdefgrst", - 4: "ad", + 4: "acdgimpu", 5: "a", 6: "afl" }; diff --git a/search/variables_1.js b/search/variables_1.js index 1d5f052..218e63f 100644 --- a/search/variables_1.js +++ b/search/variables_1.js @@ -1,7 +1,4 @@ var searchData= [ - ['dacbitspersample_0',['dacBitsPerSample',['../classAutoAnalog.html#a122737d7a251d9da00ecf02be72c2e18',1,'AutoAnalog']]], - ['dacbuffer_1',['dacBuffer',['../classAutoAnalog.html#a4b5f46afb8f50e9bc28431cd467ee8bf',1,'AutoAnalog']]], - ['dacbuffer16_2',['dacBuffer16',['../classAutoAnalog.html#a85377e5dc495fdbd129db30c6c88ca71',1,'AutoAnalog']]], - ['dactaskhandle_3',['dacTaskHandle',['../classAutoAnalog.html#a58ffe6c35c52bf503720a89546ad6d61',1,'AutoAnalog']]] + ['clkpin_0',['clkPin',['../classAutoAnalog.html#a355219bdf09e71be365c893f4b109a97',1,'AutoAnalog']]] ]; diff --git a/search/variables_2.js b/search/variables_2.js new file mode 100644 index 0000000..2c284a3 --- /dev/null +++ b/search/variables_2.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['dacbitspersample_0',['dacBitsPerSample',['../classAutoAnalog.html#a122737d7a251d9da00ecf02be72c2e18',1,'AutoAnalog']]], + ['dacbuffer_1',['dacBuffer',['../classAutoAnalog.html#a4b5f46afb8f50e9bc28431cd467ee8bf',1,'AutoAnalog']]], + ['dacbuffer16_2',['dacBuffer16',['../classAutoAnalog.html#a85377e5dc495fdbd129db30c6c88ca71',1,'AutoAnalog']]], + ['dactaskhandle_3',['dacTaskHandle',['../classAutoAnalog.html#a58ffe6c35c52bf503720a89546ad6d61',1,'AutoAnalog']]], + ['dinpin_4',['dinPin',['../classAutoAnalog.html#a7f296c1c3964e0672410203b5349ae81',1,'AutoAnalog']]] +]; diff --git a/search/variables_3.js b/search/variables_3.js new file mode 100644 index 0000000..3ff261c --- /dev/null +++ b/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['gain_0',['gain',['../classAutoAnalog.html#a54f25231b01aab2a33bbe5e30f63cc5e',1,'AutoAnalog']]] +]; diff --git a/search/variables_4.js b/search/variables_4.js new file mode 100644 index 0000000..0969d72 --- /dev/null +++ b/search/variables_4.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['i2s_5fpin_5flrck_0',['I2S_PIN_LRCK',['../classAutoAnalog.html#a3179c55e69f6af75a0880201e47a9783',1,'AutoAnalog']]], + ['i2s_5fpin_5fmck_1',['I2S_PIN_MCK',['../classAutoAnalog.html#a9954f23251cb3d2041c8d992f6c8884d',1,'AutoAnalog']]], + ['i2s_5fpin_5fsck_2',['I2S_PIN_SCK',['../classAutoAnalog.html#a7c7a1da703fddefb09937b9b6be1e3cc',1,'AutoAnalog']]], + ['i2s_5fpin_5fsdin_3',['I2S_PIN_SDIN',['../classAutoAnalog.html#adc2a36fbbce9a768fbfcc039da45e670',1,'AutoAnalog']]], + ['i2s_5fpin_5fsdout_4',['I2S_PIN_SDOUT',['../classAutoAnalog.html#ad728ec75989630f9ba84febfff8d97aa',1,'AutoAnalog']]], + ['i2s_5fport_5flrck_5',['I2S_PORT_LRCK',['../classAutoAnalog.html#a390c2eb56726e5d6a72cdb45a716770e',1,'AutoAnalog']]], + ['i2s_5fport_5fmck_6',['I2S_PORT_MCK',['../classAutoAnalog.html#ac0d501c86f7053207a35a1a3622a5877',1,'AutoAnalog']]], + ['i2s_5fport_5fsck_7',['I2S_PORT_SCK',['../classAutoAnalog.html#a7459d9f19e8027fb7e648a394d3cf4c5',1,'AutoAnalog']]], + ['i2s_5fport_5fsdin_8',['I2S_PORT_SDIN',['../classAutoAnalog.html#a316b48c4a54fb1c413003a63c0d1df84',1,'AutoAnalog']]], + ['i2s_5fport_5fsdout_9',['I2S_PORT_SDOUT',['../classAutoAnalog.html#a8f7deb561fba5b9f713e89486f20848a',1,'AutoAnalog']]] +]; diff --git a/search/variables_5.js b/search/variables_5.js new file mode 100644 index 0000000..f3336a0 --- /dev/null +++ b/search/variables_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['maxbuffersize_0',['maxBufferSize',['../classAutoAnalog.html#aef5733461b7668bd677d931c9c02fdf7',1,'AutoAnalog']]] +]; diff --git a/search/variables_6.js b/search/variables_6.js new file mode 100644 index 0000000..0c1b7c9 --- /dev/null +++ b/search/variables_6.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pwrpin_0',['pwrPin',['../classAutoAnalog.html#aafc3bdf45e7066417c4c3b242be7ef94',1,'AutoAnalog']]] +]; diff --git a/search/variables_7.js b/search/variables_7.js new file mode 100644 index 0000000..e85fd01 --- /dev/null +++ b/search/variables_7.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['usei2s_0',['useI2S',['../classAutoAnalog.html#ac6750ae27adc5c22f142e24e71b9e50c',1,'AutoAnalog']]] +];