| b.liu | 4e243dc | 2023-11-27 11:20:00 +0800 | [diff] [blame] | 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> | ||||
| 3 | #include <string.h> | ||||
| b.liu | 8583dce | 2024-04-03 13:30:08 +0800 | [diff] [blame] | 4 | // #include <sc_bsp.h> |
| b.liu | 4e243dc | 2023-11-27 11:20:00 +0800 | [diff] [blame] | 5 | |
| 6 | #ifdef __cplusplus | ||||
| 7 | extern "C" { | ||||
| 8 | #endif | ||||
| 9 | |||||
| 10 | typedef enum ADC_CHANNEL_ENUM | ||||
| 11 | { | ||||
| 12 | QADC_NONE = 0, | ||||
| 13 | ADC0 =1, | ||||
| 14 | ADC1 =2, | ||||
| 15 | ADC2 =3, | ||||
| 16 | QADC_END | ||||
| 17 | }ADC_CHANNEL_E; | ||||
| 18 | |||||
| 19 | int qser_adc_show(ADC_CHANNEL_E qadc); | ||||
| 20 | |||||
| 21 | #ifdef __cplusplus | ||||
| 22 | } | ||||
| 23 | #endif | ||||