FwLib_STC8/demo/adc
2022-01-09 22:24:16 +08:00
..
adc_interrupt_2ch.c fix: incorrect ADC_Start() invoking in while loop; docs: add adc demo readme 2022-01-09 22:21:43 +08:00
adc_interrupt_10bit.c fix: incorrect ADC_Start() invoking in while loop; docs: add adc demo readme 2022-01-09 22:21:43 +08:00
adc_poll_8bit.c opt: rename uart1 config methods 2022-01-09 19:26:52 +08:00
adc_poll_10bit.c opt: rename uart1 config methods 2022-01-09 19:26:52 +08:00
README.cn.md docs: update adc demo readme 2022-01-09 22:24:16 +08:00
README.md docs: update adc demo readme 2022-01-09 22:24:16 +08:00

STC8H Channels and Accuracy

Line Accuracy Channels
STC8H1K08 series 10-bit 9 channels
STC8H1K28 series 10-bit 12 channels
STC8H3K64S4 series 12-bit 12 channels
STC8H3K64S2 series 12-bit 12 channels
STC8H8K64U series 12-bit 15 channels
STC8H2K64T series 12-bit 15 channels
STC8H4K64TLR series 12-bit 15 channels
STC8H4K64TLCD series 12-bit 15 channels
STC8H4K64LCD series 12-bit 15 channels

STC8G/STC8H ADC Channels Definition

STC8H1K28 STC8H1K08 STC8H3K64S4
STC8H3K64S2
STC8H8K64U
STC8H2K64T
STC8H4K64TLR
STC8H4K64TLCD
STC8H4K64LCD
STC8G1K08A STC8G1K08
STC8G1K08T
STC8G2K64S4
STC8G2K64S2
0000 P1.0/ADC0 P1.0/ADC0 P1.0/ADC0 P1.0/ADC0 P1.0/ADC0 P3.0/ADC0 P1.0/ADC0 P1.0/ADC0
0001 P1.1/ADC1 P1.1/ADC1 P1.1/ADC1 P1.1/ADC1 P1.1/ADC1 P3.1/ADC1 P1.1/ADC1 P1.1/ADC1
0010 P1.2/ADC2 N/A P1.2/ADC2 P5.4/ADC2 P5.4/ADC2 P3.2/ADC2 P1.2/ADC2 P1.2/ADC2
0011 P1.3/ADC3 N/A N/A P1.3/ADC3 P1.3/ADC3 P3.3/ADC3 P1.3/ADC3 P1.3/ADC3
0100 P1.4/ADC4 N/A N/A P1.4/ADC4 P1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