default port = GPIO_0
Dependents: multithread_ADC_timing audio_record_serial_out
fastADC.h@1:d415e0b7dc3e, 2019-12-08 (annotated)
- Committer:
- yutonggu
- Date:
- Sun Dec 08 05:26:48 2019 +0000
- Revision:
- 1:d415e0b7dc3e
- Parent:
- 0:56e4e76188d9
Set system to readADC at 20KHz
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yutonggu | 0:56e4e76188d9 | 1 | #ifndef FAST_ADC_H |
yutonggu | 0:56e4e76188d9 | 2 | #define FAST_ADC_H |
yutonggu | 0:56e4e76188d9 | 3 | |
yutonggu | 0:56e4e76188d9 | 4 | #include <stdint.h> |
yutonggu | 0:56e4e76188d9 | 5 | |
yutonggu | 0:56e4e76188d9 | 6 | void initADC(); |
yutonggu | 0:56e4e76188d9 | 7 | uint16_t readADC(); |
yutonggu | 0:56e4e76188d9 | 8 | |
yutonggu | 0:56e4e76188d9 | 9 | #endif |