STM8S 에서 ADC를 사용하면 UART1 RX가 동작하지 안는 문제 해결.
ADC1_Init(ADC1_CONVERSIONMODE_SINGLE, ADC1_CHANNEL_3,ADC1_PRESSEL_FCPU_D2,
ADC1_EXTTRIG_TIM, DISABLE, ADC1_ALIGN_RIGHT,ADC1_SCHMITTTRIG_ALL,DISABLE);
을 아래처럼 바꿔라.
ADC1_Init(ADC1_CONVERSIONMODE_SINGLE, ADC1_CHANNEL_3,ADC1_PRESSEL_FCPU_D2,
ADC1_EXTTRIG_TIM, DISABLE, ADC1_ALIGN_RIGHT,ADC1_SCHMITTTRIG_CHANNEL3,DISABLE);