#include "fw_hal.h"Go to the source code of this file.
Functions | |
| INTERRUPT (ADC_Routine, EXTI_VectADC) | |
| void | main (void) |
Variables | |
| uint8_t | pos |
| uint16_t | res [2] |
| INTERRUPT | ( | ADC_Routine | , |
| EXTI_VectADC | |||
| ) |
Uncomment these lines in high speed ADC GPIO_P1_SetMode(GPIO_Pin_1, GPIO_Mode_InOut_OD); GPIO_P1_SetMode(GPIO_Pin_1, GPIO_Mode_Input_HIP);
Uncomment these lines in high speed ADC GPIO_P1_SetMode(GPIO_Pin_2, GPIO_Mode_InOut_OD); GPIO_P1_SetMode(GPIO_Pin_2, GPIO_Mode_Input_HIP);
Definition at line 35 of file adc_interrupt_2ch.c.
| void main | ( | void | ) |
Definition at line 63 of file adc_interrupt_2ch.c.
| uint8_t pos |
STC8H3K64S2 AGrnd -> GND AVcc -> VCC AVref -> VCC Vcc -> VCC Gnd -> GND ADC1 -> Test voltage
STC8H1K08 AVref -> VCC Vcc -> VCC Gnd -> GND ADC1 -> Test voltage
Definition at line 32 of file adc_interrupt_2ch.c.
| uint16_t res[2] |
Definition at line 33 of file adc_interrupt_2ch.c.