package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev
# Constants
+ ADC2 data.
+ ADCPRE[1:0] bits (ADC prescaler).
Bit 0.
Bit 1.
+ A/D Converter ON / OFF.
+ Data Alignment.
+ Analog watchdog flag.
+ ADC1 Analog watchdog flag.
+ ADC2 Analog watchdog flag.
+ ADC3 Analog watchdog flag.
+ AWDCH[4:0] bits (Analog watchdog channel select bits).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ Analog watchdog enable on regular channels.
+ AAnalog Watchdog interrupt enable.
+ Enable the watchdog on a single channel in scan mode.
+ Continuous Conversion.
+ Regular data.
+ 1st data of a pair of regular conversions.
+ 2nd data of a pair of regular conversions.
+ DMA disable selection (Single ADC).
+ DMA disable selection (Multi-ADC mode).
+ DELAY[3:0] bits (Delay between 2 sampling phases).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
+ Discontinuous mode on regular channels.
+ DISCNUM[2:0] bits (Discontinuous mode channel count).
Bit 0.
Bit 1.
Bit 2.
+ Direct Memory access mode.
+ DMA[1:0] bits (Direct Memory Access mode for multimode).
Bit 0.
Bit 1.
+ End of conversion.
+ ADC1 End of conversion.
+ ADC2 End of conversion.
+ ADC3 End of conversion.
+ Interrupt enable for EOC.
+ End of conversion selection.
+ EXTEN[1:0] bits (External Trigger Conversion mode for regular channelsp).
Bit 0.
Bit 1.
+ EXTSEL[3:0] bits (External Event Select for regular group).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
+ Analog watchdog high threshold.
+ Automatic injected group conversion.
+ Analog watchdog enable on injected channels.
+ Injected data.
+ Discontinuous mode on injected channels.
+ Injected channel end of conversion.
+ ADC1 Injected channel end of conversion.
+ ADC2 Injected channel end of conversion.
+ ADC3 Injected channel end of conversion.
+ Interrupt enable for injected channels.
+ JEXTEN[1:0] bits (External Trigger Conversion mode for injected channelsp).
Bit 0.
Bit 1.
+ JEXTSEL[3:0] bits (External event select for injected group).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
+ JL[1:0] bits (Injected Sequence length).
Bit 0.
Bit 1.
+ Data offset for injected channel 1.
+ Data offset for injected channel 2.
+ Data offset for injected channel 3.
+ Data offset for injected channel 4.
+ JSQ1[4:0] bits (1st conversion in injected sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ JSQ2[4:0] bits (2nd conversion in injected sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ JSQ3[4:0] bits (3rd conversion in injected sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ JSQ4[4:0] bits (4th conversion in injected sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ Injected channel Start flag.
+ ADC1 Injected channel Start flag.
+ ADC2 Injected channel Start flag.
+ ADC3 Injected channel Start flag.
+ Start Conversion of injected channels.
+ L[3:0] bits (Regular channel sequence length).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
+ Analog watchdog low threshold.
+ MULTI[4:0] bits (Multi-ADC mode selection).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ Overrun flag.
+ ADC1 Overrun flag.
+ ADC2 Overrun flag.
+ ADC3 Overrun flag.
+ overrun interrupt enable.
+ RES[2:0] bits (Resolution).
Bit 0.
Bit 1.
+ Scan mode.
+ SMP0[2:0] bits (Channel 0 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP1[2:0] bits (Channel 1 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP10[2:0] bits (Channel 10 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP11[2:0] bits (Channel 11 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP12[2:0] bits (Channel 12 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP13[2:0] bits (Channel 13 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP14[2:0] bits (Channel 14 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP15[2:0] bits (Channel 15 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP16[2:0] bits (Channel 16 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP17[2:0] bits (Channel 17 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP18[2:0] bits (Channel 18 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP2[2:0] bits (Channel 2 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP3[2:0] bits (Channel 3 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP4[2:0] bits (Channel 4 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP5[2:0] bits (Channel 5 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP6[2:0] bits (Channel 6 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP7[2:0] bits (Channel 7 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP8[2:0] bits (Channel 8 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SMP9[2:0] bits (Channel 9 Sample time selection).
Bit 0.
Bit 1.
Bit 2.
+ SQ1[4:0] bits (1st conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ10[4:0] bits (10th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ11[4:0] bits (11th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ12[4:0] bits (12th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ13[4:0] bits (13th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ14[4:0] bits (14th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ15[4:0] bits (15th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ16[4:0] bits (16th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ2[4:0] bits (2nd conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ3[4:0] bits (3rd conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ4[4:0] bits (4th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ5[4:0] bits (5th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ6[4:0] bits (6th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ7[4:0] bits (7th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ8[4:0] bits (8th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ SQ9[4:0] bits (9th conversion in regular sequence).
Bit 0.
Bit 1.
Bit 2.
Bit 3.
Bit 4.
+ Regular channel Start flag.
+ ADC1 Regular channel Start flag.
+ ADC2 Regular channel Start flag.
+ ADC3 Regular channel Start flag.
+ Start Conversion of regular channels.
+ Temperature Sensor and VREFINT Enable.
+ VBAT Enable.