0x50000000: Analog-to-Digital Converter
186/197 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IER | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CFGR2 | ||||||||||||||||||||||||||||||||
0x14 | SMPR1 | ||||||||||||||||||||||||||||||||
0x18 | SMPR2 | ||||||||||||||||||||||||||||||||
0x20 | TR1 | ||||||||||||||||||||||||||||||||
0x24 | TR2 | ||||||||||||||||||||||||||||||||
0x28 | TR3 | ||||||||||||||||||||||||||||||||
0x30 | SQR1 | ||||||||||||||||||||||||||||||||
0x34 | SQR2 | ||||||||||||||||||||||||||||||||
0x38 | SQR3 | ||||||||||||||||||||||||||||||||
0x3c | SQR4 | ||||||||||||||||||||||||||||||||
0x40 | DR | ||||||||||||||||||||||||||||||||
0x4c | JSQR | ||||||||||||||||||||||||||||||||
0x60 | OFR1 | ||||||||||||||||||||||||||||||||
0x64 | OFR2 | ||||||||||||||||||||||||||||||||
0x68 | OFR3 | ||||||||||||||||||||||||||||||||
0x6c | OFR4 | ||||||||||||||||||||||||||||||||
0x80 | JDR1 | ||||||||||||||||||||||||||||||||
0x84 | JDR2 | ||||||||||||||||||||||||||||||||
0x88 | JDR3 | ||||||||||||||||||||||||||||||||
0x8c | JDR4 | ||||||||||||||||||||||||||||||||
0xa0 | AWD2CR | ||||||||||||||||||||||||||||||||
0xa4 | AWD3CR | ||||||||||||||||||||||||||||||||
0xb0 | DIFSEL | ||||||||||||||||||||||||||||||||
0xb4 | CALFACT | ||||||||||||||||||||||||||||||||
0xc0 | GCOMP |
interrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF
rw |
AWD3
rw |
AWD2
rw |
AWD1
rw |
JEOS
rw |
JEOC
rw |
OVR
rw |
EOS
rw |
EOC
rw |
EOSMP
rw |
ADRDY
rw |
Bit 0: ADC ready.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: End of regular sequence flag.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: Injected channel end of conversion flag.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: Injected channel end of sequence flag.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: Analog watchdog 1 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: Analog watchdog 2 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: Analog watchdog 3 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: Injected context queue overflow.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVFIE
rw |
AWD3IE
rw |
AWD2IE
rw |
AWD1IE
rw |
JEOSIE
rw |
JEOCIE
rw |
OVRIE
rw |
EOSIE
rw |
EOCIE
rw |
EOSMPIE
rw |
ADRDYIE
rw |
Bit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable for regular conversions.
Allowed values:
0: Disabled: End of regular conversion sampling phase interrupt disabled
1: Enabled: End of regular conversion sampling phase interrupt enabled
Bit 2: End of regular conversion interrupt enable.
Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled
Bit 3: End of regular sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 5: End of injected conversion interrupt enable.
Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled
Bit 6: End of injected sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled
Bit 7: Analog watchdog 1 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 8: Analog watchdog 2 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 9: Analog watchdog 3 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 10: Injected context queue overflow interrupt enable.
Allowed values:
0: Disabled: Injected context queue overflow interrupt disabled
1: Enabled: Injected context queue overflow interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x20000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADCAL
rw |
ADCALDIF
rw |
DEEPPWD
rw |
ADVREGEN
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JADSTP
rw |
ADSTP
rw |
JADSTART
rw |
ADSTART
rw |
ADDIS
rw |
ADEN
rw |
Bit 0: ADC enable control.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start of regular conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 3: ADC start of injected conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop of regular conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 5: ADC stop of injected conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 28: ADC voltage regulator enable.
Allowed values:
0: Disabled: ADC voltage regulator disabled
1: Enabled: ADC voltage regulator enabled
Bit 29: Deep-power-down enable.
Allowed values:
0: Disabled: ADC not in Deep-power down
1: Enabled: ADC in Deep-power-down (default reset state)
Bit 30: Differential mode for calibration.
Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode
Bit 31: ADC calibration.
Allowed values:
0: Complete: Calibration complete
1: Calibration: Start the calibration of the ADC
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
18/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQDIS
rw |
AWD1CH
rw |
JAUTO
rw |
JAWD1EN
rw |
AWD1EN
rw |
AWD1SGL
rw |
JQM
rw |
JDISCEN
rw |
DISCNUM
rw |
DISCEN
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALIGN
rw |
AUTDLY
rw |
CONT
rw |
OVRMOD
rw |
EXTEN
rw |
EXTSEL
rw |
RES
rw |
DMACFG
rw |
DMAEN
rw |
Bit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 1: Direct memory access configuration.
Allowed values:
0: OneShot: DMA One Shot Mode selected
1: Circular: DMA circular mode selected
Bits 3-4: Data resolution.
Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit
Bits 5-9: External trigger selection for regular group.
Allowed values:
0: TIM1_CC1: Timer 1 CC1 event
1: TIM1_CC2: Timer 1 CC2 event
2: TIM1_CC3: Timer 1 CC3 event
3: TIM2_CC2: Timer 2 CC2 event
4: TIM3_TRGO: Timer 3 TRGO event
6: EXTI11: EXTI line 11
7: HRTIM_ADCTRG1: HRTIM_ADCTRG1 event
8: HRTIM_ADCTRG3: HRTIM_ADCTRG3 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
Bits 10-11: External trigger enable and polarity selection for regular channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun mode.
Allowed values:
0: Preserve: Preserve DR register when an overrun is detected
1: Overwrite: Overwrite DR register when an overrun is detected
Bit 13: Single / continuous conversion mode for regular conversions.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Delayed conversion mode.
Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on
Bit 15: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bit 16: Discontinuous mode for regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bits 17-19: Discontinuous mode channel count.
Allowed values: 0x0-0x7
Bit 20: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bit 21: JSQR queue mode.
Allowed values:
0: Mode0: JSQR Mode 0: Queue maintains the last written configuration into JSQR
1: Mode1: JSQR Mode 1: An empty queue disables software and hardware triggers of the injected sequence
Bit 22: Enable the watchdog 1 on a single channel or on all channels.
Allowed values:
0: All: Analog watchdog 1 enabled on all channels
1: Single: Analog watchdog 1 enabled on single channel selected in AWD1CH
Bit 23: Analog watchdog 1 enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels
Bit 24: Analog watchdog 1 enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels
Bit 25: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bits 26-30: Analog watchdog 1 channel selection.
Bit 31: Injected Queue disable.
Allowed values:
0: Enabled: Injected Queue enabled
1: Disabled: Injected Queue disabled
configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPTRIG
rw |
BULB
rw |
SWTRIG
rw |
GCOMP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ROVSM
rw |
TROVS
rw |
OVSS
rw |
OVSR
rw |
JOVSE
rw |
ROVSE
rw |
Bit 0: Regular Oversampling Enable.
Allowed values:
0: Disabled: Regular oversampling disabled
1: Enabled: Regular oversampling enabled
Bit 1: Injected Oversampling Enable.
Allowed values:
0: Disabled: Injected oversampling disabled
1: Enabled: Injected oversampling enabled
Bits 2-4: Oversampling ratio.
Allowed values:
0: OS2: Oversampling ratio of 2
1: OS4: Oversampling ratio of 4
2: OS8: Oversampling ratio of 8
3: OS16: Oversampling ratio of 16
4: OS32: Oversampling ratio of 32
5: OS64: Oversampling ratio of 64
6: OS128: Oversampling ratio of 128
7: OS256: Oversampling ratio of 256
Bits 5-8: Oversampling shift.
Allowed values:
0: NoShift: No right shift applied to oversampling result
1: Shift1: Shift oversampling result right by 1 bit
2: Shift2: Shift oversampling result right by 2 bits
3: Shift3: Shift oversampling result right by 3 bits
4: Shift4: Shift oversampling result right by 4 bits
5: Shift5: Shift oversampling result right by 5 bits
6: Shift6: Shift oversampling result right by 6 bits
7: Shift7: Shift oversampling result right by 7 bits
8: Shift8: Shift oversampling result right by 8 bits
Bit 9: Triggered Regular Oversampling.
Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger
Bit 10: Regular Oversampling mode.
Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence
Bit 16: Gain compensation mode.
Allowed values:
0: Disabled: Regular ADC operating mode
1: Enabled: Gain compensation enabled and applies to all channels
Bit 25: Software trigger bit for sampling time control trigger mode.
Allowed values:
0: Disabled: End sampling period and start conversion
1: Enabled: Start sampling period
Bit 26: Bulb sampling mode.
Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. Immediately start sampling after last conversion finishes.
Bit 27: Sampling time control trigger mode.
Allowed values:
0: Disabled: Sampling time control trigger mode disabled
1: Enabled: Sampling time control trigger mode enabled
sample time register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPPLUS
rw |
SMP9
rw |
SMP8
rw |
SMP7
rw |
SMP6
rw |
SMP5
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP5
rw |
SMP4
rw |
SMP3
rw |
SMP2
rw |
SMP1
rw |
SMP0
rw |
Bits 0-2: Channel 0 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 1 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 2 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 3 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 4 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 5 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 6 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 7 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 8 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 27-29: Channel 9 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bit 31: Addition of one clock cycle to the sampling time.
Allowed values:
0: Normal: 2.5 in SMPR remains 2.5 cycles
1: Plus1: 2.5 in SMPR becomes 3.5 cycles
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMP18
rw |
SMP17
rw |
SMP16
rw |
SMP15
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP15
rw |
SMP14
rw |
SMP13
rw |
SMP12
rw |
SMP11
rw |
SMP10
rw |
Bits 0-2: Channel 10 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 12 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 11 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 13 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 14 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 15 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 16 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 17 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 18 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
watchdog threshold register 1
Offset: 0x20, size: 32, reset: 0x0FFF0000, access: read-write
2/3 fields covered.
watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
regular sequence register 1
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ4
rw |
SQ3
rw |
SQ2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ2
rw |
SQ1
rw |
L
rw |
Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
Bits 6-10: 1st conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 2nd conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 3rd conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 4th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ9
rw |
SQ8
rw |
SQ7
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ7
rw |
SQ6
rw |
SQ5
rw |
Bits 0-4: 5th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 6-10: 6th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 7th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 8th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 9th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ14
rw |
SQ13
rw |
SQ12
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ12
rw |
SQ11
rw |
SQ10
rw |
Bits 0-4: 10th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 6-10: 11th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 12th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 13th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 14th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
regular Data Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
injected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSQ4
rw |
JSQ3
rw |
JSQ2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JSQ2
rw |
JSQ1
rw |
JEXTEN
rw |
JEXTSEL
rw |
JL
rw |
Bits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
Bits 2-6: External Trigger Selection for injected group.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event
Bits 7-8: External Trigger Enable and Polarity Selection for injected channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bits 9-13: 1st conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 15-19: 2nd conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 21-25: 3rd conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 27-31: JSQ4.
Allowed values: 0x0-0x13
offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET1_EN
rw |
OFFSET1_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET1
rw |
Bits 0-11: Data offset 1 for the channel programmed into bits OFFSET1_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 1.
Allowed values: 0x0-0x1f
Bit 31: Offset 1 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET2_EN
rw |
OFFSET2_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET2
rw |
Bits 0-11: Data offset 2 for the channel programmed into bits OFFSET2_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 2.
Allowed values: 0x0-0x1f
Bit 31: Offset 2 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 3
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET3_EN
rw |
OFFSET3_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET3
rw |
Bits 0-11: Data offset 3 for the channel programmed into bits OFFSET3_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 3.
Allowed values: 0x0-0x1f
Bit 31: Offset 3 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 4
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET4_EN
rw |
OFFSET4_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET4
rw |
Bits 0-11: Data offset 4 for the channel programmed into bits OFFSET4_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 4.
Allowed values: 0x0-0x1f
Bit 31: Offset 4 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
injected data register 1
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 2
Offset: 0x84, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 3
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 4
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
Analog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD2CH18
rw |
AWD2CH17
rw |
AWD2CH16
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD2CH15
rw |
AWD2CH14
rw |
AWD2CH13
rw |
AWD2CH12
rw |
AWD2CH11
rw |
AWD2CH10
rw |
AWD2CH9
rw |
AWD2CH8
rw |
AWD2CH7
rw |
AWD2CH6
rw |
AWD2CH5
rw |
AWD2CH4
rw |
AWD2CH3
rw |
AWD2CH2
rw |
AWD2CH1
rw |
AWD2CH0
rw |
Bit 0: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Analog Watchdog 3 Configuration Register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD3CH18
rw |
AWD3CH17
rw |
AWD3CH16
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD3CH15
rw |
AWD3CH14
rw |
AWD3CH13
rw |
AWD3CH12
rw |
AWD3CH11
rw |
AWD3CH10
rw |
AWD3CH9
rw |
AWD3CH8
rw |
AWD3CH7
rw |
AWD3CH6
rw |
AWD3CH5
rw |
AWD3CH4
rw |
AWD3CH3
rw |
AWD3CH2
rw |
AWD3CH1
rw |
AWD3CH0
rw |
Bit 0: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Differential Mode Selection Register 2
Offset: 0xb0, size: 32, reset: 0x00000000, access: Unspecified
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFSEL_18
N/A |
DIFSEL_17
N/A |
DIFSEL_16
N/A |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIFSEL_15
N/A |
DIFSEL_14
N/A |
DIFSEL_13
N/A |
DIFSEL_12
N/A |
DIFSEL_11
N/A |
DIFSEL_10
N/A |
DIFSEL_9
N/A |
DIFSEL_8
N/A |
DIFSEL_7
N/A |
DIFSEL_6
N/A |
DIFSEL_5
N/A |
DIFSEL_4
N/A |
DIFSEL_3
N/A |
DIFSEL_2
N/A |
DIFSEL_1
N/A |
DIFSEL_0
N/A |
Bit 0: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 1: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 2: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 3: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 4: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 5: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 6: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 7: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 8: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 9: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 10: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 11: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 12: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 13: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 14: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 15: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 16: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 17: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 18: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Calibration Factors
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Gain compensation Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GCOMPCOEFF
rw |
0x50000300: Analog-to-Digital Converter
30/33 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x8 | CCR | ||||||||||||||||||||||||||||||||
0xc | CDR |
ADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF_SLV
r |
AWD3_SLV
r |
AWD2_SLV
r |
AWD1_SLV
r |
JEOS_SLV
r |
JEOC_SLV
r |
OVR_SLV
r |
EOS_SLV
r |
EOC_SLV
r |
EOSMP_SLV
r |
ADRDY_SLV
r |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JQOVF_MST
r |
AWD3_MST
r |
AWD2_MST
r |
AWD1_MST
r |
JEOS_MST
r |
JEOC_MST
r |
OVR_MST
r |
EOS_MST
r |
EOC_MST
r |
EOSMP_MST
r |
ADDRDY_MST
r |
Bit 0: ADDRDY_MST.
Bit 1: EOSMP_MST.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: EOC_MST.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: EOS_MST.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: OVR_MST.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: JEOC_MST.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: JEOS_MST.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: AWD1_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: AWD2_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: AWD3_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: JQOVF_MST.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
Bit 16: ADRDY_SLV.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 17: EOSMP_SLV.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 18: End of regular conversion of the slave ADC.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 19: End of regular sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 20: Overrun flag of the slave ADC.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 21: End of injected conversion flag of the slave ADC.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 22: End of injected sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 23: Analog watchdog 1 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 24: Analog watchdog 2 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 25: Analog watchdog 3 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 26: Injected Context Queue Overflow flag of the slave ADC.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
ADC common control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VBATSEL
rw |
VSENSESEL
rw |
VREFEN
rw |
PRESC
rw |
CKMODE
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MDMA
rw |
DMACFG
rw |
DELAY
rw |
DUAL
rw |
Bits 0-4: Dual ADC mode selection.
Allowed values:
0: Independent: Independent mode
1: DualRJ: Dual, combined regular simultaneous + injected simultaneous mode
2: DualRA: Dual, combined regular simultaneous + alternate trigger mode
3: DualIJ: Dual, combined interleaved mode + injected simultaneous mode
5: DualJ: Dual, injected simultaneous mode only
6: DualR: Dual, regular simultaneous mode only
7: DualI: Dual, interleaved mode only
9: DualA: Dual, alternate trigger mode only
Bits 8-11: Delay between 2 sampling phases.
Allowed values: 0x0-0xf
Bit 13: DMA configuration (for multi-ADC mode).
Bits 14-15: Direct memory access mode for multi ADC mode.
Bits 16-17: ADC clock mode.
Allowed values:
0: Asynchronous: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
1: SyncDiv1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
2: SyncDiv2: Use AHB clock rcc_hclk3 divided by 2
3: SyncDiv4: Use AHB clock rcc_hclk3 divided by 4
Bits 18-21: ADC prescaler.
Bit 22: VREFINT enable.
Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled
Bit 23: VTS selection.
Allowed values:
0: Disabled: Temperature sensor channel disabled
1: Enabled: Temperature sensor channel enabled
Bit 24: VBAT selection.
Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled
0x50000100: Analog-to-Digital Converter
186/197 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IER | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CFGR2 | ||||||||||||||||||||||||||||||||
0x14 | SMPR1 | ||||||||||||||||||||||||||||||||
0x18 | SMPR2 | ||||||||||||||||||||||||||||||||
0x20 | TR1 | ||||||||||||||||||||||||||||||||
0x24 | TR2 | ||||||||||||||||||||||||||||||||
0x28 | TR3 | ||||||||||||||||||||||||||||||||
0x30 | SQR1 | ||||||||||||||||||||||||||||||||
0x34 | SQR2 | ||||||||||||||||||||||||||||||||
0x38 | SQR3 | ||||||||||||||||||||||||||||||||
0x3c | SQR4 | ||||||||||||||||||||||||||||||||
0x40 | DR | ||||||||||||||||||||||||||||||||
0x4c | JSQR | ||||||||||||||||||||||||||||||||
0x60 | OFR1 | ||||||||||||||||||||||||||||||||
0x64 | OFR2 | ||||||||||||||||||||||||||||||||
0x68 | OFR3 | ||||||||||||||||||||||||||||||||
0x6c | OFR4 | ||||||||||||||||||||||||||||||||
0x80 | JDR1 | ||||||||||||||||||||||||||||||||
0x84 | JDR2 | ||||||||||||||||||||||||||||||||
0x88 | JDR3 | ||||||||||||||||||||||||||||||||
0x8c | JDR4 | ||||||||||||||||||||||||||||||||
0xa0 | AWD2CR | ||||||||||||||||||||||||||||||||
0xa4 | AWD3CR | ||||||||||||||||||||||||||||||||
0xb0 | DIFSEL | ||||||||||||||||||||||||||||||||
0xb4 | CALFACT | ||||||||||||||||||||||||||||||||
0xc0 | GCOMP |
interrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF
rw |
AWD3
rw |
AWD2
rw |
AWD1
rw |
JEOS
rw |
JEOC
rw |
OVR
rw |
EOS
rw |
EOC
rw |
EOSMP
rw |
ADRDY
rw |
Bit 0: ADC ready.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: End of regular sequence flag.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: Injected channel end of conversion flag.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: Injected channel end of sequence flag.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: Analog watchdog 1 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: Analog watchdog 2 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: Analog watchdog 3 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: Injected context queue overflow.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVFIE
rw |
AWD3IE
rw |
AWD2IE
rw |
AWD1IE
rw |
JEOSIE
rw |
JEOCIE
rw |
OVRIE
rw |
EOSIE
rw |
EOCIE
rw |
EOSMPIE
rw |
ADRDYIE
rw |
Bit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable for regular conversions.
Allowed values:
0: Disabled: End of regular conversion sampling phase interrupt disabled
1: Enabled: End of regular conversion sampling phase interrupt enabled
Bit 2: End of regular conversion interrupt enable.
Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled
Bit 3: End of regular sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 5: End of injected conversion interrupt enable.
Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled
Bit 6: End of injected sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled
Bit 7: Analog watchdog 1 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 8: Analog watchdog 2 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 9: Analog watchdog 3 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 10: Injected context queue overflow interrupt enable.
Allowed values:
0: Disabled: Injected context queue overflow interrupt disabled
1: Enabled: Injected context queue overflow interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x20000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADCAL
rw |
ADCALDIF
rw |
DEEPPWD
rw |
ADVREGEN
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JADSTP
rw |
ADSTP
rw |
JADSTART
rw |
ADSTART
rw |
ADDIS
rw |
ADEN
rw |
Bit 0: ADC enable control.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start of regular conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 3: ADC start of injected conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop of regular conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 5: ADC stop of injected conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 28: ADC voltage regulator enable.
Allowed values:
0: Disabled: ADC voltage regulator disabled
1: Enabled: ADC voltage regulator enabled
Bit 29: Deep-power-down enable.
Allowed values:
0: Disabled: ADC not in Deep-power down
1: Enabled: ADC in Deep-power-down (default reset state)
Bit 30: Differential mode for calibration.
Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode
Bit 31: ADC calibration.
Allowed values:
0: Complete: Calibration complete
1: Calibration: Start the calibration of the ADC
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
18/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQDIS
rw |
AWD1CH
rw |
JAUTO
rw |
JAWD1EN
rw |
AWD1EN
rw |
AWD1SGL
rw |
JQM
rw |
JDISCEN
rw |
DISCNUM
rw |
DISCEN
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALIGN
rw |
AUTDLY
rw |
CONT
rw |
OVRMOD
rw |
EXTEN
rw |
EXTSEL
rw |
RES
rw |
DMACFG
rw |
DMAEN
rw |
Bit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 1: Direct memory access configuration.
Allowed values:
0: OneShot: DMA One Shot Mode selected
1: Circular: DMA circular mode selected
Bits 3-4: Data resolution.
Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit
Bits 5-9: External trigger selection for regular group.
Allowed values:
0: TIM1_CC1: Timer 1 CC1 event
1: TIM1_CC2: Timer 1 CC2 event
2: TIM1_CC3: Timer 1 CC3 event
3: TIM2_CC2: Timer 2 CC2 event
4: TIM3_TRGO: Timer 3 TRGO event
6: EXTI11: EXTI line 11
7: HRTIM_ADCTRG1: HRTIM_ADCTRG1 event
8: HRTIM_ADCTRG3: HRTIM_ADCTRG3 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
Bits 10-11: External trigger enable and polarity selection for regular channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun mode.
Allowed values:
0: Preserve: Preserve DR register when an overrun is detected
1: Overwrite: Overwrite DR register when an overrun is detected
Bit 13: Single / continuous conversion mode for regular conversions.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Delayed conversion mode.
Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on
Bit 15: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bit 16: Discontinuous mode for regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bits 17-19: Discontinuous mode channel count.
Allowed values: 0x0-0x7
Bit 20: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bit 21: JSQR queue mode.
Allowed values:
0: Mode0: JSQR Mode 0: Queue maintains the last written configuration into JSQR
1: Mode1: JSQR Mode 1: An empty queue disables software and hardware triggers of the injected sequence
Bit 22: Enable the watchdog 1 on a single channel or on all channels.
Allowed values:
0: All: Analog watchdog 1 enabled on all channels
1: Single: Analog watchdog 1 enabled on single channel selected in AWD1CH
Bit 23: Analog watchdog 1 enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels
Bit 24: Analog watchdog 1 enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels
Bit 25: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bits 26-30: Analog watchdog 1 channel selection.
Bit 31: Injected Queue disable.
Allowed values:
0: Enabled: Injected Queue enabled
1: Disabled: Injected Queue disabled
configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPTRIG
rw |
BULB
rw |
SWTRIG
rw |
GCOMP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ROVSM
rw |
TROVS
rw |
OVSS
rw |
OVSR
rw |
JOVSE
rw |
ROVSE
rw |
Bit 0: Regular Oversampling Enable.
Allowed values:
0: Disabled: Regular oversampling disabled
1: Enabled: Regular oversampling enabled
Bit 1: Injected Oversampling Enable.
Allowed values:
0: Disabled: Injected oversampling disabled
1: Enabled: Injected oversampling enabled
Bits 2-4: Oversampling ratio.
Allowed values:
0: OS2: Oversampling ratio of 2
1: OS4: Oversampling ratio of 4
2: OS8: Oversampling ratio of 8
3: OS16: Oversampling ratio of 16
4: OS32: Oversampling ratio of 32
5: OS64: Oversampling ratio of 64
6: OS128: Oversampling ratio of 128
7: OS256: Oversampling ratio of 256
Bits 5-8: Oversampling shift.
Allowed values:
0: NoShift: No right shift applied to oversampling result
1: Shift1: Shift oversampling result right by 1 bit
2: Shift2: Shift oversampling result right by 2 bits
3: Shift3: Shift oversampling result right by 3 bits
4: Shift4: Shift oversampling result right by 4 bits
5: Shift5: Shift oversampling result right by 5 bits
6: Shift6: Shift oversampling result right by 6 bits
7: Shift7: Shift oversampling result right by 7 bits
8: Shift8: Shift oversampling result right by 8 bits
Bit 9: Triggered Regular Oversampling.
Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger
Bit 10: Regular Oversampling mode.
Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence
Bit 16: Gain compensation mode.
Allowed values:
0: Disabled: Regular ADC operating mode
1: Enabled: Gain compensation enabled and applies to all channels
Bit 25: Software trigger bit for sampling time control trigger mode.
Allowed values:
0: Disabled: End sampling period and start conversion
1: Enabled: Start sampling period
Bit 26: Bulb sampling mode.
Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. Immediately start sampling after last conversion finishes.
Bit 27: Sampling time control trigger mode.
Allowed values:
0: Disabled: Sampling time control trigger mode disabled
1: Enabled: Sampling time control trigger mode enabled
sample time register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPPLUS
rw |
SMP9
rw |
SMP8
rw |
SMP7
rw |
SMP6
rw |
SMP5
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP5
rw |
SMP4
rw |
SMP3
rw |
SMP2
rw |
SMP1
rw |
SMP0
rw |
Bits 0-2: Channel 0 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 1 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 2 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 3 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 4 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 5 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 6 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 7 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 8 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 27-29: Channel 9 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bit 31: Addition of one clock cycle to the sampling time.
Allowed values:
0: Normal: 2.5 in SMPR remains 2.5 cycles
1: Plus1: 2.5 in SMPR becomes 3.5 cycles
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMP18
rw |
SMP17
rw |
SMP16
rw |
SMP15
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP15
rw |
SMP14
rw |
SMP13
rw |
SMP12
rw |
SMP11
rw |
SMP10
rw |
Bits 0-2: Channel 10 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 12 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 11 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 13 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 14 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 15 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 16 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 17 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 18 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
watchdog threshold register 1
Offset: 0x20, size: 32, reset: 0x0FFF0000, access: read-write
2/3 fields covered.
watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
regular sequence register 1
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ4
rw |
SQ3
rw |
SQ2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ2
rw |
SQ1
rw |
L
rw |
Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
Bits 6-10: 1st conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 2nd conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 3rd conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 4th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ9
rw |
SQ8
rw |
SQ7
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ7
rw |
SQ6
rw |
SQ5
rw |
Bits 0-4: 5th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 6-10: 6th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 7th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 8th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 9th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ14
rw |
SQ13
rw |
SQ12
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ12
rw |
SQ11
rw |
SQ10
rw |
Bits 0-4: 10th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 6-10: 11th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 12th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 13th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 14th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
regular Data Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
injected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSQ4
rw |
JSQ3
rw |
JSQ2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JSQ2
rw |
JSQ1
rw |
JEXTEN
rw |
JEXTSEL
rw |
JL
rw |
Bits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
Bits 2-6: External Trigger Selection for injected group.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event
Bits 7-8: External Trigger Enable and Polarity Selection for injected channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bits 9-13: 1st conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 15-19: 2nd conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 21-25: 3rd conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 27-31: JSQ4.
Allowed values: 0x0-0x13
offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET1_EN
rw |
OFFSET1_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET1
rw |
Bits 0-11: Data offset 1 for the channel programmed into bits OFFSET1_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 1.
Allowed values: 0x0-0x1f
Bit 31: Offset 1 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET2_EN
rw |
OFFSET2_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET2
rw |
Bits 0-11: Data offset 2 for the channel programmed into bits OFFSET2_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 2.
Allowed values: 0x0-0x1f
Bit 31: Offset 2 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 3
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET3_EN
rw |
OFFSET3_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET3
rw |
Bits 0-11: Data offset 3 for the channel programmed into bits OFFSET3_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 3.
Allowed values: 0x0-0x1f
Bit 31: Offset 3 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 4
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET4_EN
rw |
OFFSET4_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET4
rw |
Bits 0-11: Data offset 4 for the channel programmed into bits OFFSET4_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 4.
Allowed values: 0x0-0x1f
Bit 31: Offset 4 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
injected data register 1
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 2
Offset: 0x84, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 3
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 4
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
Analog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD2CH18
rw |
AWD2CH17
rw |
AWD2CH16
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD2CH15
rw |
AWD2CH14
rw |
AWD2CH13
rw |
AWD2CH12
rw |
AWD2CH11
rw |
AWD2CH10
rw |
AWD2CH9
rw |
AWD2CH8
rw |
AWD2CH7
rw |
AWD2CH6
rw |
AWD2CH5
rw |
AWD2CH4
rw |
AWD2CH3
rw |
AWD2CH2
rw |
AWD2CH1
rw |
AWD2CH0
rw |
Bit 0: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Analog Watchdog 3 Configuration Register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD3CH18
rw |
AWD3CH17
rw |
AWD3CH16
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD3CH15
rw |
AWD3CH14
rw |
AWD3CH13
rw |
AWD3CH12
rw |
AWD3CH11
rw |
AWD3CH10
rw |
AWD3CH9
rw |
AWD3CH8
rw |
AWD3CH7
rw |
AWD3CH6
rw |
AWD3CH5
rw |
AWD3CH4
rw |
AWD3CH3
rw |
AWD3CH2
rw |
AWD3CH1
rw |
AWD3CH0
rw |
Bit 0: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Differential Mode Selection Register 2
Offset: 0xb0, size: 32, reset: 0x00000000, access: Unspecified
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFSEL_18
N/A |
DIFSEL_17
N/A |
DIFSEL_16
N/A |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIFSEL_15
N/A |
DIFSEL_14
N/A |
DIFSEL_13
N/A |
DIFSEL_12
N/A |
DIFSEL_11
N/A |
DIFSEL_10
N/A |
DIFSEL_9
N/A |
DIFSEL_8
N/A |
DIFSEL_7
N/A |
DIFSEL_6
N/A |
DIFSEL_5
N/A |
DIFSEL_4
N/A |
DIFSEL_3
N/A |
DIFSEL_2
N/A |
DIFSEL_1
N/A |
DIFSEL_0
N/A |
Bit 0: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 1: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 2: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 3: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 4: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 5: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 6: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 7: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 8: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 9: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 10: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 11: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 12: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 13: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 14: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 15: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 16: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 17: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 18: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Calibration Factors
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Gain compensation Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GCOMPCOEFF
rw |
0x50000400: Analog-to-Digital Converter
186/197 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IER | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CFGR2 | ||||||||||||||||||||||||||||||||
0x14 | SMPR1 | ||||||||||||||||||||||||||||||||
0x18 | SMPR2 | ||||||||||||||||||||||||||||||||
0x20 | TR1 | ||||||||||||||||||||||||||||||||
0x24 | TR2 | ||||||||||||||||||||||||||||||||
0x28 | TR3 | ||||||||||||||||||||||||||||||||
0x30 | SQR1 | ||||||||||||||||||||||||||||||||
0x34 | SQR2 | ||||||||||||||||||||||||||||||||
0x38 | SQR3 | ||||||||||||||||||||||||||||||||
0x3c | SQR4 | ||||||||||||||||||||||||||||||||
0x40 | DR | ||||||||||||||||||||||||||||||||
0x4c | JSQR | ||||||||||||||||||||||||||||||||
0x60 | OFR1 | ||||||||||||||||||||||||||||||||
0x64 | OFR2 | ||||||||||||||||||||||||||||||||
0x68 | OFR3 | ||||||||||||||||||||||||||||||||
0x6c | OFR4 | ||||||||||||||||||||||||||||||||
0x80 | JDR1 | ||||||||||||||||||||||||||||||||
0x84 | JDR2 | ||||||||||||||||||||||||||||||||
0x88 | JDR3 | ||||||||||||||||||||||||||||||||
0x8c | JDR4 | ||||||||||||||||||||||||||||||||
0xa0 | AWD2CR | ||||||||||||||||||||||||||||||||
0xa4 | AWD3CR | ||||||||||||||||||||||||||||||||
0xb0 | DIFSEL | ||||||||||||||||||||||||||||||||
0xb4 | CALFACT | ||||||||||||||||||||||||||||||||
0xc0 | GCOMP |
interrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF
rw |
AWD3
rw |
AWD2
rw |
AWD1
rw |
JEOS
rw |
JEOC
rw |
OVR
rw |
EOS
rw |
EOC
rw |
EOSMP
rw |
ADRDY
rw |
Bit 0: ADC ready.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: End of regular sequence flag.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: Injected channel end of conversion flag.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: Injected channel end of sequence flag.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: Analog watchdog 1 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: Analog watchdog 2 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: Analog watchdog 3 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: Injected context queue overflow.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVFIE
rw |
AWD3IE
rw |
AWD2IE
rw |
AWD1IE
rw |
JEOSIE
rw |
JEOCIE
rw |
OVRIE
rw |
EOSIE
rw |
EOCIE
rw |
EOSMPIE
rw |
ADRDYIE
rw |
Bit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable for regular conversions.
Allowed values:
0: Disabled: End of regular conversion sampling phase interrupt disabled
1: Enabled: End of regular conversion sampling phase interrupt enabled
Bit 2: End of regular conversion interrupt enable.
Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled
Bit 3: End of regular sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 5: End of injected conversion interrupt enable.
Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled
Bit 6: End of injected sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled
Bit 7: Analog watchdog 1 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 8: Analog watchdog 2 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 9: Analog watchdog 3 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 10: Injected context queue overflow interrupt enable.
Allowed values:
0: Disabled: Injected context queue overflow interrupt disabled
1: Enabled: Injected context queue overflow interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x20002000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADCAL
rw |
ADCALDIF
rw |
DEEPPWD
rw |
ADVREGEN
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JADSTP
rw |
ADSTP
rw |
JADSTART
rw |
ADSTART
rw |
ADDIS
rw |
ADEN
rw |
Bit 0: ADC enable control.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start of regular conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 3: ADC start of injected conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop of regular conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 5: ADC stop of injected conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 28: ADC voltage regulator enable.
Allowed values:
0: Disabled: ADC voltage regulator disabled
1: Enabled: ADC voltage regulator enabled
Bit 29: Deep-power-down enable.
Allowed values:
0: Disabled: ADC not in Deep-power down
1: Enabled: ADC in Deep-power-down (default reset state)
Bit 30: Differential mode for calibration.
Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode
Bit 31: ADC calibration.
Allowed values:
0: Complete: Calibration complete
1: Calibration: Start the calibration of the ADC
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
18/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQDIS
rw |
AWD1CH
rw |
JAUTO
rw |
JAWD1EN
rw |
AWD1EN
rw |
AWD1SGL
rw |
JQM
rw |
JDISCEN
rw |
DISCNUM
rw |
DISCEN
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALIGN
rw |
AUTDLY
rw |
CONT
rw |
OVRMOD
rw |
EXTEN
rw |
EXTSEL
rw |
RES
rw |
DMACFG
rw |
DMAEN
rw |
Bit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 1: Direct memory access configuration.
Allowed values:
0: OneShot: DMA One Shot Mode selected
1: Circular: DMA circular mode selected
Bits 3-4: Data resolution.
Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit
Bits 5-9: External trigger selection for regular group.
Allowed values:
0: TIM1_CC1: Timer 1 CC1 event
1: TIM1_CC2: Timer 1 CC2 event
2: TIM1_CC3: Timer 1 CC3 event
3: TIM2_CC2: Timer 2 CC2 event
4: TIM3_TRGO: Timer 3 TRGO event
6: EXTI11: EXTI line 11
7: HRTIM_ADCTRG1: HRTIM_ADCTRG1 event
8: HRTIM_ADCTRG3: HRTIM_ADCTRG3 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
Bits 10-11: External trigger enable and polarity selection for regular channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun mode.
Allowed values:
0: Preserve: Preserve DR register when an overrun is detected
1: Overwrite: Overwrite DR register when an overrun is detected
Bit 13: Single / continuous conversion mode for regular conversions.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Delayed conversion mode.
Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on
Bit 15: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bit 16: Discontinuous mode for regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bits 17-19: Discontinuous mode channel count.
Allowed values: 0x0-0x7
Bit 20: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bit 21: JSQR queue mode.
Allowed values:
0: Mode0: JSQR Mode 0: Queue maintains the last written configuration into JSQR
1: Mode1: JSQR Mode 1: An empty queue disables software and hardware triggers of the injected sequence
Bit 22: Enable the watchdog 1 on a single channel or on all channels.
Allowed values:
0: All: Analog watchdog 1 enabled on all channels
1: Single: Analog watchdog 1 enabled on single channel selected in AWD1CH
Bit 23: Analog watchdog 1 enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels
Bit 24: Analog watchdog 1 enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels
Bit 25: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bits 26-30: Analog watchdog 1 channel selection.
Bit 31: Injected Queue disable.
Allowed values:
0: Enabled: Injected Queue enabled
1: Disabled: Injected Queue disabled
configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPTRIG
rw |
BULB
rw |
SWTRIG
rw |
GCOMP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ROVSM
rw |
TROVS
rw |
OVSS
rw |
OVSR
rw |
JOVSE
rw |
ROVSE
rw |
Bit 0: Regular Oversampling Enable.
Allowed values:
0: Disabled: Regular oversampling disabled
1: Enabled: Regular oversampling enabled
Bit 1: Injected Oversampling Enable.
Allowed values:
0: Disabled: Injected oversampling disabled
1: Enabled: Injected oversampling enabled
Bits 2-4: Oversampling ratio.
Allowed values:
0: OS2: Oversampling ratio of 2
1: OS4: Oversampling ratio of 4
2: OS8: Oversampling ratio of 8
3: OS16: Oversampling ratio of 16
4: OS32: Oversampling ratio of 32
5: OS64: Oversampling ratio of 64
6: OS128: Oversampling ratio of 128
7: OS256: Oversampling ratio of 256
Bits 5-8: Oversampling shift.
Allowed values:
0: NoShift: No right shift applied to oversampling result
1: Shift1: Shift oversampling result right by 1 bit
2: Shift2: Shift oversampling result right by 2 bits
3: Shift3: Shift oversampling result right by 3 bits
4: Shift4: Shift oversampling result right by 4 bits
5: Shift5: Shift oversampling result right by 5 bits
6: Shift6: Shift oversampling result right by 6 bits
7: Shift7: Shift oversampling result right by 7 bits
8: Shift8: Shift oversampling result right by 8 bits
Bit 9: Triggered Regular Oversampling.
Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger
Bit 10: Regular Oversampling mode.
Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence
Bit 16: Gain compensation mode.
Allowed values:
0: Disabled: Regular ADC operating mode
1: Enabled: Gain compensation enabled and applies to all channels
Bit 25: Software trigger bit for sampling time control trigger mode.
Allowed values:
0: Disabled: End sampling period and start conversion
1: Enabled: Start sampling period
Bit 26: Bulb sampling mode.
Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. Immediately start sampling after last conversion finishes.
Bit 27: Sampling time control trigger mode.
Allowed values:
0: Disabled: Sampling time control trigger mode disabled
1: Enabled: Sampling time control trigger mode enabled
sample time register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPPLUS
rw |
SMP9
rw |
SMP8
rw |
SMP7
rw |
SMP6
rw |
SMP5
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP5
rw |
SMP4
rw |
SMP3
rw |
SMP2
rw |
SMP1
rw |
SMP0
rw |
Bits 0-2: Channel 0 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 1 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 2 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 3 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 4 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 5 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 6 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 7 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 8 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 27-29: Channel 9 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bit 31: Addition of one clock cycle to the sampling time.
Allowed values:
0: Normal: 2.5 in SMPR remains 2.5 cycles
1: Plus1: 2.5 in SMPR becomes 3.5 cycles
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMP18
rw |
SMP17
rw |
SMP16
rw |
SMP15
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP15
rw |
SMP14
rw |
SMP13
rw |
SMP12
rw |
SMP11
rw |
SMP10
rw |
Bits 0-2: Channel 10 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 12 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 11 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 13 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 14 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 15 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 16 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 17 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 18 sampling time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
watchdog threshold register 1
Offset: 0x20, size: 32, reset: 0x0FFF0000, access: read-write
2/3 fields covered.
watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
regular sequence register 1
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ4
rw |
SQ3
rw |
SQ2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ2
rw |
SQ1
rw |
L
rw |
Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
Bits 6-10: 1st conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 2nd conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 3rd conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 4th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ9
rw |
SQ8
rw |
SQ7
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ7
rw |
SQ6
rw |
SQ5
rw |
Bits 0-4: 5th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 6-10: 6th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 7th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 8th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 9th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ14
rw |
SQ13
rw |
SQ12
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ12
rw |
SQ11
rw |
SQ10
rw |
Bits 0-4: 10th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 6-10: 11th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 12-16: 12th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 18-22: 13th conversion in regular sequence.
Allowed values: 0x0-0x13
Bits 24-28: 14th conversion in regular sequence.
Allowed values: 0x0-0x13
regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
regular Data Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
injected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSQ4
rw |
JSQ3
rw |
JSQ2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JSQ2
rw |
JSQ1
rw |
JEXTEN
rw |
JEXTSEL
rw |
JL
rw |
Bits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
Bits 2-6: External Trigger Selection for injected group.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event
Bits 7-8: External Trigger Enable and Polarity Selection for injected channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bits 9-13: 1st conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 15-19: 2nd conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 21-25: 3rd conversion in the injected sequence.
Allowed values: 0x0-0x13
Bits 27-31: JSQ4.
Allowed values: 0x0-0x13
offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET1_EN
rw |
OFFSET1_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET1
rw |
Bits 0-11: Data offset 1 for the channel programmed into bits OFFSET1_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 1.
Allowed values: 0x0-0x1f
Bit 31: Offset 1 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET2_EN
rw |
OFFSET2_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET2
rw |
Bits 0-11: Data offset 2 for the channel programmed into bits OFFSET2_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 2.
Allowed values: 0x0-0x1f
Bit 31: Offset 2 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 3
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET3_EN
rw |
OFFSET3_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET3
rw |
Bits 0-11: Data offset 3 for the channel programmed into bits OFFSET3_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 3.
Allowed values: 0x0-0x1f
Bit 31: Offset 3 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 4
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET4_EN
rw |
OFFSET4_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET4
rw |
Bits 0-11: Data offset 4 for the channel programmed into bits OFFSET4_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset 4.
Allowed values: 0x0-0x1f
Bit 31: Offset 4 Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
injected data register 1
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 2
Offset: 0x84, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 3
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 4
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
Analog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD2CH18
rw |
AWD2CH17
rw |
AWD2CH16
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD2CH15
rw |
AWD2CH14
rw |
AWD2CH13
rw |
AWD2CH12
rw |
AWD2CH11
rw |
AWD2CH10
rw |
AWD2CH9
rw |
AWD2CH8
rw |
AWD2CH7
rw |
AWD2CH6
rw |
AWD2CH5
rw |
AWD2CH4
rw |
AWD2CH3
rw |
AWD2CH2
rw |
AWD2CH1
rw |
AWD2CH0
rw |
Bit 0: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Analog Watchdog 3 Configuration Register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD3CH18
rw |
AWD3CH17
rw |
AWD3CH16
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD3CH15
rw |
AWD3CH14
rw |
AWD3CH13
rw |
AWD3CH12
rw |
AWD3CH11
rw |
AWD3CH10
rw |
AWD3CH9
rw |
AWD3CH8
rw |
AWD3CH7
rw |
AWD3CH6
rw |
AWD3CH5
rw |
AWD3CH4
rw |
AWD3CH3
rw |
AWD3CH2
rw |
AWD3CH1
rw |
AWD3CH0
rw |
Bit 0: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Differential Mode Selection Register 2
Offset: 0xb0, size: 32, reset: 0x00000000, access: Unspecified
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFSEL_18
N/A |
DIFSEL_17
N/A |
DIFSEL_16
N/A |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIFSEL_15
N/A |
DIFSEL_14
N/A |
DIFSEL_13
N/A |
DIFSEL_12
N/A |
DIFSEL_11
N/A |
DIFSEL_10
N/A |
DIFSEL_9
N/A |
DIFSEL_8
N/A |
DIFSEL_7
N/A |
DIFSEL_6
N/A |
DIFSEL_5
N/A |
DIFSEL_4
N/A |
DIFSEL_3
N/A |
DIFSEL_2
N/A |
DIFSEL_1
N/A |
DIFSEL_0
N/A |
Bit 0: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 1: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 2: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 3: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 4: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 5: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 6: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 7: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 8: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 9: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 10: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 11: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 12: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 13: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 14: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 15: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 16: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 17: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 18: Differential mode for channels 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Calibration Factors
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Gain compensation Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GCOMPCOEFF
rw |
0x50000700: Analog-to-Digital Converter
30/33 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x8 | CCR | ||||||||||||||||||||||||||||||||
0xc | CDR |
ADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF_SLV
r |
AWD3_SLV
r |
AWD2_SLV
r |
AWD1_SLV
r |
JEOS_SLV
r |
JEOC_SLV
r |
OVR_SLV
r |
EOS_SLV
r |
EOC_SLV
r |
EOSMP_SLV
r |
ADRDY_SLV
r |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JQOVF_MST
r |
AWD3_MST
r |
AWD2_MST
r |
AWD1_MST
r |
JEOS_MST
r |
JEOC_MST
r |
OVR_MST
r |
EOS_MST
r |
EOC_MST
r |
EOSMP_MST
r |
ADDRDY_MST
r |
Bit 0: ADDRDY_MST.
Bit 1: EOSMP_MST.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: EOC_MST.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: EOS_MST.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: OVR_MST.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: JEOC_MST.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: JEOS_MST.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: AWD1_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: AWD2_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: AWD3_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: JQOVF_MST.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
Bit 16: ADRDY_SLV.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 17: EOSMP_SLV.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 18: End of regular conversion of the slave ADC.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 19: End of regular sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 20: Overrun flag of the slave ADC.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 21: End of injected conversion flag of the slave ADC.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 22: End of injected sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 23: Analog watchdog 1 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 24: Analog watchdog 2 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 25: Analog watchdog 3 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 26: Injected Context Queue Overflow flag of the slave ADC.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
ADC common control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VBATSEL
rw |
VSENSESEL
rw |
VREFEN
rw |
PRESC
rw |
CKMODE
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MDMA
rw |
DMACFG
rw |
DELAY
rw |
DUAL
rw |
Bits 0-4: Dual ADC mode selection.
Allowed values:
0: Independent: Independent mode
1: DualRJ: Dual, combined regular simultaneous + injected simultaneous mode
2: DualRA: Dual, combined regular simultaneous + alternate trigger mode
3: DualIJ: Dual, combined interleaved mode + injected simultaneous mode
5: DualJ: Dual, injected simultaneous mode only
6: DualR: Dual, regular simultaneous mode only
7: DualI: Dual, interleaved mode only
9: DualA: Dual, alternate trigger mode only
Bits 8-11: Delay between 2 sampling phases.
Allowed values: 0x0-0xf
Bit 13: DMA configuration (for multi-ADC mode).
Bits 14-15: Direct memory access mode for multi ADC mode.
Bits 16-17: ADC clock mode.
Allowed values:
0: Asynchronous: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
1: SyncDiv1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
2: SyncDiv2: Use AHB clock rcc_hclk3 divided by 2
3: SyncDiv4: Use AHB clock rcc_hclk3 divided by 4
Bits 18-21: ADC prescaler.
Bit 22: VREFINT enable.
Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled
Bit 23: VTS selection.
Allowed values:
0: Disabled: Temperature sensor channel disabled
1: Enabled: Temperature sensor channel enabled
Bit 24: VBAT selection.
Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled
0x50060000: Advanced encryption standard hardware accelerator
5/40 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SR | ||||||||||||||||||||||||||||||||
0x8 | DINR | ||||||||||||||||||||||||||||||||
0xc | DOUTR | ||||||||||||||||||||||||||||||||
0x10 | KEYR0 | ||||||||||||||||||||||||||||||||
0x14 | KEYR1 | ||||||||||||||||||||||||||||||||
0x18 | KEYR2 | ||||||||||||||||||||||||||||||||
0x1c | KEYR3 | ||||||||||||||||||||||||||||||||
0x20 | IVR0 | ||||||||||||||||||||||||||||||||
0x24 | IVR1 | ||||||||||||||||||||||||||||||||
0x28 | IVR2 | ||||||||||||||||||||||||||||||||
0x2c | IVR3 | ||||||||||||||||||||||||||||||||
0x30 | KEYR4 | ||||||||||||||||||||||||||||||||
0x34 | KEYR5 | ||||||||||||||||||||||||||||||||
0x38 | KEYR6 | ||||||||||||||||||||||||||||||||
0x3c | KEYR7 | ||||||||||||||||||||||||||||||||
0x40 | SUSP0R | ||||||||||||||||||||||||||||||||
0x44 | SUSP1R | ||||||||||||||||||||||||||||||||
0x48 | SUSP2R | ||||||||||||||||||||||||||||||||
0x4c | SUSP3R | ||||||||||||||||||||||||||||||||
0x50 | SUSP4R | ||||||||||||||||||||||||||||||||
0x54 | SUSP5R | ||||||||||||||||||||||||||||||||
0x58 | SUSP6R | ||||||||||||||||||||||||||||||||
0x5c | SUSP7R |
control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NPBLB
rw |
KEYSIZE
rw |
CHMOD_2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GCMPH
rw |
DMAOUTEN
rw |
DMAINEN
rw |
ERRIE
rw |
CCFIE
rw |
ERRC
rw |
CCFC
rw |
CHMOD
rw |
MODE
rw |
DATATYPE
rw |
EN
rw |
Bit 0: AES enable.
Bits 1-2: Data type selection (for data in and data out to/from the cryptographic block).
Bits 3-4: AES operating mode.
Bits 5-6: AES chaining mode.
Bit 7: Computation Complete Flag Clear.
Bit 8: Error clear.
Bit 9: CCF flag interrupt enable.
Bit 10: Error interrupt enable.
Bit 11: Enable DMA management of data input phase.
Bit 12: Enable DMA management of data output phase.
Bits 13-14: GCMPH.
Bit 16: CHMOD_2.
Bit 18: KEYSIZE.
Bits 20-23: NPBLB.
data input register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
data output register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
key register 0
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 3
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
initialization vector register 0
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
initialization vector register 1
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
initialization vector register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
initialization vector register 3
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 4
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 5
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 6
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
key register 7
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
suspend registers
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
suspend registers
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
suspend registers
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
suspend registers
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
suspend registers
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
suspend registers
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40010200: Comparator control and status register
7/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | C[1]CSR | ||||||||||||||||||||||||||||||||
0x4 | C[2]CSR | ||||||||||||||||||||||||||||||||
0x8 | C[3]CSR | ||||||||||||||||||||||||||||||||
0xc | C[4]CSR | ||||||||||||||||||||||||||||||||
0x10 | C[5]CSR | ||||||||||||||||||||||||||||||||
0x14 | C[6]CSR | ||||||||||||||||||||||||||||||||
0x18 | C[7]CSR |
Comparator control/status register
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
Comparator control/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
Comparator control/status register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
Comparator control/status register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
Comparator control/status register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
Comparator control/status register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
Comparator control/status register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/11 fields covered.
0x40020c00: CORDIC Co-processor
13/13 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x4 | WDATA | ||||||||||||||||||||||||||||||||
0x8 | RDATA |
CORDIC Control Status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RRDY
rw |
ARGSIZE
rw |
RESSIZE
rw |
NARGS
rw |
NRES
rw |
DMAWEN
rw |
DMAREN
rw |
IEN
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCALE
rw |
PRECISION
rw |
FUNC
rw |
Bits 0-3: FUNC.
Allowed values:
0: Cosine: Cosine funciton
1: Sine: Sine function
2: Phase: Phase function
3: Modulus: Modulus function
4: Arctangent: Arctangent function
5: HyperbolicCosine: Hyperbolic Cosine function
6: HyperbolicSine: Hyperbolic Sine function
7: Arctanh: Arctanh function
8: NaturalLogarithm: Natural Logarithm function
9: SquareRoot: Square Root function
Bits 4-7: Precision (number of iterations/cycles) required.
Allowed values: 0x1-0xf
Bits 8-10: Scaling factor (2^-n for arguments, 2^n for results).
Allowed values: 0x0-0x7
Bit 16: IEN.
Allowed values:
0: Disabled: Disable interrupt request generation
1: Enabled: Enable intterrupt request generation
Bit 17: DMAREN.
Allowed values:
0: Disabled: No DMA channel reads are generated
1: Enabled: Read requests are generated on the DMA channel when RRDY flag is set
Bit 18: DMAWEN.
Allowed values:
0: Disabled: No DMA channel writes are generated
1: Enabled: Write requests are generated on the DMA channel when no operation is pending
Bit 19: NRES.
Allowed values:
0: Num1: Only single result value will be returned. After a single read RRDY will be automatically cleared
1: Num2: Two return reads need to be performed. After two reads RRDY will be automatically cleared
Bit 20: NARGS.
Allowed values:
0: Num1: Only single argument write is needed for next calculation
1: Num2: Two argument writes need to be performed for next calculation
Bit 21: RESSIZE.
Allowed values:
0: Bits32: Use 32 bit output values
1: Bits16: Use 16 bit output values
Bit 22: ARGSIZE.
Allowed values:
0: Bits32: Use 32 bit input values
1: Bits16: Use 16 bit input values
Bit 31: RRDY.
Allowed values:
0: NotReady: Results from computation are not read
1: Ready: Results are ready, this flag will be automatically cleared once value is read
0x40023000: Cyclic redundancy check calculation unit
0/8 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | DR | ||||||||||||||||||||||||||||||||
0x4 | IDR | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0x10 | INIT | ||||||||||||||||||||||||||||||||
0x14 | POL |
Independent data register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Control register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
0/4 fields covered.
0x40002000: CRS
9/26 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | CFGR | ||||||||||||||||||||||||||||||||
0x8 | ISR | ||||||||||||||||||||||||||||||||
0xc | ICR |
CRS control register
Offset: 0x0, size: 32, reset: 0x00004000, access: Unspecified
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRIM
rw |
SWSYNC
rw |
AUTOTRIMEN
rw |
CEN
rw |
ESYNCIE
rw |
ERRIE
rw |
SYNCWARNIE
rw |
SYNCOKIE
rw |
Bit 0: SYNC event OK interrupt enable.
Bit 1: SYNC warning interrupt enable.
Bit 2: Synchronization or trimming error interrupt enable.
Bit 3: Expected SYNC interrupt enable.
Bit 5: Frequency error counter enable This bit enables the oscillator clock for the frequency error counter. When this bit is set, the CRS_CFGR register is write-protected and cannot be modified..
Bit 6: Automatic trimming enable This bit enables the automatic hardware adjustment of TRIM bits according to the measured frequency error between two SYNC events. If this bit is set, the TRIM bits are read-only. The TRIM value can be adjusted by hardware by one or two steps at a time, depending on the measured frequency error value. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details..
Bit 7: Generate software SYNC event This bit is set by software in order to generate a software SYNC event. It is automatically cleared by hardware..
Bits 8-14: HSI48 oscillator smooth trimming These bits provide a user-programmable trimming value to the HSI48 oscillator. They can be programmed to adjust to variations in voltage and temperature that influence the frequency of the HSI48. The default value is 32, which corresponds to the middle of the trimming interval. The trimming step is around 67 kHz between two consecutive TRIM steps. A higher TRIM value corresponds to a higher output frequency. When the AUTOTRIMEN bit is set, this field is controlled by hardware and is read-only..
This register can be written only when the frequency error counter is disabled (CEN bit is cleared in CRS_CR). When the counter is enabled, this register is write-protected.
Offset: 0x4, size: 32, reset: 0x2022BB7F, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNCPOL
rw |
SYNCSRC
rw |
SYNCDIV
rw |
FELIM
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOAD
rw |
Bits 0-15: Counter reload value RELOAD is the value to be loaded in the frequency error counter with each SYNC event. Refer to Section7.3.3: Frequency error measurement for more details about counter behavior..
Bits 16-23: Frequency error limit FELIM contains the value to be used to evaluate the captured frequency error value latched in the FECAP[15:0] bits of the CRS_ISR register. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP evaluation..
Bits 24-26: SYNC divider These bits are set and cleared by software to control the division factor of the SYNC signal..
Bits 28-29: SYNC signal source selection These bits are set and cleared by software to select the SYNC signal source. Note: When using USB LPM (Link Power Management) and the device is in Sleep mode, the periodic USB SOF will not be generated by the host. No SYNC signal will therefore be provided to the CRS to calibrate the HSI48 on the run. To guarantee the required clock precision after waking up from Sleep mode, the LSE or reference clock on the GPIOs should be used as SYNC signal..
Bit 31: SYNC polarity selection This bit is set and cleared by software to select the input polarity for the SYNC signal source..
CRS interrupt and status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FECAP
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FEDIR
r |
TRIMOVF
r |
SYNCMISS
r |
SYNCERR
r |
ESYNCF
r |
ERRF
r |
SYNCWARNF
r |
SYNCOKF
r |
Bit 0: SYNC event OK flag This flag is set by hardware when the measured frequency error is smaller than FELIM * 3. This means that either no adjustment of the TRIM value is needed or that an adjustment by one trimming step is enough to compensate the frequency error. An interrupt is generated if the SYNCOKIE bit is set in the CRS_CR register. It is cleared by software by setting the SYNCOKC bit in the CRS_ICR register..
Bit 1: SYNC warning flag This flag is set by hardware when the measured frequency error is greater than or equal to FELIM * 3, but smaller than FELIM * 128. This means that to compensate the frequency error, the TRIM value must be adjusted by two steps or more. An interrupt is generated if the SYNCWARNIE bit is set in the CRS_CR register. It is cleared by software by setting the SYNCWARNC bit in the CRS_ICR register..
Bit 2: Error flag This flag is set by hardware in case of any synchronization or trimming error. It is the logical OR of the TRIMOVF, SYNCMISS and SYNCERR bits. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software in reaction to setting the ERRC bit in the CRS_ICR register, which clears the TRIMOVF, SYNCMISS and SYNCERR bits..
Bit 3: Expected SYNC flag This flag is set by hardware when the frequency error counter reached a zero value. An interrupt is generated if the ESYNCIE bit is set in the CRS_CR register. It is cleared by software by setting the ESYNCC bit in the CRS_ICR register..
Bit 8: SYNC error This flag is set by hardware when the SYNC pulse arrives before the ESYNC event and the measured frequency error is greater than or equal to FELIM * 128. This means that the frequency error is too big (internal frequency too low) to be compensated by adjusting the TRIM value, and that some other action should be taken. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..
Bit 9: SYNC missed This flag is set by hardware when the frequency error counter reached value FELIM * 128 and no SYNC was detected, meaning either that a SYNC pulse was missed or that the frequency error is too big (internal frequency too high) to be compensated by adjusting the TRIM value, and that some other action should be taken. At this point, the frequency error counter is stopped (waiting for a next SYNC) and an interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..
Bit 10: Trimming overflow or underflow This flag is set by hardware when the automatic trimming tries to over- or under-flow the TRIM value. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..
Bit 15: Frequency error direction FEDIR is the counting direction of the frequency error counter latched in the time of the last SYNC event. It shows whether the actual frequency is below or above the target..
Bits 16-31: Frequency error capture FECAP is the frequency error counter value latched in the time ofthe last SYNC event. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP usage..
CRS interrupt flag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Bit 0: SYNC event OK clear flag Writing 1 to this bit clears the SYNCOKF flag in the CRS_ISR register..
Bit 1: SYNC warning clear flag Writing 1 to this bit clears the SYNCWARNF flag in the CRS_ISR register..
Bit 2: Error clear flag Writing 1 to this bit clears TRIMOVF, SYNCMISS and SYNCERR bits and consequently also the ERRF flag in the CRS_ISR register..
Bit 3: Expected SYNC clear flag Writing 1 to this bit clears the ESYNCF flag in the CRS_ISR register..
0x50000800: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0x50000c00: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0x50001000: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0x50001400: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0xe0042000: Debug support
2/31 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | IDCODE | ||||||||||||||||||||||||||||||||
0x4 | CR | ||||||||||||||||||||||||||||||||
0x8 | APB1L_FZ | ||||||||||||||||||||||||||||||||
0xc | APB1H_FZ | ||||||||||||||||||||||||||||||||
0x10 | APB2_FZ |
MCU Device ID Code Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
Debug MCU Configuration Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRACE_MODE
rw |
TRACE_IOEN
rw |
DBG_STANDBY
rw |
DBG_STOP
rw |
DBG_SLEEP
rw |
APB Low Freeze Register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_LPTIMER_STOP
rw |
DBG_I2C3_STOP
rw |
DBG_I2C2_STOP
rw |
DBG_I2C1_STOP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DBG_IWDG_STOP
rw |
DBG_WWDG_STOP
rw |
DBG_RTC_STOP
rw |
DBG_TIM7_STOP
rw |
DBG_TIMER6_STOP
rw |
DBG_TIM5_STOP
rw |
DBG_TIM4_STOP
rw |
DBG_TIM3_STOP
rw |
DBG_TIMER2_STOP
rw |
Bit 0: Debug Timer 2 stopped when Core is halted.
Bit 1: TIM3 counter stopped when core is halted.
Bit 2: TIM4 counter stopped when core is halted.
Bit 3: TIM5 counter stopped when core is halted.
Bit 4: Debug Timer 6 stopped when Core is halted.
Bit 5: TIM7 counter stopped when core is halted.
Bit 10: Debug RTC stopped when Core is halted.
Bit 11: Debug Window Wachdog stopped when Core is halted.
Bit 12: Debug Independent Wachdog stopped when Core is halted.
Bit 21: I2C1 SMBUS timeout mode stopped when core is halted.
Bit 22: I2C2 SMBUS timeout mode stopped when core is halted.
Bit 30: I2C3 SMBUS timeout mode stopped when core is halted.
Bit 31: LPTIM1 counter stopped when core is halted.
APB Low Freeze Register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_I2C4_STOP
rw |
APB High Freeze Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_HRTIM3_STOP
rw |
DBG_HRTIM2_STOP
rw |
DBG_HRTIM1_STOP
rw |
DBG_HRTIM0_STOP
rw |
DBG_TIM20_STOP
rw |
DBG_TIM17_STOP
rw |
DBG_TIM16_STOP
rw |
DBG_TIM15_STOP
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DBG_TIM8_STOP
rw |
DBG_TIM1_STOP
rw |
Bit 11: TIM1 counter stopped when core is halted.
Bit 13: TIM8 counter stopped when core is halted.
Bit 16: TIM15 counter stopped when core is halted.
Bit 17: TIM16 counter stopped when core is halted.
Bit 18: TIM17 counter stopped when core is halted.
Bit 20: TIM20counter stopped when core is halted.
Bit 26: DBG_HRTIM0_STOP.
Bit 27: DBG_HRTIM0_STOP.
Bit 28: DBG_HRTIM0_STOP.
Bit 29: DBG_HRTIM0_STOP.
0x40020000: DMA controller
32/184 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IFCR | ||||||||||||||||||||||||||||||||
0x8 | CR [1] | ||||||||||||||||||||||||||||||||
0xc | NDTR [1] | ||||||||||||||||||||||||||||||||
0x10 | PAR [1] | ||||||||||||||||||||||||||||||||
0x14 | MAR [1] | ||||||||||||||||||||||||||||||||
0x1c | CR [2] | ||||||||||||||||||||||||||||||||
0x20 | NDTR [2] | ||||||||||||||||||||||||||||||||
0x24 | PAR [2] | ||||||||||||||||||||||||||||||||
0x28 | MAR [2] | ||||||||||||||||||||||||||||||||
0x30 | CR [3] | ||||||||||||||||||||||||||||||||
0x34 | NDTR [3] | ||||||||||||||||||||||||||||||||
0x38 | PAR [3] | ||||||||||||||||||||||||||||||||
0x3c | MAR [3] | ||||||||||||||||||||||||||||||||
0x44 | CR [4] | ||||||||||||||||||||||||||||||||
0x48 | NDTR [4] | ||||||||||||||||||||||||||||||||
0x4c | PAR [4] | ||||||||||||||||||||||||||||||||
0x50 | MAR [4] | ||||||||||||||||||||||||||||||||
0x58 | CR [5] | ||||||||||||||||||||||||||||||||
0x5c | NDTR [5] | ||||||||||||||||||||||||||||||||
0x60 | PAR [5] | ||||||||||||||||||||||||||||||||
0x64 | MAR [5] | ||||||||||||||||||||||||||||||||
0x6c | CR [6] | ||||||||||||||||||||||||||||||||
0x70 | NDTR [6] | ||||||||||||||||||||||||||||||||
0x74 | PAR [6] | ||||||||||||||||||||||||||||||||
0x78 | MAR [6] | ||||||||||||||||||||||||||||||||
0x80 | CR [7] | ||||||||||||||||||||||||||||||||
0x84 | NDTR [7] | ||||||||||||||||||||||||||||||||
0x88 | PAR [7] | ||||||||||||||||||||||||||||||||
0x8c | MAR [7] | ||||||||||||||||||||||||||||||||
0x94 | CR [8] | ||||||||||||||||||||||||||||||||
0x98 | NDTR [8] | ||||||||||||||||||||||||||||||||
0x9c | PAR [8] | ||||||||||||||||||||||||||||||||
0xa0 | MAR [8] |
interrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEIF[8]
r |
HTIF[8]
r |
TCIF[8]
r |
GIF[8]
r |
TEIF[7]
r |
HTIF[7]
r |
TCIF[7]
r |
GIF[7]
r |
TEIF[6]
r |
HTIF[6]
r |
TCIF[6]
r |
GIF[6]
r |
TEIF[5]
r |
HTIF[5]
r |
TCIF[5]
r |
GIF[5]
r |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TEIF[4]
r |
HTIF[4]
r |
TCIF[4]
r |
GIF[4]
r |
TEIF[3]
r |
HTIF[3]
r |
TCIF[3]
r |
GIF[3]
r |
TEIF[2]
r |
HTIF[2]
r |
TCIF[2]
r |
GIF[2]
r |
TEIF[1]
r |
HTIF[1]
r |
TCIF[1]
r |
GIF[1]
r |
Bit 0: Channel 1 Global interrupt flag.
Bit 1: Channel 1 Transfer Complete flag.
Bit 2: Channel 1 Half Transfer Complete flag.
Bit 3: Channel 1 Transfer Error flag.
Bit 4: Channel 2 Global interrupt flag.
Bit 5: Channel 2 Transfer Complete flag.
Bit 6: Channel 2 Half Transfer Complete flag.
Bit 7: Channel 2 Transfer Error flag.
Bit 8: Channel 3 Global interrupt flag.
Bit 9: Channel 3 Transfer Complete flag.
Bit 10: Channel 3 Half Transfer Complete flag.
Bit 11: Channel 3 Transfer Error flag.
Bit 12: Channel 4 Global interrupt flag.
Bit 13: Channel 4 Transfer Complete flag.
Bit 14: Channel 4 Half Transfer Complete flag.
Bit 15: Channel 4 Transfer Error flag.
Bit 16: Channel 5 Global interrupt flag.
Bit 17: Channel 5 Transfer Complete flag.
Bit 18: Channel 5 Half Transfer Complete flag.
Bit 19: Channel 5 Transfer Error flag.
Bit 20: Channel 6 Global interrupt flag.
Bit 21: Channel 6 Transfer Complete flag.
Bit 22: Channel 6 Half Transfer Complete flag.
Bit 23: Channel 6 Transfer Error flag.
Bit 24: Channel 7 Global interrupt flag.
Bit 25: Channel 7 Transfer Complete flag.
Bit 26: Channel 7 Half Transfer Complete flag.
Bit 27: Channel 7 Transfer Error flag.
Bit 28: Channel 8 Global interrupt flag.
Bit 29: Channel 8 Transfer Complete flag.
Bit 30: Channel 8 Half Transfer Complete flag.
Bit 31: Channel 8 Transfer Error flag.
DMA interrupt flag clear register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTEIF[8]
w |
CHTIF[8]
w |
CTCIF[8]
w |
CGIF[8]
w |
CTEIF[7]
w |
CHTIF[7]
w |
CTCIF[7]
w |
CGIF[7]
w |
CTEIF[6]
w |
CHTIF[6]
w |
CTCIF[6]
w |
CGIF[6]
w |
CTEIF[5]
w |
CHTIF[5]
w |
CTCIF[5]
w |
CGIF[5]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTEIF[4]
w |
CHTIF[4]
w |
CTCIF[4]
w |
CGIF[4]
w |
CTEIF[3]
w |
CHTIF[3]
w |
CTCIF[3]
w |
CGIF[3]
w |
CTEIF[2]
w |
CHTIF[2]
w |
CTCIF[2]
w |
CGIF[2]
w |
CTEIF[1]
w |
CHTIF[1]
w |
CTCIF[1]
w |
CGIF[1]
w |
Bit 0: Channel 1 Global interrupt clear.
Bit 1: Channel 1 Transfer Complete clear.
Bit 2: Channel 1 Half Transfer clear.
Bit 3: Channel 1 Transfer Error clear.
Bit 4: Channel 2 Global interrupt clear.
Bit 5: Channel 2 Transfer Complete clear.
Bit 6: Channel 2 Half Transfer clear.
Bit 7: Channel 2 Transfer Error clear.
Bit 8: Channel 3 Global interrupt clear.
Bit 9: Channel 3 Transfer Complete clear.
Bit 10: Channel 3 Half Transfer clear.
Bit 11: Channel 3 Transfer Error clear.
Bit 12: Channel 4 Global interrupt clear.
Bit 13: Channel 4 Transfer Complete clear.
Bit 14: Channel 4 Half Transfer clear.
Bit 15: Channel 4 Transfer Error clear.
Bit 16: Channel 5 Global interrupt clear.
Bit 17: Channel 5 Transfer Complete clear.
Bit 18: Channel 5 Half Transfer clear.
Bit 19: Channel 5 Transfer Error clear.
Bit 20: Channel 6 Global interrupt clear.
Bit 21: Channel 6 Transfer Complete clear.
Bit 22: Channel 6 Half Transfer clear.
Bit 23: Channel 6 Transfer Error clear.
Bit 24: Channel 7 Global interrupt clear.
Bit 25: Channel 7 Transfer Complete clear.
Bit 26: Channel 7 Half Transfer clear.
Bit 27: Channel 7 Transfer Error clear.
Bit 28: Channel 8 Global interrupt clear.
Bit 29: Channel 8 Transfer Complete clear.
Bit 30: Channel 8 Half Transfer clear.
Bit 31: Channel 8 Transfer Error clear.
DMA channel 1 configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40020400: DMA controller
32/184 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IFCR | ||||||||||||||||||||||||||||||||
0x8 | CR [1] | ||||||||||||||||||||||||||||||||
0xc | NDTR [1] | ||||||||||||||||||||||||||||||||
0x10 | PAR [1] | ||||||||||||||||||||||||||||||||
0x14 | MAR [1] | ||||||||||||||||||||||||||||||||
0x1c | CR [2] | ||||||||||||||||||||||||||||||||
0x20 | NDTR [2] | ||||||||||||||||||||||||||||||||
0x24 | PAR [2] | ||||||||||||||||||||||||||||||||
0x28 | MAR [2] | ||||||||||||||||||||||||||||||||
0x30 | CR [3] | ||||||||||||||||||||||||||||||||
0x34 | NDTR [3] | ||||||||||||||||||||||||||||||||
0x38 | PAR [3] | ||||||||||||||||||||||||||||||||
0x3c | MAR [3] | ||||||||||||||||||||||||||||||||
0x44 | CR [4] | ||||||||||||||||||||||||||||||||
0x48 | NDTR [4] | ||||||||||||||||||||||||||||||||
0x4c | PAR [4] | ||||||||||||||||||||||||||||||||
0x50 | MAR [4] | ||||||||||||||||||||||||||||||||
0x58 | CR [5] | ||||||||||||||||||||||||||||||||
0x5c | NDTR [5] | ||||||||||||||||||||||||||||||||
0x60 | PAR [5] | ||||||||||||||||||||||||||||||||
0x64 | MAR [5] | ||||||||||||||||||||||||||||||||
0x6c | CR [6] | ||||||||||||||||||||||||||||||||
0x70 | NDTR [6] | ||||||||||||||||||||||||||||||||
0x74 | PAR [6] | ||||||||||||||||||||||||||||||||
0x78 | MAR [6] | ||||||||||||||||||||||||||||||||
0x80 | CR [7] | ||||||||||||||||||||||||||||||||
0x84 | NDTR [7] | ||||||||||||||||||||||||||||||||
0x88 | PAR [7] | ||||||||||||||||||||||||||||||||
0x8c | MAR [7] | ||||||||||||||||||||||||||||||||
0x94 | CR [8] | ||||||||||||||||||||||||||||||||
0x98 | NDTR [8] | ||||||||||||||||||||||||||||||||
0x9c | PAR [8] | ||||||||||||||||||||||||||||||||
0xa0 | MAR [8] |
interrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEIF[8]
r |
HTIF[8]
r |
TCIF[8]
r |
GIF[8]
r |
TEIF[7]
r |
HTIF[7]
r |
TCIF[7]
r |
GIF[7]
r |
TEIF[6]
r |
HTIF[6]
r |
TCIF[6]
r |
GIF[6]
r |
TEIF[5]
r |
HTIF[5]
r |
TCIF[5]
r |
GIF[5]
r |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TEIF[4]
r |
HTIF[4]
r |
TCIF[4]
r |
GIF[4]
r |
TEIF[3]
r |
HTIF[3]
r |
TCIF[3]
r |
GIF[3]
r |
TEIF[2]
r |
HTIF[2]
r |
TCIF[2]
r |
GIF[2]
r |
TEIF[1]
r |
HTIF[1]
r |
TCIF[1]
r |
GIF[1]
r |
Bit 0: Channel 1 Global interrupt flag.
Bit 1: Channel 1 Transfer Complete flag.
Bit 2: Channel 1 Half Transfer Complete flag.
Bit 3: Channel 1 Transfer Error flag.
Bit 4: Channel 2 Global interrupt flag.
Bit 5: Channel 2 Transfer Complete flag.
Bit 6: Channel 2 Half Transfer Complete flag.
Bit 7: Channel 2 Transfer Error flag.
Bit 8: Channel 3 Global interrupt flag.
Bit 9: Channel 3 Transfer Complete flag.
Bit 10: Channel 3 Half Transfer Complete flag.
Bit 11: Channel 3 Transfer Error flag.
Bit 12: Channel 4 Global interrupt flag.
Bit 13: Channel 4 Transfer Complete flag.
Bit 14: Channel 4 Half Transfer Complete flag.
Bit 15: Channel 4 Transfer Error flag.
Bit 16: Channel 5 Global interrupt flag.
Bit 17: Channel 5 Transfer Complete flag.
Bit 18: Channel 5 Half Transfer Complete flag.
Bit 19: Channel 5 Transfer Error flag.
Bit 20: Channel 6 Global interrupt flag.
Bit 21: Channel 6 Transfer Complete flag.
Bit 22: Channel 6 Half Transfer Complete flag.
Bit 23: Channel 6 Transfer Error flag.
Bit 24: Channel 7 Global interrupt flag.
Bit 25: Channel 7 Transfer Complete flag.
Bit 26: Channel 7 Half Transfer Complete flag.
Bit 27: Channel 7 Transfer Error flag.
Bit 28: Channel 8 Global interrupt flag.
Bit 29: Channel 8 Transfer Complete flag.
Bit 30: Channel 8 Half Transfer Complete flag.
Bit 31: Channel 8 Transfer Error flag.
DMA interrupt flag clear register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTEIF[8]
w |
CHTIF[8]
w |
CTCIF[8]
w |
CGIF[8]
w |
CTEIF[7]
w |
CHTIF[7]
w |
CTCIF[7]
w |
CGIF[7]
w |
CTEIF[6]
w |
CHTIF[6]
w |
CTCIF[6]
w |
CGIF[6]
w |
CTEIF[5]
w |
CHTIF[5]
w |
CTCIF[5]
w |
CGIF[5]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTEIF[4]
w |
CHTIF[4]
w |
CTCIF[4]
w |
CGIF[4]
w |
CTEIF[3]
w |
CHTIF[3]
w |
CTCIF[3]
w |
CGIF[3]
w |
CTEIF[2]
w |
CHTIF[2]
w |
CTCIF[2]
w |
CGIF[2]
w |
CTEIF[1]
w |
CHTIF[1]
w |
CTCIF[1]
w |
CGIF[1]
w |
Bit 0: Channel 1 Global interrupt clear.
Bit 1: Channel 1 Transfer Complete clear.
Bit 2: Channel 1 Half Transfer clear.
Bit 3: Channel 1 Transfer Error clear.
Bit 4: Channel 2 Global interrupt clear.
Bit 5: Channel 2 Transfer Complete clear.
Bit 6: Channel 2 Half Transfer clear.
Bit 7: Channel 2 Transfer Error clear.
Bit 8: Channel 3 Global interrupt clear.
Bit 9: Channel 3 Transfer Complete clear.
Bit 10: Channel 3 Half Transfer clear.
Bit 11: Channel 3 Transfer Error clear.
Bit 12: Channel 4 Global interrupt clear.
Bit 13: Channel 4 Transfer Complete clear.
Bit 14: Channel 4 Half Transfer clear.
Bit 15: Channel 4 Transfer Error clear.
Bit 16: Channel 5 Global interrupt clear.
Bit 17: Channel 5 Transfer Complete clear.
Bit 18: Channel 5 Half Transfer clear.
Bit 19: Channel 5 Transfer Error clear.
Bit 20: Channel 6 Global interrupt clear.
Bit 21: Channel 6 Transfer Complete clear.
Bit 22: Channel 6 Half Transfer clear.
Bit 23: Channel 6 Transfer Error clear.
Bit 24: Channel 7 Global interrupt clear.
Bit 25: Channel 7 Transfer Complete clear.
Bit 26: Channel 7 Half Transfer clear.
Bit 27: Channel 7 Transfer Error clear.
Bit 28: Channel 8 Global interrupt clear.
Bit 29: Channel 8 Transfer Complete clear.
Bit 30: Channel 8 Half Transfer clear.
Bit 31: Channel 8 Transfer Error clear.
DMA channel 1 configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40020800: DMAMUX
2/136 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CCR[0] | ||||||||||||||||||||||||||||||||
0x4 | CCR[1] | ||||||||||||||||||||||||||||||||
0x8 | CCR[2] | ||||||||||||||||||||||||||||||||
0xc | CCR[3] | ||||||||||||||||||||||||||||||||
0x10 | CCR[4] | ||||||||||||||||||||||||||||||||
0x14 | CCR[5] | ||||||||||||||||||||||||||||||||
0x18 | CCR[6] | ||||||||||||||||||||||||||||||||
0x1c | CCR[7] | ||||||||||||||||||||||||||||||||
0x20 | CCR[8] | ||||||||||||||||||||||||||||||||
0x24 | CCR[9] | ||||||||||||||||||||||||||||||||
0x28 | CCR[10] | ||||||||||||||||||||||||||||||||
0x2c | CCR[11] | ||||||||||||||||||||||||||||||||
0x30 | CCR[12] | ||||||||||||||||||||||||||||||||
0x34 | CCR[13] | ||||||||||||||||||||||||||||||||
0x38 | CCR[14] | ||||||||||||||||||||||||||||||||
0x3c | CCR[15] | ||||||||||||||||||||||||||||||||
0x80 | CSR | ||||||||||||||||||||||||||||||||
0x84 | CFR | ||||||||||||||||||||||||||||||||
0x100 | RGCR[0] | ||||||||||||||||||||||||||||||||
0x104 | RGCR[1] | ||||||||||||||||||||||||||||||||
0x108 | RGCR[2] | ||||||||||||||||||||||||||||||||
0x10c | RGCR[3] | ||||||||||||||||||||||||||||||||
0x140 | RGSR | ||||||||||||||||||||||||||||||||
0x144 | RGCFR |
DMA Multiplexer Channel 0 Control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 1 Control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 2 Control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 3 Control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 4 Control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 5 Control register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 6 Control register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 7 Control register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 8 Control register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 9 Control register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 10 Control register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 11 Control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 12 Control register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 13 Control register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 14 Control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 15 Control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMAMUX request line multiplexer interrupt channel status register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SOF
r |
DMAMUX request line multiplexer interrupt clear flag register
Offset: 0x84, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSOF
w |
DMAMux - DMA request generator channel x control register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator channel x control register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator channel x control register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator channel x control register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator status register
Offset: 0x140, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OF
r |
DMAMux - DMA request generator clear flag register
Offset: 0x144, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COF
w |
0x40010400: External interrupt/event controller
194/194 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | IMR1 | ||||||||||||||||||||||||||||||||
0x4 | EMR1 | ||||||||||||||||||||||||||||||||
0x8 | RTSR1 | ||||||||||||||||||||||||||||||||
0xc | FTSR1 | ||||||||||||||||||||||||||||||||
0x10 | SWIER1 | ||||||||||||||||||||||||||||||||
0x14 | PR1 | ||||||||||||||||||||||||||||||||
0x20 | IMR2 | ||||||||||||||||||||||||||||||||
0x24 | EMR2 | ||||||||||||||||||||||||||||||||
0x28 | RTSR2 | ||||||||||||||||||||||||||||||||
0x2c | FTSR2 | ||||||||||||||||||||||||||||||||
0x30 | SWIER2 | ||||||||||||||||||||||||||||||||
0x34 | PR2 |
Interrupt mask register
Offset: 0x0, size: 32, reset: 0xFF820000, access: read-write
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IM31
rw |
IM30
rw |
IM29
rw |
IM28
rw |
IM27
rw |
IM26
rw |
IM25
rw |
IM24
rw |
IM23
rw |
IM22
rw |
IM21
rw |
IM20
rw |
IM19
rw |
IM18
rw |
IM17
rw |
IM16
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IM15
rw |
IM14
rw |
IM13
rw |
IM12
rw |
IM11
rw |
IM10
rw |
IM9
rw |
IM8
rw |
IM7
rw |
IM6
rw |
IM5
rw |
IM4
rw |
IM3
rw |
IM2
rw |
IM1
rw |
IM0
rw |
Bit 0: Interrupt Mask on line 0.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Interrupt Mask on line 1.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Interrupt Mask on line 2.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Interrupt Mask on line 3.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Interrupt Mask on line 4.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Interrupt Mask on line 5.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 6: Interrupt Mask on line 6.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 7: Interrupt Mask on line 7.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Interrupt Mask on line 8.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Interrupt Mask on line 9.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Interrupt Mask on line 10.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Interrupt Mask on line 11.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 12: Interrupt Mask on line 12.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 13: Interrupt Mask on line 13.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 14: Interrupt Mask on line 14.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 15: Interrupt Mask on line 15.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 16: Interrupt Mask on line 16.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 17: Interrupt Mask on line 17.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 18: Interrupt Mask on line 18.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 19: Interrupt Mask on line 19.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 20: Interrupt Mask on line 20.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 21: Interrupt Mask on line 21.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 22: Interrupt Mask on line 22.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 23: Interrupt Mask on line 23.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 24: Interrupt Mask on line 24.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 25: Interrupt Mask on line 25.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 26: Interrupt Mask on line 26.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 27: Interrupt Mask on line 27.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 28: Interrupt Mask on line 28.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 29: Interrupt Mask on line 29.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 30: Interrupt Mask on line 30.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 31: Interrupt Mask on line 31.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Event mask register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EM31
rw |
EM30
rw |
EM29
rw |
EM28
rw |
EM27
rw |
EM26
rw |
EM25
rw |
EM24
rw |
EM23
rw |
EM22
rw |
EM21
rw |
EM20
rw |
EM19
rw |
EM18
rw |
EM17
rw |
EM16
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EM15
rw |
EM14
rw |
EM13
rw |
EM12
rw |
EM11
rw |
EM10
rw |
EM9
rw |
EM8
rw |
EM7
rw |
EM6
rw |
EM5
rw |
EM4
rw |
EM3
rw |
EM2
rw |
EM1
rw |
EM0
rw |
Bit 0: Event Mask on line 0.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Event Mask on line 1.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Event Mask on line 2.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Event Mask on line 3.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Event Mask on line 4.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Event Mask on line 5.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 6: Event Mask on line 6.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 7: Event Mask on line 7.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Event Mask on line 8.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Event Mask on line 9.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Event Mask on line 10.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Event Mask on line 11.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 12: Event Mask on line 12.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 13: Event Mask on line 13.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 14: Event Mask on line 14.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 15: Event Mask on line 15.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 16: Event Mask on line 16.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 17: Event Mask on line 17.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 18: Event Mask on line 18.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 19: Event Mask on line 19.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 20: Event Mask on line 20.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 21: Event Mask on line 21.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 22: Event Mask on line 22.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 23: Event Mask on line 23.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 24: Event Mask on line 24.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 25: Event Mask on line 25.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 26: Event Mask on line 26.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 27: Event Mask on line 27.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 28: Event Mask on line 28.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 29: Event Mask on line 29.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 30: Event Mask on line 30.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 31: Event Mask on line 31.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Rising Trigger selection register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RT31
rw |
RT30
rw |
RT29
rw |
RT22
rw |
RT21
rw |
RT20
rw |
RT19
rw |
RT17
rw |
RT16
rw |
|||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RT15
rw |
RT14
rw |
RT13
rw |
RT12
rw |
RT11
rw |
RT10
rw |
RT9
rw |
RT8
rw |
RT7
rw |
RT6
rw |
RT5
rw |
RT4
rw |
RT3
rw |
RT2
rw |
RT1
rw |
RT0
rw |
Bit 0: Rising trigger event configuration of line 0.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 1: Rising trigger event configuration of line 1.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 2: Rising trigger event configuration of line 2.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 3: Rising trigger event configuration of line 3.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 4: Rising trigger event configuration of line 4.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 5: Rising trigger event configuration of line 5.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 6: Rising trigger event configuration of line 6.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 7: Rising trigger event configuration of line 7.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 8: Rising trigger event configuration of line 8.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 9: Rising trigger event configuration of line 9.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 10: Rising trigger event configuration of line 10.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 11: Rising trigger event configuration of line 11.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 12: Rising trigger event configuration of line 12.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 13: Rising trigger event configuration of line 13.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 14: Rising trigger event configuration of line 14.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 15: Rising trigger event configuration of line 15.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 16: Rising trigger event configuration of line 16.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 17: Rising trigger event configuration of line 17.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 19: Rising trigger event configuration of line 19.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 20: Rising trigger event configuration of line 20.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 21: Rising trigger event configuration of line 21.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 22: Rising trigger event configuration of line 22.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 29: Rising trigger event configuration of line 29.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 30: Rising trigger event configuration of line 30.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 31: Rising trigger event configuration of line 31.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Falling Trigger selection register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FT31
rw |
FT30
rw |
FT29
rw |
FT22
rw |
FT21
rw |
FT20
rw |
FT19
rw |
FT17
rw |
FT16
rw |
|||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FT15
rw |
FT14
rw |
FT13
rw |
FT12
rw |
FT11
rw |
FT10
rw |
FT9
rw |
FT8
rw |
FT7
rw |
FT6
rw |
FT5
rw |
FT4
rw |
FT3
rw |
FT2
rw |
FT1
rw |
FT0
rw |
Bit 0: Falling trigger event configuration of line 0.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 1: Falling trigger event configuration of line 1.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 2: Falling trigger event configuration of line 2.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 3: Falling trigger event configuration of line 3.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 4: Falling trigger event configuration of line 4.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 5: Falling trigger event configuration of line 5.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 6: Falling trigger event configuration of line 6.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 7: Falling trigger event configuration of line 7.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 8: Falling trigger event configuration of line 8.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 9: Falling trigger event configuration of line 9.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 10: Falling trigger event configuration of line 10.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 11: Falling trigger event configuration of line 11.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 12: Falling trigger event configuration of line 12.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 13: Falling trigger event configuration of line 13.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 14: Falling trigger event configuration of line 14.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 15: Falling trigger event configuration of line 15.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 16: Falling trigger event configuration of line 16.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 17: Falling trigger event configuration of line 17.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 19: Falling trigger event configuration of line 19.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 20: Falling trigger event configuration of line 20.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 21: Falling trigger event configuration of line 21.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 22: Falling trigger event configuration of line 22.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 29: Falling trigger event configuration of line 29.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 30: Falling trigger event configuration of line 30.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 31: Falling trigger event configuration of line 31.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Software interrupt event register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWI22
rw |
SWI21
rw |
SWI20
rw |
SWI19
rw |
SWI17
rw |
SWI16
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWI15
rw |
SWI14
rw |
SWI13
rw |
SWI12
rw |
SWI11
rw |
SWI10
rw |
SWI9
rw |
SWI8
rw |
SWI7
rw |
SWI6
rw |
SWI5
rw |
SWI4
rw |
SWI3
rw |
SWI2
rw |
SWI1
rw |
SWI0
rw |
Bit 0: Software Interrupt on line 0.
Allowed values:
1: Pend: Generates an interrupt request
Bit 1: Software Interrupt on line 1.
Allowed values:
1: Pend: Generates an interrupt request
Bit 2: Software Interrupt on line 2.
Allowed values:
1: Pend: Generates an interrupt request
Bit 3: Software Interrupt on line 3.
Allowed values:
1: Pend: Generates an interrupt request
Bit 4: Software Interrupt on line 4.
Allowed values:
1: Pend: Generates an interrupt request
Bit 5: Software Interrupt on line 5.
Allowed values:
1: Pend: Generates an interrupt request
Bit 6: Software Interrupt on line 6.
Allowed values:
1: Pend: Generates an interrupt request
Bit 7: Software Interrupt on line 7.
Allowed values:
1: Pend: Generates an interrupt request
Bit 8: Software Interrupt on line 8.
Allowed values:
1: Pend: Generates an interrupt request
Bit 9: Software Interrupt on line 9.
Allowed values:
1: Pend: Generates an interrupt request
Bit 10: Software Interrupt on line 10.
Allowed values:
1: Pend: Generates an interrupt request
Bit 11: Software Interrupt on line 11.
Allowed values:
1: Pend: Generates an interrupt request
Bit 12: Software Interrupt on line 12.
Allowed values:
1: Pend: Generates an interrupt request
Bit 13: Software Interrupt on line 13.
Allowed values:
1: Pend: Generates an interrupt request
Bit 14: Software Interrupt on line 14.
Allowed values:
1: Pend: Generates an interrupt request
Bit 15: Software Interrupt on line 15.
Allowed values:
1: Pend: Generates an interrupt request
Bit 16: Software Interrupt on line 16.
Allowed values:
1: Pend: Generates an interrupt request
Bit 17: Software Interrupt on line 17.
Allowed values:
1: Pend: Generates an interrupt request
Bit 19: Software Interrupt on line 19.
Allowed values:
1: Pend: Generates an interrupt request
Bit 20: Software Interrupt on line 20.
Allowed values:
1: Pend: Generates an interrupt request
Bit 21: Software Interrupt on line 21.
Allowed values:
1: Pend: Generates an interrupt request
Bit 22: Software Interrupt on line 22.
Allowed values:
1: Pend: Generates an interrupt request
Pending register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PIF22
rw |
PIF21
rw |
PIF20
rw |
PIF19
rw |
PIF17
rw |
PIF16
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PIF15
rw |
PIF14
rw |
PIF13
rw |
PIF12
rw |
PIF11
rw |
PIF10
rw |
PIF9
rw |
PIF8
rw |
PIF7
rw |
PIF6
rw |
PIF5
rw |
PIF4
rw |
PIF3
rw |
PIF2
rw |
PIF1
rw |
PIF0
rw |
Bit 0: Pending bit 0.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 1: Pending bit 1.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 2: Pending bit 2.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 3: Pending bit 3.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 4: Pending bit 4.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 5: Pending bit 5.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 6: Pending bit 6.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 7: Pending bit 7.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 8: Pending bit 8.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 9: Pending bit 9.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 10: Pending bit 10.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 11: Pending bit 11.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 12: Pending bit 12.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 13: Pending bit 13.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 14: Pending bit 14.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 15: Pending bit 15.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 16: Pending bit 16.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 17: Pending bit 17.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 19: Pending bit 19.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 20: Pending bit 20.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 21: Pending bit 21.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 22: Pending bit 22.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Interrupt mask register
Offset: 0x20, size: 32, reset: 0xFFFFFF87, access: read-write
10/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IM43
rw |
IM42
rw |
IM41
rw |
IM40
rw |
IM37
rw |
IM36
rw |
IM35
rw |
IM34
rw |
IM33
rw |
IM32
rw |
Bit 0: Interrupt Mask on external/internal line 32.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Interrupt Mask on external/internal line 33.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Interrupt Mask on external/internal line 34.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Interrupt Mask on external/internal line 35.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Interrupt Mask on external/internal line 36.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Interrupt Mask on external/internal line 37.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Interrupt Mask on external/internal line 40.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Interrupt Mask on external/internal line 41.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Interrupt Mask on external/internal line 42.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Interrupt Mask on external/internal line 43.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Event mask register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EM43
rw |
EM42
rw |
EM41
rw |
EM40
rw |
EM37
rw |
EM36
rw |
EM35
rw |
EM34
rw |
EM33
rw |
EM32
rw |
Bit 0: Event mask on external/internal line 32.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Event mask on external/internal line 33.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Event mask on external/internal line 34.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Event mask on external/internal line 35.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Event mask on external/internal line 36.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Event mask on external/internal line 37.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Event mask on external/internal line 40.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Event mask on external/internal line 41.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Event mask on external/internal line 42.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Event mask on external/internal line 43.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Rising Trigger selection register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Rising trigger event configuration bit of line 32.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 1: Rising trigger event configuration bit of line 32.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 8: Rising trigger event configuration bit of line 40.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 9: Rising trigger event configuration bit of line 41.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Falling Trigger selection register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Falling trigger event configuration of line 32.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 1: Falling trigger event configuration of line 33.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 8: Falling trigger event configuration of line 40.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 9: Falling trigger event configuration of line 41.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Software interrupt event register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Software interrupt on line 32.
Allowed values:
1: Pend: Generates an interrupt request
Bit 1: Software interrupt on line 33.
Allowed values:
1: Pend: Generates an interrupt request
Bit 8: Software interrupt on line 40.
Allowed values:
1: Pend: Generates an interrupt request
Bit 9: Software interrupt on line 41.
Allowed values:
1: Pend: Generates an interrupt request
Pending register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Pending bit 32.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 1: Pending bit 33.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 8: Pending bit 40.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 9: Pending bit 41.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
0x4000a400: FDCAN
35/164 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CREL | ||||||||||||||||||||||||||||||||
0x4 | ENDN | ||||||||||||||||||||||||||||||||
0xc | DBTP | ||||||||||||||||||||||||||||||||
0x10 | TEST | ||||||||||||||||||||||||||||||||
0x14 | RWD | ||||||||||||||||||||||||||||||||
0x18 | CCCR | ||||||||||||||||||||||||||||||||
0x1c | NBTP | ||||||||||||||||||||||||||||||||
0x20 | TSCC | ||||||||||||||||||||||||||||||||
0x24 | TSCV | ||||||||||||||||||||||||||||||||
0x28 | TOCC | ||||||||||||||||||||||||||||||||
0x2c | TOCV | ||||||||||||||||||||||||||||||||
0x40 | ECR | ||||||||||||||||||||||||||||||||
0x44 | PSR | ||||||||||||||||||||||||||||||||
0x48 | TDCR | ||||||||||||||||||||||||||||||||
0x50 | IR | ||||||||||||||||||||||||||||||||
0x54 | IE | ||||||||||||||||||||||||||||||||
0x58 | ILS | ||||||||||||||||||||||||||||||||
0x5c | ILE | ||||||||||||||||||||||||||||||||
0x80 | RXGFC | ||||||||||||||||||||||||||||||||
0x84 | XIDAM | ||||||||||||||||||||||||||||||||
0x88 | HPMS | ||||||||||||||||||||||||||||||||
0x90 | RXF0S | ||||||||||||||||||||||||||||||||
0x94 | RXF0A | ||||||||||||||||||||||||||||||||
0x98 | RXF1S | ||||||||||||||||||||||||||||||||
0x9c | RXF1A | ||||||||||||||||||||||||||||||||
0xc0 | TXBC | ||||||||||||||||||||||||||||||||
0xc4 | TXFQS | ||||||||||||||||||||||||||||||||
0xc8 | TXBRP | ||||||||||||||||||||||||||||||||
0xcc | TXBAR | ||||||||||||||||||||||||||||||||
0xd0 | TXBCR | ||||||||||||||||||||||||||||||||
0xd4 | TXBTO | ||||||||||||||||||||||||||||||||
0xd8 | TXBCF | ||||||||||||||||||||||||||||||||
0xdc | TXBTIE | ||||||||||||||||||||||||||||||||
0xe0 | TXBCIE | ||||||||||||||||||||||||||||||||
0xe4 | TXEFS | ||||||||||||||||||||||||||||||||
0xe8 | TXEFA | ||||||||||||||||||||||||||||||||
0x100 | CKDIV |
FDCAN Core Release Register
Offset: 0x0, size: 32, reset: 0x11111111, access: read-only
6/6 fields covered.
FDCAN Core Release Register
Offset: 0x4, size: 32, reset: 0x87654321, access: read-only
1/1 fields covered.
This register is only writable if bits CCCR.CCE and CCCR.INIT are set. The CAN bit time may be programed in the range of 4 to 25 time quanta. The CAN time quantum may be programmed in the range of 1 to 1024 FDCAN clock periods. tq = (DBRP + 1) FDCAN clock period. DTSEG1 is the sum of Prop_Seg and Phase_Seg1. DTSEG2 is Phase_Seg2. Therefore the length of the bit time is (programmed values) [DTSEG1 + DTSEG2 + 3] tq or (functional values) [Sync_Seg + Prop_Seg + Phase_Seg1 + Phase_Seg2] tq. The Information Processing Time (IPT) is zero, meaning the data for the next bit is available at the first clock edge after the sample point.
Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write
1/5 fields covered.
Write access to the Test Register has to be enabled by setting bit CCCR[TEST] to 1 . All Test Register functions are set to their reset values when bit CCCR[TEST] is reset. Loop Back mode and software control of Tx pin FDCANx_TX are hardware test modes. Programming TX differently from 00 may disturb the message transfer on the CAN bus.
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
The RAM Watchdog monitors the READY output of the Message RAM. A Message RAM access starts the Message RAM Watchdog Counter with the value configured by the RWD[WDC] bits. The counter is reloaded with RWD[WDC] bits when the Message RAM signals successful completion by activating its READY output. In case there is no response from the Message RAM until the counter has counted down to 0, the counter stops and interrupt flag IR[WDI] bit is set. The RAM Watchdog Counter is clocked by the fdcan_pclk clock.
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
For details about setting and resetting of single bits see Software initialization.
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
0/14 fields covered.
FDCAN_NBTP
Offset: 0x1c, size: 32, reset: 0x00000A33, access: read-write
0/4 fields covered.
FDCAN Timestamp Counter Configuration Register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
FDCAN Timestamp Counter Value Register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSC
rw |
FDCAN Timeout Counter Configuration Register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
FDCAN Timeout Counter Value Register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOC
rw |
FDCAN Error Counter Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Protocol Status Register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
0/11 fields covered.
FDCAN Transmitter Delay Compensation Register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
The flags are set when one of the listed conditions is detected (edge-sensitive). The flags remain set until the Host clears them. A flag is cleared by writing a 1 to the corresponding bit position. Writing a 0 has no effect. A hard reset will clear the register. The configuration of IE controls whether an interrupt is generated. The configuration of ILS controls on which interrupt line an interrupt is signaled.
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARA
rw |
PED
rw |
PEA
rw |
WDI
rw |
BO
rw |
EW
rw |
EP
rw |
ELO
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOO
rw |
MRAF
rw |
TSW
rw |
TEFL
rw |
TEFF
rw |
TEFN
rw |
TFE
rw |
TCF
rw |
TC
rw |
HPM
rw |
RF1L
rw |
RF1F
rw |
RF1N
rw |
RF0L
rw |
RF0F
rw |
RF0N
rw |
Bit 0: Rx FIFO 0 new message.
Bit 1: Rx FIFO 0 full.
Bit 2: Rx FIFO 0 message lost.
Bit 3: Rx FIFO 1 new message.
Bit 4: Rx FIFO 1 full.
Bit 5: Rx FIFO 1 message lost.
Bit 6: High-priority message.
Bit 7: Transmission completed.
Bit 8: Transmission cancellation finished.
Bit 9: Tx FIFO empty.
Bit 10: Tx even FIFO new entry.
Bit 11: Tx event FIFO full.
Bit 12: Tx event FIFO element lost.
Bit 13: Timestamp wraparound.
Bit 14: Message RAM access failure.
Bit 15: Timeout occurred.
Bit 16: Error logging overflow.
Bit 17: Error passive.
Bit 18: Warning status.
Bit 19: Bus_off status.
Bit 20: Watchdog interrupt.
Bit 21: Protocol error in arbitration phase.
Bit 22: Protocol error in data phase.
Bit 23: Access to reserved address.
The settings in the Interrupt Enable register determine which status changes in the Interrupt Register will be signaled on an interrupt line.
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARAE
rw |
PEDE
rw |
PEAE
rw |
WDIE
rw |
BOE
rw |
EWE
rw |
EPE
rw |
ELOE
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOOE
rw |
MRAFE
rw |
TSWE
rw |
TEFLE
rw |
TEFFE
rw |
TEFNE
rw |
TFEE
rw |
TCFE
rw |
TCE
rw |
HPME
rw |
RF1LE
rw |
RF1FE
rw |
RF1NE
rw |
RF0LE
rw |
RF0FE
rw |
RF0NE
rw |
Bit 0: Rx FIFO 0 new message enable.
Bit 1: Rx FIFO 0 full enable.
Bit 2: Rx FIFO 0 message lost enable.
Bit 3: Rx FIFO 1 new message enable.
Bit 4: Rx FIFO 1 full enable.
Bit 5: Rx FIFO 1 message lost enable.
Bit 6: High-priority message enable.
Bit 7: Transmission completed enable.
Bit 8: Transmission cancellation finished enable.
Bit 9: Tx FIFO empty enable.
Bit 10: Tx even FIFO new entry enable.
Bit 11: Tx event FIFO full enable.
Bit 12: Tx event FIFO element lost enable.
Bit 13: Timestamp wraparound enable.
Bit 14: Message RAM access failure enable.
Bit 15: Timeout occurred enable.
Bit 16: Error logging overflow enable.
Bit 17: Error passive enable.
Bit 18: Warning status enable.
Bit 19: Bus_off status enable.
Bit 20: Watchdog interrupt enable.
Bit 21: Protocol error in arbitration phase enable.
Bit 22: Protocol error in data phase enable.
Bit 23: Access to reserved address enable.
The Interrupt Line Select register assigns an interrupt generated by a specific interrupt flag from the Interrupt Register to one of the two module interrupt lines. For interrupt generation the respective interrupt line has to be enabled via ILE[EINT0] and ILE[EINT1].
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PERR
rw |
BERR
rw |
MISC
rw |
TFERR
rw |
SMSG
rw |
RXFIFO1
rw |
RXFIFO0
rw |
Bit 0: RX FIFO bit grouping the following interruption.
Bit 1: RX FIFO bit grouping the following interruption.
Bit 2: Status message bit grouping the following interruption.
Bit 3: TX FIFO error grouping the following interruption.
Bit 4: Interrupt regrouping the following interruption.
Bit 5: Bit and line error grouping the following interruption.
Bit 6: Protocol error grouping the following interruption.
Each of the two interrupt lines to the CPU can be enabled/disabled separately by programming bits EINT0 and EINT1.
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Global settings for Message ID filtering. The Global Filter Configuration controls the filter path for standard and extended messages as described in Figure706: Standard Message ID filter path and Figure707: Extended Message ID filter path.
Offset: 0x80, size: 32, reset: 0x00000000, access: Unspecified
0/8 fields covered.
FDCAN Extended ID and Mask Register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write
0/1 fields covered.
This register is updated every time a Message ID filter element configured to generate a priority event match. This can be used to monitor the status of incoming high priority messages and to enable fast access to these messages.
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Rx FIFO 0 Status Register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
CAN Rx FIFO 0 Acknowledge Register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F0AI
rw |
FDCAN Rx FIFO 1 Status Register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
FDCAN Rx FIFO 1 Acknowledge Register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F1AI
rw |
FDCAN Tx Buffer Configuration Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
The Tx FIFO/Queue status is related to the pending Tx requests listed in register TXBRP. Therefore the effect of Add/Cancellation requests may be delayed due to a running Tx scan (TXBRP not yet updated).
Offset: 0xc4, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Tx Buffer Request Pending Register
Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRP
r |
FDCAN Tx Buffer Add Request Register
Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AR
rw |
FDCAN Tx Buffer Cancellation Request Register
Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR
rw |
FDCAN Tx Buffer Transmission Occurred Register
Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TO
r |
FDCAN Tx Buffer Cancellation Finished Register
Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CF
r |
FDCAN Tx Buffer Transmission Interrupt Enable Register
Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TIE
rw |
FDCAN Tx Buffer Cancellation Finished Interrupt Enable Register
Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFIE
rw |
FDCAN Tx Event FIFO Status Register
Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
FDCAN Tx Event FIFO Acknowledge Register
Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EFAI
rw |
FDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDIV
rw |
0x40006400: FDCAN
35/164 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CREL | ||||||||||||||||||||||||||||||||
0x4 | ENDN | ||||||||||||||||||||||||||||||||
0xc | DBTP | ||||||||||||||||||||||||||||||||
0x10 | TEST | ||||||||||||||||||||||||||||||||
0x14 | RWD | ||||||||||||||||||||||||||||||||
0x18 | CCCR | ||||||||||||||||||||||||||||||||
0x1c | NBTP | ||||||||||||||||||||||||||||||||
0x20 | TSCC | ||||||||||||||||||||||||||||||||
0x24 | TSCV | ||||||||||||||||||||||||||||||||
0x28 | TOCC | ||||||||||||||||||||||||||||||||
0x2c | TOCV | ||||||||||||||||||||||||||||||||
0x40 | ECR | ||||||||||||||||||||||||||||||||
0x44 | PSR | ||||||||||||||||||||||||||||||||
0x48 | TDCR | ||||||||||||||||||||||||||||||||
0x50 | IR | ||||||||||||||||||||||||||||||||
0x54 | IE | ||||||||||||||||||||||||||||||||
0x58 | ILS | ||||||||||||||||||||||||||||||||
0x5c | ILE | ||||||||||||||||||||||||||||||||
0x80 | RXGFC | ||||||||||||||||||||||||||||||||
0x84 | XIDAM | ||||||||||||||||||||||||||||||||
0x88 | HPMS | ||||||||||||||||||||||||||||||||
0x90 | RXF0S | ||||||||||||||||||||||||||||||||
0x94 | RXF0A | ||||||||||||||||||||||||||||||||
0x98 | RXF1S | ||||||||||||||||||||||||||||||||
0x9c | RXF1A | ||||||||||||||||||||||||||||||||
0xc0 | TXBC | ||||||||||||||||||||||||||||||||
0xc4 | TXFQS | ||||||||||||||||||||||||||||||||
0xc8 | TXBRP | ||||||||||||||||||||||||||||||||
0xcc | TXBAR | ||||||||||||||||||||||||||||||||
0xd0 | TXBCR | ||||||||||||||||||||||||||||||||
0xd4 | TXBTO | ||||||||||||||||||||||||||||||||
0xd8 | TXBCF | ||||||||||||||||||||||||||||||||
0xdc | TXBTIE | ||||||||||||||||||||||||||||||||
0xe0 | TXBCIE | ||||||||||||||||||||||||||||||||
0xe4 | TXEFS | ||||||||||||||||||||||||||||||||
0xe8 | TXEFA | ||||||||||||||||||||||||||||||||
0x100 | CKDIV |
FDCAN Core Release Register
Offset: 0x0, size: 32, reset: 0x11111111, access: read-only
6/6 fields covered.
FDCAN Core Release Register
Offset: 0x4, size: 32, reset: 0x87654321, access: read-only
1/1 fields covered.
This register is only writable if bits CCCR.CCE and CCCR.INIT are set. The CAN bit time may be programed in the range of 4 to 25 time quanta. The CAN time quantum may be programmed in the range of 1 to 1024 FDCAN clock periods. tq = (DBRP + 1) FDCAN clock period. DTSEG1 is the sum of Prop_Seg and Phase_Seg1. DTSEG2 is Phase_Seg2. Therefore the length of the bit time is (programmed values) [DTSEG1 + DTSEG2 + 3] tq or (functional values) [Sync_Seg + Prop_Seg + Phase_Seg1 + Phase_Seg2] tq. The Information Processing Time (IPT) is zero, meaning the data for the next bit is available at the first clock edge after the sample point.
Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write
1/5 fields covered.
Write access to the Test Register has to be enabled by setting bit CCCR[TEST] to 1 . All Test Register functions are set to their reset values when bit CCCR[TEST] is reset. Loop Back mode and software control of Tx pin FDCANx_TX are hardware test modes. Programming TX differently from 00 may disturb the message transfer on the CAN bus.
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
The RAM Watchdog monitors the READY output of the Message RAM. A Message RAM access starts the Message RAM Watchdog Counter with the value configured by the RWD[WDC] bits. The counter is reloaded with RWD[WDC] bits when the Message RAM signals successful completion by activating its READY output. In case there is no response from the Message RAM until the counter has counted down to 0, the counter stops and interrupt flag IR[WDI] bit is set. The RAM Watchdog Counter is clocked by the fdcan_pclk clock.
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
For details about setting and resetting of single bits see Software initialization.
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
0/14 fields covered.
FDCAN_NBTP
Offset: 0x1c, size: 32, reset: 0x00000A33, access: read-write
0/4 fields covered.
FDCAN Timestamp Counter Configuration Register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
FDCAN Timestamp Counter Value Register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSC
rw |
FDCAN Timeout Counter Configuration Register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
FDCAN Timeout Counter Value Register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOC
rw |
FDCAN Error Counter Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Protocol Status Register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
0/11 fields covered.
FDCAN Transmitter Delay Compensation Register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
The flags are set when one of the listed conditions is detected (edge-sensitive). The flags remain set until the Host clears them. A flag is cleared by writing a 1 to the corresponding bit position. Writing a 0 has no effect. A hard reset will clear the register. The configuration of IE controls whether an interrupt is generated. The configuration of ILS controls on which interrupt line an interrupt is signaled.
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARA
rw |
PED
rw |
PEA
rw |
WDI
rw |
BO
rw |
EW
rw |
EP
rw |
ELO
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOO
rw |
MRAF
rw |
TSW
rw |
TEFL
rw |
TEFF
rw |
TEFN
rw |
TFE
rw |
TCF
rw |
TC
rw |
HPM
rw |
RF1L
rw |
RF1F
rw |
RF1N
rw |
RF0L
rw |
RF0F
rw |
RF0N
rw |
Bit 0: Rx FIFO 0 new message.
Bit 1: Rx FIFO 0 full.
Bit 2: Rx FIFO 0 message lost.
Bit 3: Rx FIFO 1 new message.
Bit 4: Rx FIFO 1 full.
Bit 5: Rx FIFO 1 message lost.
Bit 6: High-priority message.
Bit 7: Transmission completed.
Bit 8: Transmission cancellation finished.
Bit 9: Tx FIFO empty.
Bit 10: Tx even FIFO new entry.
Bit 11: Tx event FIFO full.
Bit 12: Tx event FIFO element lost.
Bit 13: Timestamp wraparound.
Bit 14: Message RAM access failure.
Bit 15: Timeout occurred.
Bit 16: Error logging overflow.
Bit 17: Error passive.
Bit 18: Warning status.
Bit 19: Bus_off status.
Bit 20: Watchdog interrupt.
Bit 21: Protocol error in arbitration phase.
Bit 22: Protocol error in data phase.
Bit 23: Access to reserved address.
The settings in the Interrupt Enable register determine which status changes in the Interrupt Register will be signaled on an interrupt line.
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARAE
rw |
PEDE
rw |
PEAE
rw |
WDIE
rw |
BOE
rw |
EWE
rw |
EPE
rw |
ELOE
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOOE
rw |
MRAFE
rw |
TSWE
rw |
TEFLE
rw |
TEFFE
rw |
TEFNE
rw |
TFEE
rw |
TCFE
rw |
TCE
rw |
HPME
rw |
RF1LE
rw |
RF1FE
rw |
RF1NE
rw |
RF0LE
rw |
RF0FE
rw |
RF0NE
rw |
Bit 0: Rx FIFO 0 new message enable.
Bit 1: Rx FIFO 0 full enable.
Bit 2: Rx FIFO 0 message lost enable.
Bit 3: Rx FIFO 1 new message enable.
Bit 4: Rx FIFO 1 full enable.
Bit 5: Rx FIFO 1 message lost enable.
Bit 6: High-priority message enable.
Bit 7: Transmission completed enable.
Bit 8: Transmission cancellation finished enable.
Bit 9: Tx FIFO empty enable.
Bit 10: Tx even FIFO new entry enable.
Bit 11: Tx event FIFO full enable.
Bit 12: Tx event FIFO element lost enable.
Bit 13: Timestamp wraparound enable.
Bit 14: Message RAM access failure enable.
Bit 15: Timeout occurred enable.
Bit 16: Error logging overflow enable.
Bit 17: Error passive enable.
Bit 18: Warning status enable.
Bit 19: Bus_off status enable.
Bit 20: Watchdog interrupt enable.
Bit 21: Protocol error in arbitration phase enable.
Bit 22: Protocol error in data phase enable.
Bit 23: Access to reserved address enable.
The Interrupt Line Select register assigns an interrupt generated by a specific interrupt flag from the Interrupt Register to one of the two module interrupt lines. For interrupt generation the respective interrupt line has to be enabled via ILE[EINT0] and ILE[EINT1].
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PERR
rw |
BERR
rw |
MISC
rw |
TFERR
rw |
SMSG
rw |
RXFIFO1
rw |
RXFIFO0
rw |
Bit 0: RX FIFO bit grouping the following interruption.
Bit 1: RX FIFO bit grouping the following interruption.
Bit 2: Status message bit grouping the following interruption.
Bit 3: TX FIFO error grouping the following interruption.
Bit 4: Interrupt regrouping the following interruption.
Bit 5: Bit and line error grouping the following interruption.
Bit 6: Protocol error grouping the following interruption.
Each of the two interrupt lines to the CPU can be enabled/disabled separately by programming bits EINT0 and EINT1.
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Global settings for Message ID filtering. The Global Filter Configuration controls the filter path for standard and extended messages as described in Figure706: Standard Message ID filter path and Figure707: Extended Message ID filter path.
Offset: 0x80, size: 32, reset: 0x00000000, access: Unspecified
0/8 fields covered.
FDCAN Extended ID and Mask Register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write
0/1 fields covered.
This register is updated every time a Message ID filter element configured to generate a priority event match. This can be used to monitor the status of incoming high priority messages and to enable fast access to these messages.
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Rx FIFO 0 Status Register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
CAN Rx FIFO 0 Acknowledge Register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F0AI
rw |
FDCAN Rx FIFO 1 Status Register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
FDCAN Rx FIFO 1 Acknowledge Register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F1AI
rw |
FDCAN Tx Buffer Configuration Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
The Tx FIFO/Queue status is related to the pending Tx requests listed in register TXBRP. Therefore the effect of Add/Cancellation requests may be delayed due to a running Tx scan (TXBRP not yet updated).
Offset: 0xc4, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Tx Buffer Request Pending Register
Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRP
r |
FDCAN Tx Buffer Add Request Register
Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AR
rw |
FDCAN Tx Buffer Cancellation Request Register
Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR
rw |
FDCAN Tx Buffer Transmission Occurred Register
Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TO
r |
FDCAN Tx Buffer Cancellation Finished Register
Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CF
r |
FDCAN Tx Buffer Transmission Interrupt Enable Register
Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TIE
rw |
FDCAN Tx Buffer Cancellation Finished Interrupt Enable Register
Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFIE
rw |
FDCAN Tx Event FIFO Status Register
Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
FDCAN Tx Event FIFO Acknowledge Register
Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EFAI
rw |
FDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDIV
rw |
0x40006800: FDCAN
35/164 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CREL | ||||||||||||||||||||||||||||||||
0x4 | ENDN | ||||||||||||||||||||||||||||||||
0xc | DBTP | ||||||||||||||||||||||||||||||||
0x10 | TEST | ||||||||||||||||||||||||||||||||
0x14 | RWD | ||||||||||||||||||||||||||||||||
0x18 | CCCR | ||||||||||||||||||||||||||||||||
0x1c | NBTP | ||||||||||||||||||||||||||||||||
0x20 | TSCC | ||||||||||||||||||||||||||||||||
0x24 | TSCV | ||||||||||||||||||||||||||||||||
0x28 | TOCC | ||||||||||||||||||||||||||||||||
0x2c | TOCV | ||||||||||||||||||||||||||||||||
0x40 | ECR | ||||||||||||||||||||||||||||||||
0x44 | PSR | ||||||||||||||||||||||||||||||||
0x48 | TDCR | ||||||||||||||||||||||||||||||||
0x50 | IR | ||||||||||||||||||||||||||||||||
0x54 | IE | ||||||||||||||||||||||||||||||||
0x58 | ILS | ||||||||||||||||||||||||||||||||
0x5c | ILE | ||||||||||||||||||||||||||||||||
0x80 | RXGFC | ||||||||||||||||||||||||||||||||
0x84 | XIDAM | ||||||||||||||||||||||||||||||||
0x88 | HPMS | ||||||||||||||||||||||||||||||||
0x90 | RXF0S | ||||||||||||||||||||||||||||||||
0x94 | RXF0A | ||||||||||||||||||||||||||||||||
0x98 | RXF1S | ||||||||||||||||||||||||||||||||
0x9c | RXF1A | ||||||||||||||||||||||||||||||||
0xc0 | TXBC | ||||||||||||||||||||||||||||||||
0xc4 | TXFQS | ||||||||||||||||||||||||||||||||
0xc8 | TXBRP | ||||||||||||||||||||||||||||||||
0xcc | TXBAR | ||||||||||||||||||||||||||||||||
0xd0 | TXBCR | ||||||||||||||||||||||||||||||||
0xd4 | TXBTO | ||||||||||||||||||||||||||||||||
0xd8 | TXBCF | ||||||||||||||||||||||||||||||||
0xdc | TXBTIE | ||||||||||||||||||||||||||||||||
0xe0 | TXBCIE | ||||||||||||||||||||||||||||||||
0xe4 | TXEFS | ||||||||||||||||||||||||||||||||
0xe8 | TXEFA | ||||||||||||||||||||||||||||||||
0x100 | CKDIV |
FDCAN Core Release Register
Offset: 0x0, size: 32, reset: 0x11111111, access: read-only
6/6 fields covered.
FDCAN Core Release Register
Offset: 0x4, size: 32, reset: 0x87654321, access: read-only
1/1 fields covered.
This register is only writable if bits CCCR.CCE and CCCR.INIT are set. The CAN bit time may be programed in the range of 4 to 25 time quanta. The CAN time quantum may be programmed in the range of 1 to 1024 FDCAN clock periods. tq = (DBRP + 1) FDCAN clock period. DTSEG1 is the sum of Prop_Seg and Phase_Seg1. DTSEG2 is Phase_Seg2. Therefore the length of the bit time is (programmed values) [DTSEG1 + DTSEG2 + 3] tq or (functional values) [Sync_Seg + Prop_Seg + Phase_Seg1 + Phase_Seg2] tq. The Information Processing Time (IPT) is zero, meaning the data for the next bit is available at the first clock edge after the sample point.
Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write
1/5 fields covered.
Write access to the Test Register has to be enabled by setting bit CCCR[TEST] to 1 . All Test Register functions are set to their reset values when bit CCCR[TEST] is reset. Loop Back mode and software control of Tx pin FDCANx_TX are hardware test modes. Programming TX differently from 00 may disturb the message transfer on the CAN bus.
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
The RAM Watchdog monitors the READY output of the Message RAM. A Message RAM access starts the Message RAM Watchdog Counter with the value configured by the RWD[WDC] bits. The counter is reloaded with RWD[WDC] bits when the Message RAM signals successful completion by activating its READY output. In case there is no response from the Message RAM until the counter has counted down to 0, the counter stops and interrupt flag IR[WDI] bit is set. The RAM Watchdog Counter is clocked by the fdcan_pclk clock.
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
For details about setting and resetting of single bits see Software initialization.
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
0/14 fields covered.
FDCAN_NBTP
Offset: 0x1c, size: 32, reset: 0x00000A33, access: read-write
0/4 fields covered.
FDCAN Timestamp Counter Configuration Register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
FDCAN Timestamp Counter Value Register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSC
rw |
FDCAN Timeout Counter Configuration Register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
FDCAN Timeout Counter Value Register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOC
rw |
FDCAN Error Counter Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Protocol Status Register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
0/11 fields covered.
FDCAN Transmitter Delay Compensation Register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
The flags are set when one of the listed conditions is detected (edge-sensitive). The flags remain set until the Host clears them. A flag is cleared by writing a 1 to the corresponding bit position. Writing a 0 has no effect. A hard reset will clear the register. The configuration of IE controls whether an interrupt is generated. The configuration of ILS controls on which interrupt line an interrupt is signaled.
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARA
rw |
PED
rw |
PEA
rw |
WDI
rw |
BO
rw |
EW
rw |
EP
rw |
ELO
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOO
rw |
MRAF
rw |
TSW
rw |
TEFL
rw |
TEFF
rw |
TEFN
rw |
TFE
rw |
TCF
rw |
TC
rw |
HPM
rw |
RF1L
rw |
RF1F
rw |
RF1N
rw |
RF0L
rw |
RF0F
rw |
RF0N
rw |
Bit 0: Rx FIFO 0 new message.
Bit 1: Rx FIFO 0 full.
Bit 2: Rx FIFO 0 message lost.
Bit 3: Rx FIFO 1 new message.
Bit 4: Rx FIFO 1 full.
Bit 5: Rx FIFO 1 message lost.
Bit 6: High-priority message.
Bit 7: Transmission completed.
Bit 8: Transmission cancellation finished.
Bit 9: Tx FIFO empty.
Bit 10: Tx even FIFO new entry.
Bit 11: Tx event FIFO full.
Bit 12: Tx event FIFO element lost.
Bit 13: Timestamp wraparound.
Bit 14: Message RAM access failure.
Bit 15: Timeout occurred.
Bit 16: Error logging overflow.
Bit 17: Error passive.
Bit 18: Warning status.
Bit 19: Bus_off status.
Bit 20: Watchdog interrupt.
Bit 21: Protocol error in arbitration phase.
Bit 22: Protocol error in data phase.
Bit 23: Access to reserved address.
The settings in the Interrupt Enable register determine which status changes in the Interrupt Register will be signaled on an interrupt line.
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARAE
rw |
PEDE
rw |
PEAE
rw |
WDIE
rw |
BOE
rw |
EWE
rw |
EPE
rw |
ELOE
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOOE
rw |
MRAFE
rw |
TSWE
rw |
TEFLE
rw |
TEFFE
rw |
TEFNE
rw |
TFEE
rw |
TCFE
rw |
TCE
rw |
HPME
rw |
RF1LE
rw |
RF1FE
rw |
RF1NE
rw |
RF0LE
rw |
RF0FE
rw |
RF0NE
rw |
Bit 0: Rx FIFO 0 new message enable.
Bit 1: Rx FIFO 0 full enable.
Bit 2: Rx FIFO 0 message lost enable.
Bit 3: Rx FIFO 1 new message enable.
Bit 4: Rx FIFO 1 full enable.
Bit 5: Rx FIFO 1 message lost enable.
Bit 6: High-priority message enable.
Bit 7: Transmission completed enable.
Bit 8: Transmission cancellation finished enable.
Bit 9: Tx FIFO empty enable.
Bit 10: Tx even FIFO new entry enable.
Bit 11: Tx event FIFO full enable.
Bit 12: Tx event FIFO element lost enable.
Bit 13: Timestamp wraparound enable.
Bit 14: Message RAM access failure enable.
Bit 15: Timeout occurred enable.
Bit 16: Error logging overflow enable.
Bit 17: Error passive enable.
Bit 18: Warning status enable.
Bit 19: Bus_off status enable.
Bit 20: Watchdog interrupt enable.
Bit 21: Protocol error in arbitration phase enable.
Bit 22: Protocol error in data phase enable.
Bit 23: Access to reserved address enable.
The Interrupt Line Select register assigns an interrupt generated by a specific interrupt flag from the Interrupt Register to one of the two module interrupt lines. For interrupt generation the respective interrupt line has to be enabled via ILE[EINT0] and ILE[EINT1].
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PERR
rw |
BERR
rw |
MISC
rw |
TFERR
rw |
SMSG
rw |
RXFIFO1
rw |
RXFIFO0
rw |
Bit 0: RX FIFO bit grouping the following interruption.
Bit 1: RX FIFO bit grouping the following interruption.
Bit 2: Status message bit grouping the following interruption.
Bit 3: TX FIFO error grouping the following interruption.
Bit 4: Interrupt regrouping the following interruption.
Bit 5: Bit and line error grouping the following interruption.
Bit 6: Protocol error grouping the following interruption.
Each of the two interrupt lines to the CPU can be enabled/disabled separately by programming bits EINT0 and EINT1.
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Global settings for Message ID filtering. The Global Filter Configuration controls the filter path for standard and extended messages as described in Figure706: Standard Message ID filter path and Figure707: Extended Message ID filter path.
Offset: 0x80, size: 32, reset: 0x00000000, access: Unspecified
0/8 fields covered.
FDCAN Extended ID and Mask Register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write
0/1 fields covered.
This register is updated every time a Message ID filter element configured to generate a priority event match. This can be used to monitor the status of incoming high priority messages and to enable fast access to these messages.
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Rx FIFO 0 Status Register
Offset: 0x90, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
CAN Rx FIFO 0 Acknowledge Register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F0AI
rw |
FDCAN Rx FIFO 1 Status Register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
FDCAN Rx FIFO 1 Acknowledge Register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F1AI
rw |
FDCAN Tx Buffer Configuration Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
The Tx FIFO/Queue status is related to the pending Tx requests listed in register TXBRP. Therefore the effect of Add/Cancellation requests may be delayed due to a running Tx scan (TXBRP not yet updated).
Offset: 0xc4, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
FDCAN Tx Buffer Request Pending Register
Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRP
r |
FDCAN Tx Buffer Add Request Register
Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AR
rw |
FDCAN Tx Buffer Cancellation Request Register
Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR
rw |
FDCAN Tx Buffer Transmission Occurred Register
Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TO
r |
FDCAN Tx Buffer Cancellation Finished Register
Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CF
r |
FDCAN Tx Buffer Transmission Interrupt Enable Register
Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TIE
rw |
FDCAN Tx Buffer Cancellation Finished Interrupt Enable Register
Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFIE
rw |
FDCAN Tx Event FIFO Status Register
Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
FDCAN Tx Event FIFO Acknowledge Register
Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EFAI
rw |
FDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDIV
rw |
0x40022000: Flash
8/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ACR | ||||||||||||||||||||||||||||||||
0x4 | PDKEYR | ||||||||||||||||||||||||||||||||
0x8 | KEYR | ||||||||||||||||||||||||||||||||
0xc | OPTKEYR | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | CR | ||||||||||||||||||||||||||||||||
0x18 | ECCR | ||||||||||||||||||||||||||||||||
0x20 | OPTR | ||||||||||||||||||||||||||||||||
0x24 | PCROP1SR | ||||||||||||||||||||||||||||||||
0x28 | PCROP1ER | ||||||||||||||||||||||||||||||||
0x2c | WRP1AR | ||||||||||||||||||||||||||||||||
0x30 | WRP1BR | ||||||||||||||||||||||||||||||||
0x70 | SEC1R |
Access control register
Offset: 0x0, size: 32, reset: 0x00000600, access: read-write
1/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_SWEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLEEP_PD
rw |
RUN_PD
rw |
DCRST
rw |
ICRST
rw |
DCEN
rw |
ICEN
rw |
PRFTEN
rw |
LATENCY
rw |
Bits 0-3: Latency.
Allowed values:
0: Wait0: Zero Wait States (Vcore Boost 1 (<= 34MHz), Vcore Normal 1 (<= 30MHz), Vcore 2 (<= 12MHz)
1: Wait1: One Wait State (Vcore Boost 1 (<= 68MHz), Vcore Normal 1 (<= 60MHz), Vcore 2 (<= 24MHz)
2: Wait2: Two Wait States (Vcore Boost 1 (<= 102MHz), Vcore Normal 1 (<= 90MHz), Vcore 2 (<= 26MHz)
3: Wait3: Three Wait States (Vcore Boost 1 (<= 136MHz), Vcore Normal 1 (<= 120MHz)
4: Wait4: Four Wait States (Vcore Boost 1 (<= 170MHz), Vcore Normal 1 (<= 150MHz)
Bit 8: Prefetch enable.
Bit 9: Instruction cache enable.
Bit 10: Data cache enable.
Bit 11: Instruction cache reset.
Bit 12: Data cache reset.
Bit 13: Flash Power-down mode during Low-power run mode.
Bit 14: Flash Power-down mode during Low-power sleep mode.
Bit 18: Debug software enable.
Power down key register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
Flash key register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
Option byte key register
Offset: 0xc, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
Status register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BSY
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OPTVERR
rw |
RDERR
rw |
FASTERR
rw |
MISERR
rw |
PGSERR
rw |
SIZERR
rw |
PGAERR
rw |
WRPERR
rw |
PROGERR
rw |
OPERR
rw |
EOP
rw |
Bit 0: End of operation.
Bit 1: Operation error.
Bit 3: Programming error.
Bit 4: Write protected error.
Bit 5: Programming alignment error.
Bit 6: Size error.
Bit 7: Programming sequence error.
Bit 8: Fast programming data miss error.
Bit 9: Fast programming error.
Bit 14: PCROP read error.
Bit 15: Option validity error.
Bit 16: Busy.
Flash control register
Offset: 0x14, size: 32, reset: 0xC0000000, access: read-write
1/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
OPTLOCK
rw |
SEC_PROT2
rw |
SEC_PROT1
rw |
OBL_LAUNCH
rw |
RDERRIE
rw |
ERRIE
rw |
EOPIE
rw |
FSTPG
rw |
OPTSTRT
rw |
STRT
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MER2
rw |
BKER
rw |
PNB
rw |
MER1
rw |
PER
rw |
PG
rw |
Bit 0: Programming.
Bit 1: Page erase.
Bit 2: Bank 1 Mass erase.
Bits 3-9: Page number.
Bit 11: Bank erase.
Allowed values:
0: Bank1: Bank 1 is selected for page erase
1: Bank2: Bank 2 is selected for page erase
Bit 15: Bank 2 Mass erase.
Bit 16: Start.
Bit 17: Options modification start.
Bit 18: Fast programming.
Bit 24: End of operation interrupt enable.
Bit 25: Error interrupt enable.
Bit 26: PCROP read error interrupt enable.
Bit 27: Force the option byte loading.
Bit 28: SEC_PROT1.
Bit 29: Securable memory area protection bit for bank 2..
Bit 30: Options Lock.
Bit 31: FLASH_CR Lock.
Flash ECC register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
3/8 fields covered.
Flash option register
Offset: 0x20, size: 32, reset: 0xFFEFF8AA, access: read-write
2/18 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IRHEN
rw |
NRST_MODE
rw |
nBOOT0
rw |
nSWBOOT0
rw |
SRAM2_RST
rw |
SRAM2_PE
rw |
nBOOT1
rw |
DBANK
rw |
BFB2
rw |
WWDG_SW
rw |
IWDG_STDBY
rw |
IWDG_STOP
rw |
IDWG_SW
rw |
|||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
nRST_SHDW
rw |
nRST_STDBY
rw |
nRST_STOP
rw |
BOR_LEV
rw |
RDP
rw |
Bits 0-7: Read protection level.
Bits 8-10: BOR reset Level.
Bit 12: nRST_STOP.
Bit 13: nRST_STDBY.
Bit 14: nRST_SHDW.
Bit 16: Independent watchdog selection.
Bit 17: Independent watchdog counter freeze in Stop mode.
Bit 18: Independent watchdog counter freeze in Standby mode.
Bit 19: Window watchdog selection.
Bit 20: Bank to boot from.
Allowed values:
0: Disabled: Boot from memory bank 1
1: Enabled: Boot from memory bank 2
Bit 22: Single or dual bank mode.
Allowed values:
0: SingleBankMode: Single-bank mode with 128 bits data read width
1: DualBankMode: Dual-bank mode with 64 bits data
Bit 23: Boot configuration.
Bit 24: SRAM2 parity check enable.
Bit 25: SRAM2 Erase when system reset.
Bit 26: nSWBOOT0.
Bit 27: nBOOT0.
Bits 28-29: NRST_MODE.
Bit 30: IRHEN.
Flash Bank 1 PCROP Start address register
Offset: 0x24, size: 32, reset: 0xFFFF0000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PCROP1_STRT
rw |
Flash Bank 1 PCROP End address register
Offset: 0x28, size: 32, reset: 0x0FFF0000, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PCROP_RDP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PCROP1_END
rw |
Flash Bank 1 WRP area A address register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WRP1A_END
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WRP1A_STRT
rw |
Flash Bank 1 WRP area B address register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WRP1B_END
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WRP1B_STRT
rw |
0x40021400: Filter Math Accelerator
6/29 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | X1BUFCFG | ||||||||||||||||||||||||||||||||
0x4 | X2BUFCFG | ||||||||||||||||||||||||||||||||
0x8 | YBUFCFG | ||||||||||||||||||||||||||||||||
0xc | PARAM | ||||||||||||||||||||||||||||||||
0x10 | CR | ||||||||||||||||||||||||||||||||
0x14 | SR | ||||||||||||||||||||||||||||||||
0x18 | WDATA | ||||||||||||||||||||||||||||||||
0x1c | RDATA |
FMAC X1 Buffer Configuration register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FULL_WM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
X1_BUF_SIZE
rw |
X1_BASE
rw |
FMAC X2 Buffer Configuration register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
X2_BUF_SIZE
rw |
X2_BASE
rw |
FMAC Y Buffer Configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EMPTY_WM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Y_BUF_SIZE
rw |
Y_BASE
rw |
FMAC Parameter register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
FMAC Control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
FMAC Status register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
FMAC Write Data register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WDATA
w |
FMAC Read Data register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
0xe000ef34: Floting point unit
0/24 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | FPCCR | ||||||||||||||||||||||||||||||||
0x4 | FPCAR | ||||||||||||||||||||||||||||||||
0x8 | FPSCR |
Floating-point context control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Floating-point context address register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Floating-point status control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
N
rw |
Z
rw |
C
rw |
V
rw |
AHP
rw |
DN
rw |
FZ
rw |
RMode
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IDC
rw |
IXC
rw |
UFC
rw |
OFC
rw |
DZC
rw |
IOC
rw |
Bit 0: Invalid operation cumulative exception bit.
Bit 1: Division by zero cumulative exception bit..
Bit 2: Overflow cumulative exception bit.
Bit 3: Underflow cumulative exception bit.
Bit 4: Inexact cumulative exception bit.
Bit 7: Input denormal cumulative exception bit..
Bits 22-23: Rounding Mode control field.
Bit 24: Flush-to-zero mode control bit:.
Bit 25: Default NaN mode control bit.
Bit 26: Alternative half-precision control bit.
Bit 28: Overflow condition code flag.
Bit 29: Carry condition code flag.
Bit 30: Zero condition code flag.
Bit 31: Negative condition code flag.
0xe000ed88: Floating point unit CPACR
0/1 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CPACR |
Coprocessor access control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0x48000000: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x0C000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x64000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48000400: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFEBF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x000000C0, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000100, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48000800: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48000c00: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48001000: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48001400: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48001800: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x40005400: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40005800: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40007800: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40008400: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40003000: WinWATCHDOG
7/7 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | KR | ||||||||||||||||||||||||||||||||
0x4 | PR | ||||||||||||||||||||||||||||||||
0x8 | RLR | ||||||||||||||||||||||||||||||||
0xc | SR | ||||||||||||||||||||||||||||||||
0x10 | WINR |
Key register
Offset: 0x0, size: 32, reset: 0x00000000, access: write-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY
w |
Prescaler register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PR
rw |
Reload register
Offset: 0x8, size: 32, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RL
rw |
Window register
Offset: 0x10, size: 32, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WIN
rw |
0x40007c00: Low power timer
8/46 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | ICR | ||||||||||||||||||||||||||||||||
0x8 | IER | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CR | ||||||||||||||||||||||||||||||||
0x14 | CMP | ||||||||||||||||||||||||||||||||
0x18 | ARR | ||||||||||||||||||||||||||||||||
0x1c | CNT | ||||||||||||||||||||||||||||||||
0x20 | OR |
Interrupt and Status Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Interrupt Clear Register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DOWNCF
w |
UPCF
w |
ARROKCF
w |
CMPOKCF
w |
EXTTRIGCF
w |
ARRMCF
w |
CMPMCF
w |
Bit 0: compare match Clear Flag.
Bit 1: Autoreload match Clear Flag.
Bit 2: External trigger valid edge Clear Flag.
Bit 3: Compare register update OK Clear Flag.
Bit 4: Autoreload register update OK Clear Flag.
Bit 5: Direction change to UP Clear Flag.
Bit 6: Direction change to down Clear Flag.
Interrupt Enable Register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DOWNIE
rw |
UPIE
rw |
ARROKIE
rw |
CMPOKIE
rw |
EXTTRIGIE
rw |
ARRMIE
rw |
CMPMIE
rw |
Bit 0: Compare match Interrupt Enable.
Bit 1: Autoreload match Interrupt Enable.
Bit 2: External trigger valid edge Interrupt Enable.
Bit 3: Compare register update OK Interrupt Enable.
Bit 4: Autoreload register update OK Interrupt Enable.
Bit 5: Direction change to UP Interrupt Enable.
Bit 6: Direction change to down Interrupt Enable.
Configuration Register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ENC
rw |
COUNTMODE
rw |
PRELOAD
rw |
WAVPOL
rw |
WAVE
rw |
TIMOUT
rw |
TRIGEN
rw |
TRIGSEL
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TRIGSEL
rw |
PRESC
rw |
TRGFLT
rw |
CKFLT
rw |
CKPOL
rw |
CKSEL
rw |
Bit 0: Clock selector.
Bits 1-2: Clock Polarity.
Bits 3-4: Configurable digital filter for external clock.
Bits 6-7: Configurable digital filter for trigger.
Bits 9-11: Clock prescaler.
Bits 13-16: Trigger selector.
Bits 17-18: Trigger enable and polarity.
Bit 19: Timeout enable.
Bit 20: Waveform shape.
Bit 21: Waveform shape polarity.
Bit 22: Registers update mode.
Bit 23: counter mode enabled.
Bit 24: Encoder mode enable.
Control Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Compare Register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CMP
rw |
Autoreload Register
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARR
rw |
Counter Register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CNT
r |
0x40008000: Universal synchronous asynchronous receiver transmitter
22/93 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/29 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
DEAT4
rw |
DEAT3
rw |
DEAT2
rw |
DEAT1
rw |
DEAT0
rw |
DEDT4
rw |
DEDT3
rw |
DEDT2
rw |
DEDT1
rw |
DEDT0
rw |
||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Bit 3: Transmitter enable.
Bit 4: IDLE interrupt enable.
Bit 5: RXNE interrupt enable.
Bit 6: Transmission complete interrupt enable.
Bit 7: interrupt enable.
Bit 8: PE interrupt enable.
Bit 9: Parity selection.
Bit 10: Parity control enable.
Bit 11: Receiver wakeup method.
Bit 12: Word length.
Bit 13: Mute mode enable.
Bit 14: Character match interrupt enable.
Bit 16: DEDT0.
Bit 17: DEDT1.
Bit 18: DEDT2.
Bit 19: DEDT3.
Bit 20: Driver Enable de-assertion time.
Bit 21: DEAT0.
Bit 22: DEAT1.
Bit 23: DEAT2.
Bit 24: DEAT3.
Bit 25: Driver Enable assertion time.
Bit 28: Word length.
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD4_7
rw |
ADD0_3
rw |
MSBFIRST
rw |
TAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
STOP
rw |
ADDM7
rw |
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Bits 12-13: STOP bits.
Bit 15: Swap TX/RX pins.
Bit 16: RX pin active level inversion.
Bit 17: TX pin active level inversion.
Bit 18: Binary data inversion.
Bit 19: Most significant bit first.
Bits 24-27: Address of the USART node.
Bits 28-31: Address of the USART node.
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
HDSEL
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Bit 3: Half-duplex selection.
Bit 6: DMA enable receiver.
Bit 7: DMA enable transmitter.
Bit 8: RTS enable.
Bit 9: CTS enable.
Bit 10: CTS interrupt enable.
Bit 12: Overrun Disable.
Bit 13: DMA Disable on Reception Error.
Bit 14: Driver enable mode.
Bit 15: Driver enable polarity selection.
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/4 fields covered.
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
21/21 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTS
r |
CTSIF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTSCF
w |
TCCF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Bit 1: Framing error clear flag.
Bit 2: Noise detected clear flag.
Bit 3: Overrun error clear flag.
Bit 4: Idle line detected clear flag.
Bit 6: Transmission complete clear flag.
Bit 9: CTS clear flag.
Bit 17: Character match clear flag.
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
Prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0xe000e084: Memory protection unit
3/19 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | TYPER | ||||||||||||||||||||||||||||||||
0x4 | CTRL | ||||||||||||||||||||||||||||||||
0x8 | RNR | ||||||||||||||||||||||||||||||||
0xc | RBAR | ||||||||||||||||||||||||||||||||
0x10 | RASR |
MPU type register
Offset: 0x0, size: 32, reset: 0x00000800, access: read-only
3/3 fields covered.
MPU control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRIVDEFENA
rw |
HFNMIENA
rw |
ENABLE
rw |
MPU region number register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REGION
rw |
MPU region base address register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
MPU region attribute and size register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
XN
rw |
AP
rw |
TEX
rw |
S
rw |
C
rw |
B
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SRD
rw |
SIZE
rw |
ENABLE
rw |
Bit 0: Region enable bit..
Bits 1-5: Size of the MPU protection region.
Bits 8-15: Subregion disable bits.
Bit 16: memory attribute.
Bit 17: memory attribute.
Bit 18: Shareable memory attribute.
Bits 19-21: memory attribute.
Bits 24-26: Access permission.
Bit 28: Instruction access disable bit.
0xe000e100: Nested Vectored Interrupt Controller
4/104 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISER0 | ||||||||||||||||||||||||||||||||
0x4 | ISER1 | ||||||||||||||||||||||||||||||||
0x8 | ISER2 | ||||||||||||||||||||||||||||||||
0xc | ISER3 | ||||||||||||||||||||||||||||||||
0x80 | ICER0 | ||||||||||||||||||||||||||||||||
0x84 | ICER1 | ||||||||||||||||||||||||||||||||
0x88 | ICER2 | ||||||||||||||||||||||||||||||||
0x8c | ICER3 | ||||||||||||||||||||||||||||||||
0x100 | ISPR0 | ||||||||||||||||||||||||||||||||
0x104 | ISPR1 | ||||||||||||||||||||||||||||||||
0x108 | ISPR2 | ||||||||||||||||||||||||||||||||
0x10c | ISPR3 | ||||||||||||||||||||||||||||||||
0x180 | ICPR0 | ||||||||||||||||||||||||||||||||
0x184 | ICPR1 | ||||||||||||||||||||||||||||||||
0x188 | ICPR2 | ||||||||||||||||||||||||||||||||
0x18c | ICPR3 | ||||||||||||||||||||||||||||||||
0x200 | IABR0 | ||||||||||||||||||||||||||||||||
0x204 | IABR1 | ||||||||||||||||||||||||||||||||
0x208 | IABR2 | ||||||||||||||||||||||||||||||||
0x20c | IABR3 | ||||||||||||||||||||||||||||||||
0x300 | IPR0 | ||||||||||||||||||||||||||||||||
0x304 | IPR1 | ||||||||||||||||||||||||||||||||
0x308 | IPR2 | ||||||||||||||||||||||||||||||||
0x30c | IPR3 | ||||||||||||||||||||||||||||||||
0x310 | IPR4 | ||||||||||||||||||||||||||||||||
0x314 | IPR5 | ||||||||||||||||||||||||||||||||
0x318 | IPR6 | ||||||||||||||||||||||||||||||||
0x31c | IPR7 | ||||||||||||||||||||||||||||||||
0x320 | IPR8 | ||||||||||||||||||||||||||||||||
0x324 | IPR9 | ||||||||||||||||||||||||||||||||
0x328 | IPR10 | ||||||||||||||||||||||||||||||||
0x32c | IPR11 | ||||||||||||||||||||||||||||||||
0x330 | IPR12 | ||||||||||||||||||||||||||||||||
0x334 | IPR13 | ||||||||||||||||||||||||||||||||
0x338 | IPR14 | ||||||||||||||||||||||||||||||||
0x33c | IPR15 | ||||||||||||||||||||||||||||||||
0x340 | IPR16 | ||||||||||||||||||||||||||||||||
0x344 | IPR17 | ||||||||||||||||||||||||||||||||
0x348 | IPR18 | ||||||||||||||||||||||||||||||||
0x34c | IPR19 | ||||||||||||||||||||||||||||||||
0x350 | IPR20 | ||||||||||||||||||||||||||||||||
0x354 | IPR21 | ||||||||||||||||||||||||||||||||
0x358 | IPR22 | ||||||||||||||||||||||||||||||||
0x35c | IPR23 | ||||||||||||||||||||||||||||||||
0x360 | IPR24 | ||||||||||||||||||||||||||||||||
0x364 | IPR25 |
Interrupt Set-Enable Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Enable Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Enable Register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Enable Register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Enable Register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Enable Register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Enable Register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Enable Register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Pending Register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Pending Register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Pending Register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Set-Pending Register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Pending Register
Offset: 0x180, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Pending Register
Offset: 0x184, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Pending Register
Offset: 0x188, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Clear-Pending Register
Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Interrupt Active Bit Register
Offset: 0x200, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
Interrupt Active Bit Register
Offset: 0x204, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
Interrupt Active Bit Register
Offset: 0x208, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
Interrupt Active Bit Register
Offset: 0x20c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
Interrupt Priority Register
Offset: 0x300, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x304, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x308, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x30c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x310, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x314, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x318, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x31c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x320, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x324, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x328, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x32c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x330, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x334, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x338, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x33c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x340, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x344, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x348, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x34c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x350, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Interrupt Priority Register
Offset: 0x354, size: 32, reset: 0x00000000, access: read-write
Interrupt Priority Register
Offset: 0x358, size: 32, reset: 0x00000000, access: read-write
Interrupt Priority Register
Offset: 0x35c, size: 32, reset: 0x00000000, access: read-write
0xe000ef00: Nested vectored interrupt controller
0/1 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | STIR |
Software trigger interrupt register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
INTID
rw |
0x40010300: Operational amplifiers
76/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | OPAMP1_CSR | ||||||||||||||||||||||||||||||||
0x4 | OPAMP2_CSR | ||||||||||||||||||||||||||||||||
0x8 | OPAMP3_CSR | ||||||||||||||||||||||||||||||||
0x14 | OPAMP6_CSR | ||||||||||||||||||||||||||||||||
0x18 | OPAMP1_TCMR | ||||||||||||||||||||||||||||||||
0x1c | OPAMP2_TCMR | ||||||||||||||||||||||||||||||||
0x20 | OPAMP3_TCMR | ||||||||||||||||||||||||||||||||
0x2c | OPAMP6_TCMR |
OPAMP1 control/status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP2 control/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: VINP3: VINP3 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP3 control/status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH2: DAC3_CH2 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP6 control/status register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP1 control/status register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
OPAMP2 control/status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: VINP3: VINP3 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
OPAMP3 control/status register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH2: DAC3_CH2 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
OPAMP6 control/status register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
0x40007000: Power control
15/259 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | CR4 | ||||||||||||||||||||||||||||||||
0x10 | SR1 | ||||||||||||||||||||||||||||||||
0x14 | SR2 | ||||||||||||||||||||||||||||||||
0x18 | SCR | ||||||||||||||||||||||||||||||||
0x20 | PUCRA | ||||||||||||||||||||||||||||||||
0x24 | PDCRA | ||||||||||||||||||||||||||||||||
0x28 | PUCRB | ||||||||||||||||||||||||||||||||
0x2c | PDCRB | ||||||||||||||||||||||||||||||||
0x30 | PUCRC | ||||||||||||||||||||||||||||||||
0x34 | PDCRC | ||||||||||||||||||||||||||||||||
0x38 | PUCRD | ||||||||||||||||||||||||||||||||
0x3c | PDCRD | ||||||||||||||||||||||||||||||||
0x40 | PUCRE | ||||||||||||||||||||||||||||||||
0x44 | PDCRE | ||||||||||||||||||||||||||||||||
0x48 | PUCRF | ||||||||||||||||||||||||||||||||
0x4c | PDCRF | ||||||||||||||||||||||||||||||||
0x50 | PUCRG | ||||||||||||||||||||||||||||||||
0x54 | PDCRG | ||||||||||||||||||||||||||||||||
0x80 | CR5 |
Power control register 1
Offset: 0x0, size: 32, reset: 0x00000200, access: read-write
0/4 fields covered.
Power control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Bit 0: Power voltage detector enable.
Bits 1-3: Power voltage detector level selection.
Bit 4: Peripheral voltage monitoring 1 enable: VDDA vs. COMP min voltage.
Bit 5: Peripheral voltage monitoring 2 enable: VDDA vs. Fast DAC min voltage.
Bit 6: Peripheral voltage monitoring 3 enable: VDDA vs. ADC min voltage 1.62V.
Bit 7: Peripheral voltage monitoring 4 enable: VDDA vs. OPAMP/DAC min voltage.
Power control register 3
Offset: 0x8, size: 32, reset: 0x00008000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EIWUL
rw |
UCPD1_DBDIS
rw |
UCPD1_STDBY
rw |
APC
rw |
RRS
rw |
EWUP5
rw |
EWUP4
rw |
EWUP3
rw |
EWUP2
rw |
EWUP1
rw |
Bit 0: Enable Wakeup pin WKUP1.
Bit 1: Enable Wakeup pin WKUP2.
Bit 2: Enable Wakeup pin WKUP3.
Bit 3: Enable Wakeup pin WKUP4.
Bit 4: Enable Wakeup pin WKUP5.
Bit 8: SRAM2 retention in Standby mode.
Bit 10: Apply pull-up and pull-down configuration.
Bit 13: STDBY.
Bit 14: DBDIS.
Bit 15: Enable external WakeUp line.
Power control register 4
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
Power status register 1
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Power status register 2
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
8/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PVMO4
r |
PVMO3
r |
PVMO2
r |
PVMO1
r |
PVDO
r |
VOSF
r |
REGLPF
r |
REGLPS
r |
Bit 8: Low-power regulator started.
Bit 9: Low-power regulator flag.
Bit 10: Voltage scaling flag.
Bit 11: Power voltage detector output.
Bit 12: Peripheral voltage monitoring output: VDDUSB vs. 1.2 V.
Bit 13: Peripheral voltage monitoring output: VDDIO2 vs. 0.9 V.
Bit 14: Peripheral voltage monitoring output: VDDA vs. 1.62 V.
Bit 15: Peripheral voltage monitoring output: VDDA vs. 2.2 V.
Power status clear register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/6 fields covered.
Power Port A pull-up control register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/15 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port A pull-up bit y (y=0..15).
Bit 1: Port A pull-up bit y (y=0..15).
Bit 2: Port A pull-up bit y (y=0..15).
Bit 3: Port A pull-up bit y (y=0..15).
Bit 4: Port A pull-up bit y (y=0..15).
Bit 5: Port A pull-up bit y (y=0..15).
Bit 6: Port A pull-up bit y (y=0..15).
Bit 7: Port A pull-up bit y (y=0..15).
Bit 8: Port A pull-up bit y (y=0..15).
Bit 9: Port A pull-up bit y (y=0..15).
Bit 10: Port A pull-up bit y (y=0..15).
Bit 11: Port A pull-up bit y (y=0..15).
Bit 12: Port A pull-up bit y (y=0..15).
Bit 13: Port A pull-up bit y (y=0..15).
Bit 15: Port A pull-up bit y (y=0..15).
Power Port A pull-down control register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD14
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port A pull-down bit y (y=0..15).
Bit 1: Port A pull-down bit y (y=0..15).
Bit 2: Port A pull-down bit y (y=0..15).
Bit 3: Port A pull-down bit y (y=0..15).
Bit 4: Port A pull-down bit y (y=0..15).
Bit 5: Port A pull-down bit y (y=0..15).
Bit 6: Port A pull-down bit y (y=0..15).
Bit 7: Port A pull-down bit y (y=0..15).
Bit 8: Port A pull-down bit y (y=0..15).
Bit 9: Port A pull-down bit y (y=0..15).
Bit 10: Port A pull-down bit y (y=0..15).
Bit 11: Port A pull-down bit y (y=0..15).
Bit 12: Port A pull-down bit y (y=0..15).
Bit 14: Port A pull-down bit y (y=0..15).
Power Port B pull-up control register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port B pull-up bit y (y=0..15).
Bit 1: Port B pull-up bit y (y=0..15).
Bit 2: Port B pull-up bit y (y=0..15).
Bit 3: Port B pull-up bit y (y=0..15).
Bit 4: Port B pull-up bit y (y=0..15).
Bit 5: Port B pull-up bit y (y=0..15).
Bit 6: Port B pull-up bit y (y=0..15).
Bit 7: Port B pull-up bit y (y=0..15).
Bit 8: Port B pull-up bit y (y=0..15).
Bit 9: Port B pull-up bit y (y=0..15).
Bit 10: Port B pull-up bit y (y=0..15).
Bit 11: Port B pull-up bit y (y=0..15).
Bit 12: Port B pull-up bit y (y=0..15).
Bit 13: Port B pull-up bit y (y=0..15).
Bit 14: Port B pull-up bit y (y=0..15).
Bit 15: Port B pull-up bit y (y=0..15).
Power Port B pull-down control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/15 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port B pull-down bit y (y=0..15).
Bit 1: Port B pull-down bit y (y=0..15).
Bit 2: Port B pull-down bit y (y=0..15).
Bit 3: Port B pull-down bit y (y=0..15).
Bit 5: Port B pull-down bit y (y=0..15).
Bit 6: Port B pull-down bit y (y=0..15).
Bit 7: Port B pull-down bit y (y=0..15).
Bit 8: Port B pull-down bit y (y=0..15).
Bit 9: Port B pull-down bit y (y=0..15).
Bit 10: Port B pull-down bit y (y=0..15).
Bit 11: Port B pull-down bit y (y=0..15).
Bit 12: Port B pull-down bit y (y=0..15).
Bit 13: Port B pull-down bit y (y=0..15).
Bit 14: Port B pull-down bit y (y=0..15).
Bit 15: Port B pull-down bit y (y=0..15).
Power Port C pull-up control register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port C pull-up bit y (y=0..15).
Bit 1: Port C pull-up bit y (y=0..15).
Bit 2: Port C pull-up bit y (y=0..15).
Bit 3: Port C pull-up bit y (y=0..15).
Bit 4: Port C pull-up bit y (y=0..15).
Bit 5: Port C pull-up bit y (y=0..15).
Bit 6: Port C pull-up bit y (y=0..15).
Bit 7: Port C pull-up bit y (y=0..15).
Bit 8: Port C pull-up bit y (y=0..15).
Bit 9: Port C pull-up bit y (y=0..15).
Bit 10: Port C pull-up bit y (y=0..15).
Bit 11: Port C pull-up bit y (y=0..15).
Bit 12: Port C pull-up bit y (y=0..15).
Bit 13: Port C pull-up bit y (y=0..15).
Bit 14: Port C pull-up bit y (y=0..15).
Bit 15: Port C pull-up bit y (y=0..15).
Power Port C pull-down control register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port C pull-down bit y (y=0..15).
Bit 1: Port C pull-down bit y (y=0..15).
Bit 2: Port C pull-down bit y (y=0..15).
Bit 3: Port C pull-down bit y (y=0..15).
Bit 4: Port C pull-down bit y (y=0..15).
Bit 5: Port C pull-down bit y (y=0..15).
Bit 6: Port C pull-down bit y (y=0..15).
Bit 7: Port C pull-down bit y (y=0..15).
Bit 8: Port C pull-down bit y (y=0..15).
Bit 9: Port C pull-down bit y (y=0..15).
Bit 10: Port C pull-down bit y (y=0..15).
Bit 11: Port C pull-down bit y (y=0..15).
Bit 12: Port C pull-down bit y (y=0..15).
Bit 13: Port C pull-down bit y (y=0..15).
Bit 14: Port C pull-down bit y (y=0..15).
Bit 15: Port C pull-down bit y (y=0..15).
Power Port D pull-up control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port D pull-up bit y (y=0..15).
Bit 1: Port D pull-up bit y (y=0..15).
Bit 2: Port D pull-up bit y (y=0..15).
Bit 3: Port D pull-up bit y (y=0..15).
Bit 4: Port D pull-up bit y (y=0..15).
Bit 5: Port D pull-up bit y (y=0..15).
Bit 6: Port D pull-up bit y (y=0..15).
Bit 7: Port D pull-up bit y (y=0..15).
Bit 8: Port D pull-up bit y (y=0..15).
Bit 9: Port D pull-up bit y (y=0..15).
Bit 10: Port D pull-up bit y (y=0..15).
Bit 11: Port D pull-up bit y (y=0..15).
Bit 12: Port D pull-up bit y (y=0..15).
Bit 13: Port D pull-up bit y (y=0..15).
Bit 14: Port D pull-up bit y (y=0..15).
Bit 15: Port D pull-up bit y (y=0..15).
Power Port D pull-down control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port D pull-down bit y (y=0..15).
Bit 1: Port D pull-down bit y (y=0..15).
Bit 2: Port D pull-down bit y (y=0..15).
Bit 3: Port D pull-down bit y (y=0..15).
Bit 4: Port D pull-down bit y (y=0..15).
Bit 5: Port D pull-down bit y (y=0..15).
Bit 6: Port D pull-down bit y (y=0..15).
Bit 7: Port D pull-down bit y (y=0..15).
Bit 8: Port D pull-down bit y (y=0..15).
Bit 9: Port D pull-down bit y (y=0..15).
Bit 10: Port D pull-down bit y (y=0..15).
Bit 11: Port D pull-down bit y (y=0..15).
Bit 12: Port D pull-down bit y (y=0..15).
Bit 13: Port D pull-down bit y (y=0..15).
Bit 14: Port D pull-down bit y (y=0..15).
Bit 15: Port D pull-down bit y (y=0..15).
Power Port E pull-up control register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port E pull-up bit y (y=0..15).
Bit 1: Port E pull-up bit y (y=0..15).
Bit 2: Port E pull-up bit y (y=0..15).
Bit 3: Port E pull-up bit y (y=0..15).
Bit 4: Port E pull-up bit y (y=0..15).
Bit 5: Port E pull-up bit y (y=0..15).
Bit 6: Port E pull-up bit y (y=0..15).
Bit 7: Port E pull-up bit y (y=0..15).
Bit 8: Port E pull-up bit y (y=0..15).
Bit 9: Port E pull-up bit y (y=0..15).
Bit 10: Port E pull-up bit y (y=0..15).
Bit 11: Port E pull-up bit y (y=0..15).
Bit 12: Port E pull-up bit y (y=0..15).
Bit 13: Port E pull-up bit y (y=0..15).
Bit 14: Port E pull-up bit y (y=0..15).
Bit 15: Port E pull-up bit y (y=0..15).
Power Port E pull-down control register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port E pull-down bit y (y=0..15).
Bit 1: Port E pull-down bit y (y=0..15).
Bit 2: Port E pull-down bit y (y=0..15).
Bit 3: Port E pull-down bit y (y=0..15).
Bit 4: Port E pull-down bit y (y=0..15).
Bit 5: Port E pull-down bit y (y=0..15).
Bit 6: Port E pull-down bit y (y=0..15).
Bit 7: Port E pull-down bit y (y=0..15).
Bit 8: Port E pull-down bit y (y=0..15).
Bit 9: Port E pull-down bit y (y=0..15).
Bit 10: Port E pull-down bit y (y=0..15).
Bit 11: Port E pull-down bit y (y=0..15).
Bit 12: Port E pull-down bit y (y=0..15).
Bit 13: Port E pull-down bit y (y=0..15).
Bit 14: Port E pull-down bit y (y=0..15).
Bit 15: Port E pull-down bit y (y=0..15).
Power Port F pull-up control register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port F pull-up bit y (y=0..15).
Bit 1: Port F pull-up bit y (y=0..15).
Bit 2: Port F pull-up bit y (y=0..15).
Bit 3: Port F pull-up bit y (y=0..15).
Bit 4: Port F pull-up bit y (y=0..15).
Bit 5: Port F pull-up bit y (y=0..15).
Bit 6: Port F pull-up bit y (y=0..15).
Bit 7: Port F pull-up bit y (y=0..15).
Bit 8: Port F pull-up bit y (y=0..15).
Bit 9: Port F pull-up bit y (y=0..15).
Bit 10: Port F pull-up bit y (y=0..15).
Bit 11: Port F pull-up bit y (y=0..15).
Bit 12: Port F pull-up bit y (y=0..15).
Bit 13: Port F pull-up bit y (y=0..15).
Bit 14: Port F pull-up bit y (y=0..15).
Bit 15: Port F pull-up bit y (y=0..15).
Power Port F pull-down control register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port F pull-down bit y (y=0..15).
Bit 1: Port F pull-down bit y (y=0..15).
Bit 2: Port F pull-down bit y (y=0..15).
Bit 3: Port F pull-down bit y (y=0..15).
Bit 4: Port F pull-down bit y (y=0..15).
Bit 5: Port F pull-down bit y (y=0..15).
Bit 6: Port F pull-down bit y (y=0..15).
Bit 7: Port F pull-down bit y (y=0..15).
Bit 8: Port F pull-down bit y (y=0..15).
Bit 9: Port F pull-down bit y (y=0..15).
Bit 10: Port F pull-down bit y (y=0..15).
Bit 11: Port F pull-down bit y (y=0..15).
Bit 12: Port F pull-down bit y (y=0..15).
Bit 13: Port F pull-down bit y (y=0..15).
Bit 14: Port F pull-down bit y (y=0..15).
Bit 15: Port F pull-down bit y (y=0..15).
Power Port G pull-up control register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port G pull-up bit y (y=0..15).
Bit 1: Port G pull-up bit y (y=0..15).
Bit 2: Port G pull-up bit y (y=0..15).
Bit 3: Port G pull-up bit y (y=0..15).
Bit 4: Port G pull-up bit y (y=0..15).
Bit 5: Port G pull-up bit y (y=0..15).
Bit 6: Port G pull-up bit y (y=0..15).
Bit 7: Port G pull-up bit y (y=0..15).
Bit 8: Port G pull-up bit y (y=0..15).
Bit 9: Port G pull-up bit y (y=0..15).
Bit 10: Port G pull-up bit y (y=0..15).
Power Port G pull-down control register
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port G pull-down bit y (y=0..15).
Bit 1: Port G pull-down bit y (y=0..15).
Bit 2: Port G pull-down bit y (y=0..15).
Bit 3: Port G pull-down bit y (y=0..15).
Bit 4: Port G pull-down bit y (y=0..15).
Bit 5: Port G pull-down bit y (y=0..15).
Bit 6: Port G pull-down bit y (y=0..15).
Bit 7: Port G pull-down bit y (y=0..15).
Bit 8: Port G pull-down bit y (y=0..15).
Bit 9: Port G pull-down bit y (y=0..15).
Bit 10: Port G pull-down bit y (y=0..15).
Power control register 5
Offset: 0x80, size: 32, reset: 0x00000100, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
R1MODE
rw |
0x40021000: Reset and clock control
189/277 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | ICSCR | ||||||||||||||||||||||||||||||||
0x8 | CFGR | ||||||||||||||||||||||||||||||||
0xc | PLLCFGR | ||||||||||||||||||||||||||||||||
0x18 | CIER | ||||||||||||||||||||||||||||||||
0x1c | CIFR | ||||||||||||||||||||||||||||||||
0x20 | CICR | ||||||||||||||||||||||||||||||||
0x28 | AHB1RSTR | ||||||||||||||||||||||||||||||||
0x2c | AHB2RSTR | ||||||||||||||||||||||||||||||||
0x30 | AHB3RSTR | ||||||||||||||||||||||||||||||||
0x38 | APB1RSTR1 | ||||||||||||||||||||||||||||||||
0x3c | APB1RSTR2 | ||||||||||||||||||||||||||||||||
0x40 | APB2RSTR | ||||||||||||||||||||||||||||||||
0x48 | AHB1ENR | ||||||||||||||||||||||||||||||||
0x4c | AHB2ENR | ||||||||||||||||||||||||||||||||
0x50 | AHB3ENR | ||||||||||||||||||||||||||||||||
0x58 | APB1ENR1 | ||||||||||||||||||||||||||||||||
0x5c | APB1ENR2 | ||||||||||||||||||||||||||||||||
0x60 | APB2ENR | ||||||||||||||||||||||||||||||||
0x68 | AHB1SMENR | ||||||||||||||||||||||||||||||||
0x6c | AHB2SMENR | ||||||||||||||||||||||||||||||||
0x70 | AHB3SMENR | ||||||||||||||||||||||||||||||||
0x78 | APB1SMENR1 | ||||||||||||||||||||||||||||||||
0x7c | APB1SMENR2 | ||||||||||||||||||||||||||||||||
0x80 | APB2SMENR | ||||||||||||||||||||||||||||||||
0x88 | CCIPR | ||||||||||||||||||||||||||||||||
0x90 | BDCR | ||||||||||||||||||||||||||||||||
0x94 | CSR | ||||||||||||||||||||||||||||||||
0x98 | CRRCR | ||||||||||||||||||||||||||||||||
0x9c | CCIPR2 |
Clock control register
Offset: 0x0, size: 32, reset: 0x00000063, access: Unspecified
8/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PLLRDY
r |
PLLON
rw |
CSSON
w |
HSEBYP
rw |
HSERDY
r |
HSEON
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HSIRDY
r |
HSIKERON
rw |
HSION
rw |
Bit 8: HSI clock enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 9: HSI always enable for peripheral kernels.
Bit 10: HSI clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 16: HSE clock enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 17: HSE clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 18: HSE crystal oscillator bypass.
Allowed values:
0: NotBypassed: HSE crystal oscillator not bypassed
1: Bypassed: HSE crystal oscillator bypassed with external clock
Bit 19: Clock security system enable.
Allowed values:
0: Off: Clock security system disabled (clock detector OFF)
1: On: Clock security system enable (clock detector ON if the HSE is ready, OFF if not)
Bit 24: Main PLL enable.
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 25: Main PLL clock ready flag.
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Internal clock sources calibration register
Offset: 0x4, size: 32, reset: 0x40000000, access: Unspecified
1/2 fields covered.
Clock configuration register
Offset: 0x8, size: 32, reset: 0x00000005, access: Unspecified
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCOPRE
rw |
MCOSEL
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PPRE2
rw |
PPRE1
rw |
HPRE
rw |
SWS
r |
SW
rw |
Bits 0-1: System clock switch.
Allowed values:
0: MSI: MSI selected as system clock
1: HSI: HSI selected as system clock
2: HSE: HSE selected as system clock
3: PLL: PLL selected as system clock
Bits 2-3: System clock switch status.
Allowed values:
0: MSI: MSI oscillator used as system clock
1: HSI: HSI oscillator used as system clock
2: HSE: HSE used as system clock
3: PLL: PLL used as system clock
Bits 4-7: AHB prescaler.
Allowed values:
8: Div2: SYSCLK divided by 2
9: Div4: SYSCLK divided by 4
10: Div8: SYSCLK divided by 8
11: Div16: SYSCLK divided by 16
12: Div64: SYSCLK divided by 64
13: Div128: SYSCLK divided by 128
14: Div256: SYSCLK divided by 256
15: Div512: SYSCLK divided by 512
0 (+): Div1: SYSCLK not divided
Bits 8-10: PB low-speed prescaler (APB1).
Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided
Bits 11-13: APB high-speed prescaler (APB2).
Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided
Bits 24-27: Microcontroller clock output.
Allowed values:
0: None: MCO output disabled, no clock on MCO
1: SYSCLK: SYSCLK system clock selected
2: MSI: MSI clock selected
3: HSI: HSI clock selected
4: HSE: HSE clock selected
5: PLL: Main PLL clock selected
6: LSI: LSI clock selected
7: LSE: LSE clock selected
8: HSI48: Internal HSI48 clock selected
Bits 28-30: Microcontroller clock output prescaler.
Allowed values:
0: Div1: MCO divided by 1
1: Div2: MCO divided by 2
2: Div4: MCO divided by 4
3: Div8: MCO divided by 8
4: Div16: MCO divided by 16
PLL configuration register
Offset: 0xc, size: 32, reset: 0x00001000, access: read-write
7/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PLLPDIV
rw |
PLLR
rw |
PLLREN
rw |
PLLQ
rw |
PLLQEN
rw |
PLLP
rw |
PLLPEN
rw |
|||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PLLN
rw |
PLLM
rw |
PLLSRC
rw |
Bits 0-1: Main PLL, PLLSAI1 and PLLSAI2 entry clock source.
Allowed values:
0: None: No clock sent to PLL
2: HSI16: HSI16 sent to PLL input
3: HSE: HSE sent to PLL input
Bits 4-7: Division factor for the main PLL and audio PLL (PLLSAI1 and PLLSAI2) input clock.
Allowed values:
0: Div1: pll_p_ck = vco_ck / 1
1: Div2: pll_p_ck = vco_ck / 2
2: Div3: pll_p_ck = vco_ck / 3
3: Div4: pll_p_ck = vco_ck / 4
4: Div5: pll_p_ck = vco_ck / 5
5: Div6: pll_p_ck = vco_ck / 6
6: Div7: pll_p_ck = vco_ck / 7
7: Div8: pll_p_ck = vco_ck / 8
8: Div9: pll_p_ck = vco_ck / 9
9: Div10: pll_p_ck = vco_ck / 10
10: Div11: pll_p_ck = vco_ck / 11
11: Div12: pll_p_ck = vco_ck / 12
12: Div13: pll_p_ck = vco_ck / 13
13: Div14: pll_p_ck = vco_ck / 14
14: Div15: pll_p_ck = vco_ck / 15
15: Div16: pll_p_ck = vco_ck / 16
Bits 8-14: Main PLL multiplication factor for VCO.
Allowed values:
8: Div8: pll_n_ck = vco_ck / 8
9: Div9: pll_n_ck = vco_ck / 9
10: Div10: pll_n_ck = vco_ck / 10
11: Div11: pll_n_ck = vco_ck / 11
12: Div12: pll_n_ck = vco_ck / 12
13: Div13: pll_n_ck = vco_ck / 13
14: Div14: pll_n_ck = vco_ck / 14
15: Div15: pll_n_ck = vco_ck / 15
16: Div16: pll_n_ck = vco_ck / 16
17: Div17: pll_n_ck = vco_ck / 17
18: Div18: pll_n_ck = vco_ck / 18
19: Div19: pll_n_ck = vco_ck / 19
20: Div20: pll_n_ck = vco_ck / 20
21: Div21: pll_n_ck = vco_ck / 21
22: Div22: pll_n_ck = vco_ck / 22
23: Div23: pll_n_ck = vco_ck / 23
24: Div24: pll_n_ck = vco_ck / 24
25: Div25: pll_n_ck = vco_ck / 25
26: Div26: pll_n_ck = vco_ck / 26
27: Div27: pll_n_ck = vco_ck / 27
28: Div28: pll_n_ck = vco_ck / 28
29: Div29: pll_n_ck = vco_ck / 29
30: Div30: pll_n_ck = vco_ck / 30
31: Div31: pll_n_ck = vco_ck / 31
32: Div32: pll_n_ck = vco_ck / 32
33: Div33: pll_n_ck = vco_ck / 33
34: Div34: pll_n_ck = vco_ck / 34
35: Div35: pll_n_ck = vco_ck / 35
36: Div36: pll_n_ck = vco_ck / 36
37: Div37: pll_n_ck = vco_ck / 37
38: Div38: pll_n_ck = vco_ck / 38
39: Div39: pll_n_ck = vco_ck / 39
40: Div40: pll_n_ck = vco_ck / 40
41: Div41: pll_n_ck = vco_ck / 41
42: Div42: pll_n_ck = vco_ck / 42
43: Div43: pll_n_ck = vco_ck / 43
44: Div44: pll_n_ck = vco_ck / 44
45: Div45: pll_n_ck = vco_ck / 45
46: Div46: pll_n_ck = vco_ck / 46
47: Div47: pll_n_ck = vco_ck / 47
48: Div48: pll_n_ck = vco_ck / 48
49: Div49: pll_n_ck = vco_ck / 49
50: Div50: pll_n_ck = vco_ck / 50
51: Div51: pll_n_ck = vco_ck / 51
52: Div52: pll_n_ck = vco_ck / 52
53: Div53: pll_n_ck = vco_ck / 53
54: Div54: pll_n_ck = vco_ck / 54
55: Div55: pll_n_ck = vco_ck / 55
56: Div56: pll_n_ck = vco_ck / 56
57: Div57: pll_n_ck = vco_ck / 57
58: Div58: pll_n_ck = vco_ck / 58
59: Div59: pll_n_ck = vco_ck / 59
60: Div60: pll_n_ck = vco_ck / 60
61: Div61: pll_n_ck = vco_ck / 61
62: Div62: pll_n_ck = vco_ck / 62
63: Div63: pll_n_ck = vco_ck / 63
64: Div64: pll_n_ck = vco_ck / 64
65: Div65: pll_n_ck = vco_ck / 65
66: Div66: pll_n_ck = vco_ck / 66
67: Div67: pll_n_ck = vco_ck / 67
68: Div68: pll_n_ck = vco_ck / 68
69: Div69: pll_n_ck = vco_ck / 69
70: Div70: pll_n_ck = vco_ck / 70
71: Div71: pll_n_ck = vco_ck / 71
72: Div72: pll_n_ck = vco_ck / 72
73: Div73: pll_n_ck = vco_ck / 73
74: Div74: pll_n_ck = vco_ck / 74
75: Div75: pll_n_ck = vco_ck / 75
76: Div76: pll_n_ck = vco_ck / 76
77: Div77: pll_n_ck = vco_ck / 77
78: Div78: pll_n_ck = vco_ck / 78
79: Div79: pll_n_ck = vco_ck / 79
80: Div80: pll_n_ck = vco_ck / 80
81: Div81: pll_n_ck = vco_ck / 81
82: Div82: pll_n_ck = vco_ck / 82
83: Div83: pll_n_ck = vco_ck / 83
84: Div84: pll_n_ck = vco_ck / 84
85: Div85: pll_n_ck = vco_ck / 85
86: Div86: pll_n_ck = vco_ck / 86
87: Div87: pll_n_ck = vco_ck / 87
88: Div88: pll_n_ck = vco_ck / 88
89: Div89: pll_n_ck = vco_ck / 89
90: Div90: pll_n_ck = vco_ck / 90
91: Div91: pll_n_ck = vco_ck / 91
92: Div92: pll_n_ck = vco_ck / 92
93: Div93: pll_n_ck = vco_ck / 93
94: Div94: pll_n_ck = vco_ck / 94
95: Div95: pll_n_ck = vco_ck / 95
96: Div96: pll_n_ck = vco_ck / 96
97: Div97: pll_n_ck = vco_ck / 97
98: Div98: pll_n_ck = vco_ck / 98
99: Div99: pll_n_ck = vco_ck / 99
100: Div100: pll_n_ck = vco_ck / 100
101: Div101: pll_n_ck = vco_ck / 101
102: Div102: pll_n_ck = vco_ck / 102
103: Div103: pll_n_ck = vco_ck / 103
104: Div104: pll_n_ck = vco_ck / 104
105: Div105: pll_n_ck = vco_ck / 105
106: Div106: pll_n_ck = vco_ck / 106
107: Div107: pll_n_ck = vco_ck / 107
108: Div108: pll_n_ck = vco_ck / 108
109: Div109: pll_n_ck = vco_ck / 109
110: Div110: pll_n_ck = vco_ck / 110
111: Div111: pll_n_ck = vco_ck / 111
112: Div112: pll_n_ck = vco_ck / 112
113: Div113: pll_n_ck = vco_ck / 113
114: Div114: pll_n_ck = vco_ck / 114
115: Div115: pll_n_ck = vco_ck / 115
116: Div116: pll_n_ck = vco_ck / 116
117: Div117: pll_n_ck = vco_ck / 117
118: Div118: pll_n_ck = vco_ck / 118
119: Div119: pll_n_ck = vco_ck / 119
120: Div120: pll_n_ck = vco_ck / 120
121: Div121: pll_n_ck = vco_ck / 121
122: Div122: pll_n_ck = vco_ck / 122
123: Div123: pll_n_ck = vco_ck / 123
124: Div124: pll_n_ck = vco_ck / 124
125: Div125: pll_n_ck = vco_ck / 125
126: Div126: pll_n_ck = vco_ck / 126
127: Div127: pll_n_ck = vco_ck / 127
Bit 16: Main PLL PLLSAI3CLK output enable.
Bit 17: Main PLL division factor for PLLSAI3CLK (SAI1 and SAI2 clock).
Allowed values:
0: Div7: pll_p_ck = vco_ck / 7
1: Div17: pll_p_ck = vco_ck / 17
Bit 20: Main PLL PLLUSB1CLK output enable.
Bits 21-22: Main PLL division factor for PLLUSB1CLK(48 MHz clock).
Allowed values:
0: Div2: pll_q_ck = vco_ck / 2
1: Div4: pll_q_ck = vco_ck / 4
2: Div6: pll_q_ck = vco_ck / 6
3: Div8: pll_q_ck = vco_ck / 8
Bit 24: Main PLL PLLCLK output enable.
Bits 25-26: Main PLL division factor for PLLCLK (system clock).
Allowed values:
0: Div2: pll_r_ck = vco_ck / 2
1: Div4: pll_r_ck = vco_ck / 4
2: Div6: pll_r_ck = vco_ck / 6
3: Div8: pll_r_ck = vco_ck / 8
Bits 27-31: Main PLL division factor for PLLSAI2CLK.
Allowed values:
0: PLLP: pll_p_ck is controlled by PLLP
2: Div2: pll_p_ck = vco_ck / 2
3: Div3: pll_p_ck = vco_ck / 3
4: Div4: pll_p_ck = vco_ck / 4
5: Div5: pll_p_ck = vco_ck / 5
6: Div6: pll_p_ck = vco_ck / 6
7: Div7: pll_p_ck = vco_ck / 7
8: Div8: pll_p_ck = vco_ck / 8
9: Div9: pll_p_ck = vco_ck / 9
10: Div10: pll_p_ck = vco_ck / 10
11: Div11: pll_p_ck = vco_ck / 11
12: Div12: pll_p_ck = vco_ck / 12
13: Div13: pll_p_ck = vco_ck / 13
14: Div14: pll_p_ck = vco_ck / 14
15: Div15: pll_p_ck = vco_ck / 15
16: Div16: pll_p_ck = vco_ck / 16
17: Div17: pll_p_ck = vco_ck / 17
18: Div18: pll_p_ck = vco_ck / 18
19: Div19: pll_p_ck = vco_ck / 19
20: Div20: pll_p_ck = vco_ck / 20
21: Div21: pll_p_ck = vco_ck / 21
22: Div22: pll_p_ck = vco_ck / 22
23: Div23: pll_p_ck = vco_ck / 23
24: Div24: pll_p_ck = vco_ck / 24
25: Div25: pll_p_ck = vco_ck / 25
26: Div26: pll_p_ck = vco_ck / 26
27: Div27: pll_p_ck = vco_ck / 27
28: Div28: pll_p_ck = vco_ck / 28
29: Div29: pll_p_ck = vco_ck / 29
30: Div30: pll_p_ck = vco_ck / 30
31: Div31: pll_p_ck = vco_ck / 31
Clock interrupt enable register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSI48RDYIE
rw |
LSECSSIE
rw |
PLLRDYIE
rw |
HSERDYIE
rw |
HSIRDYIE
rw |
LSERDYIE
rw |
LSIRDYIE
rw |
Bit 0: LSI ready interrupt enable.
Bit 1: LSE ready interrupt enable.
Bit 3: HSI ready interrupt enable.
Bit 4: HSE ready interrupt enable.
Bit 5: PLL ready interrupt enable.
Bit 9: LSE clock security system interrupt enable.
Bit 10: HSI48 ready interrupt enable.
Clock interrupt flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
8/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSI48RDYF
r |
LSECSSF
r |
CSSF
r |
PLLRDYF
r |
HSERDYF
r |
HSIRDYF
r |
LSERDYF
r |
LSIRDYF
r |
Bit 0: LSI ready interrupt flag.
Bit 1: LSE ready interrupt flag.
Bit 3: HSI ready interrupt flag.
Bit 4: HSE ready interrupt flag.
Bit 5: PLL ready interrupt flag.
Bit 8: Clock security system interrupt flag.
Bit 9: LSE Clock security system interrupt flag.
Bit 10: HSI48 ready interrupt flag.
Clock interrupt clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSI48RDYC
w |
LSECSSC
w |
CSSC
w |
PLLRDYC
w |
HSERDYC
w |
HSIRDYC
w |
LSERDYC
w |
LSIRDYC
w |
Bit 0: LSI ready interrupt clear.
Bit 1: LSE ready interrupt clear.
Bit 3: HSI ready interrupt clear.
Bit 4: HSE ready interrupt clear.
Bit 5: PLL ready interrupt clear.
Bit 8: Clock security system interrupt clear.
Bit 9: LSE Clock security system interrupt clear.
Bit 10: HSI48 oscillator ready interrupt clear.
AHB1 peripheral reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCRST
rw |
FLASHRST
rw |
FMACRST
rw |
CORDICRST
rw |
DMAMUX1RST
rw |
DMA2RST
rw |
DMA1RST
rw |
Bit 0: DMA1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: DMA2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: DMAMUXRST.
Allowed values:
1: Reset: Reset the selected module
Bit 3: CORDIC reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: FMAC reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: Flash memory interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 12: CRC reset.
Allowed values:
1: Reset: Reset the selected module
AHB2 peripheral reset register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RNGRST
rw |
AESRST
rw |
DAC4RST
rw |
DAC3RST
rw |
DAC2RST
rw |
DAC1RST
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADC345RST
rw |
ADC12RST
rw |
GPIOGRST
rw |
GPIOFRST
rw |
GPIOERST
rw |
GPIODRST
rw |
GPIOCRST
rw |
GPIOBRST
rw |
GPIOARST
rw |
Bit 0: IO port A reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: IO port B reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: IO port C reset.
Allowed values:
1: Reset: Reset the selected module
Bit 3: IO port D reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: IO port E reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: IO port F reset.
Allowed values:
1: Reset: Reset the selected module
Bit 6: IO port G reset.
Allowed values:
1: Reset: Reset the selected module
Bit 13: ADC reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: SAR ADC345 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 16: DAC1 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 17: DAC2 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: DAC3 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 19: DAC4 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 24: Cryptography module reset.
Allowed values:
1: Reset: Reset the selected module
Bit 26: Random Number Generator module reset.
Allowed values:
1: Reset: Reset the selected module
AHB3 peripheral reset register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
APB1 peripheral reset register 1
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPTIM1RST
rw |
I2C3RST
rw |
PWRRST
rw |
FDCANRST
rw |
USBRST
rw |
I2C2RST
rw |
I2C1RST
rw |
UART5RST
rw |
UART4RST
rw |
USART3RST
rw |
USART2RST
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI3RST
rw |
SPI2RST
rw |
CRSRST
rw |
TIM7RST
rw |
TIM6RST
rw |
TIM5RST
rw |
TIM4RST
rw |
TIM3RST
rw |
TIM2RST
rw |
Bit 0: TIM2 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 1: TIM3 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 2: TIM3 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 3: TIM5 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 4: TIM6 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 5: TIM7 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 8: Clock recovery system reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: SPI2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 17: USART2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: USART3 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 19: UART4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: UART5 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: I2C1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 22: I2C2 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 23: USBD reset.
Allowed values:
1: Reset: Reset the selected module
Bit 25: FDCAN reset.
Allowed values:
1: Reset: Reset the selected module
Bit 28: Power interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 30: I2C3 interface reset.
Allowed values:
1: Reset: Reset the selected module
Bit 31: Low Power Timer 1 reset.
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register 2
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCPD1RST
rw |
I2C4RST
rw |
LPUART1RST
rw |
APB2 peripheral reset register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HRTIM1RST
rw |
SAI1RST
rw |
TIM20RST
rw |
TIM17RST
rw |
TIM16RST
rw |
TIM15RST
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI4RST
rw |
USART1RST
rw |
TIM8RST
rw |
SPI1RST
rw |
TIM1RST
rw |
SYSCFGRST
rw |
Bit 0: System configuration (SYSCFG) reset.
Allowed values:
1: Reset: Reset the selected module
Bit 11: TIM1 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 12: SPI1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 13: TIM8 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 14: USART1 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI 4 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 16: TIM15 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 17: TIM16 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 18: TIM17 timer reset.
Allowed values:
1: Reset: Reset the selected module
Bit 20: Timer 20 reset.
Allowed values:
1: Reset: Reset the selected module
Bit 21: Serial audio interface 1 (SAI1) reset.
Allowed values:
1: Reset: Reset the selected module
Bit 26: HRTIMER reset.
Allowed values:
1: Reset: Reset the selected module
AHB1 peripheral clock enable register
Offset: 0x48, size: 32, reset: 0x00000100, access: read-write
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCEN
rw |
FLASHEN
rw |
FMACEN
rw |
CORDICEN
rw |
DMAMUXEN
rw |
DMA2EN
rw |
DMA1EN
rw |
Bit 0: DMA1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: DMA2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: DMAMUX clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: CORDIC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: FMAC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: Flash memory interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: CRC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB2 peripheral clock enable register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RNGEN
rw |
AESEN
rw |
DAC4EN
rw |
DAC3EN
rw |
DAC2EN
rw |
DAC1EN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADC345EN
rw |
ADC12EN
rw |
GPIOGEN
rw |
GPIOFEN
rw |
GPIOEEN
rw |
GPIODEN
rw |
GPIOCEN
rw |
GPIOBEN
rw |
GPIOAEN
rw |
Bit 0: IO port A clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: IO port B clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: IO port C clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: IO port D clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: IO port E clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: IO port F clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: IO port G clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: ADC clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: DCMI clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: AES accelerator clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: HASH clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: Random Number Generator clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: DAC4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 24: AES clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 26: Random Number Generator clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB3 peripheral clock enable register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bit 0: Flexible memory controller clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: QUADSPI memory interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1ENR1
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPTIM1EN
rw |
I2C3EN
rw |
PWREN
rw |
FDCANEN
rw |
USBEN
rw |
I2C2EN
rw |
I2C1EN
rw |
UART5EN
rw |
UART4EN
rw |
USART3EN
rw |
USART2EN
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI3EN
rw |
SPI2EN
rw |
WWDGEN
rw |
RTCAPBEN
rw |
CRSEN
rw |
TIM7EN
rw |
TIM6EN
rw |
TIM5EN
rw |
TIM4EN
rw |
TIM3EN
rw |
TIM2EN
rw |
Bit 0: TIM2 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: TIM3 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: TIM4 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: TIM5 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: TIM6 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: TIM7 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: CRSclock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 10: RTC APB clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: Window watchdog clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: SPI2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: USART2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: USART3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: UART4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: UART5 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: I2C1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: I2C2 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 23: USB device clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 25: FDCAN clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 28: Power interface clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 30: I2C3 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 31: Low power timer 1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1 peripheral clock enable register 2
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bit 0: Low power UART 1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: I2C4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: UCPD1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB2ENR
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HRTIM1EN
rw |
SAI1EN
rw |
TIM20EN
rw |
TIM17EN
rw |
TIM16EN
rw |
TIM15EN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI4EN
rw |
USART1EN
rw |
TIM8EN
rw |
SPI1EN
rw |
TIM1EN
rw |
SYSCFGEN
rw |
Bit 0: SYSCFG clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: TIM1 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: SPI1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: TIM8 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: USART1clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI 4 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: TIM15 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: TIM16 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: TIM17 timer clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: Timer 20 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: SAI1 clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 26: HRTIMER clock enable.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB1 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x68, size: 32, reset: 0x0000130F, access: read-write
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCSMEN
rw |
SRAM1SMEN
rw |
FLASHSMEN
rw |
FMACSMEN
rw |
CORDICSMEN
rw |
DMAMUX1SMEN
rw |
DMA2SMEN
rw |
DMA1SMEN
rw |
Bit 0: DMA1 clocks enable during Sleep and Stop modes.
Bit 1: DMA2 clocks enable during Sleep and Stop modes.
Bit 2: DMAMUX clock enable during Sleep and Stop modes.
Bit 3: CORDIC clock enable during sleep mode.
Bit 4: FMACSM clock enable.
Bit 8: Flash memory interface clocks enable during Sleep and Stop modes.
Bit 9: SRAM1 interface clocks enable during Sleep and Stop modes.
Bit 12: CRCSMEN.
AHB2 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x6c, size: 32, reset: 0x050F667F, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RNGSMEN
rw |
AESMEN
rw |
DAC4SMEN
rw |
DAC3SMEN
rw |
DAC2SMEN
rw |
DAC1SMEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADC345SMEN
rw |
ADC12SMEN
rw |
SRAM2SMEN
rw |
CCMSRAMSMEN
rw |
GPIOGSMEN
rw |
GPIOFSMEN
rw |
GPIOESMEN
rw |
GPIODSMEN
rw |
GPIOCSMEN
rw |
GPIOBSMEN
rw |
GPIOASMEN
rw |
Bit 0: IO port A clocks enable during Sleep and Stop modes.
Bit 1: IO port B clocks enable during Sleep and Stop modes.
Bit 2: IO port C clocks enable during Sleep and Stop modes.
Bit 3: IO port D clocks enable during Sleep and Stop modes.
Bit 4: IO port E clocks enable during Sleep and Stop modes.
Bit 5: IO port F clocks enable during Sleep and Stop modes.
Bit 6: IO port G clocks enable during Sleep and Stop modes.
Bit 9: CCM SRAM interface clocks enable during Sleep and Stop modes.
Bit 10: SRAM2 interface clocks enable during Sleep and Stop modes.
Bit 13: ADC clocks enable during Sleep and Stop modes.
Bit 14: DCMI clock enable during Sleep and Stop modes.
Bit 16: AES accelerator clocks enable during Sleep and Stop modes.
Bit 17: HASH clock enable during Sleep and Stop modes.
Bit 18: DAC3 clock enable during sleep mode.
Bit 19: DAC4 clock enable during sleep mode.
Bit 24: Cryptography clock enable during sleep mode.
Bit 26: Random Number Generator clock enable during sleep mode.
AHB3 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x70, size: 32, reset: 0x00000101, access: read-write
0/2 fields covered.
APB1SMENR1
Offset: 0x78, size: 32, reset: 0xD2FECD3F, access: read-write
0/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPTIM1SMEN
rw |
I2C3SMEN
rw |
PWRSMEN
rw |
FDCANSMEN
rw |
USBSMEN
rw |
I2C2SMEN
rw |
I2C1SMEN
rw |
UART5SMEN
rw |
UART4SMEN
rw |
USART3SMEN
rw |
USART2SMEN
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SP3SMEN
rw |
SPI2SMEN
rw |
WWDGSMEN
rw |
RTCAPBSMEN
rw |
CRSSMEN
rw |
TIM7SMEN
rw |
TIM6SMEN
rw |
TIM5SMEN
rw |
TIM4SMEN
rw |
TIM3SMEN
rw |
TIM2SMEN
rw |
Bit 0: TIM2 timer clocks enable during Sleep and Stop modes.
Bit 1: TIM3 timer clocks enable during Sleep and Stop modes.
Bit 2: TIM4 timer clocks enable during Sleep and Stop modes.
Bit 3: TIM5 timer clocks enable during Sleep and Stop modes.
Bit 4: TIM6 timer clocks enable during Sleep and Stop modes.
Bit 5: TIM7 timer clocks enable during Sleep and Stop modes.
Bit 8: CRS clock enable during sleep mode.
Bit 10: RTC APB clock enable during Sleep and Stop modes.
Bit 11: Window watchdog clocks enable during Sleep and Stop modes.
Bit 14: SPI2 clocks enable during Sleep and Stop modes.
Bit 15: SPI3 clocks enable during Sleep and Stop modes.
Bit 17: USART2 clocks enable during Sleep and Stop modes.
Bit 18: USART3 clocks enable during Sleep and Stop modes.
Bit 19: UART4 clocks enable during Sleep and Stop modes.
Bit 20: UART5 clocks enable during Sleep and Stop modes.
Bit 21: I2C1 clocks enable during Sleep and Stop modes.
Bit 22: I2C2 clocks enable during Sleep and Stop modes.
Bit 23: USB device clocks enable during Sleep and Stop modes.
Bit 25: FDCAN clock enable during sleep mode.
Bit 28: Power interface clocks enable during Sleep and Stop modes.
Bit 30: I2C3 clocks enable during Sleep and Stop modes.
Bit 31: Low Power Timer1 clock enable during sleep mode.
APB1 peripheral clocks enable in Sleep and Stop modes register 2
Offset: 0x7c, size: 32, reset: 0x00000103, access: read-write
0/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCPD1SMEN
rw |
I2C4SMEN
rw |
LPUART1SMEN
rw |
APB2SMENR
Offset: 0x80, size: 32, reset: 0x0437F801, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HRTIM1SMEN
rw |
SAI1SMEN
rw |
TIM20SMEN
rw |
TIM17SMEN
rw |
TIM16SMEN
rw |
TIM15SMEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI4SMEN
rw |
USART1SMEN
rw |
TIM8SMEN
rw |
SPI1SMEN
rw |
TIM1SMEN
rw |
SYSCFGSMEN
rw |
Bit 0: SYSCFG clocks enable during Sleep and Stop modes.
Bit 11: TIM1 timer clocks enable during Sleep and Stop modes.
Bit 12: SPI1 clocks enable during Sleep and Stop modes.
Bit 13: TIM8 timer clocks enable during Sleep and Stop modes.
Bit 14: USART1clocks enable during Sleep and Stop modes.
Bit 15: SPI4 timer clocks enable during Sleep and Stop modes.
Bit 16: TIM15 timer clocks enable during Sleep and Stop modes.
Bit 17: TIM16 timer clocks enable during Sleep and Stop modes.
Bit 18: TIM17 timer clocks enable during Sleep and Stop modes.
Bit 20: Timer 20clock enable during sleep mode.
Bit 21: SAI1 clock enable during sleep mode.
Bit 26: HRTIMER clock enable during sleep mode.
CCIPR
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
13/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADC345SEL
rw |
ADC12SEL
rw |
CLK48SEL
rw |
FDCANSEL
rw |
I2S23SEL
rw |
SAI1SEL
rw |
LPTIM1SEL
rw |
I2C3SEL
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
I2C2SEL
rw |
I2C1SEL
rw |
LPUART1SEL
rw |
UART5SEL
rw |
UART4SEL
rw |
USART3SEL
rw |
USART2SEL
rw |
USART1SEL
rw |
Bits 0-1: USART1 clock source selection.
Bits 2-3: USART2 clock source selection.
Bits 4-5: USART3 clock source selection.
Bits 6-7: UART4 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as UART clock
1: System: System clock (SYSCLK) selected as UART clock
2: HSI16: HSI16 clock selected as UART clock
3: LSE: LSE clock selected as UART clock
Bits 8-9: UART5 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as UART clock
1: System: System clock (SYSCLK) selected as UART clock
2: HSI16: HSI16 clock selected as UART clock
3: LSE: LSE clock selected as UART clock
Bits 10-11: LPUART1 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as UART clock
1: System: System clock (SYSCLK) selected as UART clock
2: HSI16: HSI16 clock selected as UART clock
3: LSE: LSE clock selected as UART clock
Bits 12-13: I2C1 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 14-15: I2C2 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 16-17: I2C3 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 18-19: Low power timer 1 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as LPTIM1 clock
1: LSI: LSI clock selected as LPTIM1 clock
2: HSI16: HSI16 clock selected as LPTIM1 clock
3: LSE: LSE clock selected as LPTIM1 clock
Bits 20-21: Low power timer 2 clock source selection.
Allowed values:
0: System: System clock selected as SAI clock
1: PLLQ: PLL 'Q' clock selected as SAI clock
2: I2S_CKIN: Clock provided on I2S_CKIN pin is selected as SAI clock
3: HSI16: HSI16 clock selected as SAI clock
Bits 22-23: SAI1 clock source selection.
Allowed values:
0: System: System clock selected as I2S23 clock
1: PLLQ: PLL 'Q' clock selected as I2S23 clock
2: I2S_CKIN: Clock provided on I2S_CKIN pin is selected as I2S23 clock
3: HSI16: HSI16 clock selected as I2S23 clock
Bits 24-25: SAI2 clock source selection.
Allowed values:
0: HSE: HSE clock selected as FDCAN clock
1: PLLQ: PLL 'Q' clock selected as FDCAN clock
2: PCLK: PCLK clock selected as FDCAN clock
Bits 26-27: 48 MHz clock source selection.
Allowed values:
0: HSI48: HSI48 clock selected as 48MHz clock
2: PLLQ: PLL 'Q' (PLL48M1CLK) clock selected as 48MHz clock
Bits 28-29: ADCs clock source selection.
Allowed values:
0: None: No clock selected for ADC
1: PLLP: PLL 'P' clock selected for ADC
2: System: System clock selected for ADC
Bits 30-31: ADC3/4/5 clock source selection.
Allowed values:
0: None: No clock selected for ADC
1: PLLP: PLL 'P' clock selected for ADC
2: System: System clock selected for ADC
BDCR
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSCOSEL
rw |
LSCOEN
rw |
BDRST
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RTCEN
rw |
RTCSEL
rw |
LSECSSD
r |
LSECSSON
rw |
LSEDRV
rw |
LSEBYP
rw |
LSERDY
r |
LSEON
rw |
Bit 0: LSE oscillator enable.
Allowed values:
0: Off: LSE only enabled when requested by a peripheral or system function
1: On: LSE enabled always generated by RCC
Bit 1: LSE oscillator ready.
Allowed values:
0: NotReady: LSE clock not ready
1: Ready: LSE clock ready
Bit 2: LSE oscillator bypass.
Allowed values:
0: NotBypassed: LSE crystal oscillator not bypassed
1: Bypassed: LSE crystal oscillator bypassed with external clock
Bits 3-4: SE oscillator drive capability.
Allowed values:
0: Lower: 'Xtal mode' lower driving capability
1: MediumLow: 'Xtal mode' medium low driving capability
2: MediumHigh: 'Xtal mode' medium high driving capability
3: Higher: 'Xtal mode' higher driving capability
Bit 5: LSECSSON.
Allowed values:
0: Off: CSS on LSE (32 kHz external oscillator) OFF
1: On: CSS on LSE (32 kHz external oscillator) ON
Bit 6: LSECSSD.
Allowed values:
0: NoFailure: No failure detected on LSE (32 kHz oscillator)
1: Failure: Failure detected on LSE (32 kHz oscillator)
Bits 8-9: RTC clock source selection.
Allowed values:
0: NoClock: No clock
1: LSE: LSE oscillator clock used as RTC clock
2: LSI: LSI oscillator clock used as RTC clock
3: HSE: HSE oscillator clock divided by a prescaler used as RTC clock
Bit 15: RTC clock enable.
Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled
Bit 16: RTC domain software reset.
Allowed values:
0: Disabled: Reset not activated
1: Enabled: Reset the entire RTC domain
Bit 24: Low speed clock output enable.
Allowed values:
0: Disabled: LSCO disabled
1: Enabled: LSCO enabled
Bit 25: Low speed clock output selection.
Allowed values:
0: LSI: LSI clock selected
1: LSE: LSE clock selected
CSR
Offset: 0x94, size: 32, reset: 0x0C000000, access: Unspecified
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPWRSTF
r |
WWDGRSTF
r |
IWDGRSTF
r |
SFTRSTF
r |
BORRSTF
r |
PINRSTF
r |
OBLRSTF
r |
RMVF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LSIRDY
r |
LSION
rw |
Bit 0: LSI oscillator enable.
Allowed values:
0: Off: LSI oscillator Off
1: On: LSI oscillator On
Bit 1: LSI oscillator ready.
Allowed values:
0: NotReady: LSI oscillator not ready
1: Ready: LSI oscillator ready
Bit 23: Remove reset flag.
Allowed values:
1: Clear: Clears the reset flag
Bit 25: Option byte loader reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 26: Pad reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 27: BOR flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 28: Software reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 29: Independent window watchdog reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 30: Window watchdog reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 31: Low-power reset flag.
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Clock recovery RC register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
2/3 fields covered.
Peripherals independent clock configuration register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
QSPISEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
I2C4SEL
rw |
Bits 0-1: I2C4 clock source selection.
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 20-21: Octospi clock source selection.
Allowed values:
0: System: System clock selected as QUADSPI kernel clock
1: HSI16: HSI16 clock selected as QUADSPI kernel clock
2: PLLQ: PLL 'Q' clock selected as QUADSPI kernel clock
0x50060800: Random number generator
4/9 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SR | ||||||||||||||||||||||||||||||||
0x8 | DR |
0x40002800: Real-time clock
20/125 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | TR | ||||||||||||||||||||||||||||||||
0x4 | DR | ||||||||||||||||||||||||||||||||
0x8 | SSR | ||||||||||||||||||||||||||||||||
0xc | ICSR | ||||||||||||||||||||||||||||||||
0x10 | PRER | ||||||||||||||||||||||||||||||||
0x14 | WUTR | ||||||||||||||||||||||||||||||||
0x18 | CR | ||||||||||||||||||||||||||||||||
0x24 | WPR | ||||||||||||||||||||||||||||||||
0x28 | CALR | ||||||||||||||||||||||||||||||||
0x2c | SHIFTR | ||||||||||||||||||||||||||||||||
0x30 | TSTR | ||||||||||||||||||||||||||||||||
0x34 | TSDR | ||||||||||||||||||||||||||||||||
0x38 | TSSSR | ||||||||||||||||||||||||||||||||
0x40 | ALRM[A]R | ||||||||||||||||||||||||||||||||
0x44 | ALRM[A]SSR | ||||||||||||||||||||||||||||||||
0x48 | ALRM[B]R | ||||||||||||||||||||||||||||||||
0x4c | ALRM[B]SSR | ||||||||||||||||||||||||||||||||
0x50 | SR | ||||||||||||||||||||||||||||||||
0x54 | MISR | ||||||||||||||||||||||||||||||||
0x5c | SCR |
time register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
date register
Offset: 0x4, size: 32, reset: 0x00002101, access: read-write
0/7 fields covered.
sub second register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SS
r |
initialization and status register
Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified
6/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RECALPF
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
INIT
rw |
INITF
r |
RSF
rw |
INITS
r |
SHPF
rw |
WUTWF
r |
ALRBWF
r |
ALRAWF
r |
Bit 0: Alarm A write flag.
Bit 1: Alarm B write flag.
Bit 2: Wakeup timer write flag.
Bit 3: Shift operation pending.
Bit 4: Initialization status flag.
Bit 5: Registers synchronization flag.
Bit 6: Initialization flag.
Bit 7: Initialization mode.
Bit 16: Recalibration pending Flag.
prescaler register
Offset: 0x10, size: 32, reset: 0x007F00FF, access: read-write
0/2 fields covered.
wakeup timer register
Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUT
rw |
control register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/26 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OUT2EN
rw |
TAMPALRM_TYPE
rw |
TAMPALRM_PU
rw |
TAMPOE
rw |
TAMPTS
rw |
ITSE
rw |
COE
rw |
OSEL
rw |
POL
rw |
COSEL
rw |
BKP
rw |
SUB1H
rw |
ADD1H
rw |
|||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TSIE
rw |
WUTIE
rw |
ALRBIE
rw |
ALRAIE
rw |
TSE
rw |
WUTE
rw |
ALRBE
rw |
ALRAE
rw |
FMT
rw |
BYPSHAD
rw |
REFCKON
rw |
TSEDGE
rw |
WUCKSEL
rw |
Bits 0-2: Wakeup clock selection.
Bit 3: Time-stamp event active edge.
Bit 4: Reference clock detection enable (50 or 60 Hz).
Bit 5: Bypass the shadow registers.
Bit 6: Hour format.
Bit 8: Alarm A enable.
Bit 9: Alarm B enable.
Bit 10: Wakeup timer enable.
Bit 11: Time stamp enable.
Bit 12: Alarm A interrupt enable.
Bit 13: Alarm B interrupt enable.
Bit 14: Wakeup timer interrupt enable.
Bit 15: Time-stamp interrupt enable.
Bit 16: Add 1 hour (summer time change).
Bit 17: Subtract 1 hour (winter time change).
Bit 18: Backup.
Bit 19: Calibration output selection.
Bit 20: Output polarity.
Bits 21-22: Output selection.
Bit 23: Calibration output enable.
Bit 24: timestamp on internal event enable.
Bit 25: TAMPTS.
Bit 26: TAMPOE.
Bit 29: TAMPALRM_PU.
Bit 30: TAMPALRM_TYPE.
Bit 31: OUT2EN.
write protection register
Offset: 0x24, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY
w |
calibration register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
shift control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only
0/2 fields covered.
time stamp time register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
time stamp date register
Offset: 0x34, size: 32, reset: 0x00002101, access: read-write
0/7 fields covered.
timestamp sub second register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SS
r |
Alarm A register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSK4
rw |
WDSEL
rw |
DT
rw |
DU
rw |
MSK3
rw |
PM
rw |
HT
rw |
HU
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MSK2
rw |
MNT
rw |
MNU
rw |
MSK1
rw |
ST
rw |
SU
rw |
Bits 0-3: Second units in BCD format.
Bits 4-6: Second tens in BCD format.
Bit 7: Alarm seconds mask.
Bits 8-11: Minute units in BCD format.
Bits 12-14: Minute tens in BCD format.
Bit 15: Alarm minutes mask.
Bits 16-19: Hour units in BCD format.
Bits 20-21: Hour tens in BCD format.
Bit 22: AM/PM notation.
Bit 23: Alarm hours mask.
Bits 24-27: Date units or day in BCD format.
Bits 28-29: Date tens in BCD format.
Bit 30: Week day selection.
Bit 31: Alarm date mask.
Alarm A sub-second register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Alarm B register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSK4
rw |
WDSEL
rw |
DT
rw |
DU
rw |
MSK3
rw |
PM
rw |
HT
rw |
HU
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MSK2
rw |
MNT
rw |
MNU
rw |
MSK1
rw |
ST
rw |
SU
rw |
Bits 0-3: Second units in BCD format.
Bits 4-6: Second tens in BCD format.
Bit 7: Alarm seconds mask.
Bits 8-11: Minute units in BCD format.
Bits 12-14: Minute tens in BCD format.
Bit 15: Alarm minutes mask.
Bits 16-19: Hour units in BCD format.
Bits 20-21: Hour tens in BCD format.
Bit 22: AM/PM notation.
Bit 23: Alarm hours mask.
Bits 24-27: Date units or day in BCD format.
Bits 28-29: Date tens in BCD format.
Bit 30: Week day selection.
Bit 31: Alarm date mask.
Alarm B sub-second register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
status register
Offset: 0x54, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
0x40015400: Serial audio interface
84/120 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x4 | CR1 [A] | ||||||||||||||||||||||||||||||||
0x8 | CR2 [A] | ||||||||||||||||||||||||||||||||
0xc | FRCR [A] | ||||||||||||||||||||||||||||||||
0x10 | SLOTR [A] | ||||||||||||||||||||||||||||||||
0x14 | IM [A] | ||||||||||||||||||||||||||||||||
0x18 | SR [A] | ||||||||||||||||||||||||||||||||
0x1c | CLRFR [A] | ||||||||||||||||||||||||||||||||
0x20 | DR [A] | ||||||||||||||||||||||||||||||||
0x24 | CR1 [B] | ||||||||||||||||||||||||||||||||
0x28 | CR2 [B] | ||||||||||||||||||||||||||||||||
0x2c | FRCR [B] | ||||||||||||||||||||||||||||||||
0x30 | SLOTR [B] | ||||||||||||||||||||||||||||||||
0x34 | IM [B] | ||||||||||||||||||||||||||||||||
0x38 | SR [B] | ||||||||||||||||||||||||||||||||
0x3c | CLRFR [B] | ||||||||||||||||||||||||||||||||
0x40 | DR [B] | ||||||||||||||||||||||||||||||||
0x44 | PDMCR | ||||||||||||||||||||||||||||||||
0x48 | PDMDLY |
AConfiguration register 1
Offset: 0x4, size: 32, reset: 0x00000040, access: read-write
11/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCKEN
rw |
OSR
rw |
MCKDIV
rw |
NODIV
rw |
DMAEN
rw |
SAIEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OUTDRIV
rw |
MONO
rw |
SYNCEN
rw |
CKSTR
rw |
LSBFIRST
rw |
DS
rw |
PRTCFG
rw |
MODE
rw |
Bits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-25: Master clock divider.
Bit 26: OSR.
Bit 27: MCKEN.
AConfiguration register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COMP
rw |
CPL
rw |
MUTECNT
rw |
MUTEVAL
rw |
MUTE
rw |
TRIS
rw |
FFLUSH
w |
FTH
rw |
Bits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
Bit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
Bit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0xc, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FSOFF
rw |
FSPOL
rw |
FSDEF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FSALL
rw |
FRL
rw |
Bits 0-7: Frame length.
Bits 8-14: Frame synchronization active level length.
Bit 16: Frame synchronization definition.
Bit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SLOTEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NBSLOT
rw |
SLOTSZ
rw |
FBOFF
rw |
Bits 0-4: First bit offset.
Bits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
Bits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LFSDETIE
rw |
AFSDETIE
rw |
CNRDYIE
rw |
FREQIE
rw |
WCKCFGIE
rw |
MUTEDETIE
rw |
OVRUDRIE
rw |
Bit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x18, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FLVL
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LFSDET
r |
AFSDET
r |
CNRDY
r |
FREQ
r |
WCKCFG
r |
MUTEDET
r |
OVRUDR
r |
Bit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only.
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Bit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag.
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
AConfiguration register 1
Offset: 0x24, size: 32, reset: 0x00000040, access: read-write
11/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCKEN
rw |
OSR
rw |
MCKDIV
rw |
NODIV
rw |
DMAEN
rw |
SAIEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OUTDRIV
rw |
MONO
rw |
SYNCEN
rw |
CKSTR
rw |
LSBFIRST
rw |
DS
rw |
PRTCFG
rw |
MODE
rw |
Bits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-25: Master clock divider.
Bit 26: OSR.
Bit 27: MCKEN.
AConfiguration register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COMP
rw |
CPL
rw |
MUTECNT
rw |
MUTEVAL
rw |
MUTE
rw |
TRIS
rw |
FFLUSH
w |
FTH
rw |
Bits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
Bit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
Bit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0x2c, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FSOFF
rw |
FSPOL
rw |
FSDEF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FSALL
rw |
FRL
rw |
Bits 0-7: Frame length.
Bits 8-14: Frame synchronization active level length.
Bit 16: Frame synchronization definition.
Bit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SLOTEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NBSLOT
rw |
SLOTSZ
rw |
FBOFF
rw |
Bits 0-4: First bit offset.
Bits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
Bits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LFSDETIE
rw |
AFSDETIE
rw |
CNRDYIE
rw |
FREQIE
rw |
WCKCFGIE
rw |
MUTEDETIE
rw |
OVRUDRIE
rw |
Bit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x38, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FLVL
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LFSDET
r |
AFSDET
r |
CNRDY
r |
FREQ
r |
WCKCFG
r |
MUTEDET
r |
OVRUDR
r |
Bit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only.
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x3c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Bit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag.
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
PDM control register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
PDM delay register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DLYM[4]R
rw |
DLYM[4]L
rw |
DLYM[3]R
rw |
DLYM[3]L
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DLYM[2]R
rw |
DLYM[2]L
rw |
DLYM[1]R
rw |
DLYM[1]L
rw |
Bits 0-2: Delay line adjust for first microphone of pair 1.
Bits 4-6: Delay line adjust for second microphone of pair 1.
Bits 8-10: Delay line adjust for first microphone of pair 2.
Bits 12-14: Delay line adjust for second microphone of pair 2.
Bits 16-18: Delay line adjust for first microphone of pair 3.
Bits 20-22: Delay line adjust for second microphone of pair 3.
Bits 24-26: Delay line adjust for first microphone of pair 4.
Bits 28-30: Delay line adjust for second microphone of pair 4.
0xe000ed00: System control block
5/74 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CPUID | ||||||||||||||||||||||||||||||||
0x4 | ICSR | ||||||||||||||||||||||||||||||||
0x8 | VTOR | ||||||||||||||||||||||||||||||||
0xc | AIRCR | ||||||||||||||||||||||||||||||||
0x10 | SCR | ||||||||||||||||||||||||||||||||
0x14 | CCR | ||||||||||||||||||||||||||||||||
0x18 | SHPR1 | ||||||||||||||||||||||||||||||||
0x1c | SHPR2 | ||||||||||||||||||||||||||||||||
0x20 | SHPR3 | ||||||||||||||||||||||||||||||||
0x24 | SHCSR | ||||||||||||||||||||||||||||||||
0x28 | CFSR_UFSR_BFSR_MMFSR | ||||||||||||||||||||||||||||||||
0x2c | HFSR | ||||||||||||||||||||||||||||||||
0x34 | MMFAR | ||||||||||||||||||||||||||||||||
0x38 | BFAR | ||||||||||||||||||||||||||||||||
0x3c | AFSR |
CPUID base register
Offset: 0x0, size: 32, reset: 0x410FC241, access: read-only
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Implementer
r |
Variant
r |
Constant
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PartNo
r |
Revision
r |
Interrupt control and state register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NMIPENDSET
rw |
PENDSVSET
rw |
PENDSVCLR
rw |
PENDSTSET
rw |
PENDSTCLR
rw |
ISRPENDING
rw |
VECTPENDING
rw |
|||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VECTPENDING
rw |
RETTOBASE
rw |
VECTACTIVE
rw |
Bits 0-8: Active vector.
Bit 11: Return to base level.
Bits 12-18: Pending vector.
Bit 22: Interrupt pending flag.
Bit 25: SysTick exception clear-pending bit.
Bit 26: SysTick exception set-pending bit.
Bit 27: PendSV clear-pending bit.
Bit 28: PendSV set-pending bit.
Bit 31: NMI set-pending bit..
Vector table offset register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Application interrupt and reset control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VECTKEYSTAT
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ENDIANESS
rw |
PRIGROUP
rw |
SYSRESETREQ
rw |
VECTCLRACTIVE
rw |
VECTRESET
rw |
System control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SEVEONPEND
rw |
SLEEPDEEP
rw |
SLEEPONEXIT
rw |
Configuration and control register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STKALIGN
rw |
BFHFNMIGN
rw |
DIV_0_TRP
rw |
UNALIGN__TRP
rw |
USERSETMPEND
rw |
NONBASETHRDENA
rw |
System handler priority registers
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
System handler priority registers
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRI_11
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
System handler priority registers
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
System handler control and state register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
USGFAULTENA
rw |
BUSFAULTENA
rw |
MEMFAULTENA
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SVCALLPENDED
rw |
BUSFAULTPENDED
rw |
MEMFAULTPENDED
rw |
USGFAULTPENDED
rw |
SYSTICKACT
rw |
PENDSVACT
rw |
MONITORACT
rw |
SVCALLACT
rw |
USGFAULTACT
rw |
BUSFAULTACT
rw |
MEMFAULTACT
rw |
Bit 0: Memory management fault exception active bit.
Bit 1: Bus fault exception active bit.
Bit 3: Usage fault exception active bit.
Bit 7: SVC call active bit.
Bit 8: Debug monitor active bit.
Bit 10: PendSV exception active bit.
Bit 11: SysTick exception active bit.
Bit 12: Usage fault exception pending bit.
Bit 13: Memory management fault exception pending bit.
Bit 14: Bus fault exception pending bit.
Bit 15: SVC call pending bit.
Bit 16: Memory management fault enable bit.
Bit 17: Bus fault enable bit.
Bit 18: Usage fault enable bit.
Configurable fault status register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/18 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIVBYZERO
rw |
UNALIGNED
rw |
NOCP
rw |
INVPC
rw |
INVSTATE
rw |
UNDEFINSTR
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BFARVALID
rw |
LSPERR
rw |
STKERR
rw |
UNSTKERR
rw |
IMPRECISERR
rw |
PRECISERR
rw |
IBUSERR
rw |
MMARVALID
rw |
MLSPERR
rw |
MSTKERR
rw |
MUNSTKERR
rw |
IACCVIOL
rw |
Bit 1: Instruction access violation flag.
Bit 3: Memory manager fault on unstacking for a return from exception.
Bit 4: Memory manager fault on stacking for exception entry..
Bit 5: MLSPERR.
Bit 7: Memory Management Fault Address Register (MMAR) valid flag.
Bit 8: Instruction bus error.
Bit 9: Precise data bus error.
Bit 10: Imprecise data bus error.
Bit 11: Bus fault on unstacking for a return from exception.
Bit 12: Bus fault on stacking for exception entry.
Bit 13: Bus fault on floating-point lazy state preservation.
Bit 15: Bus Fault Address Register (BFAR) valid flag.
Bit 16: Undefined instruction usage fault.
Bit 17: Invalid state usage fault.
Bit 18: Invalid PC load usage fault.
Bit 19: No coprocessor usage fault..
Bit 24: Unaligned access usage fault.
Bit 25: Divide by zero usage fault.
Hard fault status register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Memory management fault address register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0xe000e008: System control block ACTLR
0/5 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ACTRL |
Auxiliary control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DISOOFP
rw |
DISFPCA
rw |
DISFOLD
rw |
DISDEFWBUF
rw |
DISMCYCINT
rw |
0x40013000: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0x40003800: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000700, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0x40003c00: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000700, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0x40013c00: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000700, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0xe000e010: SysTick timer
0/9 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CTRL | ||||||||||||||||||||||||||||||||
0x4 | LOAD | ||||||||||||||||||||||||||||||||
0x8 | VAL | ||||||||||||||||||||||||||||||||
0xc | CALIB |
SysTick control and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
SysTick reload value register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
SysTick current value register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40010000: System configuration controller
1/69 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MEMRMP | ||||||||||||||||||||||||||||||||
0x4 | CFGR1 | ||||||||||||||||||||||||||||||||
0x8 | EXTICR1 | ||||||||||||||||||||||||||||||||
0xc | EXTICR2 | ||||||||||||||||||||||||||||||||
0x10 | EXTICR3 | ||||||||||||||||||||||||||||||||
0x14 | EXTICR4 | ||||||||||||||||||||||||||||||||
0x18 | SCSR | ||||||||||||||||||||||||||||||||
0x1c | CFGR2 | ||||||||||||||||||||||||||||||||
0x20 | SWPR | ||||||||||||||||||||||||||||||||
0x24 | SKR |
Remap Memory register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
peripheral mode configuration register
Offset: 0x4, size: 32, reset: 0x7C000001, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FPU_IE
rw |
I2C4_FMP
rw |
I2C3_FMP
rw |
I2C2_FMP
rw |
I2C1_FMP
rw |
I2C_PB9_FMP
rw |
I2C_PB8_FMP
rw |
I2C_PB7_FMP
rw |
I2C_PB6_FMP
rw |
|||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ANASWVDD
rw |
BOOSTEN
rw |
Bit 8: BOOSTEN.
Bit 9: GPIO analog switch control voltage selection.
Bit 16: FM+ drive capability on PB6.
Bit 17: FM+ drive capability on PB6.
Bit 18: FM+ drive capability on PB6.
Bit 19: FM+ drive capability on PB6.
Bit 20: I2C1 FM+ drive capability enable.
Bit 21: I2C1 FM+ drive capability enable.
Bit 22: I2C1 FM+ drive capability enable.
Bit 23: I2C1 FM+ drive capability enable.
Bits 26-31: FPU Interrupts Enable.
external interrupt configuration register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
external interrupt configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
external interrupt configuration register 3
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
external interrupt configuration register 4
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
CCM SRAM control and status register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
configuration register 2
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
SRAM Write protection register 1
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page31_WP
rw |
Page30_WP
rw |
Page29_WP
rw |
Page28_WP
rw |
Page27_WP
rw |
Page26_WP
rw |
Page25_WP
rw |
Page24_WP
rw |
Page23_WP
rw |
Page22_WP
rw |
Page21_WP
rw |
Page20_WP
rw |
Page19_WP
rw |
Page18_WP
rw |
Page17_WP
rw |
Page16_WP
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Page15_WP
rw |
Page14_WP
rw |
Page13_WP
rw |
Page12_WP
rw |
Page11_WP
rw |
Page10_WP
rw |
Page9_WP
rw |
Page8_WP
rw |
Page7_WP
rw |
Page6_WP
rw |
Page5_WP
rw |
Page4_WP
rw |
Page3_WP
rw |
Page2_WP
rw |
Page1_WP
rw |
Page0_WP
rw |
Bit 0: Write protection.
Bit 1: Write protection.
Bit 2: Write protection.
Bit 3: Write protection.
Bit 4: Write protection.
Bit 5: Write protection.
Bit 6: Write protection.
Bit 7: Write protection.
Bit 8: Write protection.
Bit 9: Write protection.
Bit 10: Write protection.
Bit 11: Write protection.
Bit 12: Write protection.
Bit 13: Write protection.
Bit 14: Write protection.
Bit 15: Write protection.
Bit 16: Write protection.
Bit 17: Write protection.
Bit 18: Write protection.
Bit 19: Write protection.
Bit 20: Write protection.
Bit 21: Write protection.
Bit 22: Write protection.
Bit 23: Write protection.
Bit 24: Write protection.
Bit 25: Write protection.
Bit 26: Write protection.
Bit 27: Write protection.
Bit 28: Write protection.
Bit 29: Write protection.
Bit 30: Write protection.
Bit 31: Write protection.
SRAM2 Key Register
Offset: 0x24, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY
w |
0x40002400: Tamper and backup registers
14/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | FLTCR | ||||||||||||||||||||||||||||||||
0x2c | IER | ||||||||||||||||||||||||||||||||
0x30 | SR | ||||||||||||||||||||||||||||||||
0x34 | MISR | ||||||||||||||||||||||||||||||||
0x3c | SCR | ||||||||||||||||||||||||||||||||
0x100 | BKP[0]R | ||||||||||||||||||||||||||||||||
0x104 | BKP[1]R | ||||||||||||||||||||||||||||||||
0x108 | BKP[2]R | ||||||||||||||||||||||||||||||||
0x10c | BKP[3]R | ||||||||||||||||||||||||||||||||
0x110 | BKP[4]R | ||||||||||||||||||||||||||||||||
0x114 | BKP[5]R | ||||||||||||||||||||||||||||||||
0x118 | BKP[6]R | ||||||||||||||||||||||||||||||||
0x11c | BKP[7]R | ||||||||||||||||||||||||||||||||
0x120 | BKP[8]R | ||||||||||||||||||||||||||||||||
0x124 | BKP[9]R | ||||||||||||||||||||||||||||||||
0x128 | BKP[10]R | ||||||||||||||||||||||||||||||||
0x12c | BKP[11]R | ||||||||||||||||||||||||||||||||
0x130 | BKP[12]R | ||||||||||||||||||||||||||||||||
0x134 | BKP[13]R | ||||||||||||||||||||||||||||||||
0x138 | BKP[14]R | ||||||||||||||||||||||||||||||||
0x13c | BKP[15]R | ||||||||||||||||||||||||||||||||
0x140 | BKP[16]R | ||||||||||||||||||||||||||||||||
0x144 | BKP[17]R | ||||||||||||||||||||||||||||||||
0x148 | BKP[18]R | ||||||||||||||||||||||||||||||||
0x14c | BKP[19]R | ||||||||||||||||||||||||||||||||
0x150 | BKP[20]R | ||||||||||||||||||||||||||||||||
0x154 | BKP[21]R | ||||||||||||||||||||||||||||||||
0x158 | BKP[22]R | ||||||||||||||||||||||||||||||||
0x15c | BKP[23]R | ||||||||||||||||||||||||||||||||
0x160 | BKP[24]R | ||||||||||||||||||||||||||||||||
0x164 | BKP[25]R | ||||||||||||||||||||||||||||||||
0x168 | BKP[26]R | ||||||||||||||||||||||||||||||||
0x16c | BKP[27]R | ||||||||||||||||||||||||||||||||
0x170 | BKP[28]R | ||||||||||||||||||||||||||||||||
0x174 | BKP[29]R | ||||||||||||||||||||||||||||||||
0x178 | BKP[30]R | ||||||||||||||||||||||||||||||||
0x17c | BKP[31]R |
control register 1
Offset: 0x0, size: 32, reset: 0xFFFF0000, access: read-write
0/7 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
TAMP filter control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TAMP interrupt enable register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TAMP status register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
TAMP masked interrupt status register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
TAMP status clear register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TAMP backup register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x110, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x114, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x118, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x11c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x120, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x124, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x128, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x12c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x130, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x134, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x138, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x13c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x140, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x144, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x148, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x150, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x154, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x158, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x15c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x160, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x164, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x168, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x16c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x170, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x174, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40012c00: Advanced-timers
13/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS[6]
rw |
OIS[5]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS[4]N
rw |
OIS[4]
rw |
OIS[3]N
rw |
OIS[3]
rw |
OIS[2]N
rw |
OIS[2]
rw |
OIS[1]N
rw |
OIS[1]
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state (OC1 output).
Bit 9: Output Idle state (OC1N output).
Bit 10: Output Idle state (OC2 output).
Bit 11: Output Idle state (OC2N output).
Bit 12: Output Idle state (OC3 output).
Bit 13: Output Idle state (OC3N output).
Bit 14: Output Idle state (OC4 output).
Bit 15: Output Idle state (OC4N output).
Bit 16: Output Idle state (OC5 output).
Bit 18: Output Idle state (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40014000: General purpose timers
5/110 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output idle state 2 (OC2 output).
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDE
rw |
COMDE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[2]OF
rw |
CC[1]OF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/6 fields covered.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[2]NP
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 7: Capture/Compare 2 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKBID
rw |
BKDSRM
rw |
BKF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bit 26: BKDSRM.
Bit 28: BKBID.
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0x40014400: General purpose timers
2/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x68 | OR1 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/4 fields covered.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[1]M_3
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKBID
rw |
BKDSRM
rw |
BKF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bit 26: BKDSRM.
Bit 28: BKBID.
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TI1SEL
rw |
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIM option register 1
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSE32EN
rw |
0x40014800: General purpose timers
2/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x68 | OR1 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/4 fields covered.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[1]M_3
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKBID
rw |
BKDSRM
rw |
BKF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bit 26: BKDSRM.
Bit 28: BKBID.
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TI1SEL
rw |
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIM option register 1
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSE32EN
rw |
0x40000000: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40000400: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40000800: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40000c00: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40001000: Basic-timers
1/16 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS
rw |
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UIF
rw |
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UG
w |
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARR
rw |
0x40001400: Basic-timers
1/16 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS
rw |
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UIF
rw |
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UG
w |
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARR
rw |
0x40013400: Advanced-timers
13/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS[6]
rw |
OIS[5]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS[4]N
rw |
OIS[4]
rw |
OIS[3]N
rw |
OIS[3]
rw |
OIS[2]N
rw |
OIS[2]
rw |
OIS[1]N
rw |
OIS[1]
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state (OC1 output).
Bit 9: Output Idle state (OC1N output).
Bit 10: Output Idle state (OC2 output).
Bit 11: Output Idle state (OC2N output).
Bit 12: Output Idle state (OC3 output).
Bit 13: Output Idle state (OC3N output).
Bit 14: Output Idle state (OC4 output).
Bit 15: Output Idle state (OC4N output).
Bit 16: Output Idle state (OC5 output).
Bit 18: Output Idle state (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40004c00: Universal synchronous asynchronous receiver transmitter
29/135 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT4
rw |
DEAT3
rw |
DEAT2
rw |
DEAT1
rw |
DEAT0
rw |
DEDT4
rw |
DEDT3
rw |
DEDT2
rw |
DEDT1
rw |
DEDT0
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Bit 3: Transmitter enable.
Bit 4: IDLE interrupt enable.
Bit 5: RXNE interrupt enable.
Bit 6: Transmission complete interrupt enable.
Bit 7: interrupt enable.
Bit 8: PE interrupt enable.
Bit 9: Parity selection.
Bit 10: Parity control enable.
Bit 11: Receiver wakeup method.
Bit 12: Word length.
Bit 13: Mute mode enable.
Bit 14: Character match interrupt enable.
Bit 15: Oversampling mode.
Bit 16: DEDT0.
Bit 17: DEDT1.
Bit 18: DEDT2.
Bit 19: DEDT3.
Bit 20: Driver Enable de-assertion time.
Bit 21: DEAT0.
Bit 22: DEAT1.
Bit 23: DEAT2.
Bit 24: DEAT3.
Bit 25: Driver Enable assertion time.
Bit 26: Receiver timeout interrupt enable.
Bit 27: End of Block interrupt enable.
Bit 28: M1.
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD4_7
rw |
ADD0_3
rw |
RTOEN
rw |
ABRMOD1
rw |
ABRMOD0
rw |
ABREN
rw |
MSBFIRST
rw |
TAINV
rw |
TXINV
rw |
RXINV
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Bit 5: LIN break detection length.
Bit 6: LIN break detection interrupt enable.
Bit 8: Last bit clock pulse.
Bit 9: Clock phase.
Bit 10: Clock polarity.
Bit 11: Clock enable.
Bits 12-13: STOP bits.
Bit 14: LIN mode enable.
Bit 15: Swap TX/RX pins.
Bit 16: RX pin active level inversion.
Bit 17: TX pin active level inversion.
Bit 18: Binary data inversion.
Bit 19: Most significant bit first.
Bit 20: Auto baud rate enable.
Bit 21: ABRMOD0.
Bit 22: Auto baud rate mode.
Bit 23: Receiver timeout enable.
Bits 24-27: Address of the USART node.
Bits 28-31: Address of the USART node.
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Bit 1: Ir mode enable.
Bit 2: Ir low-power.
Bit 3: Half-duplex selection.
Bit 4: Smartcard NACK enable.
Bit 5: Smartcard mode enable.
Bit 6: DMA enable receiver.
Bit 7: DMA enable transmitter.
Bit 8: RTS enable.
Bit 9: CTS enable.
Bit 10: CTS interrupt enable.
Bit 11: One sample bit method enable.
Bit 12: Overrun Disable.
Bit 13: DMA Disable on Reception Error.
Bit 14: Driver enable mode.
Bit 15: Driver enable polarity selection.
Bits 17-19: Smartcard auto-retry count.
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIV_Mantissa
rw |
DIV_Fraction
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/5 fields covered.
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Bit 1: Framing error clear flag.
Bit 2: Noise detected clear flag.
Bit 3: Overrun error clear flag.
Bit 4: Idle line detected clear flag.
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Bit 9: CTS clear flag.
Bit 11: Receiver timeout clear flag.
Bit 12: End of block clear flag.
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40005000: Universal synchronous asynchronous receiver transmitter
29/135 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT4
rw |
DEAT3
rw |
DEAT2
rw |
DEAT1
rw |
DEAT0
rw |
DEDT4
rw |
DEDT3
rw |
DEDT2
rw |
DEDT1
rw |
DEDT0
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Bit 3: Transmitter enable.
Bit 4: IDLE interrupt enable.
Bit 5: RXNE interrupt enable.
Bit 6: Transmission complete interrupt enable.
Bit 7: interrupt enable.
Bit 8: PE interrupt enable.
Bit 9: Parity selection.
Bit 10: Parity control enable.
Bit 11: Receiver wakeup method.
Bit 12: Word length.
Bit 13: Mute mode enable.
Bit 14: Character match interrupt enable.
Bit 15: Oversampling mode.
Bit 16: DEDT0.
Bit 17: DEDT1.
Bit 18: DEDT2.
Bit 19: DEDT3.
Bit 20: Driver Enable de-assertion time.
Bit 21: DEAT0.
Bit 22: DEAT1.
Bit 23: DEAT2.
Bit 24: DEAT3.
Bit 25: Driver Enable assertion time.
Bit 26: Receiver timeout interrupt enable.
Bit 27: End of Block interrupt enable.
Bit 28: M1.
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD4_7
rw |
ADD0_3
rw |
RTOEN
rw |
ABRMOD1
rw |
ABRMOD0
rw |
ABREN
rw |
MSBFIRST
rw |
TAINV
rw |
TXINV
rw |
RXINV
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Bit 5: LIN break detection length.
Bit 6: LIN break detection interrupt enable.
Bit 8: Last bit clock pulse.
Bit 9: Clock phase.
Bit 10: Clock polarity.
Bit 11: Clock enable.
Bits 12-13: STOP bits.
Bit 14: LIN mode enable.
Bit 15: Swap TX/RX pins.
Bit 16: RX pin active level inversion.
Bit 17: TX pin active level inversion.
Bit 18: Binary data inversion.
Bit 19: Most significant bit first.
Bit 20: Auto baud rate enable.
Bit 21: ABRMOD0.
Bit 22: Auto baud rate mode.
Bit 23: Receiver timeout enable.
Bits 24-27: Address of the USART node.
Bits 28-31: Address of the USART node.
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Bit 1: Ir mode enable.
Bit 2: Ir low-power.
Bit 3: Half-duplex selection.
Bit 4: Smartcard NACK enable.
Bit 5: Smartcard mode enable.
Bit 6: DMA enable receiver.
Bit 7: DMA enable transmitter.
Bit 8: RTS enable.
Bit 9: CTS enable.
Bit 10: CTS interrupt enable.
Bit 11: One sample bit method enable.
Bit 12: Overrun Disable.
Bit 13: DMA Disable on Reception Error.
Bit 14: Driver enable mode.
Bit 15: Driver enable polarity selection.
Bits 17-19: Smartcard auto-retry count.
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIV_Mantissa
rw |
DIV_Fraction
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/5 fields covered.
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Bit 1: Framing error clear flag.
Bit 2: Noise detected clear flag.
Bit 3: Overrun error clear flag.
Bit 4: Idle line detected clear flag.
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Bit 9: CTS clear flag.
Bit 11: Receiver timeout clear flag.
Bit 12: End of block clear flag.
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x4000a000: UCPD1
90/90 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFGR1 | ||||||||||||||||||||||||||||||||
0x4 | CFGR2 | ||||||||||||||||||||||||||||||||
0xc | CR | ||||||||||||||||||||||||||||||||
0x10 | IMR | ||||||||||||||||||||||||||||||||
0x14 | SR | ||||||||||||||||||||||||||||||||
0x18 | ICR | ||||||||||||||||||||||||||||||||
0x1c | TX_ORDSETR | ||||||||||||||||||||||||||||||||
0x20 | TX_PAYSZR | ||||||||||||||||||||||||||||||||
0x24 | TXDR | ||||||||||||||||||||||||||||||||
0x28 | RX_ORDSETR | ||||||||||||||||||||||||||||||||
0x2c | RX_PAYSZR | ||||||||||||||||||||||||||||||||
0x30 | RXDR | ||||||||||||||||||||||||||||||||
0x34 | RX_ORDEXTR1 | ||||||||||||||||||||||||||||||||
0x38 | RX_ORDEXTR2 |
UCPD configuration register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCPDEN
rw |
RXDMAEN
rw |
TXDMAEN
rw |
RXORDSETEN8
rw |
RXORDSETEN7
rw |
RXORDSETEN6
rw |
RXORDSETEN5
rw |
RXORDSETEN4
rw |
RXORDSETEN3
rw |
RXORDSETEN2
rw |
RXORDSETEN1
rw |
RXORDSETEN0
rw |
PSC_USBPDCLK
rw |
|||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TRANSWIN
rw |
IFRGAP
rw |
HBITCLKDIV
rw |
Bits 0-5: HBITCLKDIV.
Allowed values: 0x0-0x3f
Bits 6-10: IFRGAP.
Allowed values: 0x1-0x1f
Bits 11-15: TRANSWIN.
Allowed values: 0x1-0x1f
Bits 17-19: PSC_USBPDCLK.
Allowed values:
0: Div1: Divide by 1
1: Div2: Divide by 2
2: Div4: Divide by 4
3: Div8: Divide by 8
4: Div16: Divide by 16
Bit 20: SOP detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 21: SOP' detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 22: SOP'' detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 23: Hard Reset detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 24: Cable Detect reset.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 25: SOP'_Debug.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 26: SOP'' Debug.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 27: SOP extension #1.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 28: SOP extension #2.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 29: TXDMAEN.
Allowed values:
0: Disabled: DMA mode for transmission disabled
1: Enabled: DMA mode for transmission enabled
Bit 30: RXDMAEN.
Allowed values:
0: Disabled: DMA mode for reception disabled
1: Enabled: DMA mode for reception enabled
Bit 31: UCPDEN.
Allowed values:
0: Disabled: UCPD peripheral disabled
1: Enabled: UCPD peripheral enabled
UCPD configuration register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: RXFILTDIS.
Allowed values:
0: Enabled: Rx pre-filter enabled
1: Disabled: Rx pre-filter disabled
Bit 1: RXFILT2N3.
Allowed values:
0: Samp3: 3 samples
1: Samp2: 2 samples
Bit 2: FORCECLK.
Allowed values:
0: NoForce: Do not force clock request
1: Force: Force clock request
Bit 3: WUPEN.
Allowed values:
0: Disabled: Disabled
1: Enabled: Enabled
UCPD configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC2TCDIS
rw |
CC1TCDIS
rw |
RDCH
rw |
FRSTX
rw |
FRSRXEN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCENABLE
rw |
ANAMODE
rw |
ANASUBMODE
rw |
PHYCCSEL
rw |
PHYRXEN
rw |
RXMODE
rw |
TXHRST
rw |
TXSEND
rw |
TXMODE
rw |
Bits 0-1: TXMODE.
Allowed values:
0: RegisterSet: Transmission of Tx packet previously defined in other registers
1: CableReset: Cable Reset sequence
2: BISTTest: BIST test sequence (BIST Carrier Mode 2)
Bit 2: TXSEND.
Allowed values:
0: NoEffect: No effect
1: Start: Start Tx packet transmission
Bit 3: TXHRST.
Allowed values:
0: NoEffect: No effect
1: Start: Start Tx Hard Reset message
Bit 4: RXMODE.
Allowed values:
0: Normal: Normal receive mode
1: BIST: BIST receive mode (BIST test data mode)
Bit 5: PHYRXEN.
Allowed values:
0: Disabled: USB Power Delivery receiver disabled
1: Enabled: USB Power Delivery receiver enabled
Bit 6: PHYCCSEL.
Allowed values:
0: CC1: Use CC1 IO for Power Delivery communication
1: CC2: Use CC2 IO for Power Delivery communication
Bits 7-8: ANASUBMODE.
Allowed values:
0: Disabled: Disabled
1: Rp_DefaultUSB: Default USB Rp
2: Rp_1_5A: 1.5A Rp
3: Rp_3A: 3A Rp
Bit 9: ANAMODE.
Allowed values:
0: Source: Source
1: Sink: Sink
Bits 10-11: CCENABLE.
Allowed values:
0: Disabled: Both PHYs disabled
1: CC1Enabled: CC1 PHY enabled
2: CC2Enabled: CC2 PHY enabled
3: BothEnabled: CC1 and CC2 PHYs enabled
Bit 16: FRSRXEN.
Allowed values:
0: Disabled: FRS Rx event detection disabled
1: Enabled: FRS Rx event detection enabled
Bit 17: FRSTX.
Allowed values:
0: NoEffect: No effect
1: Enabled: FRS Tx signaling enabled
Bit 18: RDCH.
Allowed values:
0: NoEffect: No effect
1: ConditionDrive: Rdch condition drive
Bit 20: CC1TCDIS.
Allowed values:
0: Enabled: Type-C detector on the CCx line enabled
1: Disabled: Type-C detector on the CCx line disabled
Bit 21: CC2TCDIS.
Allowed values:
0: Enabled: Type-C detector on the CCx line enabled
1: Disabled: Type-C detector on the CCx line disabled
UCPD Interrupt Mask Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRSEVTIE
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TYPECEVT2IE
rw |
TYPECEVT1IE
rw |
RXMSGENDIE
rw |
RXOVRIE
rw |
RXHRSTDETIE
rw |
RXORDDETIE
rw |
RXNEIE
rw |
TXUNDIE
rw |
HRSTSENTIE
rw |
HRSTDISCIE
rw |
TXMSGABTIE
rw |
TXMSGSENTIE
rw |
TXMSGDISCIE
rw |
TXISIE
rw |
Bit 0: TXISIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: TXMSGDISCIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: TXMSGSENTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: TXMSGABTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 4: HRSTDISCIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 5: HRSTSENTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 6: TXUNDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 8: RXNEIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 9: RXORDDETIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 10: RXHRSTDETIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 11: RXOVRIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 12: RXMSGENDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: TYPECEVT1IE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 15: TYPECEVT2IE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 20: FRSEVTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
UCPD Status Register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRSEVT
rw |
TYPEC_VSTATE_CC2
rw |
TYPEC_VSTATE_CC1
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TYPECEVT2
rw |
TYPECEVT1
rw |
RXERR
rw |
RXMSGEND
rw |
RXOVR
rw |
RXHRSTDET
rw |
RXORDDET
rw |
RXNE
rw |
TXUND
rw |
HRSTSENT
rw |
HRSTDISC
rw |
TXMSGABT
rw |
TXMSGSENT
rw |
TXMSGDISC
rw |
TXIS
rw |
Bit 0: TXIS.
Allowed values:
0: NotRequired: New Tx data write not required
1: Required: New Tx data write required
Bit 1: TXMSGDISC.
Allowed values:
0: NotDiscarded: No Tx message discarded
1: Discarded: Tx message discarded
Bit 2: TXMSGSENT.
Allowed values:
0: NotCompleted: No Tx message completed
1: Completed: Tx message completed
Bit 3: TXMSGABT.
Allowed values:
0: NoAbort: No transmit message abort
1: Abort: Transmit message abort
Bit 4: HRSTDISC.
Allowed values:
0: NotDiscarded: No Hard Reset discarded
1: Discarded: Hard Reset discarded
Bit 5: HRSTSENT.
Allowed values:
0: NotSent: No Hard Reset message sent
1: Sent: Hard Reset message sent
Bit 6: TXUND.
Allowed values:
0: NoUnderrun: No Tx data underrun detected
1: Underrun: Tx data underrun detected
Bit 8: RXNE.
Allowed values:
0: Empty: Rx data register empty
1: NotEmpty: Rx data register not empty
Bit 9: RXORDDET.
Allowed values:
0: NoOrderedSet: No ordered set detected
1: OrderedSet: Ordered set detected
Bit 10: RXHRSTDET.
Allowed values:
0: NoHardReset: Hard Reset not received
1: HardReset: Hard Reset received
Bit 11: RXOVR.
Allowed values:
0: NoOverflow: No overflow
1: Overflow: Overflow
Bit 12: RXMSGEND.
Allowed values:
0: NoNewMessage: No new Rx message received
1: NewMessage: A new Rx message received
Bit 13: RXERR.
Allowed values:
0: NoError: No error detected
1: Error: Error(s) detected
Bit 14: TYPECEVT1.
Allowed values:
0: NoNewEvent: No new event
1: NewEvent: A new Type-C event occurred
Bit 15: TYPECEVT2.
Allowed values:
0: NoNewEvent: No new event
1: NewEvent: A new Type-C event occurred
Bits 16-17: TYPEC_VSTATE_CC1.
Allowed values:
0: Lowest: Lowest
1: Low: Low
2: High: High
3: Highest: Highest
Bits 18-19: TYPEC_VSTATE_CC2.
Allowed values:
0: Lowest: Lowest
1: Low: Low
2: High: High
3: Highest: Highest
Bit 20: FRSEVT.
Allowed values:
0: NoNewEvent: No new event
1: NewEvent: New FRS receive event occurred
UCPD Interrupt Clear Register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRSEVTCF
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TYPECEVT2CF
rw |
TYPECEVT1CF
rw |
RXMSGENDCF
rw |
RXOVRCF
rw |
RXHRSTDETCF
rw |
RXORDDETCF
rw |
TXUNDCF
rw |
HRSTSENTCF
rw |
HRSTDISCCF
rw |
TXMSGABTCF
rw |
TXMSGSENTCF
rw |
TXMSGDISCCF
rw |
Bit 1: TXMSGDISCCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 2: TXMSGSENTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 3: TXMSGABTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 4: HRSTDISCCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 5: HRSTSENTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 6: TXUNDCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 9: RXORDDETCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 10: RXHRSTDETCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 11: RXOVRCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 12: RXMSGENDCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 14: TYPECEVT1CF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 15: TYPECEVT2CF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 20: FRSEVTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
UCPD Tx Ordered Set Type Register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
UCPD Tx Paysize Register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXPAYSZ
rw |
UCPD Tx Data Register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
UCPD Rx Ordered Set Register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXSOPKINVALID
r |
RXSOP3OF4
r |
RXORDSET
r |
Bits 0-2: RXORDSET.
Allowed values:
0: SOP: SOP code detected in receiver
1: SOPPrime: SOP' code detected in receiver
2: SOPDoublePrime: SOP'' code detected in receiver
3: SOPPrimeDebug: SOP'_Debug detected in receiver
4: SOPDoublePrimeDebug: SOP''_Debug detected in receiver
5: CableReset: Cable Reset detected in receiver
6: SOPExtension1: SOP extension #1 detected in receiver
7: SOPExtension2: SOP extension #2 detected in receiver
Bit 3: RXSOP3OF4.
Allowed values:
0: AllCorrect: 4 correct K-codes out of 4
1: OneIncorrect: 3 correct K-codes out of 4
Bits 4-6: RXSOPKINVALID.
Allowed values:
0: Valid: No K-code corrupted
1: FirstCorrupted: First K-code corrupted
2: SecondCorrupted: Second K-code corrupted
3: ThirdCorrupted: Third K-code corrupted
4: FourthCorrupted: Fourth K-code corrupted
UCPD Rx Paysize Register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXPAYSZ
r |
UCPD Rx Data Register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
UCPD Rx Ordered Set Extension Register 1
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
0x40013800: Universal synchronous asynchronous receiver transmitter
106/124 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT
rw |
DEDT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
Bits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
Bit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: M1.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD
rw |
RTOEN
rw |
ABRMOD
rw |
ABREN
rw |
MSBFIRST
rw |
DATAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BRR
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Bit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of block clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40004400: Universal synchronous asynchronous receiver transmitter
106/124 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT
rw |
DEDT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
Bits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
Bit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: M1.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD
rw |
RTOEN
rw |
ABRMOD
rw |
ABREN
rw |
MSBFIRST
rw |
DATAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BRR
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Bit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of block clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40004800: Universal synchronous asynchronous receiver transmitter
106/124 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT
rw |
DEDT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
Bits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
Bit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: M1.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD
rw |
RTOEN
rw |
ABRMOD
rw |
ABREN
rw |
MSBFIRST
rw |
DATAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BRR
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Bit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of block clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40005c00: USB_FS_device
5/123 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | EP0R | ||||||||||||||||||||||||||||||||
0x4 | EP1R | ||||||||||||||||||||||||||||||||
0x8 | EP2R | ||||||||||||||||||||||||||||||||
0xc | EP3R | ||||||||||||||||||||||||||||||||
0x10 | EP4R | ||||||||||||||||||||||||||||||||
0x14 | EP5R | ||||||||||||||||||||||||||||||||
0x18 | EP6R | ||||||||||||||||||||||||||||||||
0x1c | EP7R | ||||||||||||||||||||||||||||||||
0x40 | CNTR | ||||||||||||||||||||||||||||||||
0x44 | ISTR | ||||||||||||||||||||||||||||||||
0x48 | FNR | ||||||||||||||||||||||||||||||||
0x4c | DADDR | ||||||||||||||||||||||||||||||||
0x50 | BTABLE | ||||||||||||||||||||||||||||||||
0x58 | BCDR |
USB endpoint n register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB control register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/15 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTRM
rw |
PMAOVRM
rw |
ERRM
rw |
WKUPM
rw |
SUSPM
rw |
RESETM
rw |
SOFM
rw |
ESOFM
rw |
L1REQM
rw |
L1RESUME
rw |
RESUME
rw |
FSUSP
rw |
LP_MODE
rw |
PDWN
rw |
FRES
rw |
Bit 0: FRES.
Bit 1: PDWN.
Bit 2: LP_MODE.
Bit 3: FSUSP.
Bit 4: RESUME.
Bit 5: L1RESUME.
Bit 7: L1REQM.
Bit 8: ESOFM.
Bit 9: SOFM.
Bit 10: RESETM.
Bit 11: SUSPM.
Bit 12: WKUPM.
Bit 13: ERRM.
Bit 14: PMAOVRM.
Bit 15: CTRM.
USB interrupt status register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
USB frame number register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
USB device address
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Buffer table address
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BTABLE
rw |
Battery Charging Detector
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DPPU
rw |
PS2DET
rw |
SDET
rw |
PDET
rw |
DCDET
rw |
SDEN
rw |
PDEN
rw |
DCDEN
rw |
BCDEN
rw |
Bit 0: Battery charging detector mode enable.
Bit 1: Data contact detection mode enable.
Bit 2: Primary detection mode enable.
Bit 3: Secondary detection mode enable.
Bit 4: Data contact detection status.
Bit 5: Primary detection status.
Bit 6: Secondary detection status.
Bit 7: DM pull-up detection status.
Bit 15: DP pull-up control.
0x40010030: Voltage reference buffer
1/5 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x4 | CCR |
VREF_BUF Control and Status Register
Offset: 0x0, size: 32, reset: 0x00000002, access: Unspecified
1/4 fields covered.
VREF_BUF Calibration Control Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRIM
rw |
0x40002c00: System window watchdog
6/6 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | CFR | ||||||||||||||||||||||||||||||||
0x8 | SR |
Control register
Offset: 0x0, size: 32, reset: 0x0000007F, access: read-write
2/2 fields covered.
Configuration register
Offset: 0x4, size: 32, reset: 0x0000007F, access: read-write
3/3 fields covered.
Bits 0-6: 7-bit window value.
Allowed values: 0x0-0x7f
Bit 9: Early wakeup interrupt.
Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40
Bits 11-13: Timer base.
Allowed values:
0: Div1: Counter clock (PCLK1 div 4096) div 1
1: Div2: Counter clock (PCLK1 div 4096) div 2
2: Div4: Counter clock (PCLK1 div 4096) div 4
3: Div8: Counter clock (PCLK1 div 4096) div 8
4: Div16: Counter clock (PCLK1 div 4096) div 16
5: Div32: Counter clock (PCLK1 div 4096) div 32
6: Div64: Counter clock (PCLK1 div 4096) div 64
7: Div128: Counter clock (PCLK1 div 4096) div 128
Status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EWIF
rw |