Go to the source code of this file.
◆ main()
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_poll_8bit.c.
33{
36
38
40
42
44
46
48
49 while(1)
50 {
52 NOP();
53 NOP();
57
62 }
63}
#define ADC_SetResultAlignmentLeft()
#define ADC_SetChannel(__CHANNEL__)
#define ADC_SetClockPrescaler(__PRESCALER__)
#define ADC_SamplingFinished()
#define ADC_ClearInterrupt()
#define ADC_SetPowerState(__STATE__)
#define GPIO_P1_SetMode(__PINS__, __MODE__)
void SYS_Delay(uint16_t t)
void UART1_TxString(uint8_t *str)
@ UART1_BaudSource_Timer2
void UART1_TxHex(uint8_t hex)
void UART1_Config8bitUart(UART1_BaudSource_t baudSource, HAL_State_t _1TMode, uint32_t baudrate)