Documentation ¶
Overview ¶
Package adc provides interface to Analog to Digital Converter.
Peripheral: ADC_Periph Analog to Digital Converter. Instances:
ADC1 mmap.ADC1_BASE ADC2 mmap.ADC2_BASE ADC3 mmap.ADC3_BASE
Registers:
0x00 32 SR 0x04 32 CR1 0x08 32 CR2 0x0C 32 SMPR1 0x10 32 SMPR2 0x14 32 JOFR1 0x18 32 JOFR2 0x1C 32 JOFR3 0x20 32 JOFR4 0x24 32 HTR 0x28 32 LTR 0x2C 32 SQR1 0x30 32 SQR2 0x34 32 SQR3 0x38 32 JSQR 0x3C 32 JDR[4] Injected data registers. 0x4C 32 DR
Import:
stm32/o/f10x_hd/mmap
Index ¶
- Constants
- Variables
- type ADC_Periph
- func (p *ADC_Periph) ADC2DATA() RMDR
- func (p *ADC_Periph) ADON() RMCR2
- func (p *ADC_Periph) ALIGN() RMCR2
- func (p *ADC_Periph) AWD() RMSR
- func (p *ADC_Periph) AWDCH() RMCR1
- func (p *ADC_Periph) AWDEN() RMCR1
- func (p *ADC_Periph) AWDIE() RMCR1
- func (p *ADC_Periph) AWDSGL() RMCR1
- func (p *ADC_Periph) BaseAddr() uintptr
- func (p *ADC_Periph) CAL() RMCR2
- func (p *ADC_Periph) CONT() RMCR2
- func (p *ADC_Periph) DATA() RMDR
- func (p *ADC_Periph) DISCEN() RMCR1
- func (p *ADC_Periph) DISCNUM() RMCR1
- func (p *ADC_Periph) DMA() RMCR2
- func (p *ADC_Periph) DUALMOD() RMCR1
- func (p *ADC_Periph) EOC() RMSR
- func (p *ADC_Periph) EOCIE() RMCR1
- func (p *ADC_Periph) EXTSEL() RMCR2
- func (p *ADC_Periph) EXTTRIG() RMCR2
- func (p *ADC_Periph) HT() RMHTR
- func (p *ADC_Periph) JAUTO() RMCR1
- func (p *ADC_Periph) JAWDEN() RMCR1
- func (p *ADC_Periph) JDATA(n int) RMJDR
- func (p *ADC_Periph) JDISCEN() RMCR1
- func (p *ADC_Periph) JEOC() RMSR
- func (p *ADC_Periph) JEOCIE() RMCR1
- func (p *ADC_Periph) JEXTSEL() RMCR2
- func (p *ADC_Periph) JEXTTRIG() RMCR2
- func (p *ADC_Periph) JL() RMJSQR
- func (p *ADC_Periph) JOFFSET1() RMJOFR1
- func (p *ADC_Periph) JOFFSET2() RMJOFR2
- func (p *ADC_Periph) JOFFSET3() RMJOFR3
- func (p *ADC_Periph) JOFFSET4() RMJOFR4
- func (p *ADC_Periph) JSQ1() RMJSQR
- func (p *ADC_Periph) JSQ2() RMJSQR
- func (p *ADC_Periph) JSQ3() RMJSQR
- func (p *ADC_Periph) JSQ4() RMJSQR
- func (p *ADC_Periph) JSTRT() RMSR
- func (p *ADC_Periph) JSWSTART() RMCR2
- func (p *ADC_Periph) L() RMSQR1
- func (p *ADC_Periph) LT() RMLTR
- func (p *ADC_Periph) RSTCAL() RMCR2
- func (p *ADC_Periph) SCAN() RMCR1
- func (p *ADC_Periph) SMP0() RMSMPR2
- func (p *ADC_Periph) SMP1() RMSMPR2
- func (p *ADC_Periph) SMP10() RMSMPR1
- func (p *ADC_Periph) SMP11() RMSMPR1
- func (p *ADC_Periph) SMP12() RMSMPR1
- func (p *ADC_Periph) SMP13() RMSMPR1
- func (p *ADC_Periph) SMP14() RMSMPR1
- func (p *ADC_Periph) SMP15() RMSMPR1
- func (p *ADC_Periph) SMP16() RMSMPR1
- func (p *ADC_Periph) SMP17() RMSMPR1
- func (p *ADC_Periph) SMP2() RMSMPR2
- func (p *ADC_Periph) SMP3() RMSMPR2
- func (p *ADC_Periph) SMP4() RMSMPR2
- func (p *ADC_Periph) SMP5() RMSMPR2
- func (p *ADC_Periph) SMP6() RMSMPR2
- func (p *ADC_Periph) SMP7() RMSMPR2
- func (p *ADC_Periph) SMP8() RMSMPR2
- func (p *ADC_Periph) SMP9() RMSMPR2
- func (p *ADC_Periph) SQ1() RMSQR3
- func (p *ADC_Periph) SQ10() RMSQR2
- func (p *ADC_Periph) SQ11() RMSQR2
- func (p *ADC_Periph) SQ12() RMSQR2
- func (p *ADC_Periph) SQ13() RMSQR1
- func (p *ADC_Periph) SQ14() RMSQR1
- func (p *ADC_Periph) SQ15() RMSQR1
- func (p *ADC_Periph) SQ16() RMSQR1
- func (p *ADC_Periph) SQ2() RMSQR3
- func (p *ADC_Periph) SQ3() RMSQR3
- func (p *ADC_Periph) SQ4() RMSQR3
- func (p *ADC_Periph) SQ5() RMSQR3
- func (p *ADC_Periph) SQ6() RMSQR3
- func (p *ADC_Periph) SQ7() RMSQR2
- func (p *ADC_Periph) SQ8() RMSQR2
- func (p *ADC_Periph) SQ9() RMSQR2
- func (p *ADC_Periph) STRT() RMSR
- func (p *ADC_Periph) SWSTART() RMCR2
- func (p *ADC_Periph) TSVREFE() RMCR2
- type CR1
- type CR2
- type DR
- type HTR
- type JDR
- type JOFR1
- type JOFR2
- type JOFR3
- type JOFR4
- type JSQR
- type LTR
- type RCR1
- func (r *RCR1) AtomicClearBits(mask CR1)
- func (r *RCR1) AtomicSetBits(mask CR1)
- func (r *RCR1) AtomicStoreBits(mask, b CR1)
- func (r *RCR1) Bits(mask CR1) CR1
- func (r *RCR1) ClearBits(mask CR1)
- func (r *RCR1) Load() CR1
- func (r *RCR1) SetBits(mask CR1)
- func (r *RCR1) Store(b CR1)
- func (r *RCR1) StoreBits(mask, b CR1)
- type RCR2
- func (r *RCR2) AtomicClearBits(mask CR2)
- func (r *RCR2) AtomicSetBits(mask CR2)
- func (r *RCR2) AtomicStoreBits(mask, b CR2)
- func (r *RCR2) Bits(mask CR2) CR2
- func (r *RCR2) ClearBits(mask CR2)
- func (r *RCR2) Load() CR2
- func (r *RCR2) SetBits(mask CR2)
- func (r *RCR2) Store(b CR2)
- func (r *RCR2) StoreBits(mask, b CR2)
- type RDR
- type RHTR
- func (r *RHTR) AtomicClearBits(mask HTR)
- func (r *RHTR) AtomicSetBits(mask HTR)
- func (r *RHTR) AtomicStoreBits(mask, b HTR)
- func (r *RHTR) Bits(mask HTR) HTR
- func (r *RHTR) ClearBits(mask HTR)
- func (r *RHTR) Load() HTR
- func (r *RHTR) SetBits(mask HTR)
- func (r *RHTR) Store(b HTR)
- func (r *RHTR) StoreBits(mask, b HTR)
- type RJDR
- func (r *RJDR) AtomicClearBits(mask JDR)
- func (r *RJDR) AtomicSetBits(mask JDR)
- func (r *RJDR) AtomicStoreBits(mask, b JDR)
- func (r *RJDR) Bits(mask JDR) JDR
- func (r *RJDR) ClearBits(mask JDR)
- func (r *RJDR) Load() JDR
- func (r *RJDR) SetBits(mask JDR)
- func (r *RJDR) Store(b JDR)
- func (r *RJDR) StoreBits(mask, b JDR)
- type RJOFR1
- func (r *RJOFR1) AtomicClearBits(mask JOFR1)
- func (r *RJOFR1) AtomicSetBits(mask JOFR1)
- func (r *RJOFR1) AtomicStoreBits(mask, b JOFR1)
- func (r *RJOFR1) Bits(mask JOFR1) JOFR1
- func (r *RJOFR1) ClearBits(mask JOFR1)
- func (r *RJOFR1) Load() JOFR1
- func (r *RJOFR1) SetBits(mask JOFR1)
- func (r *RJOFR1) Store(b JOFR1)
- func (r *RJOFR1) StoreBits(mask, b JOFR1)
- type RJOFR2
- func (r *RJOFR2) AtomicClearBits(mask JOFR2)
- func (r *RJOFR2) AtomicSetBits(mask JOFR2)
- func (r *RJOFR2) AtomicStoreBits(mask, b JOFR2)
- func (r *RJOFR2) Bits(mask JOFR2) JOFR2
- func (r *RJOFR2) ClearBits(mask JOFR2)
- func (r *RJOFR2) Load() JOFR2
- func (r *RJOFR2) SetBits(mask JOFR2)
- func (r *RJOFR2) Store(b JOFR2)
- func (r *RJOFR2) StoreBits(mask, b JOFR2)
- type RJOFR3
- func (r *RJOFR3) AtomicClearBits(mask JOFR3)
- func (r *RJOFR3) AtomicSetBits(mask JOFR3)
- func (r *RJOFR3) AtomicStoreBits(mask, b JOFR3)
- func (r *RJOFR3) Bits(mask JOFR3) JOFR3
- func (r *RJOFR3) ClearBits(mask JOFR3)
- func (r *RJOFR3) Load() JOFR3
- func (r *RJOFR3) SetBits(mask JOFR3)
- func (r *RJOFR3) Store(b JOFR3)
- func (r *RJOFR3) StoreBits(mask, b JOFR3)
- type RJOFR4
- func (r *RJOFR4) AtomicClearBits(mask JOFR4)
- func (r *RJOFR4) AtomicSetBits(mask JOFR4)
- func (r *RJOFR4) AtomicStoreBits(mask, b JOFR4)
- func (r *RJOFR4) Bits(mask JOFR4) JOFR4
- func (r *RJOFR4) ClearBits(mask JOFR4)
- func (r *RJOFR4) Load() JOFR4
- func (r *RJOFR4) SetBits(mask JOFR4)
- func (r *RJOFR4) Store(b JOFR4)
- func (r *RJOFR4) StoreBits(mask, b JOFR4)
- type RJSQR
- func (r *RJSQR) AtomicClearBits(mask JSQR)
- func (r *RJSQR) AtomicSetBits(mask JSQR)
- func (r *RJSQR) AtomicStoreBits(mask, b JSQR)
- func (r *RJSQR) Bits(mask JSQR) JSQR
- func (r *RJSQR) ClearBits(mask JSQR)
- func (r *RJSQR) Load() JSQR
- func (r *RJSQR) SetBits(mask JSQR)
- func (r *RJSQR) Store(b JSQR)
- func (r *RJSQR) StoreBits(mask, b JSQR)
- type RLTR
- func (r *RLTR) AtomicClearBits(mask LTR)
- func (r *RLTR) AtomicSetBits(mask LTR)
- func (r *RLTR) AtomicStoreBits(mask, b LTR)
- func (r *RLTR) Bits(mask LTR) LTR
- func (r *RLTR) ClearBits(mask LTR)
- func (r *RLTR) Load() LTR
- func (r *RLTR) SetBits(mask LTR)
- func (r *RLTR) Store(b LTR)
- func (r *RLTR) StoreBits(mask, b LTR)
- type RMCR1
- type RMCR2
- type RMDR
- type RMHTR
- type RMJDR
- type RMJOFR1
- type RMJOFR2
- type RMJOFR3
- type RMJOFR4
- type RMJSQR
- type RMLTR
- type RMSMPR1
- type RMSMPR2
- type RMSQR1
- type RMSQR2
- type RMSQR3
- type RMSR
- type RSMPR1
- func (r *RSMPR1) AtomicClearBits(mask SMPR1)
- func (r *RSMPR1) AtomicSetBits(mask SMPR1)
- func (r *RSMPR1) AtomicStoreBits(mask, b SMPR1)
- func (r *RSMPR1) Bits(mask SMPR1) SMPR1
- func (r *RSMPR1) ClearBits(mask SMPR1)
- func (r *RSMPR1) Load() SMPR1
- func (r *RSMPR1) SetBits(mask SMPR1)
- func (r *RSMPR1) Store(b SMPR1)
- func (r *RSMPR1) StoreBits(mask, b SMPR1)
- type RSMPR2
- func (r *RSMPR2) AtomicClearBits(mask SMPR2)
- func (r *RSMPR2) AtomicSetBits(mask SMPR2)
- func (r *RSMPR2) AtomicStoreBits(mask, b SMPR2)
- func (r *RSMPR2) Bits(mask SMPR2) SMPR2
- func (r *RSMPR2) ClearBits(mask SMPR2)
- func (r *RSMPR2) Load() SMPR2
- func (r *RSMPR2) SetBits(mask SMPR2)
- func (r *RSMPR2) Store(b SMPR2)
- func (r *RSMPR2) StoreBits(mask, b SMPR2)
- type RSQR1
- func (r *RSQR1) AtomicClearBits(mask SQR1)
- func (r *RSQR1) AtomicSetBits(mask SQR1)
- func (r *RSQR1) AtomicStoreBits(mask, b SQR1)
- func (r *RSQR1) Bits(mask SQR1) SQR1
- func (r *RSQR1) ClearBits(mask SQR1)
- func (r *RSQR1) Load() SQR1
- func (r *RSQR1) SetBits(mask SQR1)
- func (r *RSQR1) Store(b SQR1)
- func (r *RSQR1) StoreBits(mask, b SQR1)
- type RSQR2
- func (r *RSQR2) AtomicClearBits(mask SQR2)
- func (r *RSQR2) AtomicSetBits(mask SQR2)
- func (r *RSQR2) AtomicStoreBits(mask, b SQR2)
- func (r *RSQR2) Bits(mask SQR2) SQR2
- func (r *RSQR2) ClearBits(mask SQR2)
- func (r *RSQR2) Load() SQR2
- func (r *RSQR2) SetBits(mask SQR2)
- func (r *RSQR2) Store(b SQR2)
- func (r *RSQR2) StoreBits(mask, b SQR2)
- type RSQR3
- func (r *RSQR3) AtomicClearBits(mask SQR3)
- func (r *RSQR3) AtomicSetBits(mask SQR3)
- func (r *RSQR3) AtomicStoreBits(mask, b SQR3)
- func (r *RSQR3) Bits(mask SQR3) SQR3
- func (r *RSQR3) ClearBits(mask SQR3)
- func (r *RSQR3) Load() SQR3
- func (r *RSQR3) SetBits(mask SQR3)
- func (r *RSQR3) Store(b SQR3)
- func (r *RSQR3) StoreBits(mask, b SQR3)
- type RSR
- type SMPR1
- type SMPR2
- type SQR1
- type SQR2
- type SQR3
- type SR
Constants ¶
View Source
const ( AWDn = 0 EOCn = 1 JEOCn = 2 JSTRTn = 3 STRTn = 4 )
View Source
const ( AWDCHn = 0 EOCIEn = 5 AWDIEn = 6 JEOCIEn = 7 SCANn = 8 AWDSGLn = 9 JAUTOn = 10 DISCENn = 11 JDISCENn = 12 DISCNUMn = 13 DUALMODn = 16 JAWDENn = 22 AWDENn = 23 )
View Source
const ( ADONn = 0 CONTn = 1 CALn = 2 RSTCALn = 3 DMAn = 8 ALIGNn = 11 JEXTSELn = 12 JEXTTRIGn = 15 EXTSELn = 17 EXTTRIGn = 20 JSWSTARTn = 21 SWSTARTn = 22 TSVREFEn = 23 )
View Source
const ( SMP10n = 0 SMP11n = 3 SMP12n = 6 SMP13n = 9 SMP14n = 12 SMP15n = 15 SMP16n = 18 SMP17n = 21 )
View Source
const ( SMP0n = 0 SMP1n = 3 SMP2n = 6 SMP3n = 9 SMP4n = 12 SMP5n = 15 SMP6n = 18 SMP7n = 21 SMP8n = 24 SMP9n = 27 )
View Source
const ( SQ13n = 0 SQ14n = 5 SQ15n = 10 SQ16n = 15 Ln = 20 )
View Source
const ( SQ7n = 0 SQ8n = 5 SQ9n = 10 SQ10n = 15 SQ11n = 20 SQ12n = 25 )
View Source
const ( SQ1n = 0 SQ2n = 5 SQ3n = 10 SQ4n = 15 SQ5n = 20 SQ6n = 25 )
View Source
const ( JSQ1n = 0 JSQ2n = 5 JSQ3n = 10 JSQ4n = 15 JLn = 20 )
View Source
const ( DATAn = 0 ADC2DATAn = 16 )
View Source
const (
HTn = 0
)
View Source
const (
JDATAn = 0
)
View Source
const (
JOFFSET1n = 0
)
View Source
const (
JOFFSET2n = 0
)
View Source
const (
JOFFSET3n = 0
)
View Source
const (
JOFFSET4n = 0
)
View Source
const (
LTn = 0
)
Variables ¶
View Source
var ADC1 = (*ADC_Periph)(unsafe.Pointer(uintptr(mmap.ADC1_BASE)))
View Source
var ADC2 = (*ADC_Periph)(unsafe.Pointer(uintptr(mmap.ADC2_BASE)))
View Source
var ADC3 = (*ADC_Periph)(unsafe.Pointer(uintptr(mmap.ADC3_BASE)))
Functions ¶
This section is empty.
Types ¶
type ADC_Periph ¶
type ADC_Periph struct { SR RSR CR1 RCR1 CR2 RCR2 SMPR1 RSMPR1 SMPR2 RSMPR2 JOFR1 RJOFR1 JOFR2 RJOFR2 JOFR3 RJOFR3 JOFR4 RJOFR4 HTR RHTR LTR RLTR SQR1 RSQR1 SQR2 RSQR2 SQR3 RSQR3 JSQR RJSQR JDR [4]RJDR DR RDR }
func (*ADC_Periph) ADC2DATA ¶
func (p *ADC_Periph) ADC2DATA() RMDR
func (*ADC_Periph) ADON ¶
func (p *ADC_Periph) ADON() RMCR2
func (*ADC_Periph) ALIGN ¶
func (p *ADC_Periph) ALIGN() RMCR2
func (*ADC_Periph) AWD ¶
func (p *ADC_Periph) AWD() RMSR
func (*ADC_Periph) AWDCH ¶
func (p *ADC_Periph) AWDCH() RMCR1
func (*ADC_Periph) AWDEN ¶
func (p *ADC_Periph) AWDEN() RMCR1
func (*ADC_Periph) AWDIE ¶
func (p *ADC_Periph) AWDIE() RMCR1
func (*ADC_Periph) AWDSGL ¶
func (p *ADC_Periph) AWDSGL() RMCR1
func (*ADC_Periph) BaseAddr ¶
func (p *ADC_Periph) BaseAddr() uintptr
func (*ADC_Periph) CAL ¶
func (p *ADC_Periph) CAL() RMCR2
func (*ADC_Periph) CONT ¶
func (p *ADC_Periph) CONT() RMCR2
func (*ADC_Periph) DATA ¶
func (p *ADC_Periph) DATA() RMDR
func (*ADC_Periph) DISCEN ¶
func (p *ADC_Periph) DISCEN() RMCR1
func (*ADC_Periph) DISCNUM ¶
func (p *ADC_Periph) DISCNUM() RMCR1
func (*ADC_Periph) DMA ¶
func (p *ADC_Periph) DMA() RMCR2
func (*ADC_Periph) DUALMOD ¶
func (p *ADC_Periph) DUALMOD() RMCR1
func (*ADC_Periph) EOC ¶
func (p *ADC_Periph) EOC() RMSR
func (*ADC_Periph) EOCIE ¶
func (p *ADC_Periph) EOCIE() RMCR1
func (*ADC_Periph) EXTSEL ¶
func (p *ADC_Periph) EXTSEL() RMCR2
func (*ADC_Periph) EXTTRIG ¶
func (p *ADC_Periph) EXTTRIG() RMCR2
func (*ADC_Periph) HT ¶
func (p *ADC_Periph) HT() RMHTR
func (*ADC_Periph) JAUTO ¶
func (p *ADC_Periph) JAUTO() RMCR1
func (*ADC_Periph) JAWDEN ¶
func (p *ADC_Periph) JAWDEN() RMCR1
func (*ADC_Periph) JDATA ¶
func (p *ADC_Periph) JDATA(n int) RMJDR
func (*ADC_Periph) JDISCEN ¶
func (p *ADC_Periph) JDISCEN() RMCR1
func (*ADC_Periph) JEOC ¶
func (p *ADC_Periph) JEOC() RMSR
func (*ADC_Periph) JEOCIE ¶
func (p *ADC_Periph) JEOCIE() RMCR1
func (*ADC_Periph) JEXTSEL ¶
func (p *ADC_Periph) JEXTSEL() RMCR2
func (*ADC_Periph) JEXTTRIG ¶
func (p *ADC_Periph) JEXTTRIG() RMCR2
func (*ADC_Periph) JL ¶
func (p *ADC_Periph) JL() RMJSQR
func (*ADC_Periph) JOFFSET1 ¶
func (p *ADC_Periph) JOFFSET1() RMJOFR1
func (*ADC_Periph) JOFFSET2 ¶
func (p *ADC_Periph) JOFFSET2() RMJOFR2
func (*ADC_Periph) JOFFSET3 ¶
func (p *ADC_Periph) JOFFSET3() RMJOFR3
func (*ADC_Periph) JOFFSET4 ¶
func (p *ADC_Periph) JOFFSET4() RMJOFR4
func (*ADC_Periph) JSQ1 ¶
func (p *ADC_Periph) JSQ1() RMJSQR
func (*ADC_Periph) JSQ2 ¶
func (p *ADC_Periph) JSQ2() RMJSQR
func (*ADC_Periph) JSQ3 ¶
func (p *ADC_Periph) JSQ3() RMJSQR
func (*ADC_Periph) JSQ4 ¶
func (p *ADC_Periph) JSQ4() RMJSQR
func (*ADC_Periph) JSTRT ¶
func (p *ADC_Periph) JSTRT() RMSR
func (*ADC_Periph) JSWSTART ¶
func (p *ADC_Periph) JSWSTART() RMCR2
func (*ADC_Periph) L ¶
func (p *ADC_Periph) L() RMSQR1
func (*ADC_Periph) LT ¶
func (p *ADC_Periph) LT() RMLTR
func (*ADC_Periph) RSTCAL ¶
func (p *ADC_Periph) RSTCAL() RMCR2
func (*ADC_Periph) SCAN ¶
func (p *ADC_Periph) SCAN() RMCR1
func (*ADC_Periph) SMP0 ¶
func (p *ADC_Periph) SMP0() RMSMPR2
func (*ADC_Periph) SMP1 ¶
func (p *ADC_Periph) SMP1() RMSMPR2
func (*ADC_Periph) SMP10 ¶
func (p *ADC_Periph) SMP10() RMSMPR1
func (*ADC_Periph) SMP11 ¶
func (p *ADC_Periph) SMP11() RMSMPR1
func (*ADC_Periph) SMP12 ¶
func (p *ADC_Periph) SMP12() RMSMPR1
func (*ADC_Periph) SMP13 ¶
func (p *ADC_Periph) SMP13() RMSMPR1
func (*ADC_Periph) SMP14 ¶
func (p *ADC_Periph) SMP14() RMSMPR1
func (*ADC_Periph) SMP15 ¶
func (p *ADC_Periph) SMP15() RMSMPR1
func (*ADC_Periph) SMP16 ¶
func (p *ADC_Periph) SMP16() RMSMPR1
func (*ADC_Periph) SMP17 ¶
func (p *ADC_Periph) SMP17() RMSMPR1
func (*ADC_Periph) SMP2 ¶
func (p *ADC_Periph) SMP2() RMSMPR2
func (*ADC_Periph) SMP3 ¶
func (p *ADC_Periph) SMP3() RMSMPR2
func (*ADC_Periph) SMP4 ¶
func (p *ADC_Periph) SMP4() RMSMPR2
func (*ADC_Periph) SMP5 ¶
func (p *ADC_Periph) SMP5() RMSMPR2
func (*ADC_Periph) SMP6 ¶
func (p *ADC_Periph) SMP6() RMSMPR2
func (*ADC_Periph) SMP7 ¶
func (p *ADC_Periph) SMP7() RMSMPR2
func (*ADC_Periph) SMP8 ¶
func (p *ADC_Periph) SMP8() RMSMPR2
func (*ADC_Periph) SMP9 ¶
func (p *ADC_Periph) SMP9() RMSMPR2
func (*ADC_Periph) SQ1 ¶
func (p *ADC_Periph) SQ1() RMSQR3
func (*ADC_Periph) SQ10 ¶
func (p *ADC_Periph) SQ10() RMSQR2
func (*ADC_Periph) SQ11 ¶
func (p *ADC_Periph) SQ11() RMSQR2
func (*ADC_Periph) SQ12 ¶
func (p *ADC_Periph) SQ12() RMSQR2
func (*ADC_Periph) SQ13 ¶
func (p *ADC_Periph) SQ13() RMSQR1
func (*ADC_Periph) SQ14 ¶
func (p *ADC_Periph) SQ14() RMSQR1
func (*ADC_Periph) SQ15 ¶
func (p *ADC_Periph) SQ15() RMSQR1
func (*ADC_Periph) SQ16 ¶
func (p *ADC_Periph) SQ16() RMSQR1
func (*ADC_Periph) SQ2 ¶
func (p *ADC_Periph) SQ2() RMSQR3
func (*ADC_Periph) SQ3 ¶
func (p *ADC_Periph) SQ3() RMSQR3
func (*ADC_Periph) SQ4 ¶
func (p *ADC_Periph) SQ4() RMSQR3
func (*ADC_Periph) SQ5 ¶
func (p *ADC_Periph) SQ5() RMSQR3
func (*ADC_Periph) SQ6 ¶
func (p *ADC_Periph) SQ6() RMSQR3
func (*ADC_Periph) SQ7 ¶
func (p *ADC_Periph) SQ7() RMSQR2
func (*ADC_Periph) SQ8 ¶
func (p *ADC_Periph) SQ8() RMSQR2
func (*ADC_Periph) SQ9 ¶
func (p *ADC_Periph) SQ9() RMSQR2
func (*ADC_Periph) STRT ¶
func (p *ADC_Periph) STRT() RMSR
func (*ADC_Periph) SWSTART ¶
func (p *ADC_Periph) SWSTART() RMCR2
func (*ADC_Periph) TSVREFE ¶
func (p *ADC_Periph) TSVREFE() RMCR2
type CR1 ¶
type CR1 uint32
const ( AWDCH CR1 = 0x1F << 0 //+ AWDCH[4:0] bits (Analog watchdog channel select bits). AWDCH_0 CR1 = 0x01 << 0 // Bit 0. AWDCH_1 CR1 = 0x02 << 0 // Bit 1. AWDCH_2 CR1 = 0x04 << 0 // Bit 2. AWDCH_3 CR1 = 0x08 << 0 // Bit 3. AWDCH_4 CR1 = 0x10 << 0 // Bit 4. EOCIE CR1 = 0x01 << 5 //+ Interrupt enable for EOC. AWDIE CR1 = 0x01 << 6 //+ Analog Watchdog interrupt enable. JEOCIE CR1 = 0x01 << 7 //+ Interrupt enable for injected channels. SCAN CR1 = 0x01 << 8 //+ Scan mode. AWDSGL CR1 = 0x01 << 9 //+ Enable the watchdog on a single channel in scan mode. JAUTO CR1 = 0x01 << 10 //+ Automatic injected group conversion. DISCEN CR1 = 0x01 << 11 //+ Discontinuous mode on regular channels. JDISCEN CR1 = 0x01 << 12 //+ Discontinuous mode on injected channels. DISCNUM CR1 = 0x07 << 13 //+ DISCNUM[2:0] bits (Discontinuous mode channel count). DISCNUM_0 CR1 = 0x01 << 13 // Bit 0. DISCNUM_1 CR1 = 0x02 << 13 // Bit 1. DISCNUM_2 CR1 = 0x04 << 13 // Bit 2. DUALMOD CR1 = 0x0F << 16 //+ DUALMOD[3:0] bits (Dual mode selection). DUALMOD_0 CR1 = 0x01 << 16 // Bit 0. DUALMOD_1 CR1 = 0x02 << 16 // Bit 1. DUALMOD_2 CR1 = 0x04 << 16 // Bit 2. DUALMOD_3 CR1 = 0x08 << 16 // Bit 3. JAWDEN CR1 = 0x01 << 22 //+ Analog watchdog enable on injected channels. AWDEN CR1 = 0x01 << 23 //+ Analog watchdog enable on regular channels. )
type CR2 ¶
type CR2 uint32
const ( ADON CR2 = 0x01 << 0 //+ A/D Converter ON / OFF. CONT CR2 = 0x01 << 1 //+ Continuous Conversion. CAL CR2 = 0x01 << 2 //+ A/D Calibration. RSTCAL CR2 = 0x01 << 3 //+ Reset Calibration. DMA CR2 = 0x01 << 8 //+ Direct Memory access mode. ALIGN CR2 = 0x01 << 11 //+ Data Alignment. JEXTSEL CR2 = 0x07 << 12 //+ JEXTSEL[2:0] bits (External event select for injected group). JEXTSEL_0 CR2 = 0x01 << 12 // Bit 0. JEXTSEL_1 CR2 = 0x02 << 12 // Bit 1. JEXTSEL_2 CR2 = 0x04 << 12 // Bit 2. JEXTTRIG CR2 = 0x01 << 15 //+ External Trigger Conversion mode for injected channels. EXTSEL CR2 = 0x07 << 17 //+ EXTSEL[2:0] bits (External Event Select for regular group). EXTSEL_0 CR2 = 0x01 << 17 // Bit 0. EXTSEL_1 CR2 = 0x02 << 17 // Bit 1. EXTSEL_2 CR2 = 0x04 << 17 // Bit 2. EXTTRIG CR2 = 0x01 << 20 //+ External Trigger Conversion mode for regular channels. JSWSTART CR2 = 0x01 << 21 //+ Start Conversion of injected channels. SWSTART CR2 = 0x01 << 22 //+ Start Conversion of regular channels. TSVREFE CR2 = 0x01 << 23 //+ Temperature Sensor and VREFINT Enable. )
type JOFR1 ¶
type JOFR1 uint32
const (
JOFFSET1 JOFR1 = 0xFFF << 0 //+ Data offset for injected channel 1.
)
type JOFR2 ¶
type JOFR2 uint32
const (
JOFFSET2 JOFR2 = 0xFFF << 0 //+ Data offset for injected channel 2.
)
type JOFR3 ¶
type JOFR3 uint32
const (
JOFFSET3 JOFR3 = 0xFFF << 0 //+ Data offset for injected channel 3.
)
type JOFR4 ¶
type JOFR4 uint32
const (
JOFFSET4 JOFR4 = 0xFFF << 0 //+ Data offset for injected channel 4.
)
type JSQR ¶
type JSQR uint32
const ( JSQ1 JSQR = 0x1F << 0 //+ JSQ1[4:0] bits (1st conversion in injected sequence). JSQ1_0 JSQR = 0x01 << 0 // Bit 0. JSQ1_1 JSQR = 0x02 << 0 // Bit 1. JSQ1_2 JSQR = 0x04 << 0 // Bit 2. JSQ1_3 JSQR = 0x08 << 0 // Bit 3. JSQ1_4 JSQR = 0x10 << 0 // Bit 4. JSQ2 JSQR = 0x1F << 5 //+ JSQ2[4:0] bits (2nd conversion in injected sequence). JSQ2_0 JSQR = 0x01 << 5 // Bit 0. JSQ2_1 JSQR = 0x02 << 5 // Bit 1. JSQ2_2 JSQR = 0x04 << 5 // Bit 2. JSQ2_3 JSQR = 0x08 << 5 // Bit 3. JSQ2_4 JSQR = 0x10 << 5 // Bit 4. JSQ3 JSQR = 0x1F << 10 //+ JSQ3[4:0] bits (3rd conversion in injected sequence). JSQ3_0 JSQR = 0x01 << 10 // Bit 0. JSQ3_1 JSQR = 0x02 << 10 // Bit 1. JSQ3_2 JSQR = 0x04 << 10 // Bit 2. JSQ3_3 JSQR = 0x08 << 10 // Bit 3. JSQ3_4 JSQR = 0x10 << 10 // Bit 4. JSQ4 JSQR = 0x1F << 15 //+ JSQ4[4:0] bits (4th conversion in injected sequence). JSQ4_0 JSQR = 0x01 << 15 // Bit 0. JSQ4_1 JSQR = 0x02 << 15 // Bit 1. JSQ4_2 JSQR = 0x04 << 15 // Bit 2. JSQ4_3 JSQR = 0x08 << 15 // Bit 3. JSQ4_4 JSQR = 0x10 << 15 // Bit 4. JL JSQR = 0x03 << 20 //+ JL[1:0] bits (Injected Sequence length). JL_0 JSQR = 0x01 << 20 // Bit 0. JL_1 JSQR = 0x02 << 20 // Bit 1. )
type RCR1 ¶
func (*RCR1) AtomicClearBits ¶
func (*RCR1) AtomicSetBits ¶
func (*RCR1) AtomicStoreBits ¶
type RCR2 ¶
func (*RCR2) AtomicClearBits ¶
func (*RCR2) AtomicSetBits ¶
func (*RCR2) AtomicStoreBits ¶
type RHTR ¶
func (*RHTR) AtomicClearBits ¶
func (*RHTR) AtomicSetBits ¶
func (*RHTR) AtomicStoreBits ¶
type RJDR ¶
func (*RJDR) AtomicClearBits ¶
func (*RJDR) AtomicSetBits ¶
func (*RJDR) AtomicStoreBits ¶
type RJOFR1 ¶
func (*RJOFR1) AtomicClearBits ¶
func (*RJOFR1) AtomicSetBits ¶
func (*RJOFR1) AtomicStoreBits ¶
type RJOFR2 ¶
func (*RJOFR2) AtomicClearBits ¶
func (*RJOFR2) AtomicSetBits ¶
func (*RJOFR2) AtomicStoreBits ¶
type RJOFR3 ¶
func (*RJOFR3) AtomicClearBits ¶
func (*RJOFR3) AtomicSetBits ¶
func (*RJOFR3) AtomicStoreBits ¶
type RJOFR4 ¶
func (*RJOFR4) AtomicClearBits ¶
func (*RJOFR4) AtomicSetBits ¶
func (*RJOFR4) AtomicStoreBits ¶
type RJSQR ¶
func (*RJSQR) AtomicClearBits ¶
func (*RJSQR) AtomicSetBits ¶
func (*RJSQR) AtomicStoreBits ¶
type RLTR ¶
func (*RLTR) AtomicClearBits ¶
func (*RLTR) AtomicSetBits ¶
func (*RLTR) AtomicStoreBits ¶
type RSMPR1 ¶
func (*RSMPR1) AtomicClearBits ¶
func (*RSMPR1) AtomicSetBits ¶
func (*RSMPR1) AtomicStoreBits ¶
type RSMPR2 ¶
func (*RSMPR2) AtomicClearBits ¶
func (*RSMPR2) AtomicSetBits ¶
func (*RSMPR2) AtomicStoreBits ¶
type RSQR1 ¶
func (*RSQR1) AtomicClearBits ¶
func (*RSQR1) AtomicSetBits ¶
func (*RSQR1) AtomicStoreBits ¶
type RSQR2 ¶
func (*RSQR2) AtomicClearBits ¶
func (*RSQR2) AtomicSetBits ¶
func (*RSQR2) AtomicStoreBits ¶
type RSQR3 ¶
func (*RSQR3) AtomicClearBits ¶
func (*RSQR3) AtomicSetBits ¶
func (*RSQR3) AtomicStoreBits ¶
type SMPR1 ¶
type SMPR1 uint32
const ( SMP10 SMPR1 = 0x07 << 0 //+ SMP10[2:0] bits (Channel 10 Sample time selection). SMP10_0 SMPR1 = 0x01 << 0 // Bit 0. SMP10_1 SMPR1 = 0x02 << 0 // Bit 1. SMP10_2 SMPR1 = 0x04 << 0 // Bit 2. SMP11 SMPR1 = 0x07 << 3 //+ SMP11[2:0] bits (Channel 11 Sample time selection). SMP11_0 SMPR1 = 0x01 << 3 // Bit 0. SMP11_1 SMPR1 = 0x02 << 3 // Bit 1. SMP11_2 SMPR1 = 0x04 << 3 // Bit 2. SMP12 SMPR1 = 0x07 << 6 //+ SMP12[2:0] bits (Channel 12 Sample time selection). SMP12_0 SMPR1 = 0x01 << 6 // Bit 0. SMP12_1 SMPR1 = 0x02 << 6 // Bit 1. SMP12_2 SMPR1 = 0x04 << 6 // Bit 2. SMP13 SMPR1 = 0x07 << 9 //+ SMP13[2:0] bits (Channel 13 Sample time selection). SMP13_0 SMPR1 = 0x01 << 9 // Bit 0. SMP13_1 SMPR1 = 0x02 << 9 // Bit 1. SMP13_2 SMPR1 = 0x04 << 9 // Bit 2. SMP14 SMPR1 = 0x07 << 12 //+ SMP14[2:0] bits (Channel 14 Sample time selection). SMP14_0 SMPR1 = 0x01 << 12 // Bit 0. SMP14_1 SMPR1 = 0x02 << 12 // Bit 1. SMP14_2 SMPR1 = 0x04 << 12 // Bit 2. SMP15 SMPR1 = 0x07 << 15 //+ SMP15[2:0] bits (Channel 15 Sample time selection). SMP15_0 SMPR1 = 0x01 << 15 // Bit 0. SMP15_1 SMPR1 = 0x02 << 15 // Bit 1. SMP15_2 SMPR1 = 0x04 << 15 // Bit 2. SMP16 SMPR1 = 0x07 << 18 //+ SMP16[2:0] bits (Channel 16 Sample time selection). SMP16_0 SMPR1 = 0x01 << 18 // Bit 0. SMP16_1 SMPR1 = 0x02 << 18 // Bit 1. SMP16_2 SMPR1 = 0x04 << 18 // Bit 2. SMP17 SMPR1 = 0x07 << 21 //+ SMP17[2:0] bits (Channel 17 Sample time selection). SMP17_0 SMPR1 = 0x01 << 21 // Bit 0. SMP17_1 SMPR1 = 0x02 << 21 // Bit 1. SMP17_2 SMPR1 = 0x04 << 21 // Bit 2. )
type SMPR2 ¶
type SMPR2 uint32
const ( SMP0 SMPR2 = 0x07 << 0 //+ SMP0[2:0] bits (Channel 0 Sample time selection). SMP0_0 SMPR2 = 0x01 << 0 // Bit 0. SMP0_1 SMPR2 = 0x02 << 0 // Bit 1. SMP0_2 SMPR2 = 0x04 << 0 // Bit 2. SMP1 SMPR2 = 0x07 << 3 //+ SMP1[2:0] bits (Channel 1 Sample time selection). SMP1_0 SMPR2 = 0x01 << 3 // Bit 0. SMP1_1 SMPR2 = 0x02 << 3 // Bit 1. SMP1_2 SMPR2 = 0x04 << 3 // Bit 2. SMP2 SMPR2 = 0x07 << 6 //+ SMP2[2:0] bits (Channel 2 Sample time selection). SMP2_0 SMPR2 = 0x01 << 6 // Bit 0. SMP2_1 SMPR2 = 0x02 << 6 // Bit 1. SMP2_2 SMPR2 = 0x04 << 6 // Bit 2. SMP3 SMPR2 = 0x07 << 9 //+ SMP3[2:0] bits (Channel 3 Sample time selection). SMP3_0 SMPR2 = 0x01 << 9 // Bit 0. SMP3_1 SMPR2 = 0x02 << 9 // Bit 1. SMP3_2 SMPR2 = 0x04 << 9 // Bit 2. SMP4 SMPR2 = 0x07 << 12 //+ SMP4[2:0] bits (Channel 4 Sample time selection). SMP4_0 SMPR2 = 0x01 << 12 // Bit 0. SMP4_1 SMPR2 = 0x02 << 12 // Bit 1. SMP4_2 SMPR2 = 0x04 << 12 // Bit 2. SMP5 SMPR2 = 0x07 << 15 //+ SMP5[2:0] bits (Channel 5 Sample time selection). SMP5_0 SMPR2 = 0x01 << 15 // Bit 0. SMP5_1 SMPR2 = 0x02 << 15 // Bit 1. SMP5_2 SMPR2 = 0x04 << 15 // Bit 2. SMP6 SMPR2 = 0x07 << 18 //+ SMP6[2:0] bits (Channel 6 Sample time selection). SMP6_0 SMPR2 = 0x01 << 18 // Bit 0. SMP6_1 SMPR2 = 0x02 << 18 // Bit 1. SMP6_2 SMPR2 = 0x04 << 18 // Bit 2. SMP7 SMPR2 = 0x07 << 21 //+ SMP7[2:0] bits (Channel 7 Sample time selection). SMP7_0 SMPR2 = 0x01 << 21 // Bit 0. SMP7_1 SMPR2 = 0x02 << 21 // Bit 1. SMP7_2 SMPR2 = 0x04 << 21 // Bit 2. SMP8 SMPR2 = 0x07 << 24 //+ SMP8[2:0] bits (Channel 8 Sample time selection). SMP8_0 SMPR2 = 0x01 << 24 // Bit 0. SMP8_1 SMPR2 = 0x02 << 24 // Bit 1. SMP8_2 SMPR2 = 0x04 << 24 // Bit 2. SMP9 SMPR2 = 0x07 << 27 //+ SMP9[2:0] bits (Channel 9 Sample time selection). SMP9_0 SMPR2 = 0x01 << 27 // Bit 0. SMP9_1 SMPR2 = 0x02 << 27 // Bit 1. SMP9_2 SMPR2 = 0x04 << 27 // Bit 2. )
type SQR1 ¶
type SQR1 uint32
const ( SQ13 SQR1 = 0x1F << 0 //+ SQ13[4:0] bits (13th conversion in regular sequence). SQ13_0 SQR1 = 0x01 << 0 // Bit 0. SQ13_1 SQR1 = 0x02 << 0 // Bit 1. SQ13_2 SQR1 = 0x04 << 0 // Bit 2. SQ13_3 SQR1 = 0x08 << 0 // Bit 3. SQ13_4 SQR1 = 0x10 << 0 // Bit 4. SQ14 SQR1 = 0x1F << 5 //+ SQ14[4:0] bits (14th conversion in regular sequence). SQ14_0 SQR1 = 0x01 << 5 // Bit 0. SQ14_1 SQR1 = 0x02 << 5 // Bit 1. SQ14_2 SQR1 = 0x04 << 5 // Bit 2. SQ14_3 SQR1 = 0x08 << 5 // Bit 3. SQ14_4 SQR1 = 0x10 << 5 // Bit 4. SQ15 SQR1 = 0x1F << 10 //+ SQ15[4:0] bits (15th conversion in regular sequence). SQ15_0 SQR1 = 0x01 << 10 // Bit 0. SQ15_1 SQR1 = 0x02 << 10 // Bit 1. SQ15_2 SQR1 = 0x04 << 10 // Bit 2. SQ15_3 SQR1 = 0x08 << 10 // Bit 3. SQ15_4 SQR1 = 0x10 << 10 // Bit 4. SQ16 SQR1 = 0x1F << 15 //+ SQ16[4:0] bits (16th conversion in regular sequence). SQ16_0 SQR1 = 0x01 << 15 // Bit 0. SQ16_1 SQR1 = 0x02 << 15 // Bit 1. SQ16_2 SQR1 = 0x04 << 15 // Bit 2. SQ16_3 SQR1 = 0x08 << 15 // Bit 3. SQ16_4 SQR1 = 0x10 << 15 // Bit 4. L SQR1 = 0x0F << 20 //+ L[3:0] bits (Regular channel sequence length). L_0 SQR1 = 0x01 << 20 // Bit 0. L_1 SQR1 = 0x02 << 20 // Bit 1. L_2 SQR1 = 0x04 << 20 // Bit 2. L_3 SQR1 = 0x08 << 20 // Bit 3. )
type SQR2 ¶
type SQR2 uint32
const ( SQ7 SQR2 = 0x1F << 0 //+ SQ7[4:0] bits (7th conversion in regular sequence). SQ7_0 SQR2 = 0x01 << 0 // Bit 0. SQ7_1 SQR2 = 0x02 << 0 // Bit 1. SQ7_2 SQR2 = 0x04 << 0 // Bit 2. SQ7_3 SQR2 = 0x08 << 0 // Bit 3. SQ7_4 SQR2 = 0x10 << 0 // Bit 4. SQ8 SQR2 = 0x1F << 5 //+ SQ8[4:0] bits (8th conversion in regular sequence). SQ8_0 SQR2 = 0x01 << 5 // Bit 0. SQ8_1 SQR2 = 0x02 << 5 // Bit 1. SQ8_2 SQR2 = 0x04 << 5 // Bit 2. SQ8_3 SQR2 = 0x08 << 5 // Bit 3. SQ8_4 SQR2 = 0x10 << 5 // Bit 4. SQ9 SQR2 = 0x1F << 10 //+ SQ9[4:0] bits (9th conversion in regular sequence). SQ9_0 SQR2 = 0x01 << 10 // Bit 0. SQ9_1 SQR2 = 0x02 << 10 // Bit 1. SQ9_2 SQR2 = 0x04 << 10 // Bit 2. SQ9_3 SQR2 = 0x08 << 10 // Bit 3. SQ9_4 SQR2 = 0x10 << 10 // Bit 4. SQ10 SQR2 = 0x1F << 15 //+ SQ10[4:0] bits (10th conversion in regular sequence). SQ10_0 SQR2 = 0x01 << 15 // Bit 0. SQ10_1 SQR2 = 0x02 << 15 // Bit 1. SQ10_2 SQR2 = 0x04 << 15 // Bit 2. SQ10_3 SQR2 = 0x08 << 15 // Bit 3. SQ10_4 SQR2 = 0x10 << 15 // Bit 4. SQ11 SQR2 = 0x1F << 20 //+ SQ11[4:0] bits (11th conversion in regular sequence). SQ11_0 SQR2 = 0x01 << 20 // Bit 0. SQ11_1 SQR2 = 0x02 << 20 // Bit 1. SQ11_2 SQR2 = 0x04 << 20 // Bit 2. SQ11_3 SQR2 = 0x08 << 20 // Bit 3. SQ11_4 SQR2 = 0x10 << 20 // Bit 4. SQ12 SQR2 = 0x1F << 25 //+ SQ12[4:0] bits (12th conversion in regular sequence). SQ12_0 SQR2 = 0x01 << 25 // Bit 0. SQ12_1 SQR2 = 0x02 << 25 // Bit 1. SQ12_2 SQR2 = 0x04 << 25 // Bit 2. SQ12_3 SQR2 = 0x08 << 25 // Bit 3. SQ12_4 SQR2 = 0x10 << 25 // Bit 4. )
type SQR3 ¶
type SQR3 uint32
const ( SQ1 SQR3 = 0x1F << 0 //+ SQ1[4:0] bits (1st conversion in regular sequence). SQ1_0 SQR3 = 0x01 << 0 // Bit 0. SQ1_1 SQR3 = 0x02 << 0 // Bit 1. SQ1_2 SQR3 = 0x04 << 0 // Bit 2. SQ1_3 SQR3 = 0x08 << 0 // Bit 3. SQ1_4 SQR3 = 0x10 << 0 // Bit 4. SQ2 SQR3 = 0x1F << 5 //+ SQ2[4:0] bits (2nd conversion in regular sequence). SQ2_0 SQR3 = 0x01 << 5 // Bit 0. SQ2_1 SQR3 = 0x02 << 5 // Bit 1. SQ2_2 SQR3 = 0x04 << 5 // Bit 2. SQ2_3 SQR3 = 0x08 << 5 // Bit 3. SQ2_4 SQR3 = 0x10 << 5 // Bit 4. SQ3 SQR3 = 0x1F << 10 //+ SQ3[4:0] bits (3rd conversion in regular sequence). SQ3_0 SQR3 = 0x01 << 10 // Bit 0. SQ3_1 SQR3 = 0x02 << 10 // Bit 1. SQ3_2 SQR3 = 0x04 << 10 // Bit 2. SQ3_3 SQR3 = 0x08 << 10 // Bit 3. SQ3_4 SQR3 = 0x10 << 10 // Bit 4. SQ4 SQR3 = 0x1F << 15 //+ SQ4[4:0] bits (4th conversion in regular sequence). SQ4_0 SQR3 = 0x01 << 15 // Bit 0. SQ4_1 SQR3 = 0x02 << 15 // Bit 1. SQ4_2 SQR3 = 0x04 << 15 // Bit 2. SQ4_3 SQR3 = 0x08 << 15 // Bit 3. SQ4_4 SQR3 = 0x10 << 15 // Bit 4. SQ5 SQR3 = 0x1F << 20 //+ SQ5[4:0] bits (5th conversion in regular sequence). SQ5_0 SQR3 = 0x01 << 20 // Bit 0. SQ5_1 SQR3 = 0x02 << 20 // Bit 1. SQ5_2 SQR3 = 0x04 << 20 // Bit 2. SQ5_3 SQR3 = 0x08 << 20 // Bit 3. SQ5_4 SQR3 = 0x10 << 20 // Bit 4. SQ6 SQR3 = 0x1F << 25 //+ SQ6[4:0] bits (6th conversion in regular sequence). SQ6_0 SQR3 = 0x01 << 25 // Bit 0. SQ6_1 SQR3 = 0x02 << 25 // Bit 1. SQ6_2 SQR3 = 0x04 << 25 // Bit 2. SQ6_3 SQR3 = 0x08 << 25 // Bit 3. SQ6_4 SQR3 = 0x10 << 25 // Bit 4. )
Click to show internal directories.
Click to hide internal directories.