Overall: 5582/7238 fields covered
ADC10x50000000: Analog-to-Digital Converter
187/197 fields covered.
Toggle register map Toggle registers ISRinterrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields ADRDYBit 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.
Toggle fields ADRDYIEBit 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.
Toggle fields ADENBit 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: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
19/19 fields covered.
Toggle fields DMAENBit 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
JDISCENBit 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.
Allowed values: 0x0-0x12
JQDISBit 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.
Toggle fields ROVSEBit 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.
Toggle fields SMP[0]Bits 0-2: Channel 0 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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: KeepCycles: The sampling time remains set to 2.5 ADC clock cycles remains
1: Add1Cycle: 2.5 ADC clock cycle sampling time becomes 3.5 ADC clock cycles for the ADC_SMPR1 and ADC_SMPR2 registers
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample 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 11 sample 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 12 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HT1Bits 0-11: Analog watchdog 1 lower threshold.
Allowed values: 0x0-0xfff
AWDFILTBits 12-14: Analog watchdog filtering parameter.
HT1Bits 16-27: Analog watchdog 1 higher threshold.
Allowed values: 0x0-0xfff
TR2watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HT2Bits 0-7: Analog watchdog 2 lower threshold.
Allowed values: 0x0-0xff
HT2Bits 16-23: Analog watchdog 2 higher threshold.
Allowed values: 0x0-0xff
TR3watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HT3Bits 0-7: Analog watchdog 3 lower threshold.
Allowed values: 0x0-0xff
HT3Bits 16-23: Analog watchdog 3 higher threshold.
Allowed values: 0x0-0xff
SQR1regular 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 SQ[4]Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
SQ[1]Bits 6-10: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[2]Bits 12-16: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[3]Bits 18-22: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[4]Bits 24-28: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR2regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[5]Bits 0-4: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[6]Bits 6-10: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[7]Bits 12-16: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[8]Bits 18-22: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[9]Bits 24-28: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR3regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[10]Bits 0-4: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[11]Bits 6-10: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[12]Bits 12-16: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[13]Bits 18-22: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[14]Bits 24-28: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR4regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields SQ[15]Bits 0-4: 15 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[16]Bits 6-10: 16 conversion in regular sequence.
Allowed values: 0x0-0x12
DRregular 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 RDATABits 0-15: Regular Data converted.
JSQRinjected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields JLBits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
JEXTSELBits 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: 1 conversion in injected sequence.
Allowed values: 0x0-0x13
JSQ[2]Bits 15-19: 2 conversion in injected sequence.
Allowed values: 0x0-0x13
JSQ[3]Bits 21-25: 3 conversion in injected sequence.
Allowed values: 0x0-0x13
JSQ[4]Bits 27-31: 4 conversion in injected sequence.
Allowed values: 0x0-0x13
OFR[1]offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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 JDATABits 0-15: Injected data.
JDR[2]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 JDATABits 0-15: Injected data.
JDR[3]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 JDATABits 0-15: Injected data.
JDR[4]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 JDATABits 0-15: Injected data.
AWD2CRAnalog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields AWD2CH[0]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.
Toggle fields AWD3CH[0]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.
Toggle fields DIFSEL[0]Bit 0: Differential mode for channel 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 channel 1.
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 channel 2.
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 channel 3.
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 channel 4.
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 channel 5.
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 channel 6.
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 channel 7.
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 channel 8.
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 channel 9.
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 channel 10.
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 channel 11.
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 channel 12.
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 channel 13.
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 channel 14.
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 channel 15.
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 channel 16.
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 channel 17.
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 channel 18.
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CALFACT_DBits 0-6: Calibration Factors In single-ended mode.
Allowed values: 0x0-0x7f
CALFACT_DBits 16-22: Calibration Factors in differential mode.
Allowed values: 0x0-0x7f
GCOMPGain 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 GCOMPCOEFFBits 0-13: Gain compensation coefficient.
ADC12_Common0x50000300: Analog-to-Digital Converter
30/33 fields covered.
Toggle register map Toggle registers CSRADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
Toggle fields ADDRDY_MSTBit 0: ADDRDY_MST.
EOSMP_MSTBit 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.
Toggle fields DUALBits 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
DMACFGBit 13: DMA configuration (for multi-ADC mode).
MDMABits 14-15: Direct memory access mode for multi ADC mode.
CKMODEBits 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.
VREFENBit 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
ADC common regular data register for dual and triple modes
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RDATA_SLVBits 0-15: Regular data of the master ADC.
RDATA_SLVBits 16-31: Regular data of the slave ADC.
ADC20x50000100: Analog-to-Digital Converter
187/197 fields covered.
Toggle register map Toggle registers ISRinterrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields ADRDYBit 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.
Toggle fields ADRDYIEBit 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.
Toggle fields ADENBit 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: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
19/19 fields covered.
Toggle fields DMAENBit 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
JDISCENBit 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.
Allowed values: 0x0-0x12
JQDISBit 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.
Toggle fields ROVSEBit 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.
Toggle fields SMP[0]Bits 0-2: Channel 0 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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: KeepCycles: The sampling time remains set to 2.5 ADC clock cycles remains
1: Add1Cycle: 2.5 ADC clock cycle sampling time becomes 3.5 ADC clock cycles for the ADC_SMPR1 and ADC_SMPR2 registers
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
Toggle fields SMP[10]Bits 0-2: Channel 10 sample 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 11 sample 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 12 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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 sample 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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HT1Bits 0-11: Analog watchdog 1 lower threshold.
Allowed values: 0x0-0xfff
AWDFILTBits 12-14: Analog watchdog filtering parameter.
HT1Bits 16-27: Analog watchdog 1 higher threshold.
Allowed values: 0x0-0xfff
TR2watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HT2Bits 0-7: Analog watchdog 2 lower threshold.
Allowed values: 0x0-0xff
HT2Bits 16-23: Analog watchdog 2 higher threshold.
Allowed values: 0x0-0xff
TR3watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HT3Bits 0-7: Analog watchdog 3 lower threshold.
Allowed values: 0x0-0xff
HT3Bits 16-23: Analog watchdog 3 higher threshold.
Allowed values: 0x0-0xff
SQR1regular 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 SQ[4]Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
SQ[1]Bits 6-10: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[2]Bits 12-16: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[3]Bits 18-22: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[4]Bits 24-28: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR2regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[5]Bits 0-4: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[6]Bits 6-10: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[7]Bits 12-16: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[8]Bits 18-22: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[9]Bits 24-28: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR3regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields SQ[10]Bits 0-4: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[11]Bits 6-10: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[12]Bits 12-16: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[13]Bits 18-22: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[14]Bits 24-28: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
SQR4regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields SQ[15]Bits 0-4: 15 conversion in regular sequence.
Allowed values: 0x0-0x12
SQ[16]Bits 6-10: 16 conversion in regular sequence.
Allowed values: 0x0-0x12
DRregular 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 RDATABits 0-15: Regular Data converted.
JSQRinjected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields JLBits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
JEXTSELBits 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: 1 conversion in injected sequence.
Allowed values: 0x0-0x13
JSQ[2]Bits 15-19: 2 conversion in injected sequence.
Allowed values: 0x0-0x13
JSQ[3]Bits 21-25: 3 conversion in injected sequence.
Allowed values: 0x0-0x13
JSQ[4]Bits 27-31: 4 conversion in injected sequence.
Allowed values: 0x0-0x13
OFR[1]offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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.
Toggle fields OFFSETBits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
OFFSETPOSBit 24: Positive offset.
SATENBit 25: Saturation enable.
OFFSET_CHBits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
OFFSET_ENBit 31: Offset X 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 JDATABits 0-15: Injected data.
JDR[2]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 JDATABits 0-15: Injected data.
JDR[3]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 JDATABits 0-15: Injected data.
JDR[4]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 JDATABits 0-15: Injected data.
AWD2CRAnalog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
Toggle fields AWD2CH[0]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.
Toggle fields AWD3CH[0]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.
Toggle fields DIFSEL[0]Bit 0: Differential mode for channel 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 channel 1.
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 channel 2.
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 channel 3.
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 channel 4.
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 channel 5.
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 channel 6.
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 channel 7.
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 channel 8.
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 channel 9.
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 channel 10.
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 channel 11.
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 channel 12.
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 channel 13.
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 channel 14.
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 channel 15.
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 channel 16.
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 channel 17.
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 channel 18.
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CALFACT_DBits 0-6: Calibration Factors In single-ended mode.
Allowed values: 0x0-0x7f
CALFACT_DBits 16-22: Calibration Factors in differential mode.
Allowed values: 0x0-0x7f
GCOMPGain 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 GCOMPCOEFFBits 0-13: Gain compensation coefficient.
ADC345_Common0x50000700: Analog-to-Digital Converter
30/33 fields covered.
Toggle register map Toggle registers CSRADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
Toggle fields ADDRDY_MSTBit 0: ADDRDY_MST.
EOSMP_MSTBit 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.
Toggle fields DUALBits 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
DMACFGBit 13: DMA configuration (for multi-ADC mode).
MDMABits 14-15: Direct memory access mode for multi ADC mode.
CKMODEBits 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.
VREFENBit 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
ADC common regular data register for dual and triple modes
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RDATA_SLVBits 0-15: Regular data of the master ADC.
RDATA_SLVBits 16-31: Regular data of the slave ADC.
AES0x50060000: Advanced encryption standard hardware accelerator
40/40 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields ENBit 0: AES enable.
Allowed values:
0: Disabled: Disable AES
1: Enabled: Enable AES
Bits 1-2: Data type selection (for data in and data out to/from the cryptographic block).
Allowed values:
0: None: Word
1: HalfWord: Half-word (16-bit)
2: Byte: Byte (8-bit)
3: Bit: Bit
Bits 3-4: AES operating mode.
Allowed values:
0: Mode1: Mode 1: encryption
1: Mode2: Mode 2: key derivation (or key preparation for ECB/CBC decryption)
2: Mode3: Mode 3: decryption
3: Mode4: Mode 4: key derivation then single decryption
Bits 5-6: AES chaining mode.
Allowed values:
0: ECB: Electronic codebook (ECB) / Counter with CBC-MAC (CCM) if CHMOD2 is 1
1: CBC: Cipher-block chaining (CBC)
2: CTR: Counter mode (CTR)
3: GCM: Galois counter mode (GCM) and Galois message authentication code (GMAC)
Bit 7: Computation Complete Flag Clear.
Allowed values:
1: Clear: Clear computation complete flag
Bit 8: Error clear.
Allowed values:
1: Clear: Clear RDERR and WRERR flags
Bit 9: CCF flag interrupt enable.
Allowed values:
0: Disabled: Disable (mask) CCF interrupt
1: Enabled: Enable CCF interrupt
Bit 10: Error interrupt enable.
Allowed values:
0: Disabled: Disable (mask) error interrupt
1: Enabled: Enable error interrupt
Bit 11: Enable DMA management of data input phase.
Allowed values:
0: Disabled: Disable DMA Input
1: Enabled: Enable DMA Input
Bit 12: Enable DMA management of data output phase.
Allowed values:
0: Disabled: Disable DMA Output
1: Enabled: Enabled DMA Output
Bits 13-14: GCMPH.
Allowed values:
0: Init: Init phase
1: Header: Header phase
2: Payload: Payload phase
3: Final: Final Phase
Bit 16: CHMOD_2.
Allowed values:
0: CHMOD: Mode as per CHMOD (ECB, CBC, CTR, GCM)
1: CCM: Counter with CBC-MAC (CCM) - CHMOD must be 0 (ECB)
Bit 18: KEYSIZE.
Allowed values:
0: AES128: 128
1: AES256: 256
Bits 20-23: NPBLB.
Allowed values: 0x0-0xf
SRstatus register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields CCFBit 0: Computation complete flag.
Allowed values:
0: Complete: Computation complete
1: NotComplete: Computation not complete
Bit 1: Read error flag.
Allowed values:
0: NoError: Read error not detected
1: Error: Read error detected
Bit 2: Write error flag.
Allowed values:
0: NoError: Write error not detected
1: Error: Write error detected
Bit 3: BUSY.
Allowed values:
0: Idle: Idle
1: Busy: Busy
data input register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DINBits 0-31: Data Input Register.
Allowed values: 0x0-0xffffffff
DOUTRdata output register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DOUTBits 0-31: Data output register.
Allowed values: 0x0-0xffffffff
KEYR0key register 0
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: Data Output Register (LSB key [31:0]).
Allowed values: 0x0-0xffffffff
KEYR1key register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key register (key [63:32]).
Allowed values: 0x0-0xffffffff
KEYR2key register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key register (key [95:64]).
Allowed values: 0x0-0xffffffff
KEYR3key register 3
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key register (MSB key [127:96]).
Allowed values: 0x0-0xffffffff
IVR0initialization vector register 0
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVIBits 0-31: initialization vector register (LSB IVR [31:0]).
Allowed values: 0x0-0xffffffff
IVR1initialization vector register 1
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVIBits 0-31: Initialization Vector Register (IVR [63:32]).
Allowed values: 0x0-0xffffffff
IVR2initialization vector register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVIBits 0-31: Initialization Vector Register (IVR [95:64]).
Allowed values: 0x0-0xffffffff
IVR3initialization vector register 3
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IVIBits 0-31: Initialization Vector Register (MSB IVR [127:96]).
Allowed values: 0x0-0xffffffff
KEYR4key register 4
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key.
Allowed values: 0x0-0xffffffff
KEYR5key register 5
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key.
Allowed values: 0x0-0xffffffff
KEYR6key register 6
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key.
Allowed values: 0x0-0xffffffff
KEYR7key register 7
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYBits 0-31: AES key.
Allowed values: 0x0-0xffffffff
SUSP0Rsuspend registers
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP1Rsuspend registers
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP2Rsuspend registers
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP3Rsuspend registers
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP4Rsuspend registers
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP5Rsuspend registers
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP6Rsuspend registers
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
SUSP7Rsuspend registers
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 SUSPBits 0-31: AES suspend.
Allowed values: 0x0-0xffffffff
COMP0x40010200: Comparator control and status register
7/70 fields covered.
Toggle register map Toggle registers C[1]CSRComparator control/status register
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
C[2]CSRComparator control/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
C[3]CSRComparator control/status register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
C[4]CSRComparator control/status register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
C[5]CSRComparator control/status register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
C[6]CSRComparator control/status register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
C[7]CSRComparator control/status register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Toggle fields ENBit 0: EN.
INMSELBits 4-6: INMSEL.
INPSELBit 8: INPSEL.
POLBit 15: POL.
HYSTBits 16-18: HYST.
BLANKSELBits 19-21: BLANKSEL.
BRGENBit 22: BRGEN.
SCALENBit 23: SCALEN.
VALUEBit 30: VALUE.
LOCKBit 31: LOCK.
CORDIC0x40020c00: CORDIC Co-processor
13/13 fields covered.
Toggle register map Toggle registers CSRCORDIC Control Status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields FUNCBits 0-3: FUNC.
Allowed values:
0: Cosine: Cosine function
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:
1: Iters4: 4 iterations
2: Iters8: 8 iterations
3: Iters12: 12 iterations
4: Iters16: 16 iterations
5: Iters20: 20 iterations
6: Iters24: 24 iterations
7: Iters28: 28 iterations
8: Iters32: 32 iterations
9: Iters36: 36 iterations
10: Iters40: 40 iterations
11: Iters44: 44 iterations
12: Iters48: 48 iterations
13: Iters52: 52 iterations
14: Iters56: 56 iterations
15: Iters60: 60 iterations
Bits 8-10: Scaling factor (2^-n for arguments, 2^n for results).
Allowed values: 0x0-0x7
IENBit 16: IEN.
Allowed values:
0: Disabled: Disable interrupt request generation
1: Enabled: Enable interrupt 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
CORDIC argument register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARGBits 0-31: ARG.
Allowed values: 0x0-0xffffffff
RDATACORDIC result register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESBits 0-31: RES.
Allowed values: 0x0-0xffffffff
CRC0x40023000: Cyclic redundancy check calculation unit
10/10 fields covered.
Toggle register map Toggle registers DRData register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DRBits 0-31: Data register bits.
Allowed values: 0x0-0xffffffff
DR16Data register - half-word sized
Offset: 0x0, size: 16, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR16Bits 0-15: Data register bits.
Allowed values: 0x0-0xffff
DR8Data register - byte sized
Offset: 0x0, size: 8, reset: 0x000000FF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR8Bits 0-7: Data register bits.
Allowed values: 0x0-0xff
IDRIndependent data register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 IDRBits 0-31: General-purpose 8-bit data register bits.
Allowed values: 0x0-0xffffffff
CRControl register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields RESETBit 0: RESET bit.
Allowed values:
1: Reset: Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF
Bits 3-4: Polynomial size.
Allowed values:
0: Polysize32: 32-bit polynomial
1: Polysize16: 16-bit polynomial
2: Polysize8: 8-bit polynomial
3: Polysize7: 7-bit polynomial
Bits 5-6: Reverse input data.
Allowed values:
0: Normal: Bit order not affected
1: Byte: Bit reversal done by byte
2: HalfWord: Bit reversal done by half-word
3: Word: Bit reversal done by word
Bit 7: Reverse output data.
Allowed values:
0: Normal: Bit order not affected
1: Reversed: Bit reversed output
Initial CRC value
Offset: 0x10, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 INITBits 0-31: Programmable initial CRC value.
Allowed values: 0x0-0xffffffff
POLpolynomial
Offset: 0x14, size: 32, reset: 0x04C11DB7, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 POLBits 0-31: Programmable polynomial.
Allowed values: 0x0-0xffffffff
CRS0x40002000: CRS
26/26 fields covered.
Toggle register map Toggle registers CRCRS control register
Offset: 0x0, size: 32, reset: 0x00004000, access: Unspecified
8/8 fields covered.
Toggle fields SYNCOKIEBit 0: SYNC event OK interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: SYNC warning interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: Synchronization or trimming error interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: Expected SYNC interrupt enable.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
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..
Allowed values:
0: Disabled: Frequency error counter disabled
1: Enabled: Frequency error counter enabled
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..
Allowed values:
0: Disabled: Automatic trimming disabled
1: Enabled: Automatic trimming enabled
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..
Allowed values:
1: Sync: A software sync is generated
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..
Allowed values: 0x0-0x3f
CFGRThis 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
5/5 fields covered.
Toggle fields RELOADBits 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..
Allowed values: 0x0-0xffff
FELIMBits 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..
Allowed values: 0x0-0xff
SYNCDIVBits 24-26: SYNC divider These bits are set and cleared by software to control the division factor of the SYNC signal..
Allowed values:
0: Div1: SYNC not divided
1: Div2: SYNC divided by 2
2: Div4: SYNC divided by 4
3: Div8: SYNC divided by 8
4: Div16: SYNC divided by 16
5: Div32: SYNC divided by 32
6: Div64: SYNC divided by 64
7: Div128: SYNC divided by 128
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..
Allowed values:
0: GPIO_AF: GPIO AF (crs_sync_in_1) selected as SYNC signal source
1: LSE: LSE (crs_sync_in_2) selected as SYNC signal source
2: USB_SOF: USB SOF (crs_sync_in_3) selected as SYNC signal source
Bit 31: SYNC polarity selection This bit is set and cleared by software to select the input polarity for the SYNC signal source..
Allowed values:
0: RisingEdge: SYNC active on rising edge
1: FallingEdge: SYNC active on falling edge
CRS interrupt and status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
9/9 fields covered.
Toggle fields SYNCOKFBit 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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set
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..
Allowed values:
0: UpCounting: Error in up-counting direction
1: DownCounting: Error in down-counting direction
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..
Allowed values: 0x0-0xffff
ICRCRS interrupt flag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields SYNCOKCBit 0: SYNC event OK clear flag Writing 1 to this bit clears the SYNCOKF flag in the CRS_ISR register..
Allowed values:
1: Clear: Clear flag
Bit 1: SYNC warning clear flag Writing 1 to this bit clears the SYNCWARNF flag in the CRS_ISR register..
Allowed values:
1: Clear: Clear flag
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..
Allowed values:
1: Clear: Clear flag
Bit 3: Expected SYNC clear flag Writing 1 to this bit clears the ESYNCF flag in the CRS_ISR register..
Allowed values:
1: Clear: Clear flag
0x50000800: Digital-to-analog converter
77/77 fields covered.
Toggle register map Toggle registers CRDAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields EN[1]Bit 0: DAC channel1 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 6-7: DAC channel1 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 14: DAC channel1 calibration enable.
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 22-23: DAC channel2 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 30: DAC channel2 calibration enable.
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
4/4 fields covered.
Toggle fields SWTRIG[1]Bit 0: DAC channel1 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
Bit 17: DAC channel2 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
channel1 12-bit right-aligned data holding register
Offset: 0x8, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[1]channel1 12-bit left aligned data holding register
Offset: 0xc, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[1]channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12R[2]channel2 12-bit right-aligned data holding register
Offset: 0x14, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[2]channel2 12-bit left aligned data holding register
Offset: 0x18, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[2]channel2 8-bit right aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12RDDual 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 DACC[2]DHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 16-27: DAC channel2 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12LDDUAL 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 DACC[2]DHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 20-31: DAC channel2 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8RDDUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACC[1]DHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DACC[2]DHRBits 8-15: DAC channel2 8-bit right-aligned data.
Allowed values: 0x0-0xff
DOR[1]channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
DOR[2]channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
SRDAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
10/10 fields covered.
Toggle fields DAC[1]RDYBit 11: DAC channel1 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 12: DAC channel1 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 13: DAC channel1 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel1 calibration offset status.
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 channel1 busy writing sample time flag.
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 channel2 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 28: DAC channel2 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 29: DAC channel2 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel2 calibration offset status.
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 channel2 busy writing sample time flag.
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OTRIM[2]Bits 0-4: DAC channel1 offset trimming value.
Allowed values: 0x0-0x1f
OTRIM[2]Bits 16-20: DAC channel2 offset trimming value.
Allowed values: 0x0-0x1f
MCRDAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields MODE[1]Bits 0-2: DAC channel1 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 9: Enable signed format for DAC channel1.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
Bits 14-15: High frequency interface mode selection.
Allowed values:
0: Disabled: High frequency interface mode disabled
1: More80Mhz: High frequency interface mode enabled for AHB clock frequency > 80 MHz
2: More160Mhz: High frequency interface mode enabled for AHB clock frequency >160 MHz
Bits 16-18: DAC channel2 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 25: Enable signed format for DAC channel2.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
DAC channel1 sample and hold sample time register
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 TSAMPLEBits 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
SHSR[2]DAC channel2 sample and hold sample time register
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 TSAMPLEBits 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
SHHRDAC Sample and Hold hold time register
Offset: 0x48, 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 THOLD[2]Bits 0-9: DAC channel1 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
THOLD[2]Bits 16-25: DAC channel2 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
SHRRDAC 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 TREFRESH[2]Bits 0-7: DAC channel1 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
TREFRESH[2]Bits 16-23: DAC channel2 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
STR[1]Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STR[2]Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STMODRSawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields STRSTTRIGSEL[1]Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
0x50000c00: Digital-to-analog converter
77/77 fields covered.
Toggle register map Toggle registers CRDAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields EN[1]Bit 0: DAC channel1 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 6-7: DAC channel1 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 14: DAC channel1 calibration enable.
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 22-23: DAC channel2 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 30: DAC channel2 calibration enable.
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
4/4 fields covered.
Toggle fields SWTRIG[1]Bit 0: DAC channel1 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
Bit 17: DAC channel2 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
channel1 12-bit right-aligned data holding register
Offset: 0x8, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[1]channel1 12-bit left aligned data holding register
Offset: 0xc, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[1]channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12R[2]channel2 12-bit right-aligned data holding register
Offset: 0x14, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[2]channel2 12-bit left aligned data holding register
Offset: 0x18, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[2]channel2 8-bit right aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12RDDual 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 DACC[2]DHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 16-27: DAC channel2 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12LDDUAL 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 DACC[2]DHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 20-31: DAC channel2 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8RDDUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACC[1]DHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DACC[2]DHRBits 8-15: DAC channel2 8-bit right-aligned data.
Allowed values: 0x0-0xff
DOR[1]channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
DOR[2]channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
SRDAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
10/10 fields covered.
Toggle fields DAC[1]RDYBit 11: DAC channel1 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 12: DAC channel1 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 13: DAC channel1 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel1 calibration offset status.
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 channel1 busy writing sample time flag.
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 channel2 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 28: DAC channel2 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 29: DAC channel2 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel2 calibration offset status.
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 channel2 busy writing sample time flag.
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OTRIM[2]Bits 0-4: DAC channel1 offset trimming value.
Allowed values: 0x0-0x1f
OTRIM[2]Bits 16-20: DAC channel2 offset trimming value.
Allowed values: 0x0-0x1f
MCRDAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields MODE[1]Bits 0-2: DAC channel1 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 9: Enable signed format for DAC channel1.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
Bits 14-15: High frequency interface mode selection.
Allowed values:
0: Disabled: High frequency interface mode disabled
1: More80Mhz: High frequency interface mode enabled for AHB clock frequency > 80 MHz
2: More160Mhz: High frequency interface mode enabled for AHB clock frequency >160 MHz
Bits 16-18: DAC channel2 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 25: Enable signed format for DAC channel2.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
DAC channel1 sample and hold sample time register
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 TSAMPLEBits 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
SHSR[2]DAC channel2 sample and hold sample time register
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 TSAMPLEBits 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
SHHRDAC Sample and Hold hold time register
Offset: 0x48, 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 THOLD[2]Bits 0-9: DAC channel1 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
THOLD[2]Bits 16-25: DAC channel2 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
SHRRDAC 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 TREFRESH[2]Bits 0-7: DAC channel1 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
TREFRESH[2]Bits 16-23: DAC channel2 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
STR[1]Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STR[2]Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STMODRSawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields STRSTTRIGSEL[1]Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
0x50001000: Digital-to-analog converter
77/77 fields covered.
Toggle register map Toggle registers CRDAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields EN[1]Bit 0: DAC channel1 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 6-7: DAC channel1 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 14: DAC channel1 calibration enable.
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 22-23: DAC channel2 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 30: DAC channel2 calibration enable.
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
4/4 fields covered.
Toggle fields SWTRIG[1]Bit 0: DAC channel1 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
Bit 17: DAC channel2 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
channel1 12-bit right-aligned data holding register
Offset: 0x8, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[1]channel1 12-bit left aligned data holding register
Offset: 0xc, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[1]channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12R[2]channel2 12-bit right-aligned data holding register
Offset: 0x14, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[2]channel2 12-bit left aligned data holding register
Offset: 0x18, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[2]channel2 8-bit right aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12RDDual 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 DACC[2]DHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 16-27: DAC channel2 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12LDDUAL 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 DACC[2]DHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 20-31: DAC channel2 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8RDDUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACC[1]DHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DACC[2]DHRBits 8-15: DAC channel2 8-bit right-aligned data.
Allowed values: 0x0-0xff
DOR[1]channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
DOR[2]channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
SRDAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
10/10 fields covered.
Toggle fields DAC[1]RDYBit 11: DAC channel1 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 12: DAC channel1 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 13: DAC channel1 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel1 calibration offset status.
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 channel1 busy writing sample time flag.
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 channel2 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 28: DAC channel2 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 29: DAC channel2 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel2 calibration offset status.
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 channel2 busy writing sample time flag.
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OTRIM[2]Bits 0-4: DAC channel1 offset trimming value.
Allowed values: 0x0-0x1f
OTRIM[2]Bits 16-20: DAC channel2 offset trimming value.
Allowed values: 0x0-0x1f
MCRDAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields MODE[1]Bits 0-2: DAC channel1 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 9: Enable signed format for DAC channel1.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
Bits 14-15: High frequency interface mode selection.
Allowed values:
0: Disabled: High frequency interface mode disabled
1: More80Mhz: High frequency interface mode enabled for AHB clock frequency > 80 MHz
2: More160Mhz: High frequency interface mode enabled for AHB clock frequency >160 MHz
Bits 16-18: DAC channel2 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 25: Enable signed format for DAC channel2.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
DAC channel1 sample and hold sample time register
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 TSAMPLEBits 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
SHSR[2]DAC channel2 sample and hold sample time register
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 TSAMPLEBits 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
SHHRDAC Sample and Hold hold time register
Offset: 0x48, 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 THOLD[2]Bits 0-9: DAC channel1 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
THOLD[2]Bits 16-25: DAC channel2 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
SHRRDAC 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 TREFRESH[2]Bits 0-7: DAC channel1 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
TREFRESH[2]Bits 16-23: DAC channel2 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
STR[1]Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STR[2]Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STMODRSawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields STRSTTRIGSEL[1]Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
0x50001400: Digital-to-analog converter
77/77 fields covered.
Toggle register map Toggle registers CRDAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields EN[1]Bit 0: DAC channel1 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 6-7: DAC channel1 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 14: DAC channel1 calibration enable.
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable.
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: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 22-23: DAC channel2 noise/triangle wave generation enable.
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.
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.
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.
Allowed values:
0: Disabled: DAC channel X DMA Underrun Interrupt disabled
1: Enabled: DAC channel X DMA Underrun Interrupt enabled
Bit 30: DAC channel2 calibration enable.
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
4/4 fields covered.
Toggle fields SWTRIG[1]Bit 0: DAC channel1 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
Bit 17: DAC channel2 software trigger B.
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger for sawtooth increment
channel1 12-bit right-aligned data holding register
Offset: 0x8, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[1]channel1 12-bit left aligned data holding register
Offset: 0xc, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[1]channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12R[2]channel2 12-bit right-aligned data holding register
Offset: 0x14, 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 DACC1DHRBBits 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
DACC1DHRBBits 16-27: DAC channel1 12-bit right-aligned data B.
Allowed values: 0x0-0xfff
DHR12L[2]channel2 12-bit left aligned data holding register
Offset: 0x18, 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 DACC1DHRBBits 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
DACC1DHRBBits 20-31: DAC channel1 12-bit left-aligned data B.
Allowed values: 0x0-0xfff
DHR8R[2]channel2 8-bit right aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACCDHRBits 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
DACC1DHRBBits 8-15: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DHR12RDDual 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 DACC[2]DHRBits 0-11: DAC channel1 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 16-27: DAC channel2 12-bit right-aligned data.
Allowed values: 0x0-0xfff
DHR12LDDUAL 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 DACC[2]DHRBits 4-15: DAC channel1 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DACC[2]DHRBits 20-31: DAC channel2 12-bit left-aligned data.
Allowed values: 0x0-0xfff
DHR8RDDUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Toggle fields DACC[1]DHRBits 0-7: DAC channel1 8-bit right-aligned data.
Allowed values: 0x0-0xff
DACC[2]DHRBits 8-15: DAC channel2 8-bit right-aligned data.
Allowed values: 0x0-0xff
DOR[1]channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
DOR[2]channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DACC1DORBBits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..
Allowed values: 0x0-0xfff
DACC1DORBBits 16-27: DAC channel1 data output.
Allowed values: 0x0-0xfff
SRDAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
10/10 fields covered.
Toggle fields DAC[1]RDYBit 11: DAC channel1 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 12: DAC channel1 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 13: DAC channel1 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel1 calibration offset status.
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 channel1 busy writing sample time flag.
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 channel2 ready status bit.
Allowed values:
0: NotReady: DAC channelX is not yet ready to accept the trigger nor output data
1: Ready: DAC channelX is ready to accept the trigger or output data
Bit 28: DAC channel2 output register status bit.
Allowed values:
0: Dor: DOR[11:0] is used actual DAC output
1: Dorb: DORB[11:0] is used actual DAC output
Bit 29: DAC channel2 DMA underrun flag.
Allowed values:
0: NoUnderrun: No DMA underrun error condition occurred for DAC channel x
1: Underrun: 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 channel2 calibration offset status.
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 channel2 busy writing sample time flag.
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OTRIM[2]Bits 0-4: DAC channel1 offset trimming value.
Allowed values: 0x0-0x1f
OTRIM[2]Bits 16-20: DAC channel2 offset trimming value.
Allowed values: 0x0-0x1f
MCRDAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields MODE[1]Bits 0-2: DAC channel1 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 9: Enable signed format for DAC channel1.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
Bits 14-15: High frequency interface mode selection.
Allowed values:
0: Disabled: High frequency interface mode disabled
1: More80Mhz: High frequency interface mode enabled for AHB clock frequency > 80 MHz
2: More160Mhz: High frequency interface mode enabled for AHB clock frequency >160 MHz
Bits 16-18: DAC channel2 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.
Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected
Bit 25: Enable signed format for DAC channel2.
Allowed values:
0: Unsigned: Input data is in unsigned format
1: Signed: Input data is in signed format (2's complement). The MSB bit represents the sign.
DAC channel1 sample and hold sample time register
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 TSAMPLEBits 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
SHSR[2]DAC channel2 sample and hold sample time register
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 TSAMPLEBits 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
SHHRDAC Sample and Hold hold time register
Offset: 0x48, 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 THOLD[2]Bits 0-9: DAC channel1 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
THOLD[2]Bits 16-25: DAC channel2 hold time (only valid in Sample and hold mode).
Allowed values: 0x0-0x3ff
SHRRDAC 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 TREFRESH[2]Bits 0-7: DAC channel1 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
TREFRESH[2]Bits 16-23: DAC channel2 refresh time (only valid in Sample and hold mode).
Allowed values: 0x0-0xff
STR[1]Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STR[2]Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 STINCDATABits 0-11: DAC Channel 1 Sawtooth reset value.
Allowed values: 0x0-0xfff
STDIRBit 12: DAC Channel1 Sawtooth direction setting.
Allowed values:
0: Decrement: Decrement
1: Increment: Increment
Bits 16-31: DAC CH1 Sawtooth increment value (12.4 bit format).
Allowed values: 0x0-0xffff
STMODRSawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields STRSTTRIGSEL[1]Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Allowed values:
0: Swtrig: Software trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti9: EXTI line 9
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacReset1: hrtim_dac_reset_trg1
10: HrtimDacReset2: hrtim_dac_reset_trg2
11: HrtimDacReset3: hrtim_dac_reset_trg3
12: HrtimDacReset4: hrtim_dac_reset_trg4
13: HrtimDacReset5: hrtim_dac_reset_trg5
14: HrtimDacReset6: hrtim_dac_reset_trg6
15: HrtimDacX: hrtim_dac_trg1 (DAC1
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
Allowed values:
0: Swtrig: Software sawtooth increment trigger
1: Tim1or8Trgo: Timer 8 (DAC1
2: Tim7Trgo: Timer 7 TRGO event
3: Tim15Trgo: Timer 15 TRGO event
4: Tim2Trgo: Timer 2 TRGO event
5: Tim4Trgo: Timer 4 TRGO event
6: Exti10: EXTI line 10
7: Tim6Trgo: Timer 6 TRGO event
8: Tim3Trgo: Timer 3 TRGO event
9: HrtimDacStep1: hrtim_dac_step_trg1
10: HrtimDacStep2: hrtim_dac_step_trg2
11: HrtimDacStep3: hrtim_dac_step_trg3
12: HrtimDacStep4: hrtim_dac_step_trg4
13: HrtimDacStep5: hrtim_dac_step_trg5
14: HrtimDacStep6: hrtim_dac_step_trg6
0xe0042000: Debug support
2/31 fields covered.
Toggle register map Toggle registers IDCODEMCU Device ID Code Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 REV_IDBits 0-15: Device Identifier.
REV_IDBits 16-31: Revision Identifier.
CRDebug MCU Configuration Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields DBG_SLEEPBit 0: Debug Sleep Mode.
DBG_STOPBit 1: Debug Stop Mode.
DBG_STANDBYBit 2: Debug Standby Mode.
TRACE_IOENBit 5: Trace pin assignment control.
TRACE_MODEBits 6-7: Trace pin assignment control.
APB1L_FZAPB Low Freeze Register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
Toggle fields DBG_TIMER2_STOPBit 0: Debug Timer 2 stopped when Core is halted.
DBG_TIM3_STOPBit 1: TIM3 counter stopped when core is halted.
DBG_TIM4_STOPBit 2: TIM4 counter stopped when core is halted.
DBG_TIM5_STOPBit 3: TIM5 counter stopped when core is halted.
DBG_TIMER6_STOPBit 4: Debug Timer 6 stopped when Core is halted.
DBG_TIM7_STOPBit 5: TIM7 counter stopped when core is halted.
DBG_RTC_STOPBit 10: Debug RTC stopped when Core is halted.
DBG_WWDG_STOPBit 11: Debug Window Wachdog stopped when Core is halted.
DBG_IWDG_STOPBit 12: Debug Independent Wachdog stopped when Core is halted.
DBG_I2C1_STOPBit 21: I2C1 SMBUS timeout mode stopped when core is halted.
DBG_I2C2_STOPBit 22: I2C2 SMBUS timeout mode stopped when core is halted.
DBG_I2C3_STOPBit 30: I2C3 SMBUS timeout mode stopped when core is halted.
DBG_LPTIMER_STOPBit 31: LPTIM1 counter stopped when core is halted.
APB1H_FZAPB Low Freeze Register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Toggle fields DBG_I2C4_STOPBit 1: DBG_I2C4_STOP.
APB2_FZAPB High Freeze Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
Toggle fields DBG_TIM1_STOPBit 11: TIM1 counter stopped when core is halted.
DBG_TIM8_STOPBit 13: TIM8 counter stopped when core is halted.
DBG_TIM15_STOPBit 16: TIM15 counter stopped when core is halted.
DBG_TIM16_STOPBit 17: TIM16 counter stopped when core is halted.
DBG_TIM17_STOPBit 18: TIM17 counter stopped when core is halted.
DBG_TIM20_STOPBit 20: TIM20counter stopped when core is halted.
DBG_HRTIM0_STOPBit 26: DBG_HRTIM0_STOP.
DBG_HRTIM1_STOPBit 27: DBG_HRTIM0_STOP.
DBG_HRTIM2_STOPBit 28: DBG_HRTIM0_STOP.
DBG_HRTIM3_STOPBit 29: DBG_HRTIM0_STOP.
DMA10x40020000: DMA controller
168/184 fields covered.
Toggle register map Toggle registers ISRinterrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
32/32 fields covered.
Toggle fields GIF[1]Bit 0: Channel 1 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 1: Channel 1 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 2: Channel 1 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 3: Channel 1 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 4: Channel 2 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 5: Channel 2 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 6: Channel 2 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 7: Channel 2 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 8: Channel 3 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 9: Channel 3 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 10: Channel 3 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 11: Channel 3 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 12: Channel 4 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 13: Channel 4 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 14: Channel 4 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 15: Channel 4 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 16: Channel 5 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 17: Channel 5 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 18: Channel 5 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 19: Channel 5 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 20: Channel 6 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 21: Channel 6 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 22: Channel 6 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 23: Channel 6 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 24: Channel 7 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 25: Channel 7 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 26: Channel 7 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 27: Channel 7 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 28: Channel 8 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 29: Channel 8 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 30: Channel 8 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 31: Channel 8 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
DMA interrupt flag clear register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields CGIF[1]Bit 0: Channel 1 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 1: Channel 1 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 2: Channel 1 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 3: Channel 1 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 4: Channel 2 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 5: Channel 2 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 6: Channel 2 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 7: Channel 2 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 8: Channel 3 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 9: Channel 3 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 10: Channel 3 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 11: Channel 3 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 12: Channel 4 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 13: Channel 4 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 14: Channel 4 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 15: Channel 4 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 16: Channel 5 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 17: Channel 5 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 18: Channel 5 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 19: Channel 5 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 20: Channel 6 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 21: Channel 6 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 22: Channel 6 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 23: Channel 6 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 24: Channel 7 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 25: Channel 7 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 26: Channel 7 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 27: Channel 7 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 28: Channel 8 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 29: Channel 8 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 30: Channel 8 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 31: Channel 8 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
DMA channel 1 configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [1]DMA channel x peripheral address register
Offset: 0x10, 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 PABits 0-31: Peripheral address.
MAR [1]DMA channel x memory address register
Offset: 0x14, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [2]DMA channel 1 configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [2]DMA channel x peripheral address register
Offset: 0x24, 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 PABits 0-31: Peripheral address.
MAR [2]DMA channel x memory address register
Offset: 0x28, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [3]DMA channel 1 configuration register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x34, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [3]DMA channel x peripheral address register
Offset: 0x38, 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 PABits 0-31: Peripheral address.
MAR [3]DMA channel x memory address register
Offset: 0x3c, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [4]DMA channel 1 configuration register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x48, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [4]DMA channel x peripheral address register
Offset: 0x4c, 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 PABits 0-31: Peripheral address.
MAR [4]DMA channel x memory address register
Offset: 0x50, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [5]DMA channel 1 configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x5c, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [5]DMA channel x peripheral address register
Offset: 0x60, 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 PABits 0-31: Peripheral address.
MAR [5]DMA channel x memory address register
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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [6]DMA channel 1 configuration register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x70, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [6]DMA channel x peripheral address register
Offset: 0x74, 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 PABits 0-31: Peripheral address.
MAR [6]DMA channel x memory address register
Offset: 0x78, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [7]DMA channel 1 configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x84, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [7]DMA channel x peripheral address register
Offset: 0x88, 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 PABits 0-31: Peripheral address.
MAR [7]DMA channel x memory address register
Offset: 0x8c, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [8]DMA channel 1 configuration register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x98, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [8]DMA channel x peripheral address register
Offset: 0x9c, 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 PABits 0-31: Peripheral address.
MAR [8]DMA channel x memory address register
Offset: 0xa0, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
DMA20x40020400: DMA controller
168/184 fields covered.
Toggle register map Toggle registers ISRinterrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
32/32 fields covered.
Toggle fields GIF[1]Bit 0: Channel 1 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 1: Channel 1 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 2: Channel 1 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 3: Channel 1 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 4: Channel 2 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 5: Channel 2 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 6: Channel 2 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 7: Channel 2 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 8: Channel 3 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 9: Channel 3 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 10: Channel 3 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 11: Channel 3 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 12: Channel 4 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 13: Channel 4 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 14: Channel 4 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 15: Channel 4 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 16: Channel 5 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 17: Channel 5 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 18: Channel 5 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 19: Channel 5 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 20: Channel 6 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 21: Channel 6 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 22: Channel 6 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 23: Channel 6 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 24: Channel 7 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 25: Channel 7 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 26: Channel 7 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 27: Channel 7 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
Bit 28: Channel 8 Global interrupt flag.
Allowed values:
0: NoEvent: No transfer error, half event, complete event
1: Event: A transfer error, half event or complete event has occured
Bit 29: Channel 8 Transfer Complete flag.
Allowed values:
0: NotComplete: No transfer complete event
1: Complete: A transfer complete event has occured
Bit 30: Channel 8 Half Transfer Complete flag.
Allowed values:
0: NotHalf: No half transfer event
1: Half: A half transfer event has occured
Bit 31: Channel 8 Transfer Error flag.
Allowed values:
0: NoError: No transfer error
1: Error: A transfer error has occured
DMA interrupt flag clear register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
Toggle fields CGIF[1]Bit 0: Channel 1 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 1: Channel 1 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 2: Channel 1 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 3: Channel 1 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 4: Channel 2 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 5: Channel 2 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 6: Channel 2 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 7: Channel 2 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 8: Channel 3 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 9: Channel 3 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 10: Channel 3 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 11: Channel 3 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 12: Channel 4 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 13: Channel 4 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 14: Channel 4 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 15: Channel 4 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 16: Channel 5 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 17: Channel 5 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 18: Channel 5 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 19: Channel 5 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 20: Channel 6 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 21: Channel 6 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 22: Channel 6 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 23: Channel 6 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 24: Channel 7 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 25: Channel 7 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 26: Channel 7 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 27: Channel 7 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
Bit 28: Channel 8 Global interrupt clear.
Allowed values:
1: Clear: Clears the GIF, TEIF, HTIF, TCIF flags in the ISR register
Bit 29: Channel 8 Transfer Complete clear.
Allowed values:
1: Clear: Clears the TCIF flag in the ISR register
Bit 30: Channel 8 Half Transfer clear.
Allowed values:
1: Clear: Clears the HTIF flag in the ISR register
Bit 31: Channel 8 Transfer Error clear.
Allowed values:
1: Clear: Clears the TEIF flag in the ISR register
DMA channel 1 configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [1]DMA channel x peripheral address register
Offset: 0x10, 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 PABits 0-31: Peripheral address.
MAR [1]DMA channel x memory address register
Offset: 0x14, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [2]DMA channel 1 configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [2]DMA channel x peripheral address register
Offset: 0x24, 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 PABits 0-31: Peripheral address.
MAR [2]DMA channel x memory address register
Offset: 0x28, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [3]DMA channel 1 configuration register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x34, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [3]DMA channel x peripheral address register
Offset: 0x38, 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 PABits 0-31: Peripheral address.
MAR [3]DMA channel x memory address register
Offset: 0x3c, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [4]DMA channel 1 configuration register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x48, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [4]DMA channel x peripheral address register
Offset: 0x4c, 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 PABits 0-31: Peripheral address.
MAR [4]DMA channel x memory address register
Offset: 0x50, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [5]DMA channel 1 configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x5c, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [5]DMA channel x peripheral address register
Offset: 0x60, 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 PABits 0-31: Peripheral address.
MAR [5]DMA channel x memory address register
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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [6]DMA channel 1 configuration register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x70, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [6]DMA channel x peripheral address register
Offset: 0x74, 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 PABits 0-31: Peripheral address.
MAR [6]DMA channel x memory address register
Offset: 0x78, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [7]DMA channel 1 configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x84, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [7]DMA channel x peripheral address register
Offset: 0x88, 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 PABits 0-31: Peripheral address.
MAR [7]DMA channel x memory address register
Offset: 0x8c, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
CR [8]DMA channel 1 configuration register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields ENBit 0: channel enable.
Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled
Bit 1: TCIE.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 2: HTIE.
Allowed values:
0: Disabled: Half Transfer interrupt disabled
1: Enabled: Half Transfer interrupt enabled
Bit 3: TEIE.
Allowed values:
0: Disabled: Transfer Error interrupt disabled
1: Enabled: Transfer Error interrupt enabled
Bit 4: DIR.
Allowed values:
0: FromPeripheral: Read from peripheral
1: FromMemory: Read from memory
Bit 5: CIRC.
Allowed values:
0: Disabled: Circular buffer disabled
1: Enabled: Circular buffer enabled
Bit 6: PINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bit 7: MINC.
Allowed values:
0: Disabled: Increment mode disabled
1: Enabled: Increment mode enabled
Bits 8-9: PSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 10-11: MSIZE.
Allowed values:
0: Bits8: 8-bit size
1: Bits16: 16-bit size
2: Bits32: 32-bit size
Bits 12-13: PL.
Allowed values:
0: Low: Low priority
1: Medium: Medium priority
2: High: High priority
3: VeryHigh: Very high priority
Bit 14: MEM2MEM.
Allowed values:
0: Disabled: Memory to memory mode disabled
1: Enabled: Memory to memory mode enabled
channel x number of data to transfer register
Offset: 0x98, 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 NDTBits 0-15: Number of data items to transfer.
Allowed values: 0x0-0xffff
PAR [8]DMA channel x peripheral address register
Offset: 0x9c, 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 PABits 0-31: Peripheral address.
MAR [8]DMA channel x memory address register
Offset: 0xa0, 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 MABits 0-31: Memory 1 address (used in case of Double buffer mode).
DMAMUX0x40020800: DMAMUX
136/172 fields covered.
Toggle register map Toggle registers CCR[0]DMA Multiplexer Channel 0 Control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[1]DMA Multiplexer Channel 1 Control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[2]DMA Multiplexer Channel 2 Control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[3]DMA Multiplexer Channel 3 Control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[4]DMA Multiplexer Channel 4 Control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[5]DMA Multiplexer Channel 5 Control register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[6]DMA Multiplexer Channel 6 Control register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[7]DMA Multiplexer Channel 7 Control register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[8]DMA Multiplexer Channel 8 Control register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[9]DMA Multiplexer Channel 9 Control register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[10]DMA Multiplexer Channel 10 Control register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[11]DMA Multiplexer Channel 11 Control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[12]DMA Multiplexer Channel 12 Control register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[13]DMA Multiplexer Channel 13 Control register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[14]DMA Multiplexer Channel 14 Control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CCR[15]DMA Multiplexer Channel 15 Control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
5/7 fields covered.
Toggle fields DMAREQ_IDBits 0-6: Input DMA request line selected.
SOIEBit 8: Interrupt enable at synchronization event overrun.
Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled
Bit 9: Event generation enable/disable.
Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled
Bit 16: Synchronous operating mode enable/disable.
Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
SYNC_IDBits 24-28: Synchronization input selected.
CSRDMAMUX request line multiplexer interrupt channel status register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
Toggle fields SOF[0]Bit 0: Synchronization Overrun Flag 0.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 1: Synchronization Overrun Flag 1.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 2: Synchronization Overrun Flag 2.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 3: Synchronization Overrun Flag 3.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 4: Synchronization Overrun Flag 4.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 5: Synchronization Overrun Flag 5.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 6: Synchronization Overrun Flag 6.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 7: Synchronization Overrun Flag 7.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 8: Synchronization Overrun Flag 8.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 9: Synchronization Overrun Flag 9.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 10: Synchronization Overrun Flag 10.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 11: Synchronization Overrun Flag 11.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 12: Synchronization Overrun Flag 12.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 13: Synchronization Overrun Flag 13.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 14: Synchronization Overrun Flag 14.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
Bit 15: Synchronization Overrun Flag 15.
Allowed values:
0: NoSyncEvent: No synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
1: SyncEvent: Synchronization event occured on a DMA request line multiplexer channel x, while the DMA request counter value is lower than NBREQ
DMAMUX request line multiplexer interrupt clear flag register
Offset: 0x84, size: 32, reset: 0x00000000, access: write-only
16/16 fields covered.
Toggle fields CSOF[0]Bit 0: Synchronization Clear Overrun Flag 0.
Allowed values:
1: Clear: Clear synchronization flag
Bit 1: Synchronization Clear Overrun Flag 1.
Allowed values:
1: Clear: Clear synchronization flag
Bit 2: Synchronization Clear Overrun Flag 2.
Allowed values:
1: Clear: Clear synchronization flag
Bit 3: Synchronization Clear Overrun Flag 3.
Allowed values:
1: Clear: Clear synchronization flag
Bit 4: Synchronization Clear Overrun Flag 4.
Allowed values:
1: Clear: Clear synchronization flag
Bit 5: Synchronization Clear Overrun Flag 5.
Allowed values:
1: Clear: Clear synchronization flag
Bit 6: Synchronization Clear Overrun Flag 6.
Allowed values:
1: Clear: Clear synchronization flag
Bit 7: Synchronization Clear Overrun Flag 7.
Allowed values:
1: Clear: Clear synchronization flag
Bit 8: Synchronization Clear Overrun Flag 8.
Allowed values:
1: Clear: Clear synchronization flag
Bit 9: Synchronization Clear Overrun Flag 9.
Allowed values:
1: Clear: Clear synchronization flag
Bit 10: Synchronization Clear Overrun Flag 10.
Allowed values:
1: Clear: Clear synchronization flag
Bit 11: Synchronization Clear Overrun Flag 11.
Allowed values:
1: Clear: Clear synchronization flag
Bit 12: Synchronization Clear Overrun Flag 12.
Allowed values:
1: Clear: Clear synchronization flag
Bit 13: Synchronization Clear Overrun Flag 13.
Allowed values:
1: Clear: Clear synchronization flag
Bit 14: Synchronization Clear Overrun Flag 14.
Allowed values:
1: Clear: Clear synchronization flag
Bit 15: Synchronization Clear Overrun Flag 15.
Allowed values:
1: Clear: Clear synchronization flag
DMAMux - DMA request generator channel x control register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GNBREQBits 0-4: DMA request trigger input selected.
OIEBit 8: Interrupt enable at trigger event overrun.
Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled
Bit 16: DMA request generator channel enable/disable.
Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
RGCR[1]DMAMux - DMA request generator channel x control register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GNBREQBits 0-4: DMA request trigger input selected.
OIEBit 8: Interrupt enable at trigger event overrun.
Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled
Bit 16: DMA request generator channel enable/disable.
Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
RGCR[2]DMAMux - DMA request generator channel x control register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GNBREQBits 0-4: DMA request trigger input selected.
OIEBit 8: Interrupt enable at trigger event overrun.
Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled
Bit 16: DMA request generator channel enable/disable.
Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
RGCR[3]DMAMux - DMA request generator channel x control register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GNBREQBits 0-4: DMA request trigger input selected.
OIEBit 8: Interrupt enable at trigger event overrun.
Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled
Bit 16: DMA request generator channel enable/disable.
Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges
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..
Allowed values: 0x0-0x1f
RGSRDMAMux - DMA request generator status register
Offset: 0x140, size: 32, reset: 0x00000000, access: read-only
4/4 fields covered.
Toggle fields OF[0]Bit 0: Generator Overrun Flag 0.
Allowed values:
0: NoTrigger: No new trigger event occured on DMA request generator channel x, before the request counter underrun
1: Trigger: New trigger event occured on DMA request generator channel x, before the request counter underrun
Bit 1: Generator Overrun Flag 1.
Allowed values:
0: NoTrigger: No new trigger event occured on DMA request generator channel x, before the request counter underrun
1: Trigger: New trigger event occured on DMA request generator channel x, before the request counter underrun
Bit 2: Generator Overrun Flag 2.
Allowed values:
0: NoTrigger: No new trigger event occured on DMA request generator channel x, before the request counter underrun
1: Trigger: New trigger event occured on DMA request generator channel x, before the request counter underrun
Bit 3: Generator Overrun Flag 3.
Allowed values:
0: NoTrigger: No new trigger event occured on DMA request generator channel x, before the request counter underrun
1: Trigger: New trigger event occured on DMA request generator channel x, before the request counter underrun
DMAMux - DMA request generator clear flag register
Offset: 0x144, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields COF[0]Bit 0: Generator Clear Overrun Flag 0.
Allowed values:
1: Clear: Clear overrun flag
Bit 1: Generator Clear Overrun Flag 1.
Allowed values:
1: Clear: Clear overrun flag
Bit 2: Generator Clear Overrun Flag 2.
Allowed values:
1: Clear: Clear overrun flag
Bit 3: Generator Clear Overrun Flag 3.
Allowed values:
1: Clear: Clear overrun flag
0x40010400: External interrupt/event controller
194/194 fields covered.
Toggle register map Toggle registers IMR1Interrupt mask register
Offset: 0x0, size: 32, reset: 0xFF820000, access: read-write
32/32 fields covered.
Toggle fields IM0Bit 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.
Toggle fields EM0Bit 0: Event Mask on line 0.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 1: Event Mask on line 1.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 2: Event Mask on line 2.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 3: Event Mask on line 3.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 4: Event Mask on line 4.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 5: Event Mask on line 5.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 6: Event Mask on line 6.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 7: Event Mask on line 7.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 8: Event Mask on line 8.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 9: Event Mask on line 9.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 10: Event Mask on line 10.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 11: Event Mask on line 11.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 12: Event Mask on line 12.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 13: Event Mask on line 13.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 14: Event Mask on line 14.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 15: Event Mask on line 15.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 16: Event Mask on line 16.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 17: Event Mask on line 17.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 18: Event Mask on line 18.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 19: Event Mask on line 19.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 20: Event Mask on line 20.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 21: Event Mask on line 21.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 22: Event Mask on line 22.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 23: Event Mask on line 23.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 24: Event Mask on line 24.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 25: Event Mask on line 25.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 26: Event Mask on line 26.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 27: Event Mask on line 27.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 28: Event Mask on line 28.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 29: Event Mask on line 29.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 30: Event Mask on line 30.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 31: Event Mask on line 31.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Rising Trigger selection register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
Toggle fields RT0Bit 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.
Toggle fields FT0Bit 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.
Toggle fields SWI0Bit 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.
Toggle fields PIF0Bit 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.
Toggle fields IM32Bit 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.
Toggle fields EM32Bit 0: Event mask on external/internal line 32.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 1: Event mask on external/internal line 33.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 2: Event mask on external/internal line 34.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 3: Event mask on external/internal line 35.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 4: Event mask on external/internal line 36.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 5: Event mask on external/internal line 37.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 8: Event mask on external/internal line 40.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 9: Event mask on external/internal line 41.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 10: Event mask on external/internal line 42.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Bit 11: Event mask on external/internal line 43.
Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked
Rising Trigger selection register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields RT32Bit 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.
Toggle fields FT32Bit 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.
Toggle fields SWI32Bit 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.
Toggle fields PIF32Bit 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
44/160 fields covered.
Toggle register map Toggle registers CRELFDCAN core release register
Offset: 0x0, size: 32, reset: 0x32141218, access: Unspecified
6/6 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RELBits 0-7: 18.
MONBits 8-15: 12.
YEARBits 16-19: 4.
SUBSTEPBits 20-23: 1.
STEPBits 24-27: 2.
RELBits 28-31: 3.
ENDNFDCAN endian register
Offset: 0x4, size: 32, reset: 0x87654321, access: Unspecified
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ETVBits 0-31: Endianness test value The endianness test value is 0x8765 4321..
DBTPFDCAN data bit timing and prescaler register
Offset: 0xc, size: 32, reset: 0x00000A33, access: Unspecified
0/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TDCBits 0-3: Synchronization jump width Must always be smaller than DTSEG2, valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1: t<sub>SJW</sub> = (DSJW + 1) x tq..
DTSEG2Bits 4-7: Data time segment after sample point Valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS2</sub> = (DTSEG2 + 1) x tq..
DTSEG1Bits 8-12: Data time segment before sample point Valid values are 0 to 31. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS1</sub> = (DTSEG1 + 1) x tq..
DBRPBits 16-20: Data bit rate prescaler The value by which the oscillator frequency is divided to generate the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are 0 to 31. The hardware interpreters this value as the value programmed plus 1..
TDCBit 23: Transceiver delay compensation.
TESTFDCAN test register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXBit 4: Loop back mode.
TXBits 5-6: Control of transmit pin.
RXBit 7: Receive pin Monitors the actual value of pin FDCANx_RX.
RWDFDCAN RAM watchdog register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WDVBits 0-7: Watchdog configuration Start value of the message RAM watchdog counter. With the reset value of 00, the counter is disabled. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of FDCAN_CCCR register are set to 1..
WDVBits 8-15: Watchdog value Actual message RAM watchdog counter value..
CCCRFDCAN CC control register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
1/14 fields covered.
Toggle fields INITBit 0: Initialization.
CCEBit 1: Configuration change enable.
ASMBit 2: ASM restricted operation mode The restricted operation mode is intended for applications that adapt themselves to different CAN bit rates. The application tests different bit rates and leaves the Restricted operation Mode after it has received a valid frame. In the optional Restricted operation Mode the node is able to transmit and receive data and remote frames and it gives acknowledge to valid frames, but it does not send active error frames or overload frames. In case of an error condition or overload condition, it does not send dominant bits, instead it waits for the occurrence of bus idle condition to resynchronize itself to the CAN communication. The error counters are not incremented. Bit ASM can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the software at any time..
CSABit 3: Clock stop acknowledge.
CSRBit 4: Clock stop request.
MONBit 5: Bus monitoring mode Bit MON can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the Host at any time..
DARBit 6: Disable automatic retransmission.
TESTBit 7: Test mode enable.
FDOEBit 8: FD operation enable.
BRSEBit 9: FDCAN bit rate switching.
PXHDBit 12: Protocol exception handling disable.
EFBIBit 13: Edge filtering during bus integration.
TXPBit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..
NISOBit 15: Non ISO operation If this bit is set, the FDCAN uses the CAN FD frame format as specified by the Bosch CAN FD Specification V1.0..
NBTPFDCAN nominal bit timing and prescaler register
Offset: 0x1c, size: 32, reset: 0x06000A03, access: Unspecified
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 NSJWBits 0-6: Nominal time segment after sample point Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that one more than the programmed value is used..
NTSEG1Bits 8-15: Nominal time segment before sample point Valid values are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the programmed value is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
NBRPBits 16-24: Bit rate prescaler Value by which the oscillator frequency is divided for generating the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values are 0 to 511. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
NSJWBits 25-31: Nominal (re)synchronization jump width Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that the used value is the one programmed incremented by one. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TSCCFDCAN timestamp counter configuration register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TCPBits 0-1: Timestamp select These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TCPBits 16-19: Timestamp counter prescaler.
TSCVFDCAN timestamp counter value register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TSCBits 0-15: Timestamp counter.
TOCCFDCAN timeout counter configuration register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TOPBit 0: Timeout counter enable This is a protected write (P) bit, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TOSBits 1-2: Timeout select When operating in Continuous mode, a write to TOCV presets the counter to the value configured by TOCC[TOP] and continues down-counting. When the timeout counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by TOCC[TOP]. Down-counting is started when the first FIFO element is stored. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TOPBits 16-31: Timeout period Start value of the timeout counter (down-counter). Configures the timeout period..
TOCVFDCAN timeout counter value register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TOCBits 0-15: Timeout counter.
ECRFDCAN error counter register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
3/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CELBits 0-7: Transmit error counter Actual state of the transmit error counter, values between 0 and 255. When CCCR.ASM is set, the CAN protocol controller does not increment TEC and REC when a CAN protocol error is detected, but CEL is still incremented..
RECBits 8-14: Receive error counter Actual state of the receive error counter, values between 0 and 127..
RPBit 15: Receive error passive.
CELBits 16-23: CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read..
PSRFDCAN protocol status register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
5/11 fields covered.
Toggle fields LECBits 0-2: Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read..
ACTBits 3-4: Activity Monitors the modules CAN communication state..
EPBit 5: Error passive.
EWBit 6: Warning Sstatus.
BOBit 7: Bus_Off status.
DLECBits 8-10: Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read..
RESIBit 11: ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
RBRSBit 12: BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
REDLBit 13: Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read..
PXEBit 14: Protocol exception event.
TDCVBits 16-22: Transmitter delay compensation value Position of the secondary sample point, defined by the sum of the measured delay from FDCAN_TX to FDCAN_RX and TDCR.TDCO. The SSP position is, in the data phase, the number of minimum time quanta (mtq) between the start of the transmitted bit and the secondary sample point. Valid values are 0 to 127 mtq..
TDCRFDCAN transmitter delay compensation register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDCOBits 0-6: Transmitter delay compensation filter window length Defines the minimum value for the SSP position, dominant edges on FDCAN_RX that would result in an earlier SSP position are ignored for transmitter delay measurements. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TDCOBits 8-14: Transmitter delay compensation offset Offset value defining the distance between the measured delay from FDCAN_TX to FDCAN_RX and the secondary sample point. Valid values are 0 to 127 mtq. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
IRFDCAN interrupt register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
Toggle fields RF0NBit 0: Rx FIFO 0 new message.
RF0FBit 1: Rx FIFO 0 full.
RF0LBit 2: Rx FIFO 0 message lost.
RF1NBit 3: Rx FIFO 1 new message.
RF1FBit 4: Rx FIFO 1 full.
RF1LBit 5: Rx FIFO 1 message lost.
HPMBit 6: High-priority message.
TCBit 7: Transmission completed.
TCFBit 8: Transmission cancellation finished.
TFEBit 9: Tx FIFO empty.
TEFNBit 10: Tx event FIFO New Entry.
TEFFBit 11: Tx event FIFO full.
TEFLBit 12: Tx event FIFO element lost.
TSWBit 13: Timestamp wraparound.
MRAFBit 14: Message RAM access failure The flag is set when the Rx handler: has not completed acceptance filtering or storage of an accepted message until the arbitration field of the following message has been received. In this case acceptance filtering or message storage is aborted and the Rx handler starts processing of the following message. was unable to write a message to the message RAM. In this case message storage is aborted. In both cases the FIFO put index is not updated. The partly stored message is overwritten when the next message is stored to this location. The flag is also set when the Tx Handler was not able to read a message from the Message RAM in time. In this case message transmission is aborted. In case of a Tx Handler access failure the FDCAN is switched into Restricted operation Mode (see Restricted operation mode). To leave Restricted operation Mode, the Host CPU has to reset CCCR.ASM..
TOOBit 15: Timeout occurred.
ELOBit 16: Error logging overflow.
EPBit 17: Error passive.
EWBit 18: Warning status.
BOBit 19: Bus_Off status.
WDIBit 20: Watchdog interrupt.
PEABit 21: Protocol error in arbitration phase (nominal bit time is used).
PEDBit 22: Protocol error in data phase (data bit time is used).
ARABit 23: Access to reserved address.
IEFDCAN interrupt enable register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
Toggle fields RF0NEBit 0: Rx FIFO 0 new message interrupt enable.
RF0FEBit 1: Rx FIFO 0 full interrupt enable.
RF0LEBit 2: Rx FIFO 0 message lost interrupt enable.
RF1NEBit 3: Rx FIFO 1 new message interrupt enable.
RF1FEBit 4: Rx FIFO 1 full interrupt enable.
RF1LEBit 5: Rx FIFO 1 message lost interrupt enable.
HPMEBit 6: High-priority message interrupt enable.
TCEBit 7: Transmission completed interrupt enable.
TCFEBit 8: Transmission cancellation finished interrupt enable.
TFEEBit 9: Tx FIFO empty interrupt enable.
TEFNEBit 10: Tx event FIFO new entry interrupt enable.
TEFFEBit 11: Tx event FIFO full interrupt enable.
TEFLEBit 12: Tx event FIFO element lost interrupt enable.
TSWEBit 13: Timestamp wraparound interrupt enable.
MRAFEBit 14: Message RAM access failure interrupt enable.
TOOEBit 15: Timeout occurred interrupt enable.
ELOEBit 16: Error logging overflow interrupt enable.
EPEBit 17: Error passive interrupt enable.
EWEBit 18: Warning status interrupt enable.
BOEBit 19: Bus_Off status.
WDIEBit 20: Watchdog interrupt enable.
PEAEBit 21: Protocol error in arbitration phase enable.
PEDEBit 22: Protocol error in data phase enable.
ARAEBit 23: Access to reserved address enable.
ILSFDCAN interrupt line select register
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
Toggle fields RXFIFO0Bit 0: RX FIFO bit grouping the following interruption RF0LL: Rx FIFO 0 message lost interrupt line RF0FL: Rx FIFO 0 full interrupt line RF0NL: Rx FIFO 0 new message interrupt line.
RXFIFO1Bit 1: RX FIFO bit grouping the following interruption RF1LL: Rx FIFO 1 message lost interrupt line RF1FL: Rx FIFO 1 full interrupt line RF1NL: Rx FIFO 1 new message interrupt line.
SMSGBit 2: Status message bit grouping the following interruption TCFL: Transmission cancellation finished interrupt line TCL: Transmission completed interrupt line HPML: High-priority message interrupt line.
TFERRBit 3: Tx FIFO ERROR grouping the following interruption TEFLL: Tx event FIFO element lost interrupt line TEFFL: Tx event FIFO full interrupt line TEFNL: Tx event FIFO new entry interrupt line TFEL: Tx FIFO empty interrupt line.
MISCBit 4: Interrupt regrouping the following interruption TOOL: Timeout occurred interrupt line MRAFL: Message RAM access failure interrupt line TSWL: Timestamp wraparound interrupt line.
BERRBit 5: Bit and line error grouping the following interruption EPL Error passive interrupt line ELOL: Error logging overflow interrupt line.
PERRBit 6: Protocol error grouping the following interruption ARAL: Access to reserved address line PEDL: Protocol error in data phase line PEAL: Protocol error in arbitration phase line WDIL: Watchdog interrupt line BOL: Bus_Off status EWL: Warning status interrupt line.
ILEFDCAN interrupt line enable register
Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EINT1Bit 0: Enable interrupt line 0.
EINT1Bit 1: Enable interrupt line 1.
RXGFCFDCAN global filter configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: Unspecified
0/8 fields covered.
Toggle fields RRFEBit 0: Reject remote frames extended These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
RRFSBit 1: Reject remote frames standard These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
ANFEBits 2-3: Accept non-matching frames extended Defines how received messages with 29-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
ANFSBits 4-5: Accept Non-matching frames standard Defines how received messages with 11-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
F1OMBit 8: FIFO 1 operation mode (overwrite or blocking) This is a protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
F0OMBit 9: FIFO 0 operation mode (overwrite or blocking) This is protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
LSSBits 16-20: List size standard 1 to 28: Number of standard message ID filter elements >28: Values greater than 28 are interpreted as 28. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
LSEBits 24-27: List size extended 1 to 8: Number of extended message ID filter elements >8: Values greater than 8 are interpreted as 8. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
XIDAMFDCAN extended ID and mask register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: Unspecified
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 EIDMBits 0-28: Extended ID mask For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
HPMSFDCAN high-priority message status register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields BIDXBits 0-2: Buffer index Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1..
MSIBits 6-7: Message storage indicator.
FIDXBits 8-12: Filter index Index of matching filter element. Range is 0 to RXGFC[LSS] - 1 or RXGFC[LSE] - 1..
FLSTBit 15: Filter list Indicates the filter list of the matching filter element..
RXF0SFDCAN Rx FIFO 0 status register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RF0LBits 0-3: Rx FIFO 0 fill level Number of elements stored in Rx FIFO 0, range 0 to 3..
F0GIBits 8-9: Rx FIFO 0 get index Rx FIFO 0 read index pointer, range 0 to 2..
F0PIBits 16-17: Rx FIFO 0 put index Rx FIFO 0 write index pointer, range 0 to 2..
F0FBit 24: Rx FIFO 0 full.
RF0LBit 25: Rx FIFO 0 message lost This bit is a copy of interrupt flag IR[RF0L]. When IR[RF0L] is reset, this bit is also reset..
RXF0ACAN Rx FIFO 0 acknowledge register
Offset: 0x94, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 F0AIBits 0-2: Rx FIFO 0 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 0 it has to write the buffer index of the last element read from Rx FIFO 0 to F0AI. This sets the Rx FIFO 0 get index RXF0S[F0GI] to F0AI + 1 and update the FIFO 0 fill level RXF0S[F0FL]..
RXF1SFDCAN Rx FIFO 1 status register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RF1LBits 0-3: Rx FIFO 1 fill level Number of elements stored in Rx FIFO 1, range 0 to 3..
F1GIBits 8-9: Rx FIFO 1 get index Rx FIFO 1 read index pointer, range 0 to 2..
F1PIBits 16-17: Rx FIFO 1 put index Rx FIFO 1 write index pointer, range 0 to 2..
F1FBit 24: Rx FIFO 1 full.
RF1LBit 25: Rx FIFO 1 message lost This bit is a copy of interrupt flag IR[RF1L]. When IR[RF1L] is reset, this bit is also reset..
RXF1AFDCAN Rx FIFO 1 acknowledge register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 F1AIBits 0-2: Rx FIFO 1 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 1 it has to write the buffer index of the last element read from Rx FIFO 1 to F1AI. This sets the Rx FIFO 1 get index RXF1S[F1GI] to F1AI + 1 and update the FIFO 1 Fill Level RXF1S[F1FL]..
TXBCFDCAN Tx buffer configuration register
Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TFQMBit 24: Tx FIFO/queue mode This is a protected write (P) bit, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TXFQSFDCAN Tx FIFO/queue status register
Offset: 0xc4, size: 32, reset: 0x00000003, access: Unspecified
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TFQFBits 0-2: Tx FIFO free level Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)..
TFGIBits 8-9: Tx FIFO get index Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1).
TFQPIBits 16-17: Tx FIFO/queue put index Tx FIFO/queue write index pointer, range 0 to 3.
TFQFBit 21: Tx FIFO/queue full.
TXBRPFDCAN Tx buffer request pending register
Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TRPBits 0-2: Transmission request pending Each Tx buffer has its own transmission request pending bit. The bits are set via register TXBAR. The bits are reset after a requested transmission has completed or has been canceled via register TXBCR. After a TXBRP bit has been set, a Tx scan is started to check for the pending Tx request with the highest priority (Tx buffer with lowest Message ID). A cancellation request resets the corresponding transmission request pending bit of register TXBRP. In case a transmission has already been started when a cancellation is requested, this is done at the end of the transmission, regardless whether the transmission was successful or not. The cancellation request bits are reset directly after the corresponding TXBRP bit has been reset. After a cancellation has been requested, a finished cancellation is signaled via TXBCF after successful transmission together with the corresponding TXBTO bit when the transmission has not yet been started at the point of cancellation when the transmission has been aborted due to lost arbitration when an error occurred during frame transmission In DAR mode all transmissions are automatically canceled if they are not successful. The corresponding TXBCF bit is set for all unsuccessful transmissions..
TXBARFDCAN Tx buffer add request register
Offset: 0xcc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARBits 0-2: Add request Each Tx buffer has its own add request bit. Writing a 1 sets the corresponding add request bit; writing a 0 has no impact. This enables the Host to set transmission requests for multiple Tx buffers with one write to TXBAR. When no Tx scan is running, the bits are reset immediately, else the bits remain set until the Tx scan process has completed..
TXBCRFDCAN Tx buffer cancellation request register
Offset: 0xd0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRBits 0-2: Cancellation request Each Tx buffer has its own cancellation request bit. Writing a 1 sets the corresponding CR bit; writing a 0 has no impact. This enables the Host to set cancellation requests for multiple Tx buffers with one write to TXBCR. The bits remain set until the corresponding TXBRP bit is reset..
TXBTOFDCAN Tx buffer transmission occurred register
Offset: 0xd4, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TOBits 0-2: Transmission occurred. Each Tx buffer has its own TO bit. The bits are set when the corresponding TXBRP bit is cleared after a successful transmission. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
TXBCFFDCAN Tx buffer cancellation finished register
Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CFBits 0-2: Cancellation finished Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
TXBTIEFDCAN Tx buffer transmission interrupt enable register
Offset: 0xdc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TIEBits 0-2: Transmission interrupt enable Each Tx buffer has its own TIE bit..
TXBCIEFDCAN Tx buffer cancellation finished interrupt enable register
Offset: 0xe0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CFIEBits 0-2: Cancellation finished interrupt enable. Each Tx buffer has its own CFIE bit..
TXEFSFDCAN Tx event FIFO status register
Offset: 0xe4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TEFLBits 0-2: Event FIFO fill level Number of elements stored in Tx event FIFO, range 0 to 3..
EFGIBits 8-9: Event FIFO get index Tx event FIFO read index pointer, range 0 to 3..
EFPIBits 16-17: Event FIFO put index Tx event FIFO write index pointer, range 0 to 3..
EFFBit 24: Event FIFO full.
TEFLBit 25: Tx event FIFO element lost This bit is a copy of interrupt flag IR[TEFL]. When IR[TEFL] is reset, this bit is also reset. 0 No Tx event FIFO element lost 1 Tx event FIFO element lost, also set after write attempt to Tx event FIFO of size 0..
TXEFAFDCAN Tx event FIFO acknowledge register
Offset: 0xe8, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EFAIBits 0-1: Event FIFO acknowledge index After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]..
CKDIVFDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PDIVBits 0-3: input clock divider The APB clock could be divided prior to be used by the CAN sub system. The rate must be computed using the divider output clock. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN10x40006400: FDCAN
44/160 fields covered.
Toggle register map Toggle registers CRELFDCAN core release register
Offset: 0x0, size: 32, reset: 0x32141218, access: Unspecified
6/6 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RELBits 0-7: 18.
MONBits 8-15: 12.
YEARBits 16-19: 4.
SUBSTEPBits 20-23: 1.
STEPBits 24-27: 2.
RELBits 28-31: 3.
ENDNFDCAN endian register
Offset: 0x4, size: 32, reset: 0x87654321, access: Unspecified
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ETVBits 0-31: Endianness test value The endianness test value is 0x8765 4321..
DBTPFDCAN data bit timing and prescaler register
Offset: 0xc, size: 32, reset: 0x00000A33, access: Unspecified
0/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TDCBits 0-3: Synchronization jump width Must always be smaller than DTSEG2, valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1: t<sub>SJW</sub> = (DSJW + 1) x tq..
DTSEG2Bits 4-7: Data time segment after sample point Valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS2</sub> = (DTSEG2 + 1) x tq..
DTSEG1Bits 8-12: Data time segment before sample point Valid values are 0 to 31. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS1</sub> = (DTSEG1 + 1) x tq..
DBRPBits 16-20: Data bit rate prescaler The value by which the oscillator frequency is divided to generate the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are 0 to 31. The hardware interpreters this value as the value programmed plus 1..
TDCBit 23: Transceiver delay compensation.
TESTFDCAN test register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RXBit 4: Loop back mode.
TXBits 5-6: Control of transmit pin.
RXBit 7: Receive pin Monitors the actual value of pin FDCANx_RX.
RWDFDCAN RAM watchdog register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WDVBits 0-7: Watchdog configuration Start value of the message RAM watchdog counter. With the reset value of 00, the counter is disabled. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of FDCAN_CCCR register are set to 1..
WDVBits 8-15: Watchdog value Actual message RAM watchdog counter value..
CCCRFDCAN CC control register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
1/14 fields covered.
Toggle fields INITBit 0: Initialization.
CCEBit 1: Configuration change enable.
ASMBit 2: ASM restricted operation mode The restricted operation mode is intended for applications that adapt themselves to different CAN bit rates. The application tests different bit rates and leaves the Restricted operation Mode after it has received a valid frame. In the optional Restricted operation Mode the node is able to transmit and receive data and remote frames and it gives acknowledge to valid frames, but it does not send active error frames or overload frames. In case of an error condition or overload condition, it does not send dominant bits, instead it waits for the occurrence of bus idle condition to resynchronize itself to the CAN communication. The error counters are not incremented. Bit ASM can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the software at any time..
CSABit 3: Clock stop acknowledge.
CSRBit 4: Clock stop request.
MONBit 5: Bus monitoring mode Bit MON can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the Host at any time..
DARBit 6: Disable automatic retransmission.
TESTBit 7: Test mode enable.
FDOEBit 8: FD operation enable.
BRSEBit 9: FDCAN bit rate switching.
PXHDBit 12: Protocol exception handling disable.
EFBIBit 13: Edge filtering during bus integration.
TXPBit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..
NISOBit 15: Non ISO operation If this bit is set, the FDCAN uses the CAN FD frame format as specified by the Bosch CAN FD Specification V1.0..
NBTPFDCAN nominal bit timing and prescaler register
Offset: 0x1c, size: 32, reset: 0x06000A03, access: Unspecified
0/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 NSJWBits 0-6: Nominal time segment after sample point Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that one more than the programmed value is used..
NTSEG1Bits 8-15: Nominal time segment before sample point Valid values are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the programmed value is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
NBRPBits 16-24: Bit rate prescaler Value by which the oscillator frequency is divided for generating the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values are 0 to 511. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
NSJWBits 25-31: Nominal (re)synchronization jump width Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that the used value is the one programmed incremented by one. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TSCCFDCAN timestamp counter configuration register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TCPBits 0-1: Timestamp select These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TCPBits 16-19: Timestamp counter prescaler.
TSCVFDCAN timestamp counter value register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TSCBits 0-15: Timestamp counter.
TOCCFDCAN timeout counter configuration register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TOPBit 0: Timeout counter enable This is a protected write (P) bit, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TOSBits 1-2: Timeout select When operating in Continuous mode, a write to TOCV presets the counter to the value configured by TOCC[TOP] and continues down-counting. When the timeout counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by TOCC[TOP]. Down-counting is started when the first FIFO element is stored. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TOPBits 16-31: Timeout period Start value of the timeout counter (down-counter). Configures the timeout period..
TOCVFDCAN timeout counter value register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TOCBits 0-15: Timeout counter.
ECRFDCAN error counter register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
3/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CELBits 0-7: Transmit error counter Actual state of the transmit error counter, values between 0 and 255. When CCCR.ASM is set, the CAN protocol controller does not increment TEC and REC when a CAN protocol error is detected, but CEL is still incremented..
RECBits 8-14: Receive error counter Actual state of the receive error counter, values between 0 and 127..
RPBit 15: Receive error passive.
CELBits 16-23: CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read..
PSRFDCAN protocol status register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
5/11 fields covered.
Toggle fields LECBits 0-2: Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read..
ACTBits 3-4: Activity Monitors the modules CAN communication state..
EPBit 5: Error passive.
EWBit 6: Warning Sstatus.
BOBit 7: Bus_Off status.
DLECBits 8-10: Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read..
RESIBit 11: ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
RBRSBit 12: BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
REDLBit 13: Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read..
PXEBit 14: Protocol exception event.
TDCVBits 16-22: Transmitter delay compensation value Position of the secondary sample point, defined by the sum of the measured delay from FDCAN_TX to FDCAN_RX and TDCR.TDCO. The SSP position is, in the data phase, the number of minimum time quanta (mtq) between the start of the transmitted bit and the secondary sample point. Valid values are 0 to 127 mtq..
TDCRFDCAN transmitter delay compensation register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TDCOBits 0-6: Transmitter delay compensation filter window length Defines the minimum value for the SSP position, dominant edges on FDCAN_RX that would result in an earlier SSP position are ignored for transmitter delay measurements. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TDCOBits 8-14: Transmitter delay compensation offset Offset value defining the distance between the measured delay from FDCAN_TX to FDCAN_RX and the secondary sample point. Valid values are 0 to 127 mtq. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
IRFDCAN interrupt register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
Toggle fields RF0NBit 0: Rx FIFO 0 new message.
RF0FBit 1: Rx FIFO 0 full.
RF0LBit 2: Rx FIFO 0 message lost.
RF1NBit 3: Rx FIFO 1 new message.
RF1FBit 4: Rx FIFO 1 full.
RF1LBit 5: Rx FIFO 1 message lost.
HPMBit 6: High-priority message.
TCBit 7: Transmission completed.
TCFBit 8: Transmission cancellation finished.
TFEBit 9: Tx FIFO empty.
TEFNBit 10: Tx event FIFO New Entry.
TEFFBit 11: Tx event FIFO full.
TEFLBit 12: Tx event FIFO element lost.
TSWBit 13: Timestamp wraparound.
MRAFBit 14: Message RAM access failure The flag is set when the Rx handler: has not completed acceptance filtering or storage of an accepted message until the arbitration field of the following message has been received. In this case acceptance filtering or message storage is aborted and the Rx handler starts processing of the following message. was unable to write a message to the message RAM. In this case message storage is aborted. In both cases the FIFO put index is not updated. The partly stored message is overwritten when the next message is stored to this location. The flag is also set when the Tx Handler was not able to read a message from the Message RAM in time. In this case message transmission is aborted. In case of a Tx Handler access failure the FDCAN is switched into Restricted operation Mode (see Restricted operation mode). To leave Restricted operation Mode, the Host CPU has to reset CCCR.ASM..
TOOBit 15: Timeout occurred.
ELOBit 16: Error logging overflow.
EPBit 17: Error passive.
EWBit 18: Warning status.
BOBit 19: Bus_Off status.
WDIBit 20: Watchdog interrupt.
PEABit 21: Protocol error in arbitration phase (nominal bit time is used).
PEDBit 22: Protocol error in data phase (data bit time is used).
ARABit 23: Access to reserved address.
IEFDCAN interrupt enable register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
Toggle fields RF0NEBit 0: Rx FIFO 0 new message interrupt enable.
RF0FEBit 1: Rx FIFO 0 full interrupt enable.
RF0LEBit 2: Rx FIFO 0 message lost interrupt enable.
RF1NEBit 3: Rx FIFO 1 new message interrupt enable.
RF1FEBit 4: Rx FIFO 1 full interrupt enable.
RF1LEBit 5: Rx FIFO 1 message lost interrupt enable.
HPMEBit 6: High-priority message interrupt enable.
TCEBit 7: Transmission completed interrupt enable.
TCFEBit 8: Transmission cancellation finished interrupt enable.
TFEEBit 9: Tx FIFO empty interrupt enable.
TEFNEBit 10: Tx event FIFO new entry interrupt enable.
TEFFEBit 11: Tx event FIFO full interrupt enable.
TEFLEBit 12: Tx event FIFO element lost interrupt enable.
TSWEBit 13: Timestamp wraparound interrupt enable.
MRAFEBit 14: Message RAM access failure interrupt enable.
TOOEBit 15: Timeout occurred interrupt enable.
ELOEBit 16: Error logging overflow interrupt enable.
EPEBit 17: Error passive interrupt enable.
EWEBit 18: Warning status interrupt enable.
BOEBit 19: Bus_Off status.
WDIEBit 20: Watchdog interrupt enable.
PEAEBit 21: Protocol error in arbitration phase enable.
PEDEBit 22: Protocol error in data phase enable.
ARAEBit 23: Access to reserved address enable.
ILSFDCAN interrupt line select register
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
Toggle fields RXFIFO0Bit 0: RX FIFO bit grouping the following interruption RF0LL: Rx FIFO 0 message lost interrupt line RF0FL: Rx FIFO 0 full interrupt line RF0NL: Rx FIFO 0 new message interrupt line.
RXFIFO1Bit 1: RX FIFO bit grouping the following interruption RF1LL: Rx FIFO 1 message lost interrupt line RF1FL: Rx FIFO 1 full interrupt line RF1NL: Rx FIFO 1 new message interrupt line.
SMSGBit 2: Status message bit grouping the following interruption TCFL: Transmission cancellation finished interrupt line TCL: Transmission completed interrupt line HPML: High-priority message interrupt line.
TFERRBit 3: Tx FIFO ERROR grouping the following interruption TEFLL: Tx event FIFO element lost interrupt line TEFFL: Tx event FIFO full interrupt line TEFNL: Tx event FIFO new entry interrupt line TFEL: Tx FIFO empty interrupt line.
MISCBit 4: Interrupt regrouping the following interruption TOOL: Timeout occurred interrupt line MRAFL: Message RAM access failure interrupt line TSWL: Timestamp wraparound interrupt line.
BERRBit 5: Bit and line error grouping the following interruption EPL Error passive interrupt line ELOL: Error logging overflow interrupt line.
PERRBit 6: Protocol error grouping the following interruption ARAL: Access to reserved address line PEDL: Protocol error in data phase line PEAL: Protocol error in arbitration phase line WDIL: Watchdog interrupt line BOL: Bus_Off status EWL: Warning status interrupt line.
ILEFDCAN interrupt line enable register
Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EINT1Bit 0: Enable interrupt line 0.
EINT1Bit 1: Enable interrupt line 1.
RXGFCFDCAN global filter configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: Unspecified
0/8 fields covered.
Toggle fields RRFEBit 0: Reject remote frames extended These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
RRFSBit 1: Reject remote frames standard These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
ANFEBits 2-3: Accept non-matching frames extended Defines how received messages with 29-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
ANFSBits 4-5: Accept Non-matching frames standard Defines how received messages with 11-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
F1OMBit 8: FIFO 1 operation mode (overwrite or blocking) This is a protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
F0OMBit 9: FIFO 0 operation mode (overwrite or blocking) This is protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
LSSBits 16-20: List size standard 1 to 28: Number of standard message ID filter elements >28: Values greater than 28 are interpreted as 28. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
LSEBits 24-27: List size extended 1 to 8: Number of extended message ID filter elements >8: Values greater than 8 are interpreted as 8. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
XIDAMFDCAN extended ID and mask register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: Unspecified
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 EIDMBits 0-28: Extended ID mask For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
HPMSFDCAN high-priority message status register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Toggle fields BIDXBits 0-2: Buffer index Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1..
MSIBits 6-7: Message storage indicator.
FIDXBits 8-12: Filter index Index of matching filter element. Range is 0 to RXGFC[LSS] - 1 or RXGFC[LSE] - 1..
FLSTBit 15: Filter list Indicates the filter list of the matching filter element..
RXF0SFDCAN Rx FIFO 0 status register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RF0LBits 0-3: Rx FIFO 0 fill level Number of elements stored in Rx FIFO 0, range 0 to 3..
F0GIBits 8-9: Rx FIFO 0 get index Rx FIFO 0 read index pointer, range 0 to 2..
F0PIBits 16-17: Rx FIFO 0 put index Rx FIFO 0 write index pointer, range 0 to 2..
F0FBit 24: Rx FIFO 0 full.
RF0LBit 25: Rx FIFO 0 message lost This bit is a copy of interrupt flag IR[RF0L]. When IR[RF0L] is reset, this bit is also reset..
RXF0ACAN Rx FIFO 0 acknowledge register
Offset: 0x94, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 F0AIBits 0-2: Rx FIFO 0 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 0 it has to write the buffer index of the last element read from Rx FIFO 0 to F0AI. This sets the Rx FIFO 0 get index RXF0S[F0GI] to F0AI + 1 and update the FIFO 0 fill level RXF0S[F0FL]..
RXF1SFDCAN Rx FIFO 1 status register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RF1LBits 0-3: Rx FIFO 1 fill level Number of elements stored in Rx FIFO 1, range 0 to 3..
F1GIBits 8-9: Rx FIFO 1 get index Rx FIFO 1 read index pointer, range 0 to 2..
F1PIBits 16-17: Rx FIFO 1 put index Rx FIFO 1 write index pointer, range 0 to 2..
F1FBit 24: Rx FIFO 1 full.
RF1LBit 25: Rx FIFO 1 message lost This bit is a copy of interrupt flag IR[RF1L]. When IR[RF1L] is reset, this bit is also reset..
RXF1AFDCAN Rx FIFO 1 acknowledge register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 F1AIBits 0-2: Rx FIFO 1 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 1 it has to write the buffer index of the last element read from Rx FIFO 1 to F1AI. This sets the Rx FIFO 1 get index RXF1S[F1GI] to F1AI + 1 and update the FIFO 1 Fill Level RXF1S[F1FL]..
TXBCFDCAN Tx buffer configuration register
Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TFQMBit 24: Tx FIFO/queue mode This is a protected write (P) bit, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
TXFQSFDCAN Tx FIFO/queue status register
Offset: 0xc4, size: 32, reset: 0x00000003, access: Unspecified
4/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TFQFBits 0-2: Tx FIFO free level Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)..
TFGIBits 8-9: Tx FIFO get index Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1).
TFQPIBits 16-17: Tx FIFO/queue put index Tx FIFO/queue write index pointer, range 0 to 3.
TFQFBit 21: Tx FIFO/queue full.
TXBRPFDCAN Tx buffer request pending register
Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TRPBits 0-2: Transmission request pending Each Tx buffer has its own transmission request pending bit. The bits are set via register TXBAR. The bits are reset after a requested transmission has completed or has been canceled via register TXBCR. After a TXBRP bit has been set, a Tx scan is started to check for the pending Tx request with the highest priority (Tx buffer with lowest Message ID). A cancellation request resets the corresponding transmission request pending bit of register TXBRP. In case a transmission has already been started when a cancellation is requested, this is done at the end of the transmission, regardless whether the transmission was successful or not. The cancellation request bits are reset directly after the corresponding TXBRP bit has been reset. After a cancellation has been requested, a finished cancellation is signaled via TXBCF after successful transmission together with the corresponding TXBTO bit when the transmission has not yet been started at the point of cancellation when the transmission has been aborted due to lost arbitration when an error occurred during frame transmission In DAR mode all transmissions are automatically canceled if they are not successful. The corresponding TXBCF bit is set for all unsuccessful transmissions..
TXBARFDCAN Tx buffer add request register
Offset: 0xcc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARBits 0-2: Add request Each Tx buffer has its own add request bit. Writing a 1 sets the corresponding add request bit; writing a 0 has no impact. This enables the Host to set transmission requests for multiple Tx buffers with one write to TXBAR. When no Tx scan is running, the bits are reset immediately, else the bits remain set until the Tx scan process has completed..
TXBCRFDCAN Tx buffer cancellation request register
Offset: 0xd0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRBits 0-2: Cancellation request Each Tx buffer has its own cancellation request bit. Writing a 1 sets the corresponding CR bit; writing a 0 has no impact. This enables the Host to set cancellation requests for multiple Tx buffers with one write to TXBCR. The bits remain set until the corresponding TXBRP bit is reset..
TXBTOFDCAN Tx buffer transmission occurred register
Offset: 0xd4, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TOBits 0-2: Transmission occurred. Each Tx buffer has its own TO bit. The bits are set when the corresponding TXBRP bit is cleared after a successful transmission. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
TXBCFFDCAN Tx buffer cancellation finished register
Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CFBits 0-2: Cancellation finished Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
TXBTIEFDCAN Tx buffer transmission interrupt enable register
Offset: 0xdc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 TIEBits 0-2: Transmission interrupt enable Each Tx buffer has its own TIE bit..
TXBCIEFDCAN Tx buffer cancellation finished interrupt enable register
Offset: 0xe0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CFIEBits 0-2: Cancellation finished interrupt enable. Each Tx buffer has its own CFIE bit..
TXEFSFDCAN Tx event FIFO status register
Offset: 0xe4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TEFLBits 0-2: Event FIFO fill level Number of elements stored in Tx event FIFO, range 0 to 3..
EFGIBits 8-9: Event FIFO get index Tx event FIFO read index pointer, range 0 to 3..
EFPIBits 16-17: Event FIFO put index Tx event FIFO write index pointer, range 0 to 3..
EFFBit 24: Event FIFO full.
TEFLBit 25: Tx event FIFO element lost This bit is a copy of interrupt flag IR[TEFL]. When IR[TEFL] is reset, this bit is also reset. 0 No Tx event FIFO element lost 1 Tx event FIFO element lost, also set after write attempt to Tx event FIFO of size 0..
TXEFAFDCAN Tx event FIFO acknowledge register
Offset: 0xe8, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EFAIBits 0-1: Event FIFO acknowledge index After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]..
CKDIVFDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 PDIVBits 0-3: input clock divider The APB clock could be divided prior to be used by the CAN sub system. The rate must be computed using the divider output clock. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FLASH0x40022000: Flash
5/71 fields covered.
Toggle register map Toggle registers ACRAccess control register
Offset: 0x0, size: 32, reset: 0x00000600, access: read-write
1/9 fields covered.
Toggle fields LATENCYBits 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.
ICENBit 9: Instruction cache enable.
DCENBit 10: Data cache enable.
ICRSTBit 11: Instruction cache reset.
DCRSTBit 12: Data cache reset.
RUN_PDBit 13: Flash Power-down mode during Low-power run mode.
SLEEP_PDBit 14: Flash Power-down mode during Low-power sleep mode.
DBG_SWENBit 18: Debug software enable.
PDKEYRPower down key register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PDKEYRBits 0-31: RUN_PD in FLASH_ACR key.
KEYRFlash key register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 KEYRBits 0-31: KEYR.
OPTKEYROption byte key register
Offset: 0xc, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 OPTKEYRBits 0-31: Option byte key.
SRStatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/12 fields covered.
Toggle fields EOPBit 0: End of operation.
OPERRBit 1: Operation error.
PROGERRBit 3: Programming error.
WRPERRBit 4: Write protected error.
PGAERRBit 5: Programming alignment error.
SIZERRBit 6: Size error.
PGSERRBit 7: Programming sequence error.
MISERRBit 8: Fast programming data miss error.
FASTERRBit 9: Fast programming error.
RDERRBit 14: PCROP read error.
OPTVERRBit 15: Option validity error.
BSYBit 16: Busy.
CRFlash control register
Offset: 0x14, size: 32, reset: 0xC0000000, access: read-write
0/14 fields covered.
Toggle fields PGBit 0: Programming.
PERBit 1: Page erase.
MER1Bit 2: Bank 1 Mass erase.
PNBBits 3-9: Page number.
STRTBit 16: Start.
OPTSTRTBit 17: Options modification start.
FSTPGBit 18: Fast programming.
EOPIEBit 24: End of operation interrupt enable.
ERRIEBit 25: Error interrupt enable.
RDERRIEBit 26: PCROP read error interrupt enable.
OBL_LAUNCHBit 27: Force the option byte loading.
SEC_PROT1Bit 28: SEC_PROT1.
OPTLOCKBit 30: Options Lock.
LOCKBit 31: FLASH_CR Lock.
ECCRFlash ECC register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
3/8 fields covered.
Toggle fields ADDR_ECCBits 0-18: ECC fail address.
BK_ECCBit 21: BK_ECC.
SYSF_ECCBit 22: SYSF_ECC.
ECCIEBit 24: ECCIE.
ECCC2Bit 28: ECC correction.
ECCD2Bit 29: ECC2 detection.
ECCCBit 30: ECC correction.
ECCDBit 31: ECC detection.
OPTRFlash option register
Offset: 0x20, size: 32, reset: 0xF0000000, access: read-write
0/16 fields covered.
Toggle fields RDPBits 0-7: Read protection level.
BOR_LEVBits 8-10: BOR reset Level.
nRST_STOPBit 12: nRST_STOP.
nRST_STDBYBit 13: nRST_STDBY.
nRST_SHDWBit 14: nRST_SHDW.
IDWG_SWBit 16: Independent watchdog selection.
IWDG_STOPBit 17: Independent watchdog counter freeze in Stop mode.
IWDG_STDBYBit 18: Independent watchdog counter freeze in Standby mode.
WWDG_SWBit 19: Window watchdog selection.
nBOOT1Bit 23: Boot configuration.
SRAM2_PEBit 24: SRAM2 parity check enable.
SRAM2_RSTBit 25: SRAM2 Erase when system reset.
nSWBOOT0Bit 26: nSWBOOT0.
nBOOT0Bit 27: nBOOT0.
NRST_MODEBits 28-29: NRST_MODE.
IRHENBit 30: IRHEN.
PCROP1SRFlash Bank 1 PCROP Start address register
Offset: 0x24, size: 32, reset: 0xFFFF0000, access: read-write
0/1 fields covered.
Toggle fields PCROP1_STRTBits 0-14: Bank 1 PCROP area start offset.
PCROP1ERFlash 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_RDPBits 0-14: Bank 1 PCROP area end offset.
PCROP_RDPBit 31: PCROP area preserved when RDP level decreased.
WRP1ARFlash 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_ENDBits 0-6: Bank 1 WRP first area start offset.
WRP1A_ENDBits 16-22: Bank 1 WRP first area A end offset.
WRP1BRFlash 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_ENDBits 0-6: Bank 1 WRP second area B end offset.
WRP1B_ENDBits 16-22: Bank 1 WRP second area B start offset.
SEC1Rsecurable area bank1 register
Offset: 0x70, size: 32, reset: 0xFF00FF00, access: read-write
0/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BOOT_LOCKBits 0-7: SEC_SIZE1.
BOOT_LOCKBit 16: BOOT_LOCK.
FMAC0x40021400: Filter Math Accelerator
6/29 fields covered.
Toggle register map Toggle registers X1BUFCFGFMAC X1 Buffer Configuration register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
Toggle fields X1_BASEBits 0-7: X1_BASE.
X1_BUF_SIZEBits 8-15: X1_BUF_SIZE.
FULL_WMBits 24-25: FULL_WM.
X2BUFCFGFMAC X2 Buffer Configuration register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields X2_BASEBits 0-7: X1_BASE.
X2_BUF_SIZEBits 8-15: X1_BUF_SIZE.
YBUFCFGFMAC 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_WMBits 0-7: X1_BASE.
Y_BUF_SIZEBits 8-15: X1_BUF_SIZE.
EMPTY_WMBits 24-25: EMPTY_WM.
PARAMFMAC Parameter register
Offset: 0xc, 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 STARTBits 0-7: P.
QBits 8-15: Q.
RBits 16-23: R.
FUNCBits 24-30: FUNC.
STARTBit 31: START.
CRFMAC Control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields RIENBit 0: RIEN.
WIENBit 1: WIEN.
OVFLIENBit 2: OVFLIEN.
UNFLIENBit 3: UNFLIEN.
SATIENBit 4: SATIEN.
DMARENBit 8: DMAREN.
DMAWENBit 9: DMAWEN.
CLIPENBit 15: CLIPEN.
RESETBit 16: RESET.
SRFMAC Status register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields YEMPTYBit 0: YEMPTY.
X1FULLBit 1: X1FULL.
OVFLBit 8: OVFL.
UNFLBit 9: UNFL.
SATBit 10: SAT.
WDATAFMAC 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 WDATABits 0-15: WDATA.
RDATAFMAC 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 RDATABits 0-15: RDATA.
GPIOA0x48000000: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48000400: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFEBF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48000800: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48000c00: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48001000: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48001400: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x48001800: General-purpose I/Os
177/177 fields covered.
Toggle register map Toggle registers MODERGPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
Toggle fields MODER[0]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.
Toggle fields OT[0]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.
Toggle fields OSPEEDR[0]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.
Toggle fields PUPDR[0]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.
Toggle fields IDR[0]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.
Toggle fields ODR[0]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.
Toggle fields BS[0]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.
Toggle fields LCK[0]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.
Toggle fields AFR[L0]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.
Toggle fields AFR[H8]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
16/16 fields covered.
Toggle fields BR[0]Bit 0: Port x reset pin 0.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 1: Port x reset pin 1.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 2: Port x reset pin 2.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 3: Port x reset pin 3.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 4: Port x reset pin 4.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 5: Port x reset pin 5.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 6: Port x reset pin 6.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 7: Port x reset pin 7.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 8: Port x reset pin 8.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 9: Port x reset pin 9.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 10: Port x reset pin 10.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 11: Port x reset pin 11.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 12: Port x reset pin 12.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 13: Port x reset pin 13.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 14: Port x reset pin 14.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
Bit 15: Port x reset pin 15.
Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit
0x40005400: Inter-integrated circuit
76/76 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields PEBit 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.
Toggle fields SADDBits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 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
RELOADBit 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.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 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.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 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 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 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
TEXTENBit 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.
Toggle fields TXEBit 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
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 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 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive 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 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit 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 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
I2C20x40005800: Inter-integrated circuit
76/76 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields PEBit 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.
Toggle fields SADDBits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 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
RELOADBit 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.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 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.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 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 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 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
TEXTENBit 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.
Toggle fields TXEBit 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
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 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 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive 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 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit 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 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
I2C30x40007800: Inter-integrated circuit
76/76 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields PEBit 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.
Toggle fields SADDBits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
RD_WRNBit 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
RELOADBit 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.
Toggle fields OA1Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
OA1MODEBit 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.
Toggle fields OA2Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
OA2MSKBits 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 PRESCBits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
SCLHBits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
SDADELBits 16-19: Data hold time.
Allowed values: 0x0-0xf
SCLDELBits 20-23: Data setup time.
Allowed values: 0x0-0xf
PRESCBits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
TIMEOUTRStatus register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields TIMEOUTABits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
TIDLEBit 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
TEXTENBit 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.
Toggle fields TXEBit 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
ICRInterrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields ADDRCFBit 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 PECBits 0-7: Packet error checking register.
Allowed values: 0x0-0xff
RXDRReceive 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 RXDATABits 0-7: 8-bit receive data.
Allowed values: 0x0-0xff
TXDRTransmit 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 TXDATABits 0-7: 8-bit transmit data.
Allowed values: 0x0-0xff
IWDG0x40003000: WinWATCHDOG
7/7 fields covered.
Toggle register map Offset Name31
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) KR KEY 0x4 (16-bit) PR PR 0x8 (16-bit) RLR RL 0xc (16-bit) SR WVU RVU PVU 0x10 (16-bit) WINR WIN Toggle registers KRKey register
Offset: 0x0, size: 16, 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 KEYBits 0-15: Key value (write only, read 0x0000).
Allowed values:
21845: Unlock: Enable access to PR, RLR and WINR registers
43690: Feed: Feed watchdog with RLR register value
52428: Start: Start the watchdog
Prescaler register
Offset: 0x4, size: 16, 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 PRBits 0-2: Prescaler divider.
Allowed values:
0: DivideBy4: Divider /4
1: DivideBy8: Divider /8
2: DivideBy16: Divider /16
3: DivideBy32: Divider /32
4: DivideBy64: Divider /64
5: DivideBy128: Divider /128
6 (+): DivideBy256: Divider /256
Reload register
Offset: 0x8, size: 16, 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 RLBits 0-11: Watchdog counter reload value.
Allowed values: 0x0-0xfff
SRStatus register
Offset: 0xc, size: 16, 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 WVUBit 0: Watchdog prescaler value update.
RVUBit 1: Watchdog counter reload value update.
WVUBit 2: Watchdog counter window value update.
WINRWindow register
Offset: 0x10, size: 16, 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 WINBits 0-11: Watchdog counter window value.
Allowed values: 0x0-0xfff
LPTIMER10x40007c00: Low power timer
42/46 fields covered.
Toggle register map Toggle registers ISRInterrupt and Status Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Toggle fields CMPMBit 0: Compare match.
Allowed values:
1: Set: Compare match
Bit 1: Autoreload match.
Allowed values:
1: Set: Autoreload match
Bit 2: External trigger edge event.
Allowed values:
1: Set: External trigger edge event
Bit 3: Compare register update OK.
Allowed values:
1: Set: Compare register update OK
Bit 4: Autoreload register update OK.
Allowed values:
1: Set: Autoreload register update OK
Bit 5: Counter direction change down to up.
Allowed values:
1: Set: Counter direction change down to up
Bit 6: Counter direction change up to down.
Allowed values:
1: Set: Counter direction change up to down
Interrupt Clear Register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
7/7 fields covered.
Toggle fields CMPMCFBit 0: compare match Clear Flag.
Allowed values:
1: Clear: Compare match Clear Flag
Bit 1: Autoreload match Clear Flag.
Allowed values:
1: Clear: Autoreload match Clear Flag
Bit 2: External trigger valid edge Clear Flag.
Allowed values:
1: Clear: External trigger valid edge Clear Flag
Bit 3: Compare register update OK Clear Flag.
Allowed values:
1: Clear: Compare register update OK Clear Flag
Bit 4: Autoreload register update OK Clear Flag.
Allowed values:
1: Clear: Autoreload register update OK Clear Flag
Bit 5: Direction change to UP Clear Flag.
Allowed values:
1: Clear: Direction change to up Clear Flag
Bit 6: Direction change to down Clear Flag.
Allowed values:
1: Clear: Direction change to down Clear Flag
Interrupt Enable Register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields CMPMIEBit 0: Compare match Interrupt Enable.
Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled
Bit 1: Autoreload match Interrupt Enable.
Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled
Bit 2: External trigger valid edge Interrupt Enable.
Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled
Bit 3: Compare register update OK Interrupt Enable.
Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled
Bit 4: Autoreload register update OK Interrupt Enable.
Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled
Bit 5: Direction change to UP Interrupt Enable.
Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled
Bit 6: Direction change to down Interrupt Enable.
Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled
Configuration Register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
Toggle fields CKSELBit 0: Clock selector.
Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1
Bits 1-2: Clock Polarity.
Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.
Bits 3-4: Configurable digital filter for external clock.
Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition
Bits 6-7: Configurable digital filter for trigger.
Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger
Bits 9-11: Clock prescaler.
Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128
Bits 13-16: Trigger selector.
Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7
Bits 17-18: Trigger enable and polarity.
Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges
Bit 19: Timeout enable.
Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter
Bit 20: Waveform shape.
Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode
Bit 21: Waveform shape polarity.
Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers
Bit 22: Registers update mode.
Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period
Bit 23: counter mode enabled.
Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1
Bit 24: Encoder mode enable.
Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled
Control Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields ENABLEBit 0: LPTIM Enable.
Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled
Bit 1: LPTIM start in single mode.
Allowed values:
1: Start: LPTIM start in Single mode
Bit 2: Timer start in continuous mode.
Allowed values:
1: Start: Timer start in Continuous mode
Bit 3: COUNTRST.
Allowed values:
0: Idle: Triggering of reset is possible
1: Busy: Reset in progress, do not write 1 to this field
Bit 4: RSTARE.
Allowed values:
0: Disabled: CNT Register reads do not trigger reset
1: Enabled: CNT Register reads trigger reset of LPTIM
Compare Register
Offset: 0x14, 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 CMPBits 0-15: Compare value.
Allowed values: 0x0-0xffff
ARRAutoreload Register
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ARRBits 0-15: Auto reload value.
Allowed values: 0x0-0xffff
CNTCounter 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 CNTBits 0-15: Counter value.
Allowed values: 0x0-0xffff
ORoption register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields IN1Bit 0: IN1.
IN2Bit 1: IN2.
IN1_2_1Bits 2-3: IN1_2_1.
IN2_2_1Bits 4-5: IN2_2_1.
LPUART10x40008000: Universal synchronous asynchronous receiver transmitter
84/84 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
21/21 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from 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
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
M1Bit 28: Word length.
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.
Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled
Bit 30: TXFEIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register
Bit 31: RXFFIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields ADDM7Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
2: Stop2: 2 stop bit
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
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
Toggle fields EIEBit 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 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
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 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 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Bit 23: TXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG
Bits 25-27: RXFTCFG.
Allowed values:
0: Depth_1_8: RXFIFO reaches 1/8 of its depth
1: Depth_1_4: RXFIFO reaches 1/4 of its depth
2: Depth_1_2: RXFIFO reaches 1/2 of its depth
3: Depth_3_4: RXFIFO reaches 3/4 of its depth
4: Depth_7_8: RXFIFO reaches 7/8 of its depth
5: Full: RXFIFO becomes full
Bit 28: RXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG
Bits 29-31: TXFTCFG.
Allowed values:
0: Depth_1_8: TXFIFO reaches 1/8 of its depth
1: Depth_1_4: TXFIFO reaches 1/4 of its depth
2: Depth_1_2: TXFIFO reaches 1/2 of its depth
3: Depth_3_4: TXFIFO reaches 3/4 of its depth
4: Depth_7_8: TXFIFO reaches 7/8 of its depth
5: Empty: TXFIFO becomes empty
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 BRRBits 0-19: BRR.
Allowed values: 0x0-0xfffff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields SBKRQBit 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: TXFRQ.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
21/21 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: RWU.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: WUF.
TEACKBit 21: TEACK.
REACKBit 22: REACK.
TXFEBit 23: TXFE.
Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.
Bit 24: RXFF.
Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.
Bit 26: RXFT.
Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.
Bit 27: TXFT.
Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields PECFBit 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 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
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.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
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 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit 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 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
PRESCPrescaler register
Offset: 0x2c, 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 PRESCALERBits 0-3: PRESCALER.
Allowed values:
0: Div1: Input clock divided by 1
1: Div2: Input clock divided by 2
2: Div4: Input clock divided by 4
3: Div6: Input clock divided by 6
4: Div8: Input clock divided by 8
5: Div10: Input clock divided by 10
6: Div12: Input clock divided by 12
7: Div16: Input clock divided by 16
8: Div32: Input clock divided by 32
9: Div64: Input clock divided by 64
10: Div128: Input clock divided by 128
11: Div256: Input clock divided by 256
0x40010300: Operational amplifiers
57/60 fields covered.
Toggle register map Toggle registers OPAMP1_CSROPAMP1 control/status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields OPAENBit 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
TRIMOFFSETNBits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
CALOUTBit 30: CALOUT.
Allowed values: 0x0-0x1
LOCKBit 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.
Toggle fields OPAENBit 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
TRIMOFFSETNBits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
CALOUTBit 30: CALOUT.
Allowed values: 0x0-0x1
LOCKBit 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.
Toggle fields OPAENBit 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
TRIMOFFSETNBits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
CALOUTBit 30: CALOUT.
Allowed values: 0x0-0x1
LOCKBit 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.
Toggle fields VMS_SELBit 0: VMS_SEL.
VPS_SELBits 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.
Toggle fields VMS_SELBit 0: VMS_SEL.
VPS_SELBits 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.
Toggle fields VMS_SELBit 0: VMS_SEL.
VPS_SELBits 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
0x40007000: Power control
13/256 fields covered.
Toggle register map Toggle registers CR1Power control register 1
Offset: 0x0, size: 32, reset: 0x00000200, access: Unspecified
0/5 fields covered.
Toggle fields LPMSBits 0-2: Low-power mode selection These bits select the low-power mode entered when CPU enters the deepsleep mode. 1xx: Shutdown mode Note: In Standby mode, SRAM2 can be preserved or not, depending on RRS bit configuration in PWR_CR3..
FPD_STOPBit 3: FPD_STOP.
DBPBit 8: Disable backup domain write protection In reset state, the RTC and backup registers are protected against parasitic write access. This bit must be set to enable write access to these registers..
VOSBits 9-10: Voltage scaling range selection.
LPRBit 14: Low-power run When this bit is set, the regulator is switched from main mode (MR) to low-power mode (LPR)..
CR2Power control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
0/4 fields covered.
Toggle fields PVDEBit 0: Programmable voltage detector enable Note: This bit is write-protected when the PVDL bit is set in the SYSCFG_CFGR2 register. The protection can be reset only by a system reset..
PVDLSBits 1-3: Programmable voltage detector level selection. These bits select the PVD falling threshold: Note: These bits are write-protected when the PVDL bit is set in the SYSCFG_CFGR2 register. The protection can be reset only by a system reset..
PVMEN1Bit 6: Peripheral voltage monitoring 3 enable: V<sub>DDA</sub> vs. ADC/COMP min voltage 1.62V.
PVMEN2Bit 7: Peripheral voltage monitoring 4 enable: V<sub>DDA</sub> vs. DAC 1MSPS /DAC 15MSPS min voltage..
CR3Power control register 3
Offset: 0x8, size: 32, reset: 0x00008000, access: Unspecified
0/10 fields covered.
Toggle fields EWUP1Bit 0: Enable Wakeup pin WKUP1 When this bit is set, the external wakeup pin WKUP1 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP1 bit in the PWR_CR4 register..
EWUP2Bit 1: Enable Wakeup pin WKUP2 When this bit is set, the external wakeup pin WKUP2 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP2 bit in the PWR_CR4 register..
EWUP3Bit 2: Enable Wakeup pin WKUP3 When this bit is set, the external wakeup pin WKUP3 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP3 bit in the PWR_CR4 register..
EWUP4Bit 3: Enable Wakeup pin WKUP4 When this bit is set, the external wakeup pin WKUP4 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP4 bit in the PWR_CR4 register..
EWUP5Bit 4: Enable Wakeup pin WKUP5 When this bit is set, the external wakeup pin WKUP5 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs.The active edge is configured via the WP5 bit in the PWR_CR4 register..
RRSBit 8: SRAM2 retention in Standby mode.
APCBit 10: Apply pull-up and pull-down configuration When this bit is set, the I/O pull-up and pull-down configurations defined in the PWR_PUCRx and PWR_PDCRx registers are applied. When this bit is cleared, the PWR_PUCRx and PWR_PDCRx registers are not applied to the I/Os..
UCPD1_STDBYBit 13: UCPD1_STDBY USB Type-C and Power Delivery standby mode..
UCPD1_DBDISBit 14: USB Type-C and Power Delivery Dead Battery disable. After exiting reset, the USB Type-C dead battery behavior is enabled, which may have a pull-down effect on CC1 and CC2 pins. It is recommended to disable it in all cases, either to stop this pull-down or to hand over control to the UCPD1 (which should therefore be initialized before doing the disable)..
EIWULBit 15: Enable internal wakeup line.
CR4Power control register 4
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
Toggle fields WP1Bit 0: Wakeup pin WKUP1 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP1.
WP2Bit 1: Wakeup pin WKUP2 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP2.
WP3Bit 2: Wakeup pin WKUP3 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP3.
WP4Bit 3: Wakeup pin WKUP4 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP4.
WP5Bit 4: Wakeup pin WKUP5 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP5.
VBEBit 8: V<sub>BAT</sub> battery charging enable.
VBRSBit 9: V<sub>BAT</sub> battery charging resistor selection.
SR1Power status register 1
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
7/7 fields covered.
Toggle fields WUF1Bit 0: Wakeup flag 1 This bit is set when a wakeup event is detected on wakeup pin, WKUP1. It is cleared by writing 1 in the CWUF1 bit of the PWR_SCR register..
WUF2Bit 1: Wakeup flag 2 This bit is set when a wakeup event is detected on wakeup pin, WKUP2. It is cleared by writing 1 in the CWUF2 bit of the PWR_SCR register..
WUF3Bit 2: Wakeup flag 3 This bit is set when a wakeup event is detected on wakeup pin, WKUP3. It is cleared by writing 1 in the CWUF3 bit of the PWR_SCR register..
WUF4Bit 3: Wakeup flag 4 This bit is set when a wakeup event is detected on wakeup pin,WKUP4. It is cleared by writing 1 in the CWUF4 bit of the PWR_SCR register..
WUF5Bit 4: Wakeup flag 5 This bit is set when a wakeup event is detected on wakeup pin, WKUP5. It is cleared by writing 1 in the CWUF5 bit of the PWR_SCR register..
SBFBit 8: Standby flag This bit is set by hardware when the device enters the Standby mode and is cleared by setting the CSBF bit in the PWR_SCR register, or by a power-on reset. It is not cleared by the system reset..
WUFIBit 15: Wakeup flag internal This bit is set when a wakeup is detected on the internal wakeup line. It is cleared when all internal wakeup sources are cleared..
SR2Power status register 2
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
6/6 fields covered.
Toggle fields REGLPSBit 8: Low-power regulator started This bit provides the information whether the low-power regulator is ready after a power-on reset or a Standby/Shutdown. If the Standby mode is entered while REGLPS bit is still cleared, the wakeup from Standby mode time may be increased..
REGLPFBit 9: Low-power regulator flag This bit is set by hardware when the MCU is in Low-power run mode. When the MCU exits the Low-power run mode, this bit remains at 1 until the regulator is ready in main mode. A polling on this bit must be done before increasing the product frequency. This bit is cleared by hardware when the regulator is ready..
VOSFBit 10: Voltage scaling flag A delay is required for the internal regulator to be ready after the voltage scaling has been changed. VOSF indicates that the regulator reached the voltage level defined with VOS bits of the PWR_CR1 register..
PVDOBit 11: Programmable voltage detector output.
PVMO1Bit 14: Peripheral voltage monitoring output: V<sub>DDA</sub> vs. 1.62 V Note: PVMO1 is cleared when PVM1 is disabled (PVME = 0). After enabling PVM1, the PVM1 output is valid after the PVM1 wakeup time..
PVMO2Bit 15: Peripheral voltage monitoring output: V<sub>DDA</sub> vs. 1.8 V Note: PVMO2 is cleared when PVM2 is disabled (PVME = 0). After enabling PVM2, the PVM2 output is valid after the PVM2 wakeup time..
SCRPower status clear register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
0/6 fields covered.
Toggle fields CWUF1Bit 0: Clear wakeup flag 1 Setting this bit clears the WUF1 flag in the PWR_SR1 register..
CWUF2Bit 1: Clear wakeup flag 2 Setting this bit clears the WUF2 flag in the PWR_SR1 register..
CWUF3Bit 2: Clear wakeup flag 3 Setting this bit clears the WUF3 flag in the PWR_SR1 register..
CWUF4Bit 3: Clear wakeup flag 4 Setting this bit clears the WUF4 flag in the PWR_SR1 register..
CWUF5Bit 4: Clear wakeup flag 5 Setting this bit clears the WUF5 flag in the PWR_SR1 register..
CSBFBit 8: Clear standby flag Setting this bit clears the SBF flag in the PWR_SR1 register..
PUCRAPower Port A pull-up control register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/15 fields covered.
Toggle fields PU0Bit 0: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU11Bit 11: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU12Bit 12: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU13Bit 13: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU15Bit 15: Port A pull-up bit 15 When set, this bit activates the pull-up on PA[15] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PD15 bit is also set..
PDCRAPower Port A pull-down control register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/14 fields covered.
Toggle fields PD0Bit 0: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD4Bit 4: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD11Bit 11: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD12Bit 12: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
PD14Bit 14: Port A pull-down bit 14 When set, this bit activates the pull-down on PA[14] when APC bit is set in PWR_CR3 register..
PUCRBPower Port B pull-up control register
Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PU0Bit 0: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU11Bit 11: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU12Bit 12: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU13Bit 13: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU14Bit 14: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU15Bit 15: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PDCRBPower Port B pull-down control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: Unspecified
0/15 fields covered.
Toggle fields PD0Bit 0: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD11Bit 11: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD12Bit 12: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD13Bit 13: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD14Bit 14: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PD15Bit 15: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
PUCRCPower Port C pull-up control register
Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PU0Bit 0: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU11Bit 11: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU12Bit 12: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU13Bit 13: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU14Bit 14: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU15Bit 15: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PDCRCPower Port C pull-down control register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PD0Bit 0: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD4Bit 4: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD11Bit 11: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD12Bit 12: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD13Bit 13: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD14Bit 14: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PD15Bit 15: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
PUCRDPower Port D pull-up control register
Offset: 0x38, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PU0Bit 0: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU11Bit 11: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU12Bit 12: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU13Bit 13: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU14Bit 14: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU15Bit 15: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PDCRDPower Port D pull-down control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PD0Bit 0: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD4Bit 4: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD11Bit 11: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD12Bit 12: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD13Bit 13: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD14Bit 14: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PD15Bit 15: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
PUCREPower Port E pull-up control register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PU0Bit 0: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU11Bit 11: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU12Bit 12: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU13Bit 13: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU14Bit 14: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU15Bit 15: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PDCREPower Port E pull-down control register
Offset: 0x44, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PD0Bit 0: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD4Bit 4: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD11Bit 11: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD12Bit 12: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD13Bit 13: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD14Bit 14: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PD15Bit 15: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
PUCRFPower Port F pull-up control register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PU0Bit 0: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU11Bit 11: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU12Bit 12: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU13Bit 13: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU14Bit 14: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU15Bit 15: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PDCRFPower Port F pull-down control register
Offset: 0x4c, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
Toggle fields PD0Bit 0: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD4Bit 4: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD11Bit 11: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD12Bit 12: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD13Bit 13: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD14Bit 14: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PD15Bit 15: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
PUCRGPower Port G pull-up control register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/11 fields covered.
Toggle fields PU0Bit 0: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU1Bit 1: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU2Bit 2: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU3Bit 3: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU4Bit 4: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU5Bit 5: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU6Bit 6: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU7Bit 7: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU8Bit 8: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU9Bit 9: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PU10Bit 10: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
PDCRGPower Port G pull-down control register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/11 fields covered.
Toggle fields PD0Bit 0: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD1Bit 1: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD2Bit 2: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD3Bit 3: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD4Bit 4: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD5Bit 5: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD6Bit 6: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD7Bit 7: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD8Bit 8: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD9Bit 9: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
PD10Bit 10: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
CR5Power control register
Offset: 0x80, size: 32, reset: 0x00000100, access: Unspecified
0/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 R1MODEBit 8: Main regular range 1 mode This bit is only valid for the main regulator in range 1 and has no effect on range 2. It is recommended to reset this bit when the system frequency is greater than 150 MHz. Refer to.
RCC0x40021000: Reset and clock control
189/277 fields covered.
Toggle register map Toggle registers CRClock control register
Offset: 0x0, size: 32, reset: 0x00000063, access: Unspecified
8/9 fields covered.
Toggle fields HSIONBit 8: HSI16 clock enable Set and cleared by software. Cleared by hardware to stop the HSI16 oscillator when entering Stop, Standby or Shutdown mode. Set by hardware to force the HSI16 oscillator ON when STOPWUCK=1 or HSIASFS = 1 when leaving Stop modes, or in case of failure of the HSE crystal oscillator. This bit is set by hardware if the HSI16 is used directly or indirectly as system clock..
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 9: HSI16 always enable for peripheral kernels. Set and cleared by software to force HSI16 ON even in Stop modes. The HSI16 can only feed USARTs and I<sup>2</sup>Cs peripherals configured with HSI16 as kernel clock. Keeping the HSI16 ON in Stop mode allows to avoid slowing down the communication speed because of the HSI16 startup time. This bit has no effect on HSION value..
HSIRDYBit 10: HSI16 clock ready flag Set by hardware to indicate that HSI16 oscillator is stable. This bit is set only when HSI16 is enabled by software by setting HSION. Note: Once the HSION bit is cleared, HSIRDY goes low after 6 HSI16 clock cycles..
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 16: HSE clock enable Set and cleared by software. Cleared by hardware to stop the HSE oscillator when entering Stop, Standby or Shutdown mode. This bit cannot be reset if the HSE oscillator is used directly or indirectly as the system clock..
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 17: HSE clock ready flag Set by hardware to indicate that the HSE oscillator is stable. Note: Once the HSEON bit is cleared, HSERDY goes low after 6 HSE clock cycles..
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 18: HSE crystal oscillator bypass Set and cleared by software to bypass the oscillator with an external clock. The external clock must be enabled with the HSEON bit set, to be used by the device. The HSEBYP bit can be written only if the HSE oscillator is disabled..
Allowed values:
0: NotBypassed: HSE crystal oscillator not bypassed
1: Bypassed: HSE crystal oscillator bypassed with external clock
Bit 19: Clock security system enable Set by software to enable the clock security system. When CSSON is set, the clock detector is enabled by hardware when the HSE oscillator is ready, and disabled by hardware if a HSE clock failure is detected. This bit is set only and is cleared by reset..
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 Set and cleared by software to enable the main PLL. Cleared by hardware when entering Stop, Standby or Shutdown mode. This bit cannot be reset if the PLL clock is used as the system clock..
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 25: Main PLL clock ready flag Set by hardware to indicate that the main PLL is locked..
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 HSITRIMBits 16-23: HSI16 clock calibration These bits are initialized at startup with the factory-programmed HSI16 calibration trim value. When HSITRIM is written, HSICAL is updated with the sum of HSITRIM and the factory trim value..
HSITRIMBits 24-30: HSI16 clock trimming These bits provide an additional user-programmable trimming value that is added to the HSICAL[7:0] bits. It can be programmed to adjust to variations in voltage and temperature that influence the frequency of the HSI16. The default value is 16, which, when added to the HSICAL value, should trim the HSI16 to 16 MHz 1 %..
CFGRClock configuration register
Offset: 0x8, size: 32, reset: 0x00000005, access: Unspecified
7/7 fields covered.
Toggle fields SWBits 0-1: System clock switch Set and cleared by software to select system clock source (SYSCLK). Configured by hardware to force HSI16 oscillator selection when exiting stop and standby modes or in case of failure of the HSE oscillator..
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 Set and cleared by hardware to indicate which clock source is used as system clock..
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 Set and cleared by software to control the division factor of the AHB clock. Note: Depending on the device voltage range, the software has to set correctly these bits to ensure that the system frequency does not exceed the maximum allowed frequency (for more details please refer to Section 6.1.5: Dynamic voltage scaling management). After a write operation to these bits and before decreasing the voltage range, this register must be read to be sure that the new value has been taken into account. 0xxx: SYSCLK not divided.
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: APB1 prescaler Set and cleared by software to control the division factor of the APB1 clock (PCLK1). 0xx: HCLK not divided.
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: APB2 prescaler Set and cleared by software to control the division factor of the APB2 clock (PCLK2). 0xx: HCLK not divided.
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 Set and cleared by software. Others: Reserved Note: This clock output may have some truncated cycles at startup or during MCO clock source switching..
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 These bits are set and cleared by software. It is highly recommended to change this prescaler before MCO output is enabled. Others: not allowed.
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: Unspecified
7/10 fields covered.
Toggle fields PLLSRCBits 0-1: Main PLL entry clock source Set and cleared by software to select PLL clock source. These bits can be written only when PLL is disabled. In order to save power, when no PLL is used, the value of PLLSRC should be 00..
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 input clock Set and cleared by software to divide the PLL input clock before the VCO. These bits can be written only when all PLLs are disabled. VCO input frequency = PLL input clock frequency / PLLM with 1 <= PLLM <= 16 ... Note: The software has to set these bits correctly to ensure that the VCO input frequency is within the range defined in the device datasheet..
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 Set and cleared by software to control the multiplication factor of the VCO. These bits can be written only when the PLL is disabled. VCO output frequency = VCO input frequency x PLLN with 8 =< PLLN =< 127 ... ... Note: The software has to set correctly these bits to assure that the VCO output frequency is within the range defined in the device datasheet..
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 PLL P clock output enable Set and reset by software to enable the PLL P clock output of the PLL. In order to save power, when the PLL P clock output of the PLL is not used, the value of PLLPEN should be 0..
PLLPBit 17: Main PLL division factor for PLL P clock. Set and cleared by software to control the frequency of the main PLL output clock PLL P clock. These bits can be written only if PLL is disabled. When the PLLPDIV[4:0] is set to 00000PLL P output clock frequency = VCO frequency / PLLP with PLLP =7, or 17 Note: The software has to set these bits correctly not to exceed 170 MHz on this domain..
Allowed values:
0: Div7: pll_p_ck = vco_ck / 7
1: Div17: pll_p_ck = vco_ck / 17
Bit 20: Main PLL Q clock output enable Set and reset by software to enable the PLL Q clock output of the PLL. In order to save power, when the PLL Q clock output of the PLL is not used, the value of PLLQEN should be 0..
PLLQBits 21-22: Main PLL division factor for PLL Q clock. Set and cleared by software to control the frequency of the main PLL output clock PLL Q clock. This output can be selected for USB, RNG, SAI (48 MHz clock). These bits can be written only if PLL is disabled. PLL Q output clock frequency = VCO frequency / PLLQ with PLLQ = 2, 4, 6, or 8 Note: The software has to set these bits correctly not to exceed 170 MHz on this domain..
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: PLL R clock output enable Set and reset by software to enable the PLL R clock output of the PLL (used as system clock). This bit cannot be written when PLL R clock output of the PLL is used as System Clock. In order to save power, when the PLL R clock output of the PLL is not used, the value of PLLREN should be 0..
PLLRBits 25-26: Main PLL division factor for PLL R clock (system clock) Set and cleared by software to control the frequency of the main PLL output clock PLLCLK. This output can be selected as system clock. These bits can be written only if PLL is disabled. PLL R output clock frequency = VCO frequency / PLLR with PLLR = 2, 4, 6, or 8 Note: The software has to set these bits correctly not to exceed 170 MHz on this domain..
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 PLLP division factor Set and cleared by software to control the PLL P frequency. PLL P output clock frequency = VCO frequency / PLLPDIV. .....
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: Unspecified
0/7 fields covered.
Toggle fields LSIRDYIEBit 0: LSI ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the LSI oscillator stabilization..
LSERDYIEBit 1: LSE ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the LSE oscillator stabilization..
HSIRDYIEBit 3: HSI16 ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the HSI16 oscillator stabilization..
HSERDYIEBit 4: HSE ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the HSE oscillator stabilization..
PLLRDYIEBit 5: PLL ready interrupt enable Set and cleared by software to enable/disable interrupt caused by PLL lock..
LSECSSIEBit 9: LSE clock security system interrupt enable Set and cleared by software to enable/disable interrupt caused by the clock security system on LSE..
HSI48RDYIEBit 10: HSI48 ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the internal HSI48 oscillator..
CIFRClock interrupt flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: Unspecified
8/8 fields covered.
Toggle fields LSIRDYFBit 0: LSI ready interrupt flag Set by hardware when the LSI clock becomes stable and LSIRDYDIE is set. Cleared by software setting the LSIRDYC bit..
LSERDYFBit 1: LSE ready interrupt flag Set by hardware when the LSE clock becomes stable and LSERDYDIE is set. Cleared by software setting the LSERDYC bit..
HSIRDYFBit 3: HSI16 ready interrupt flag Set by hardware when the HSI16 clock becomes stable and HSIRDYDIE is set in a response to setting the HSION (refer to Clock control register (RCC_CR)). When HSION is not set but the HSI16 oscillator is enabled by the peripheral through a clock request, this bit is not set and no interrupt is generated. Cleared by software setting the HSIRDYC bit..
HSERDYFBit 4: HSE ready interrupt flag Set by hardware when the HSE clock becomes stable and HSERDYDIE is set. Cleared by software setting the HSERDYC bit..
PLLRDYFBit 5: PLL ready interrupt flag Set by hardware when the PLL locks and PLLRDYDIE is set. Cleared by software setting the PLLRDYC bit..
CSSFBit 8: Clock security system interrupt flag Set by hardware when a failure is detected in the HSE oscillator. Cleared by software setting the CSSC bit..
LSECSSFBit 9: LSE Clock security system interrupt flag Set by hardware when a failure is detected in the LSE oscillator. Cleared by software setting the LSECSSC bit..
HSI48RDYFBit 10: HSI48 ready interrupt flag Set by hardware when the HSI48 clock becomes stable and HSI48RDYIE is set in a response to setting the HSI48ON (refer to Clock recovery RC register (RCC_CRRCR)). Cleared by software setting the HSI48RDYC bit..
CICRClock interrupt clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/8 fields covered.
Toggle fields LSIRDYCBit 0: LSI ready interrupt clear This bit is set by software to clear the LSIRDYF flag..
LSERDYCBit 1: LSE ready interrupt clear This bit is set by software to clear the LSERDYF flag..
HSIRDYCBit 3: HSI16 ready interrupt clear This bit is set software to clear the HSIRDYF flag..
HSERDYCBit 4: HSE ready interrupt clear This bit is set by software to clear the HSERDYF flag..
PLLRDYCBit 5: PLL ready interrupt clear This bit is set by software to clear the PLLRDYF flag..
CSSCBit 8: Clock security system interrupt clear This bit is set by software to clear the CSSF flag..
LSECSSCBit 9: LSE Clock security system interrupt clear This bit is set by software to clear the LSECSSF flag..
HSI48RDYCBit 10: HSI48 oscillator ready interrupt clear This bit is set by software to clear the HSI48RDYF flag..
AHB1RSTRAHB1 peripheral reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified
7/7 fields covered.
Toggle fields DMA1RSTBit 0: DMA1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: DMA2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 2: Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 3: Set and cleared by software.
Allowed values:
1: Reset: Reset the selected module
Bit 4: Set and cleared by software.
Allowed values:
1: Reset: Reset the selected module
Bit 8: Flash memory interface reset Set and cleared by software. This bit can be activated only when the Flash memory is in power down mode..
Allowed values:
1: Reset: Reset the selected module
Bit 12: CRC reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
AHB2 peripheral reset register
Offset: 0x2c, size: 32, reset: 0x00000000, access: Unspecified
15/15 fields covered.
Toggle fields GPIOARSTBit 0: IO port A reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: IO port B reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 2: IO port C reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 3: IO port D reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 4: IO port E reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 5: IO port F reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 6: IO port G reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 13: ADC12 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 14: ADC345 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 16: DAC1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 17: DAC2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 18: DAC3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 19: DAC4 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 24: AESRST reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 26: RNG reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
AHB3 peripheral reset register
Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
Toggle fields FMCRSTBit 0: Flexible static memory controller reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 8: QUADSPI reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register 1
Offset: 0x38, size: 32, reset: 0x00000000, access: Unspecified
20/20 fields covered.
Toggle fields TIM2RSTBit 0: TIM2 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: TIM3 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 2: TIM3 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 3: TIM5 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 4: TIM6 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 5: TIM7 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 8: CRS reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 14: SPI2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 17: USART2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 18: USART3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 19: UART4 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 20: UART5 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 21: I2C1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 22: I2C2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 23: USB device reset Set and reset by software..
Allowed values:
1: Reset: Reset the selected module
Bit 25: FDCAN reset Set and reset by software..
Allowed values:
1: Reset: Reset the selected module
Bit 28: Power interface reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 30: I2C3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 31: Low Power Timer 1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register 2
Offset: 0x3c, size: 32, reset: 0x00000000, access: Unspecified
3/3 fields covered.
Toggle fields LPUART1RSTBit 0: Low-power UART 1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: I2C4 reset Set and cleared by software.
Allowed values:
1: Reset: Reset the selected module
Bit 8: UCPD1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
APB2 peripheral reset register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
12/12 fields covered.
Toggle fields SYSCFGRSTBit 0: SYSCFG + COMP + OPAMP + VREFBUF reset.
Allowed values:
1: Reset: Reset the selected module
Bit 11: TIM1 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 12: SPI1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 13: TIM8 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 14: USART1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI4 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 16: TIM15 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 17: TIM16 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 18: TIM17 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 20: TIM20 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 21: Serial audio interface 1 (SAI1) reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 26: HRTIM1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
AHB1 peripheral clock enable register
Offset: 0x48, size: 32, reset: 0x00000100, access: Unspecified
7/7 fields covered.
Toggle fields DMA1ENBit 0: DMA1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: DMA2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: DMAMUX1 clock enable Set and reset by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: CORDIC clock enable Set and reset by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: FMAC enable Set and reset by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: Flash memory interface clock enable Set and cleared by software. This bit can be disabled only when the Flash is in power down mode..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: CRC clock enable Set and cleared by software..
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: Unspecified
15/15 fields covered.
Toggle fields GPIOAENBit 0: IO port A clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: IO port B clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: IO port C clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: IO port D clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: IO port E clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: IO port F clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: IO port G clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: ADC12 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: ADC345 clock enable Set and cleared by software.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: DAC1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: DAC2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: DAC3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: DAC4 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 24: AES clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 26: RNG enable Set and cleared by software..
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: Unspecified
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 QSPIENBit 0: Flexible static memory controller clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: QUADSPI memory interface clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1 peripheral clock enable register 1
Offset: 0x58, size: 32, reset: 0x00000400, access: Unspecified
22/22 fields covered.
Toggle fields TIM2ENBit 0: TIM2 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: TIM3 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: TIM4 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: TIM5 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: TIM6 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: TIM7 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: CRS Recovery System clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 10: RTC APB clock enable Set and cleared by software.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: Window watchdog clock enable Set by software to enable the window watchdog clock. Reset by hardware system reset. This bit can also be set by hardware if the WWDG_SW option bit is reset..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: SPI2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: USART2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: USART3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: UART4 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: UART5 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: I2C1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: I2C2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 23: USB device clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 25: FDCAN clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 28: Power interface clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 30: I2C3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 31: Low power timer 1 clock enable Set and cleared by software..
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: Unspecified
3/3 fields covered.
Toggle fields LPUART1ENBit 0: Low power UART 1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: I2C4 clock enable Set and cleared by software.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: UCPD1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB2 peripheral clock enable register
Offset: 0x60, size: 32, reset: 0x00000000, access: Unspecified
12/12 fields covered.
Toggle fields SYSCFGENBit 0: SYSCFG + COMP + VREFBUF + OPAMP clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: TIM1 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: SPI1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: TIM8 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: USART1clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI4 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: TIM15 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: TIM16 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: TIM17 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: TIM20 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: SAI1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 26: HRTIM1 clock enable Set and cleared by software..
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: Unspecified
0/8 fields covered.
Toggle fields DMA1SMENBit 0: DMA1 clocks enable during Sleep and Stop modes Set and cleared by software..
DMA2SMENBit 1: DMA2 clocks enable during Sleep and Stop modes Set and cleared by software during Sleep mode..
DMAMUX1SMENBit 2: DMAMUX1 clock enable during Sleep and Stop modes. Set and cleared by software..
CORDICSMENBit 3: CORDICSM clock enable. Set and cleared by software..
FMACSMENBit 4: FMACSM clock enable. Set and cleared by software..
FLASHSMENBit 8: Flash memory interface clocks enable during Sleep and Stop modes Set and cleared by software..
SRAM1SMENBit 9: SRAM1 interface clocks enable during Sleep and Stop modes Set and cleared by software..
CRCSMENBit 12: CRC clocks enable during Sleep and Stop modes Set and cleared by software..
AHB2SMENRAHB2 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x6c, size: 32, reset: 0x050F667F, access: Unspecified
0/17 fields covered.
Toggle fields GPIOASMENBit 0: IO port A clocks enable during Sleep and Stop modes Set and cleared by software..
GPIOBSMENBit 1: IO port B clocks enable during Sleep and Stop modes Set and cleared by software..
GPIOCSMENBit 2: IO port C clocks enable during Sleep and Stop modes Set and cleared by software..
GPIODSMENBit 3: IO port D clocks enable during Sleep and Stop modes Set and cleared by software..
GPIOESMENBit 4: IO port E clocks enable during Sleep and Stop modes Set and cleared by software..
GPIOFSMENBit 5: IO port F clocks enable during Sleep and Stop modes Set and cleared by software..
GPIOGSMENBit 6: IO port G clocks enable during Sleep and Stop modes Set and cleared by software..
CCMSRAMSMENBit 9: CCM SRAM interface clocks enable during Sleep and Stop modes Set and cleared by software..
SRAM2SMENBit 10: SRAM2 interface clocks enable during Sleep and Stop modes Set and cleared by software..
ADC12SMENBit 13: ADC12 clocks enable during Sleep and Stop modes Set and cleared by software..
ADC345SMENBit 14: ADC345 clock enable Set and cleared by software..
DAC1SMENBit 16: DAC1 clock enable Set and cleared by software..
DAC2SMENBit 17: DAC2 clock enable Set and cleared by software..
DAC3SMENBit 18: DAC3 clock enable Set and cleared by software..
DAC4SMENBit 19: DAC4 clock enable Set and cleared by software..
AESSMENBit 24: AESM clocks enable Set and cleared by software..
RNGENBit 26: RNG enable Set and cleared by software..
AHB3SMENRAHB3 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x70, size: 32, reset: 0x00000101, access: Unspecified
0/2 fields covered.
Toggle fields FMCSMENBit 0: Flexible static memory controller clocks enable during Sleep and Stop modes Set and cleared by software..
QSPISMENBit 8: QUADSPI memory interface clock enable during Sleep and Stop modes Set and cleared by software..
APB1SMENR1APB1 peripheral clocks enable in Sleep and Stop modes register 1
Offset: 0x78, size: 32, reset: 0xD2FECD3F, access: Unspecified
0/22 fields covered.
Toggle fields TIM2SMENBit 0: TIM2 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM3SMENBit 1: TIM3 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM4SMENBit 2: TIM4 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM5SMENBit 3: TIM5 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM6SMENBit 4: TIM6 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM7SMENBit 5: TIM7 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 8: CRS timer clocks enable during Sleep and Stop modes Set and cleared by software..
RTCAPBSMENBit 10: RTC APB clock enable during Sleep and Stop modes Set and cleared by software.
WWDGSMENBit 11: Window watchdog clocks enable during Sleep and Stop modes Set and cleared by software. This bit is forced to 1 by hardware when the hardware WWDG option is activated..
SPI2SMENBit 14: SPI2 clocks enable during Sleep and Stop modes Set and cleared by software..
SPI3SMENBit 15: SPI3 clocks enable during Sleep and Stop modes Set and cleared by software..
USART2SMENBit 17: USART2 clocks enable during Sleep and Stop modes Set and cleared by software..
USART3SMENBit 18: USART3 clocks enable during Sleep and Stop modes Set and cleared by software..
UART4SMENBit 19: UART4 clocks enable during Sleep and Stop modes Set and cleared by software..
UART5SMENBit 20: UART5 clocks enable during Sleep and Stop modes Set and cleared by software..
I2C1SMENBit 21: I2C1 clocks enable during Sleep and Stop modes Set and cleared by software..
I2C2SMENBit 22: I2C2 clocks enable during Sleep and Stop modes Set and cleared by software..
USBSMENBit 23: USB device clocks enable during Sleep and Stop modes Set and cleared by software..
FDCANSMENBit 25: FDCAN clocks enable during Sleep and Stop modes Set and cleared by software..
PWRSMENBit 28: Power interface clocks enable during Sleep and Stop modes Set and cleared by software..
I2C3SMENBit 30: I2C3 clocks enable during Sleep and Stop modes Set and cleared by software..
LPTIM1SMENBit 31: Low power timer 1 clocks enable during Sleep and Stop modes Set and cleared by software..
APB1SMENR2APB1 peripheral clocks enable in Sleep and Stop modes register 2
Offset: 0x7c, size: 32, reset: 0x00000103, access: Unspecified
0/3 fields covered.
Toggle fields LPUART1SMENBit 0: Low power UART 1 clocks enable during Sleep and Stop modes Set and cleared by software..
I2C4SMENBit 1: I2C4 clocks enable during Sleep and Stop modes Set and cleared by software.
UCPD1SMENBit 8: UCPD1 clocks enable during Sleep and Stop modes Set and cleared by software..
APB2SMENRAPB2 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x80, size: 32, reset: 0x0437F801, access: Unspecified
0/12 fields covered.
Toggle fields SYSCFGSMENBit 0: SYSCFG + COMP + VREFBUF + OPAMP clocks enable during Sleep and Stop modes Set and cleared by software..
TIM1SMENBit 11: TIM1 timer clocks enable during Sleep and Stop modes Set and cleared by software..
SPI1SMENBit 12: SPI1 clocks enable during Sleep and Stop modes Set and cleared by software..
TIM8SMENBit 13: TIM8 timer clocks enable during Sleep and Stop modes Set and cleared by software..
USART1SMENBit 14: USART1clocks enable during Sleep and Stop modes Set and cleared by software..
SPI4SMENBit 15: SPI4 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM15SMENBit 16: TIM15 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM16SMENBit 17: TIM16 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM17SMENBit 18: TIM17 timer clocks enable during Sleep and Stop modes Set and cleared by software..
TIM20SMENBit 20: TIM20 timer clocks enable during Sleep and Stop modes Set and cleared by software..
SAI1SMENBit 21: SAI1 clocks enable during Sleep and Stop modes Set and cleared by software..
HRTIM1SMENBit 26: HRTIM1 timer clocks enable during Sleep and Stop modes Set and cleared by software..
CCIPRPeripherals independent clock configuration register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
13/16 fields covered.
Toggle fields USART1SELBits 0-1: USART1 clock source selection This bit is set and cleared by software to select the USART1 clock source..
USART2SELBits 2-3: USART2 clock source selection This bit is set and cleared by software to select the USART2 clock source..
USART3SELBits 4-5: USART3 clock source selection This bit is set and cleared by software to select the USART3 clock source..
UART4SELBits 6-7: UART4 clock source selection This bit is set and cleared by software to select the UART4 clock source..
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 These bits are set and cleared by software to select the UART5 clock source..
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 These bits are set and cleared by software to select the LPUART1 clock source..
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 These bits are set and cleared by software to select the I2C1 clock source..
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 These bits are set and cleared by software to select the I2C2 clock source..
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 These bits are set and cleared by software to select the I2C3 clock source..
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 These bits are set and cleared by software to select the LPTIM1 clock source..
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: clock source selection These bits are set and cleared by software to select the SAI clock source..
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: clock source selection These bits are set and cleared by software to select the I2S23 clock source..
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: None.
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 These bits are set and cleared by software to select the 48 MHz clock source used by USB device FS and RNG..
Allowed values:
0: HSI48: HSI48 clock selected as 48MHz clock
2: PLLQ: PLL 'Q' (PLL48M1CLK) clock selected as 48MHz clock
Bits 28-29: ADC1/2 clock source selection These bits are set and cleared by software to select the clock source used by the ADC interface..
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 These bits are set and cleared by software to select the clock source used by the ADC345 interface..
Allowed values:
0: None: No clock selected for ADC
1: PLLP: PLL 'P' clock selected for ADC
2: System: System clock selected for ADC
RTC domain control register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
11/11 fields covered.
Toggle fields LSEONBit 0: LSE oscillator enable Set and cleared by software..
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 Set and cleared by hardware to indicate when the external 32 kHz oscillator is stable. After the LSEON bit is cleared, LSERDY goes low after 6 external low-speed oscillator clock cycles..
Allowed values:
0: NotReady: LSE clock not ready
1: Ready: LSE clock ready
Bit 2: LSE oscillator bypass Set and cleared by software to bypass oscillator in debug mode. This bit can be written only when the external 32 kHz oscillator is disabled (LSEON=0 and LSERDY=0)..
Allowed values:
0: NotBypassed: LSE crystal oscillator not bypassed
1: Bypassed: LSE crystal oscillator bypassed with external clock
Bits 3-4: LSE oscillator drive capability Set by software to modulate the LSE oscillators drive capability. The oscillator is in Xtal mode when it is not in bypass mode..
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: CSS on LSE enable Set by software to enable the Clock Security System on LSE (32 kHz oscillator). LSECSSON must be enabled after the LSE oscillator is enabled (LSEON bit enabled) and ready (LSERDY flag set by hardware), and after the RTCSEL bit is selected. Once enabled this bit cannot be disabled, except after a LSE failure detection (LSECSSD =1). In that case the software MUST disable the LSECSSON bit..
Allowed values:
0: Off: CSS on LSE (32 kHz external oscillator) OFF
1: On: CSS on LSE (32 kHz external oscillator) ON
Bit 6: CSS on LSE failure Detection Set by hardware to indicate when a failure has been detected by the Clock Security System on the external 32 kHz oscillator (LSE)..
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 Set by software to select the clock source for the RTC. Once the RTC clock source has been selected, it cannot be changed anymore unless the RTC domain is reset, or unless a failure is detected on LSE (LSECSSD is set). The BDRST bit can be used to reset them..
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 Set and cleared by software..
Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled
Bit 16: RTC domain software reset Set and cleared by software..
Allowed values:
0: Disabled: Reset not activated
1: Enabled: Reset the entire RTC domain
Bit 24: Low speed clock output enable Set and cleared by software..
Allowed values:
0: Disabled: LSCO disabled
1: Enabled: LSCO enabled
Bit 25: Low speed clock output selection Set and cleared by software..
Allowed values:
0: LSI: LSI clock selected
1: LSE: LSE clock selected
Control/status register
Offset: 0x94, size: 32, reset: 0x0C000000, access: Unspecified
10/10 fields covered.
Toggle fields LSIONBit 0: LSI oscillator enable Set and cleared by software..
Allowed values:
0: Off: LSI oscillator Off
1: On: LSI oscillator On
Bit 1: LSI oscillator ready Set and cleared by hardware to indicate when the LSI oscillator is stable. After the LSION bit is cleared, LSIRDY goes low after 3 LSI oscillator clock cycles. This bit can be set even if LSION = 0 if the LSI is requested by the Clock Security System on LSE, by the Independent Watchdog or by the RTC..
Allowed values:
0: NotReady: LSI oscillator not ready
1: Ready: LSI oscillator ready
Bit 23: Remove reset flag Set by software to clear the reset flags..
Allowed values:
1: Clear: Clears the reset flag
Bit 25: Option byte loader reset flag Set by hardware when a reset from the Option Byte loading occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 26: Pin reset flag Set by hardware when a reset from the NRST pin occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 27: BOR flag Set by hardware when a BOR occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 28: Software reset flag Set by hardware when a software reset occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 29: Independent window watchdog reset flag Set by hardware when an independent watchdog reset domain occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 30: Window watchdog reset flag Set by hardware when a window watchdog reset occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 31: Low-power reset flag Set by hardware when a reset occurs due to illegal Stop, Standby or Shutdown mode entry. Cleared by writing to the RMVF bit..
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.
Toggle fields HSI48ONBit 0: HSI48 clock enable Set and cleared by software. Cleared by hardware to stop the HSI48 when entering in Stop, Standby or Shutdown modes..
HSI48RDYBit 1: HSI48 clock ready flag Set by hardware to indicate that HSI48 oscillator is stable. This bit is set only when HSI48 is enabled by software by setting HSI48ON..
HSI48CALBits 7-15: HSI48 clock calibration These bits are initialized at startup with the factory-programmed HSI48 calibration trim value. They are ready only..
CCIPR2Peripherals independent clock configuration register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 QSPISELBits 0-1: I2C4 clock source selection These bits are set and cleared by software to select the I2C4 clock source..
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: QUADSPI clock source selection Set and reset by software..
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
9/9 fields covered.
Toggle register map Toggle registers CRcontrol register
Offset: 0x0, 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 CEDBit 2: Random number generator enable.
Allowed values:
0: Disabled: Random number generator is disabled
1: Enabled: Random number generator is enabled
Bit 3: Interrupt enable.
Allowed values:
0: Disabled: RNG interrupt is disabled
1: Enabled: RNG interrupt is enabled
Bit 5: Clock error detection.
Allowed values:
0: Enabled: Clock error detection is enabled
1: Disabled: Clock error detection is disabled
status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
Toggle fields DRDYBit 0: Data ready.
Allowed values:
0: Invalid: The RNG_DR register is not yet valid, no random data is available
1: Valid: The RNG_DR register contains valid random data. Once the RNG_DR register has been read, this bit returns to 0 until a new random value is generated.
Bit 1: Clock error current status.
Allowed values:
0: Correct: The RNG clock is correct. If the CEIS bit is set, this means that a slow clock was detected and the situation has been recovered.
1: Slow: The RNG clock is too slow
Bit 2: Seed error current status.
Allowed values:
0: NoFault: No faulty sequence has currently been detected. If the SEIS bit is set, this means that a faulty sequence was detected and the situation has been recovered.
1: Fault: At least one faulty sequence has been detected - see ref manual for details
Bit 5: Clock error interrupt status.
Allowed values:
0: Clear: Clear flag
Bit 6: Seed error interrupt status.
Allowed values:
0: Clear: Clear flag
data register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RNDATABits 0-31: Random data.
Allowed values: 0x0-0xffffffff
RTC0x40002800: Real-time clock
123/125 fields covered.
Toggle register map Toggle registers TRtime register
Offset: 0x0, 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 PMBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MNUBits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
HUBits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
date register
Offset: 0x4, size: 32, reset: 0x00002101, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 YTBits 0-3: Date units in BCD format.
Allowed values: 0x0-0xf
DTBits 4-5: Date tens in BCD format.
Allowed values: 0x0-0x3
MUBits 8-11: Month units in BCD format.
Allowed values: 0x0-0xf
MTBit 12: Month tens in BCD format.
Allowed values: 0x0-0x1
WDUBits 13-15: Week day units.
Allowed values: 0x1-0x7
YUBits 16-19: Year units in BCD format.
Allowed values: 0x0-0xf
YTBits 20-23: Year tens in BCD format.
Allowed values: 0x0-0xf
SSRsub 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 SSBits 0-15: Sub second value.
Allowed values: 0x0-0xffff
ICSRinitialization and status register
Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified
9/9 fields covered.
Toggle fields ALR[A]WFBit 0: Alarm A write flag.
ALR[B]WFBit 1: Alarm B write flag.
WUTWFBit 2: Wakeup timer write flag.
Allowed values:
0: UpdateNotAllowed: Wakeup timer configuration update not allowed
1: UpdateAllowed: Wakeup timer configuration update allowed
Bit 3: Shift operation pending.
Allowed values:
0: NoShiftPending: No shift operation is pending
1: ShiftPending: A shift operation is pending
Bit 4: Initialization status flag.
Allowed values:
0: NotInitalized: Calendar has not been initialized
1: Initalized: Calendar has been initialized
Bit 5: Registers synchronization flag.
Allowed values:
0: NotSynced: Calendar shadow registers not yet synchronized
1: Synced: Calendar shadow registers synchronized
Bit 6: Initialization flag.
Allowed values:
0: NotAllowed: Calendar registers update is not allowed
1: Allowed: Calendar registers update is allowed
Bit 7: Initialization mode.
Allowed values:
0: FreeRunningMode: Free running mode
1: InitMode: Initialization mode used to program time and date register (RTC_TR and RTC_DR), and prescaler register (RTC_PRER). Counters are stopped and start counting from the new value when INIT is reset.
Bit 16: Recalibration pending Flag.
Allowed values:
1: Pending: The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0
prescaler register
Offset: 0x10, size: 32, reset: 0x007F00FF, access: read-write
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 PREDIV_ABits 0-14: Synchronous prescaler factor.
Allowed values: 0x0-0x7fff
PREDIV_ABits 16-22: Asynchronous prescaler factor.
Allowed values: 0x0-0x7f
WUTRwakeup timer register
Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WUTBits 0-15: Wakeup auto-reload value bits.
Allowed values: 0x0-0xffff
CRcontrol register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
26/26 fields covered.
Toggle fields WUCKSELBits 0-2: Wakeup clock selection.
Allowed values:
0: Div16: RTC/16 clock is selected
1: Div8: RTC/8 clock is selected
2: Div4: RTC/4 clock is selected
3: Div2: RTC/2 clock is selected
4: ClockSpare: ck_spre (usually 1 Hz) clock is selected
6: ClockSpareWithOffset: ck_spre (usually 1 Hz) clock is selected and 2^16 is added to the WUT counter value
Bit 3: Time-stamp event active edge.
Allowed values:
0: RisingEdge: RTC_TS input rising edge generates a time-stamp event
1: FallingEdge: RTC_TS input falling edge generates a time-stamp event
Bit 4: Reference clock detection enable (50 or 60 Hz).
Allowed values:
0: Disabled: RTC_REFIN detection disabled
1: Enabled: RTC_REFIN detection enabled
Bit 5: Bypass the shadow registers.
Allowed values:
0: ShadowReg: Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken from the shadow registers, which are updated once every two RTCCLK cycles
1: BypassShadowReg: Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken directly from the calendar counters
Bit 6: Hour format.
Allowed values:
0: TwentyFourHour: 24 hour/day format
1: AmPm: AM/PM hour format
Bit 8: Alarm A enable.
Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled
Bit 9: Alarm B enable.
Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled
Bit 10: Wakeup timer enable.
Allowed values:
0: Disabled: Wakeup timer disabled
1: Enabled: Wakeup timer enabled
Bit 11: Time stamp enable.
Allowed values:
0: Disabled: Timestamp disabled
1: Enabled: Timestamp enabled
Bit 12: Alarm A interrupt enable.
Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled
Bit 13: Alarm B interrupt enable.
Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled
Bit 14: Wakeup timer interrupt enable.
Allowed values:
0: Disabled: Wakeup timer interrupt disabled
1: Enabled: Wakeup timer interrupt enabled
Bit 15: Time-stamp interrupt enable.
Allowed values:
0: Disabled: Time-stamp Interrupt disabled
1: Enabled: Time-stamp Interrupt enabled
Bit 16: Add 1 hour (summer time change).
Allowed values:
1: Add1: Adds 1 hour to the current time. This can be used for summer time change outside initialization mode
Bit 17: Subtract 1 hour (winter time change).
Allowed values:
1: Sub1: Subtracts 1 hour to the current time. This can be used for winter time change outside initialization mode
Bit 18: Backup.
Allowed values:
0: DSTNotChanged: Daylight Saving Time change has not been performed
1: DSTChanged: Daylight Saving Time change has been performed
Bit 19: Calibration output selection.
Allowed values:
0: CalFreq_512Hz: Calibration output is 512 Hz (with default prescaler setting)
1: CalFreq_1Hz: Calibration output is 1 Hz (with default prescaler setting)
Bit 20: Output polarity.
Allowed values:
0: High: The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
1: Low: The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
Bits 21-22: Output selection.
Allowed values:
0: Disabled: Output disabled
1: AlarmA: Alarm A output enabled
2: AlarmB: Alarm B output enabled
3: Wakeup: Wakeup output enabled
Bit 23: Calibration output enable.
Allowed values:
0: Disabled: Calibration output disabled
1: Enabled: Calibration output enabled
Bit 24: timestamp on internal event enable.
Allowed values:
0: Disabled: Internal event timestamp disabled
1: Enabled: Internal event timestamp enabled
Bit 25: TAMPTS.
Allowed values:
0: Disabled: Tamper detection event does not cause a RTC timestamp to be saved
1: Enabled: Save RTC timestamp on tamper detection event
Bit 26: TAMPOE.
Allowed values:
0: Disabled: The tamper flag is not routed on TAMPALRM
1: Enabled: The tamper flag is routed on TAMPALRM, combined with the signal provided by OSEL and with the polarity provided by POL
Bit 29: TAMPALRM_PU.
Allowed values:
0: NoPullUp: No pull-up is applied on TAMPALRM output
1: PullUp: A pull-up is applied on TAMPALRM output
Bit 30: TAMPALRM_TYPE.
Allowed values:
0: PushPull: TAMPALRM is push-pull output
1: OpenDrain: TAMPALRM is open-drain output
Bit 31: OUT2EN.
Allowed values:
0: Disabled: RTC output 2 disable
1: Enabled: RTC output 2 enable
write protection register
Offset: 0x24, 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 KEYBits 0-7: Write protection key.
Allowed values:
0: Activate: Activate write protection (any value that is not the keys)
83: Deactivate2: Key 2
202: Deactivate1: Key 1
calibration register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields CALMBits 0-8: Calibration minus.
Allowed values: 0x0-0x1ff
CALW16Bit 13: Use a 16-second calibration cycle period.
Allowed values:
1: SixteenSeconds: When CALW16 is set to ‘1’, the 16-second calibration cycle period is selected.This bit must not be set to ‘1’ if CALW8=1
Bit 14: Use an 8-second calibration cycle period.
Allowed values:
1: EightSeconds: When CALW8 is set to ‘1’, the 8-second calibration cycle period is selected
Bit 15: Increase frequency of RTC by 488.5 ppm.
Allowed values:
0: NoChange: No RTCCLK pulses are added
1: IncreaseFreq: One RTCCLK pulse is effectively inserted every 2^11 pulses (frequency increased by 488.5 ppm)
shift control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ADD1SBits 0-14: Subtract a fraction of a second.
Allowed values: 0x0-0x7fff
ADD1SBit 31: Add one second.
Allowed values:
1: Add1: Add one second to the clock/calendar
time stamp time register
Offset: 0x30, 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 PMBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MNUBits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
HUBits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
time stamp date register
Offset: 0x34, size: 32, reset: 0x00002101, access: read-write
7/7 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 YTBits 0-3: Date units in BCD format.
Allowed values: 0x0-0xf
DTBits 4-5: Date tens in BCD format.
Allowed values: 0x0-0x3
MUBits 8-11: Month units in BCD format.
Allowed values: 0x0-0xf
MTBit 12: Month tens in BCD format.
Allowed values: 0x0-0x1
WDUBits 13-15: Week day units.
Allowed values: 0x1-0x7
YUBits 16-19: Year units in BCD format.
Allowed values: 0x0-0xf
YTBits 20-23: Year tens in BCD format.
Allowed values: 0x0-0xf
TSSSRtimestamp 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 SSBits 0-15: Sub second value.
Allowed values: 0x0-0xffff
ALRM[A]RAlarm A register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SUBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MSK1Bit 7: Alarm seconds mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
MSK2Bit 15: Alarm minutes mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
Bit 23: Alarm hours mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 24-27: Date units or day in BCD format.
Allowed values: 0x0-0xf
DTBits 28-29: Date tens in BCD format.
Allowed values: 0x0-0x3
WDSELBit 30: Week day selection.
Allowed values:
0: DateUnits: DU[3:0] represents the date units
1: WeekDay: DU[3:0] represents the week day. DT[1:0] is don’t care.
Bit 31: Alarm date mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Alarm A sub-second register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MASKSSBits 0-14: Sub seconds value.
Allowed values: 0x0-0x7fff
MASKSSBits 24-27: Mask the most-significant bits starting at this bit.
ALRM[B]RAlarm B register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields SUBits 0-3: Second units in BCD format.
Allowed values: 0x0-0xf
STBits 4-6: Second tens in BCD format.
Allowed values: 0x0-0x7
MSK1Bit 7: Alarm seconds mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 8-11: Minute units in BCD format.
Allowed values: 0x0-0xf
MNTBits 12-14: Minute tens in BCD format.
Allowed values: 0x0-0x7
MSK2Bit 15: Alarm minutes mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 16-19: Hour units in BCD format.
Allowed values: 0x0-0xf
HTBits 20-21: Hour tens in BCD format.
Allowed values: 0x0-0x3
PMBit 22: AM/PM notation.
Allowed values:
0: AM: AM or 24-hour format
1: PM: PM
Bit 23: Alarm hours mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Bits 24-27: Date units or day in BCD format.
Allowed values: 0x0-0xf
DTBits 28-29: Date tens in BCD format.
Allowed values: 0x0-0x3
WDSELBit 30: Week day selection.
Allowed values:
0: DateUnits: DU[3:0] represents the date units
1: WeekDay: DU[3:0] represents the week day. DT[1:0] is don’t care.
Bit 31: Alarm date mask.
Allowed values:
0: Mask: Alarm set if the date/day match
1: NotMask: Date/day don’t care in Alarm comparison
Alarm B sub-second register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 MASKSSBits 0-14: Sub seconds value.
Allowed values: 0x0-0x7fff
MASKSSBits 24-27: Mask the most-significant bits starting at this bit.
SRstatus register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
Toggle fields ALR[A]FBit 0: Alarm A flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRxBR)
Bit 1: Alarm B flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRxBR)
Bit 2: WUTF.
Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0
Bit 3: TSF.
Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs
Bit 4: TSOVF.
Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set
Bit 5: ITSF.
Allowed values:
1: TimestampEvent: This flag is set by hardware when a timestamp on the internal event occurs
status register
Offset: 0x54, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
Toggle fields ALR[A]MFBit 0: Alarm A masked flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRMxR)
Bit 1: Alarm B masked flag.
Allowed values:
1: Match: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm register (RTC_ALRMxR)
Bit 2: WUTMF.
Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0
Bit 3: TSMF.
Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs
Bit 4: TSOVMF.
Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set
Bit 5: ITSMF.
Allowed values:
1: TimestampEvent: This flag is set by hardware when a timestamp on the internal event occurs
status register
Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields CALRAFBit 0: CALRAF.
Allowed values:
1: Clear: Clear interrupt flag
Bit 1: CALRBF.
Allowed values:
1: Clear: Clear interrupt flag
Bit 2: CWUTF.
Allowed values:
1: Clear: Clear interrupt flag
Bit 3: CTSF.
Allowed values:
1: Clear: Clear interrupt flag
Bit 4: CTSOVF.
Allowed values:
1: Clear: Clear interrupt flag
Bit 5: CITSF.
Allowed values:
1: Clear: Clear interrupt flag
0x40015400: Serial audio interface
84/120 fields covered.
Toggle register map Toggle registers CR1 [A]AConfiguration register 1
Offset: 0x4, size: 32, reset: 0x00000040, access: read-write
11/14 fields covered.
Toggle fields MODEBits 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.
OSRBit 26: OSR.
MCKENBit 27: MCKEN.
CR2 [A]AConfiguration register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields FTHBits 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.
MUTEBit 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.
CPLBit 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 FSOFFBits 0-7: Frame length.
FSALLBits 8-14: Frame synchronization active level length.
FSDEFBit 16: Frame synchronization definition.
FSPOLBit 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 SLOTENBits 0-4: First bit offset.
SLOTSZBits 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.
SLOTENBits 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.
Toggle fields OVRUDRIEBit 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.
Toggle fields OVRUDRBit 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.
Toggle fields COVRUDRBit 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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
CR1 [B]AConfiguration register 1
Offset: 0x24, size: 32, reset: 0x00000040, access: read-write
11/14 fields covered.
Toggle fields MODEBits 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.
OSRBit 26: OSR.
MCKENBit 27: MCKEN.
CR2 [B]AConfiguration register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields FTHBits 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.
MUTEBit 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.
CPLBit 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 FSOFFBits 0-7: Frame length.
FSALLBits 8-14: Frame synchronization active level length.
FSDEFBit 16: Frame synchronization definition.
FSPOLBit 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 SLOTENBits 0-4: First bit offset.
SLOTSZBits 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.
SLOTENBits 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.
Toggle fields OVRUDRIEBit 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.
Toggle fields OVRUDRBit 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.
Toggle fields COVRUDRBit 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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DATABits 0-31: Data.
PDMCRPDM control register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
Toggle fields PDMENBit 0: PDMEN.
MICNBRBits 4-5: MICNBR.
CKEN[1]Bit 8: Clock enable of bitstream clock number 1.
CKEN[2]Bit 9: Clock enable of bitstream clock number 2.
CKEN[3]Bit 10: Clock enable of bitstream clock number 3.
CKEN[4]Bit 11: Clock enable of bitstream clock number 4.
PDMDLYPDM delay register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
Toggle fields DLYM[1]LBits 0-2: Delay line adjust for first microphone of pair 1.
DLYM[1]RBits 4-6: Delay line adjust for second microphone of pair 1.
DLYM[2]LBits 8-10: Delay line adjust for first microphone of pair 2.
DLYM[2]RBits 12-14: Delay line adjust for second microphone of pair 2.
DLYM[3]LBits 16-18: Delay line adjust for first microphone of pair 3.
DLYM[3]RBits 20-22: Delay line adjust for second microphone of pair 3.
DLYM[4]LBits 24-26: Delay line adjust for first microphone of pair 4.
DLYM[4]RBits 28-30: Delay line adjust for second microphone of pair 4.
SPI10x40013000: Serial peripheral interface/Inter-IC sound
51/51 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
9/9 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: Frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO transmission level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, 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 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 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 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX 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 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX 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 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRconfiguration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CHLENBit 0: CHLEN.
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: DATLEN.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: CKPOL.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2SSTD.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCMSYNC.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2SCFG.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2SE.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2SMOD.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
prescaler register
Offset: 0x20, size: 16, reset: 0x00000002, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2SDIV.
Allowed values: 0x2-0xff
ODDBit 8: ODD.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: MCKOE.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40003800: Serial peripheral interface/Inter-IC sound
51/51 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
9/9 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: Frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO transmission level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, 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 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 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 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX 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 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX 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 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRconfiguration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CHLENBit 0: CHLEN.
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: DATLEN.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: CKPOL.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2SSTD.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCMSYNC.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2SCFG.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2SE.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2SMOD.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
prescaler register
Offset: 0x20, size: 16, reset: 0x00000002, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2SDIV.
Allowed values: 0x2-0xff
ODDBit 8: ODD.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: MCKOE.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40003c00: Serial peripheral interface/Inter-IC sound
51/51 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields CPHABit 0: Clock phase.
Allowed values:
0: FirstEdge: The first clock transition is the first data capture edge
1: SecondEdge: The second clock transition is the first data capture edge
Bit 1: Clock polarity.
Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle
Bit 2: Master selection.
Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration
Bits 3-5: Baud rate control.
Allowed values:
0: Div2: f_PCLK / 2
1: Div4: f_PCLK / 4
2: Div8: f_PCLK / 8
3: Div16: f_PCLK / 16
4: Div32: f_PCLK / 32
5: Div64: f_PCLK / 64
6: Div128: f_PCLK / 128
7: Div256: f_PCLK / 256
Bit 6: SPI enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 7: Frame format.
Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first
Bit 8: Internal slave select.
Allowed values:
0: SlaveSelected: 0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
1: SlaveNotSelected: 1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Bit 9: Software slave management.
Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled
Bit 10: Receive only.
Allowed values:
0: FullDuplex: Full duplex (Transmit and receive)
1: OutputDisabled: Output disabled (Receive-only mode)
Bit 11: CRC length.
Allowed values:
0: EightBit: 8-bit CRC length
1: SixteenBit: 16-bit CRC length
Bit 12: CRC transfer next.
Allowed values:
0: TxBuffer: Next transmit value is from Tx buffer
1: CRC: Next transmit value is from Tx CRC register
Bit 13: Hardware CRC calculation enable.
Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled
Bit 14: Output enable in bidirectional mode.
Allowed values:
0: OutputDisabled: Output disabled (receive-only mode)
1: OutputEnabled: Output enabled (transmit-only mode)
Bit 15: Bidirectional data mode enable.
Allowed values:
0: Unidirectional: 2-line unidirectional data mode selected
1: Bidirectional: 1-line bidirectional data mode selected
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
12/12 fields covered.
Toggle fields RXDMAENBit 0: Rx buffer DMA enable.
Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled
Bit 1: Tx buffer DMA enable.
Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled
Bit 2: SS output enable.
Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode
Bit 3: NSS pulse management.
Allowed values:
0: NoPulse: No NSS pulse
1: PulseGenerated: NSS pulse generated
Bit 4: Frame format.
Allowed values:
0: Motorola: SPI Motorola mode
1: TI: SPI TI mode
Bit 5: Error interrupt enable.
Allowed values:
0: Masked: Error interrupt masked
1: NotMasked: Error interrupt not masked
Bit 6: RX buffer not empty interrupt enable.
Allowed values:
0: Masked: RXE interrupt masked
1: NotMasked: RXE interrupt not masked
Bit 7: Tx buffer empty interrupt enable.
Allowed values:
0: Masked: TXE interrupt masked
1: NotMasked: TXE interrupt not masked
Bits 8-11: Data size.
Allowed values:
3: FourBit: 4-bit
4: FiveBit: 5-bit
5: SixBit: 6-bit
6: SevenBit: 7-bit
7: EightBit: 8-bit
8: NineBit: 9-bit
9: TenBit: 10-bit
10: ElevenBit: 11-bit
11: TwelveBit: 12-bit
12: ThirteenBit: 13-bit
13: FourteenBit: 14-bit
14: FifteenBit: 15-bit
15: SixteenBit: 16-bit
Bit 12: FIFO reception threshold.
Allowed values:
0: Half: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
1: Quarter: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Bit 13: Last DMA transfer for reception.
Allowed values:
0: Even: Number of data to transfer for receive is even
1: Odd: Number of data to transfer for receive is odd
Bit 14: Last DMA transfer for transmission.
Allowed values:
0: Even: Number of data to transfer for transmit is even
1: Odd: Number of data to transfer for transmit is odd
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
9/9 fields covered.
Toggle fields RXNEBit 0: Receive buffer not empty.
Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty
Bit 1: Transmit buffer empty.
Allowed values:
0: NotEmpty: Tx buffer not empty
1: Empty: Tx buffer empty
Bit 4: CRC error flag.
Allowed values:
0: Match: CRC value received matches the SPIx_RXCRCR value
1: NoMatch: CRC value received does not match the SPIx_RXCRCR value
Bit 5: Mode fault.
Allowed values:
0: NoFault: No mode fault occurred
1: Fault: Mode fault occurred
Bit 6: Overrun flag.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 7: Busy flag.
Allowed values:
0: NotBusy: SPI not busy
1: Busy: SPI busy
Bit 8: Frame format error.
Allowed values:
0: NoError: No frame format error
1: Error: A frame format error occurred
Bits 9-10: FIFO reception level.
Allowed values:
0: Empty: Rx FIFO Empty
1: Quarter: Rx 1/4 FIFO
2: Half: Rx 1/2 FIFO
3: Full: Rx FIFO full
Bits 11-12: FIFO transmission level.
Allowed values:
0: Empty: Tx FIFO Empty
1: Quarter: Tx 1/4 FIFO
2: Half: Tx 1/2 FIFO
3: Full: Tx FIFO full
data register
Offset: 0xc, size: 16, 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 DRBits 0-15: Data register.
Allowed values: 0x0-0xffff
DR8Direct 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 DRBits 0-7: Data register.
Allowed values: 0x0-0xff
CRCPRCRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
1/1 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CRCPOLYBits 0-15: CRC polynomial register.
Allowed values: 0x0-0xffff
RXCRCRRX 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 RxCRCBits 0-15: Rx CRC register.
Allowed values: 0x0-0xffff
TXCRCRTX 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 TxCRCBits 0-15: Tx CRC register.
Allowed values: 0x0-0xffff
I2SCFGRconfiguration register
Offset: 0x1c, size: 16, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CHLENBit 0: CHLEN.
Allowed values:
0: SixteenBit: 16-bit wide
1: ThirtyTwoBit: 32-bit wide
Bits 1-2: DATLEN.
Allowed values:
0: SixteenBit: 16-bit data length
1: TwentyFourBit: 24-bit data length
2: ThirtyTwoBit: 32-bit data length
Bit 3: CKPOL.
Allowed values:
0: IdleLow: I2S clock inactive state is low level
1: IdleHigh: I2S clock inactive state is high level
Bits 4-5: I2SSTD.
Allowed values:
0: Philips: I2S Philips standard
1: MSB: MSB justified standard
2: LSB: LSB justified standard
3: PCM: PCM standard
Bit 7: PCMSYNC.
Allowed values:
0: Short: Short frame synchronisation
1: Long: Long frame synchronisation
Bits 8-9: I2SCFG.
Allowed values:
0: SlaveTx: Slave - transmit
1: SlaveRx: Slave - receive
2: MasterTx: Master - transmit
3: MasterRx: Master - receive
Bit 10: I2SE.
Allowed values:
0: Disabled: I2S peripheral is disabled
1: Enabled: I2S peripheral is enabled
Bit 11: I2SMOD.
Allowed values:
0: SPIMode: SPI mode is selected
1: I2SMode: I2S mode is selected
prescaler register
Offset: 0x20, size: 16, reset: 0x00000002, access: read-write
3/3 fields covered.
Toggle fields I2SDIVBits 0-7: I2SDIV.
Allowed values: 0x2-0xff
ODDBit 8: ODD.
Allowed values:
0: Even: Real divider value is I2SDIV * 2
1: Odd: Real divider value is (I2SDIV * 2) + 1
Bit 9: MCKOE.
Allowed values:
0: Disabled: Master clock output is disabled
1: Enabled: Master clock output is enabled
0x40010000: System configuration controller
1/69 fields covered.
Toggle register map Toggle registers MEMRMPRemap Memory register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields MEM_MODEBits 0-2: Memory mapping selection.
FB_modeBit 8: User Flash Bank mode.
CFGR1peripheral mode configuration register
Offset: 0x4, size: 32, reset: 0x7C000001, access: read-write
0/11 fields covered.
Toggle fields BOOSTENBit 8: BOOSTEN.
ANASWVDDBit 9: GPIO analog switch control voltage selection.
I2C_PB6_FMPBit 16: FM+ drive capability on PB6.
I2C_PB7_FMPBit 17: FM+ drive capability on PB6.
I2C_PB8_FMPBit 18: FM+ drive capability on PB6.
I2C_PB9_FMPBit 19: FM+ drive capability on PB6.
I2C1_FMPBit 20: I2C1 FM+ drive capability enable.
I2C2_FMPBit 21: I2C1 FM+ drive capability enable.
I2C3_FMPBit 22: I2C1 FM+ drive capability enable.
I2C4_FMPBit 23: I2C1 FM+ drive capability enable.
FPU_IEBits 26-31: FPU Interrupts Enable.
EXTICR1external interrupt configuration register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI0Bits 0-3: EXTI x configuration (x = 0 to 3).
EXTI1Bits 4-7: EXTI x configuration (x = 0 to 3).
EXTI2Bits 8-11: EXTI x configuration (x = 0 to 3).
EXTI3Bits 12-15: EXTI x configuration (x = 0 to 3).
EXTICR2external interrupt configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI4Bits 0-3: EXTI x configuration (x = 4 to 7).
EXTI5Bits 4-7: EXTI x configuration (x = 4 to 7).
EXTI6Bits 8-11: EXTI x configuration (x = 4 to 7).
EXTI7Bits 12-15: EXTI x configuration (x = 4 to 7).
EXTICR3external interrupt configuration register 3
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI8Bits 0-3: EXTI x configuration (x = 8 to 11).
EXTI9Bits 4-7: EXTI x configuration (x = 8 to 11).
EXTI10Bits 8-11: EXTI10.
EXTI11Bits 12-15: EXTI x configuration (x = 8 to 11).
EXTICR4external interrupt configuration register 4
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields EXTI12Bits 0-3: EXTI x configuration (x = 12 to 15).
EXTI13Bits 4-7: EXTI x configuration (x = 12 to 15).
EXTI14Bits 8-11: EXTI x configuration (x = 12 to 15).
EXTI15Bits 12-15: EXTI x configuration (x = 12 to 15).
SCSRCCM SRAM control and status register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CCMBSYBit 0: CCM SRAM Erase.
CCMBSYBit 1: CCM SRAM busy by erase operation.
CFGR2configuration register 2
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Toggle fields CLLBit 0: Core Lockup Lock.
SPLBit 1: SRAM Parity Lock.
PVDLBit 2: PVD Lock.
ECCLBit 3: ECC Lock.
SPFBit 8: SRAM Parity Flag.
SWPRSRAM Write protection register 1
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
Toggle fields Page0_WPBit 0: Write protection.
Page1_WPBit 1: Write protection.
Page2_WPBit 2: Write protection.
Page3_WPBit 3: Write protection.
Page4_WPBit 4: Write protection.
Page5_WPBit 5: Write protection.
Page6_WPBit 6: Write protection.
Page7_WPBit 7: Write protection.
Page8_WPBit 8: Write protection.
Page9_WPBit 9: Write protection.
Page10_WPBit 10: Write protection.
Page11_WPBit 11: Write protection.
Page12_WPBit 12: Write protection.
Page13_WPBit 13: Write protection.
Page14_WPBit 14: Write protection.
Page15_WPBit 15: Write protection.
Page16_WPBit 16: Write protection.
Page17_WPBit 17: Write protection.
Page18_WPBit 18: Write protection.
Page19_WPBit 19: Write protection.
Page20_WPBit 20: Write protection.
Page21_WPBit 21: Write protection.
Page22_WPBit 22: Write protection.
Page23_WPBit 23: Write protection.
Page24_WPBit 24: Write protection.
Page25_WPBit 25: Write protection.
Page26_WPBit 26: Write protection.
Page27_WPBit 27: Write protection.
Page28_WPBit 28: Write protection.
Page29_WPBit 29: Write protection.
Page30_WPBit 30: Write protection.
Page31_WPBit 31: Write protection.
SKRSRAM2 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 KEYBits 0-7: SRAM2 Key for software erase.
TAMP0x40002400: Tamper and backup registers
14/80 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0xFFFF0000, access: read-write
0/7 fields covered.
Toggle fields TAMP1EBit 0: TAMP1E.
TAMP2EBit 1: TAMP2E.
TAMP3EBit 2: TAMP2E.
ITAMP3EBit 18: ITAMP3E.
ITAMP4EBit 19: ITAMP4E.
ITAMP5EBit 20: ITAMP5E.
ITAMP6EBit 21: ITAMP6E.
CR2control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
Toggle fields TAMP1NOERBit 0: TAMP1NOER.
TAMP2NOERBit 1: TAMP2NOER.
TAMP3NOERBit 2: TAMP3NOER.
TAMP1MSKBit 16: TAMP1MSK.
TAMP2MSKBit 17: TAMP2MSK.
TAMP3MSKBit 18: TAMP3MSK.
TAMP1TRGBit 24: TAMP1TRG.
TAMP2TRGBit 25: TAMP2TRG.
TAMP3TRGBit 26: TAMP3TRG.
FLTCRTAMP filter control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Toggle fields TAMPFREQBits 0-2: TAMPFREQ.
TAMPFLTBits 3-4: TAMPFLT.
TAMPPRCHBits 5-6: TAMPPRCH.
TAMPPUDISBit 7: TAMPPUDIS.
IERTAMP interrupt enable register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
Toggle fields TAMP1IEBit 0: TAMP1IE.
TAMP2IEBit 1: TAMP2IE.
TAMP3IEBit 2: TAMP3IE.
ITAMP3IEBit 18: ITAMP3IE.
ITAMP4IEBit 19: ITAMP4IE.
ITAMP5IEBit 20: ITAMP5IE.
ITAMP6IEBit 21: ITAMP6IE.
SRTAMP status register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Toggle fields TAMP1FBit 0: TAMP1F.
TAMP2FBit 1: TAMP2F.
TAMP3FBit 2: TAMP3F.
ITAMP3FBit 18: ITAMP3F.
ITAMP4FBit 19: ITAMP4F.
ITAMP5FBit 20: ITAMP5F.
ITAMP6FBit 21: ITAMP6F.
MISRTAMP masked interrupt status register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Toggle fields TAMP1MFBit 0: TAMP1MF:.
TAMP2MFBit 1: TAMP2MF.
TAMP3MFBit 2: TAMP3MF.
ITAMP3MFBit 18: ITAMP3MF.
ITAMP4MFBit 19: ITAMP4MF.
ITAMP5MFBit 20: ITAMP5MF.
ITAMP6MFBit 21: ITAMP6MF.
SCRTAMP status clear register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
Toggle fields CTAMP1FBit 0: CTAMP1F.
CTAMP2FBit 1: CTAMP2F.
CTAMP3FBit 2: CTAMP3F.
CITAMP3FBit 18: CITAMP3F.
CITAMP4FBit 19: CITAMP4F.
CITAMP5FBit 20: CITAMP5F.
CITAMP6FBit 21: CITAMP6F.
BKP[0]RTAMP backup register
Offset: 0x100, 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 BKPBits 0-31: BKP.
BKP[1]RTAMP backup register
Offset: 0x104, 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 BKPBits 0-31: BKP.
BKP[2]RTAMP backup register
Offset: 0x108, 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 BKPBits 0-31: BKP.
BKP[3]RTAMP backup register
Offset: 0x10c, 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 BKPBits 0-31: BKP.
BKP[4]RTAMP backup register
Offset: 0x110, 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 BKPBits 0-31: BKP.
BKP[5]RTAMP backup register
Offset: 0x114, 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 BKPBits 0-31: BKP.
BKP[6]RTAMP backup register
Offset: 0x118, 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 BKPBits 0-31: BKP.
BKP[7]RTAMP backup register
Offset: 0x11c, 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 BKPBits 0-31: BKP.
BKP[8]RTAMP backup register
Offset: 0x120, 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 BKPBits 0-31: BKP.
BKP[9]RTAMP backup register
Offset: 0x124, 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 BKPBits 0-31: BKP.
BKP[10]RTAMP backup register
Offset: 0x128, 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 BKPBits 0-31: BKP.
BKP[11]RTAMP backup register
Offset: 0x12c, 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 BKPBits 0-31: BKP.
BKP[12]RTAMP backup register
Offset: 0x130, 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 BKPBits 0-31: BKP.
BKP[13]RTAMP backup register
Offset: 0x134, 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 BKPBits 0-31: BKP.
BKP[14]RTAMP backup register
Offset: 0x138, 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 BKPBits 0-31: BKP.
BKP[15]RTAMP backup register
Offset: 0x13c, 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 BKPBits 0-31: BKP.
BKP[16]RTAMP backup register
Offset: 0x140, 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 BKPBits 0-31: BKP.
BKP[17]RTAMP backup register
Offset: 0x144, 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 BKPBits 0-31: BKP.
BKP[18]RTAMP backup register
Offset: 0x148, 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 BKPBits 0-31: BKP.
BKP[19]RTAMP backup register
Offset: 0x14c, 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 BKPBits 0-31: BKP.
BKP[20]RTAMP backup register
Offset: 0x150, 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 BKPBits 0-31: BKP.
BKP[21]RTAMP backup register
Offset: 0x154, 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 BKPBits 0-31: BKP.
BKP[22]RTAMP backup register
Offset: 0x158, 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 BKPBits 0-31: BKP.
BKP[23]RTAMP backup register
Offset: 0x15c, 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 BKPBits 0-31: BKP.
BKP[24]RTAMP backup register
Offset: 0x160, 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 BKPBits 0-31: BKP.
BKP[25]RTAMP backup register
Offset: 0x164, 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 BKPBits 0-31: BKP.
BKP[26]RTAMP backup register
Offset: 0x168, 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 BKPBits 0-31: BKP.
BKP[27]RTAMP backup register
Offset: 0x16c, 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 BKPBits 0-31: BKP.
BKP[28]RTAMP backup register
Offset: 0x170, 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 BKPBits 0-31: BKP.
BKP[29]RTAMP backup register
Offset: 0x174, 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 BKPBits 0-31: BKP.
BKP[30]RTAMP backup register
Offset: 0x178, 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 BKPBits 0-31: BKP.
BKP[31]RTAMP backup register
Offset: 0x17c, 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 BKPBits 0-31: BKP.
TIM10x40012c00: Advanced-timers
158/228 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/17 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 15: Output Idle state (OC4N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
MMS_3Bit 25: Master mode selection - bit 3.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/12 fields covered.
Toggle fields SMSBits 0-2: Slave mode selection.
OCCSBit 3: OCREF clear selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
SMSPEBit 24: SMS Preload Enable.
SMSPSBit 25: SMS Preload Source.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
15/19 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
Bit 20: Index interrupt enable.
DIRIEBit 21: Direction Change interrupt enable.
IERRIEBit 22: Index Error interrupt enable.
TERRIEBit 23: Transition Error interrupt enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
16/20 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 8: Break 2 interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break 2 input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 13: System Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the system break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 20: Index interrupt flag.
DIRFBit 21: Direction Change interrupt flag.
IERRFBit 22: Index Error interrupt flag.
TERRFBit 23: Transition Error interrupt flag.
EGRevent generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
Bit 8: Break 2 generation.
Allowed values:
1: Trigger: A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
20/20 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 14: Capture/Compare 4 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 15: Capture/Compare 4 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIFCPY.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition counter register
Offset: 0x30, 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 REPBits 0-15: Repetition counter value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
10/16 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 Enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 25: Break 2 polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 26: BKDSRM.
BK2DSRMBit 27: BK2DSRM.
BKBIDBit 28: BKBID.
BK2IDBit 29: BK2ID.
CCR5capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCMR3_Outputcapture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DTPEBits 0-7: Dead-time falling edge generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
ECRDMA control register
Offset: 0x58, 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 PWPRSCBit 0: Index Enable.
IDIRBits 1-2: Index Direction.
IBLKBits 3-4: Index Blanking.
FIDXBit 5: First Index.
IPOSBits 6-7: Index Positioning.
PWBits 16-23: Pulse width.
PWPRSCBits 24-26: Pulse Width prescaler.
TISELTIM timer input selection register
Offset: 0x5c, 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 TI4SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
TI3SELBits 16-19: TI3[0] to TI3[15] input selection.
TI4SELBits 24-27: TI4[0] to TI4[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
ETRSELBits 14-17: ETR source selection.
AF2TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BK2CMP1EBit 1: BRK2 COMP1 enable.
BK2CMP2EBit 2: BRK2 COMP2 enable.
BK2CMP3EBit 3: BRK2 COMP3 enable.
BK2CMP4EBit 4: BRK2 COMP4 enable.
BK2CMP5EBit 5: BRK2 COMP5 enable.
BK2CMP6EBit 6: BRK2 COMP6 enable.
BK2CMP7EBit 7: BRK2 COMP7 enable.
BK2INPBit 9: BRK2 BKIN input polarity.
BK2CMP1PBit 10: BRK2 COMP1 input polarity.
BK2CMP2PBit 11: BRK2 COMP2 input polarity.
BK2CMP3PBit 12: BRK2 COMP3 input polarity.
BK2CMP4PBit 13: BRK2 COMP4 input polarity.
OCRSELBits 16-18: OCREF_CLR source selection.
DCRcontrol register
Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM150x40014000: General purpose timers
78/110 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
OIS[1]Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
slave mode control register
Offset: 0x8, 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 TS2Bits 0-2: Slave mode selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
SMS_3Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: CC2S.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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
7/7 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition counter register
Offset: 0x30, 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 REPBits 0-7: Repetition counter value.
Allowed values: 0x0-0xff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
8/11 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BKDSRMBit 26: BKDSRM.
BKBIDBit 28: BKBID.
DTR2timer Deadtime Register 2
Offset: 0x54, 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 DTPEBits 0-7: Dead-time generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
TISELTIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Toggle fields TI1SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
AF2TIM 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 OCRSELBits 16-18: OCREF_CLR source selection.
DCRDMA control register
Offset: 0x3dc, 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 DBLBits 0-4: DMA base address.
DBLBits 8-12: DMA burst length.
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM160x40014400: General purpose timers
53/80 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
CCERcapture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition counter register
Offset: 0x30, 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 REPBits 0-7: Repetition counter value.
Allowed values: 0x0-0xff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
8/11 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BKDSRMBit 26: BKDSRM.
BKBIDBit 28: BKBID.
DTR2timer Deadtime Register 2
Offset: 0x54, 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 DTPEBits 0-7: Dead-time generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
TISELTIM 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 TI1SELBits 0-3: TI1[0] to TI1[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
AF2TIM 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 OCRSELBits 16-18: OCREF_CLR source selection.
OR1TIM 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 HSE32ENBit 0: HSE Divided by 32 enable.
DCRDMA control register
Offset: 0x3dc, 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 DBLBits 0-4: DMA base address.
DBLBits 8-12: DMA burst length.
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM170x40014800: General purpose timers
53/80 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
6/7 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
4/4 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/5 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
CCERcapture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition counter register
Offset: 0x30, 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 REPBits 0-7: Repetition counter value.
Allowed values: 0x0-0xff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
8/11 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BKDSRMBit 26: BKDSRM.
BKBIDBit 28: BKBID.
DTR2timer Deadtime Register 2
Offset: 0x54, 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 DTPEBits 0-7: Dead-time generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
TISELTIM 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 TI1SELBits 0-3: TI1[0] to TI1[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
AF2TIM 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 OCRSELBits 16-18: OCREF_CLR source selection.
OR1TIM 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 HSE32ENBit 0: HSE Divided by 32 enable.
DCRDMA control register
Offset: 0x3dc, 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 DBLBits 0-4: DMA base address.
DBLBits 8-12: DMA burst length.
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM20x40000000: Advanced-timers
131/228 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/17 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
CCUSBit 2: Capture/compare control update selection.
CCDSBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 15: Output Idle state (OC4N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
MMS_3Bit 25: Master mode selection - bit 3.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/12 fields covered.
Toggle fields SMSBits 0-2: Slave mode selection.
OCCSBit 3: OCREF clear selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
SMSPEBit 24: SMS Preload Enable.
SMSPSBit 25: SMS Preload Source.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/19 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
TIEBit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
UDEBit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
TDEBit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
Bit 20: Index interrupt enable.
DIRIEBit 21: Direction Change interrupt enable.
IERRIEBit 22: Index Error interrupt enable.
TERRIEBit 23: Transition Error interrupt enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
12/20 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
TIFBit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
B2IFBit 8: Break 2 interrupt flag.
CC[1]OFBit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 13: System Break interrupt flag.
CC5IFBit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 20: Index interrupt flag.
DIRFBit 21: Direction Change interrupt flag.
IERRFBit 22: Index Error interrupt flag.
TERRFBit 23: Transition Error interrupt flag.
EGRevent generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
TGBit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
B2GBit 8: Break 2 generation.
CCMR1_Inputcapture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
16/20 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 14: Capture/Compare 4 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 15: Capture/Compare 4 output Polarity.
CC[5]EBit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
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 CNTBits 0-31: counter value.
Allowed values: 0x0-0xffffffff
UIFCPYBit 31: UIFCPY.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-31: Auto-reload value.
Allowed values: 0x0-0xffffffff
RCRrepetition 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 REPBits 0-15: Repetition counter value.
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare 1 value.
Allowed values: 0x0-0xffffffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare 1 value.
Allowed values: 0x0-0xffffffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare 1 value.
Allowed values: 0x0-0xffffffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare 1 value.
Allowed values: 0x0-0xffffffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
LOCKBits 8-9: Lock configuration.
OSSIBit 10: Off-state selection for Idle mode.
OSSRBit 11: Off-state selection for Run mode.
BKEBit 12: Break enable.
BKPBit 13: Break polarity.
AOEBit 14: Automatic output enable.
MOEBit 15: Main output enable.
BKFBits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 Enable.
BK2PBit 25: Break 2 polarity.
BKDSRMBit 26: BKDSRM.
BK2DSRMBit 27: BK2DSRM.
BKBIDBit 28: BKBID.
BK2IDBit 29: BK2ID.
CCR5capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-31: Capture/Compare value.
Allowed values: 0x0-0xffffffff
CCMR3_Outputcapture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DTPEBits 0-7: Dead-time falling edge generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
ECRDMA control register
Offset: 0x58, 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 PWPRSCBit 0: Index Enable.
IDIRBits 1-2: Index Direction.
IBLKBits 3-4: Index Blanking.
FIDXBit 5: First Index.
IPOSBits 6-7: Index Positioning.
PWBits 16-23: Pulse width.
PWPRSCBits 24-26: Pulse Width prescaler.
TISELTIM timer input selection register
Offset: 0x5c, 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 TI4SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
TI3SELBits 16-19: TI3[0] to TI3[15] input selection.
TI4SELBits 24-27: TI4[0] to TI4[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
ETRSELBits 14-17: ETR source selection.
AF2TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BK2CMP1EBit 1: BRK2 COMP1 enable.
BK2CMP2EBit 2: BRK2 COMP2 enable.
BK2CMP3EBit 3: BRK2 COMP3 enable.
BK2CMP4EBit 4: BRK2 COMP4 enable.
BK2CMP5EBit 5: BRK2 COMP5 enable.
BK2CMP6EBit 6: BRK2 COMP6 enable.
BK2CMP7EBit 7: BRK2 COMP7 enable.
BK2INPBit 9: BRK2 BKIN input polarity.
BK2CMP1PBit 10: BRK2 COMP1 input polarity.
BK2CMP2PBit 11: BRK2 COMP2 input polarity.
BK2CMP3PBit 12: BRK2 COMP3 input polarity.
BK2CMP4PBit 13: BRK2 COMP4 input polarity.
OCRSELBits 16-18: OCREF_CLR source selection.
DCRcontrol register
Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM200x40015000: Advanced-timers
158/228 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/17 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 15: Output Idle state (OC4N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
MMS_3Bit 25: Master mode selection - bit 3.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/12 fields covered.
Toggle fields SMSBits 0-2: Slave mode selection.
OCCSBit 3: OCREF clear selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
SMSPEBit 24: SMS Preload Enable.
SMSPSBit 25: SMS Preload Source.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
15/19 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
Bit 20: Index interrupt enable.
DIRIEBit 21: Direction Change interrupt enable.
IERRIEBit 22: Index Error interrupt enable.
TERRIEBit 23: Transition Error interrupt enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
16/20 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 8: Break 2 interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break 2 input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 13: System Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the system break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 20: Index interrupt flag.
DIRFBit 21: Direction Change interrupt flag.
IERRFBit 22: Index Error interrupt flag.
TERRFBit 23: Transition Error interrupt flag.
EGRevent generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
Bit 8: Break 2 generation.
Allowed values:
1: Trigger: A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
20/20 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 14: Capture/Compare 4 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 15: Capture/Compare 4 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIFCPY.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition counter register
Offset: 0x30, 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 REPBits 0-15: Repetition counter value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
10/16 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 Enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 25: Break 2 polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 26: BKDSRM.
BK2DSRMBit 27: BK2DSRM.
BKBIDBit 28: BKBID.
BK2IDBit 29: BK2ID.
CCR5capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCMR3_Outputcapture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DTPEBits 0-7: Dead-time falling edge generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
ECRDMA control register
Offset: 0x58, 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 PWPRSCBit 0: Index Enable.
IDIRBits 1-2: Index Direction.
IBLKBits 3-4: Index Blanking.
FIDXBit 5: First Index.
IPOSBits 6-7: Index Positioning.
PWBits 16-23: Pulse width.
PWPRSCBits 24-26: Pulse Width prescaler.
TISELTIM timer input selection register
Offset: 0x5c, 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 TI4SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
TI3SELBits 16-19: TI3[0] to TI3[15] input selection.
TI4SELBits 24-27: TI4[0] to TI4[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
ETRSELBits 14-17: ETR source selection.
AF2TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BK2CMP1EBit 1: BRK2 COMP1 enable.
BK2CMP2EBit 2: BRK2 COMP2 enable.
BK2CMP3EBit 3: BRK2 COMP3 enable.
BK2CMP4EBit 4: BRK2 COMP4 enable.
BK2CMP5EBit 5: BRK2 COMP5 enable.
BK2CMP6EBit 6: BRK2 COMP6 enable.
BK2CMP7EBit 7: BRK2 COMP7 enable.
BK2INPBit 9: BRK2 BKIN input polarity.
BK2CMP1PBit 10: BRK2 COMP1 input polarity.
BK2CMP2PBit 11: BRK2 COMP2 input polarity.
BK2CMP3PBit 12: BRK2 COMP3 input polarity.
BK2CMP4PBit 13: BRK2 COMP4 input polarity.
OCRSELBits 16-18: OCREF_CLR source selection.
DCRcontrol register
Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM30x40000400: Advanced-timers
131/228 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/17 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
CCUSBit 2: Capture/compare control update selection.
CCDSBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 15: Output Idle state (OC4N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
MMS_3Bit 25: Master mode selection - bit 3.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/12 fields covered.
Toggle fields SMSBits 0-2: Slave mode selection.
OCCSBit 3: OCREF clear selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
SMSPEBit 24: SMS Preload Enable.
SMSPSBit 25: SMS Preload Source.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/19 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
TIEBit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
UDEBit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
TDEBit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
Bit 20: Index interrupt enable.
DIRIEBit 21: Direction Change interrupt enable.
IERRIEBit 22: Index Error interrupt enable.
TERRIEBit 23: Transition Error interrupt enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
12/20 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
TIFBit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
B2IFBit 8: Break 2 interrupt flag.
CC[1]OFBit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 13: System Break interrupt flag.
CC5IFBit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 20: Index interrupt flag.
DIRFBit 21: Direction Change interrupt flag.
IERRFBit 22: Index Error interrupt flag.
TERRFBit 23: Transition Error interrupt flag.
EGRevent generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
TGBit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
B2GBit 8: Break 2 generation.
CCMR1_Inputcapture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
16/20 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 14: Capture/Compare 4 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 15: Capture/Compare 4 output Polarity.
CC[5]EBit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
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 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIFCPY.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition 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 REPBits 0-15: Repetition counter value.
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
LOCKBits 8-9: Lock configuration.
OSSIBit 10: Off-state selection for Idle mode.
OSSRBit 11: Off-state selection for Run mode.
BKEBit 12: Break enable.
BKPBit 13: Break polarity.
AOEBit 14: Automatic output enable.
MOEBit 15: Main output enable.
BKFBits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 Enable.
BK2PBit 25: Break 2 polarity.
BKDSRMBit 26: BKDSRM.
BK2DSRMBit 27: BK2DSRM.
BKBIDBit 28: BKBID.
BK2IDBit 29: BK2ID.
CCR5capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCMR3_Outputcapture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DTPEBits 0-7: Dead-time falling edge generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
ECRDMA control register
Offset: 0x58, 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 PWPRSCBit 0: Index Enable.
IDIRBits 1-2: Index Direction.
IBLKBits 3-4: Index Blanking.
FIDXBit 5: First Index.
IPOSBits 6-7: Index Positioning.
PWBits 16-23: Pulse width.
PWPRSCBits 24-26: Pulse Width prescaler.
TISELTIM timer input selection register
Offset: 0x5c, 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 TI4SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
TI3SELBits 16-19: TI3[0] to TI3[15] input selection.
TI4SELBits 24-27: TI4[0] to TI4[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
ETRSELBits 14-17: ETR source selection.
AF2TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BK2CMP1EBit 1: BRK2 COMP1 enable.
BK2CMP2EBit 2: BRK2 COMP2 enable.
BK2CMP3EBit 3: BRK2 COMP3 enable.
BK2CMP4EBit 4: BRK2 COMP4 enable.
BK2CMP5EBit 5: BRK2 COMP5 enable.
BK2CMP6EBit 6: BRK2 COMP6 enable.
BK2CMP7EBit 7: BRK2 COMP7 enable.
BK2INPBit 9: BRK2 BKIN input polarity.
BK2CMP1PBit 10: BRK2 COMP1 input polarity.
BK2CMP2PBit 11: BRK2 COMP2 input polarity.
BK2CMP3PBit 12: BRK2 COMP3 input polarity.
BK2CMP4PBit 13: BRK2 COMP4 input polarity.
OCRSELBits 16-18: OCREF_CLR source selection.
DCRcontrol register
Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM40x40000800: Advanced-timers
131/228 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
12/17 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
CCUSBit 2: Capture/compare control update selection.
CCDSBit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 15: Output Idle state (OC4N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
MMS_3Bit 25: Master mode selection - bit 3.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/12 fields covered.
Toggle fields SMSBits 0-2: Slave mode selection.
OCCSBit 3: OCREF clear selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
SMSPEBit 24: SMS Preload Enable.
SMSPSBit 25: SMS Preload Source.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
12/19 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
TIEBit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
UDEBit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
TDEBit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
Bit 20: Index interrupt enable.
DIRIEBit 21: Direction Change interrupt enable.
IERRIEBit 22: Index Error interrupt enable.
TERRIEBit 23: Transition Error interrupt enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
12/20 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
TIFBit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
B2IFBit 8: Break 2 interrupt flag.
CC[1]OFBit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 13: System Break interrupt flag.
CC5IFBit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 20: Index interrupt flag.
DIRFBit 21: Direction Change interrupt flag.
IERRFBit 22: Index Error interrupt flag.
TERRFBit 23: Transition Error interrupt flag.
EGRevent generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
6/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
TGBit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
B2GBit 8: Break 2 generation.
CCMR1_Inputcapture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
16/20 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
CC[2]EBit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
CC[3]EBit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
CC[4]EBit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 14: Capture/Compare 4 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 15: Capture/Compare 4 output Polarity.
CC[5]EBit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
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 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIFCPY.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition 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 REPBits 0-15: Repetition counter value.
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
LOCKBits 8-9: Lock configuration.
OSSIBit 10: Off-state selection for Idle mode.
OSSRBit 11: Off-state selection for Run mode.
BKEBit 12: Break enable.
BKPBit 13: Break polarity.
AOEBit 14: Automatic output enable.
MOEBit 15: Main output enable.
BKFBits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 Enable.
BK2PBit 25: Break 2 polarity.
BKDSRMBit 26: BKDSRM.
BK2DSRMBit 27: BK2DSRM.
BKBIDBit 28: BKBID.
BK2IDBit 29: BK2ID.
CCR5capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCMR3_Outputcapture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DTPEBits 0-7: Dead-time falling edge generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
ECRDMA control register
Offset: 0x58, 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 PWPRSCBit 0: Index Enable.
IDIRBits 1-2: Index Direction.
IBLKBits 3-4: Index Blanking.
FIDXBit 5: First Index.
IPOSBits 6-7: Index Positioning.
PWBits 16-23: Pulse width.
PWPRSCBits 24-26: Pulse Width prescaler.
TISELTIM timer input selection register
Offset: 0x5c, 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 TI4SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
TI3SELBits 16-19: TI3[0] to TI3[15] input selection.
TI4SELBits 24-27: TI4[0] to TI4[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
ETRSELBits 14-17: ETR source selection.
AF2TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BK2CMP1EBit 1: BRK2 COMP1 enable.
BK2CMP2EBit 2: BRK2 COMP2 enable.
BK2CMP3EBit 3: BRK2 COMP3 enable.
BK2CMP4EBit 4: BRK2 COMP4 enable.
BK2CMP5EBit 5: BRK2 COMP5 enable.
BK2CMP6EBit 6: BRK2 COMP6 enable.
BK2CMP7EBit 7: BRK2 COMP7 enable.
BK2INPBit 9: BRK2 BKIN input polarity.
BK2CMP1PBit 10: BRK2 COMP1 input polarity.
BK2CMP2PBit 11: BRK2 COMP2 input polarity.
BK2CMP3PBit 12: BRK2 COMP3 input polarity.
BK2CMP4PBit 13: BRK2 COMP4 input polarity.
OCRSELBits 16-18: OCREF_CLR source selection.
DCRcontrol register
Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
TIM60x40001000: Basic-timers
16/16 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
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 MMSBits 4-6: Master mode selection.
Allowed values:
0: Reset: Use UG bit from TIMx_EGR register
1: Enable: Use CNT bit from TIMx_CEN register
2: Update: Use the update event
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UDEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
status register
Offset: 0x10, 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 UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
event generation register
Offset: 0x14, 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 UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: Low counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Low Auto-reload value.
Allowed values: 0x0-0xfffff
TIM70x40001400: Basic-timers
16/16 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
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 MMSBits 4-6: Master mode selection.
Allowed values:
0: Reset: Use UG bit from TIMx_EGR register
1: Enable: Use CNT bit from TIMx_CEN register
2: Update: Use the update event
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 UDEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
status register
Offset: 0x10, 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 UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
event generation register
Offset: 0x14, 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 UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: Low counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIF Copy.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Low Auto-reload value.
Allowed values: 0x0-0xfffff
TIM80x40013400: Advanced-timers
158/228 fields covered.
Toggle register map Toggle registers CR1control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields CENBit 0: Counter enable.
Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled
Bit 1: Update disable.
Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled
Bit 2: Update request source.
Allowed values:
0: AnyEvent: Any of counter overflow/underflow, setting UG, or update through slave mode, generates an update interrupt or DMA request
1: CounterOnly: Only counter overflow/underflow generates an update interrupt or DMA request
Bit 3: One-pulse mode.
Allowed values:
0: Disabled: Counter is not stopped at update event
1: Enabled: Counter stops counting at the next update event (clearing the CEN bit)
Bit 4: Direction.
Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter
Bits 5-6: Center-aligned mode selection.
Allowed values:
0: EdgeAligned: The counter counts up or down depending on the direction bit
1: CenterAligned1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: CenterAligned2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: CenterAligned3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Bit 7: Auto-reload preload enable.
Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered
Bits 8-9: Clock division.
Allowed values:
0: Div1: t_DTS = t_CK_INT
1: Div2: t_DTS = 2 × t_CK_INT
2: Div4: t_DTS = 4 × t_CK_INT
Bit 11: UIF status bit remapping.
Allowed values:
0: Disabled: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31
1: Enabled: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31
Bit 12: Dithering Enable.
Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/17 fields covered.
Toggle fields CCPCBit 0: Capture/compare preloaded control.
Allowed values:
0: NotPreloaded: CCxE, CCxNE and OCxM bits are not preloaded
1: Preloaded: CCxE, CCxNE and OCxM bits are preloaded
Bit 2: Capture/compare control update selection.
Allowed values:
0: Sw: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit only
1: SwOrEdge: When capture/compare control bits are preloaded (CCPC=1), they are updated by setting the COMG bit or when an rising edge occurs on TRGI
Bit 3: Capture/compare DMA selection.
Allowed values:
0: OnCompare: CCx DMA request sent when CCx event occurs
1: OnUpdate: CCx DMA request sent when update event occurs
Bits 4-6: Master mode selection.
TI1SBit 7: TI1 selection.
Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
Bit 8: Output Idle state (OC1 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 9: Output Idle state (OC1N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 10: Output Idle state (OC2 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 11: Output Idle state (OC2N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 12: Output Idle state (OC3 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 13: Output Idle state (OC3N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 14: Output Idle state (OC4 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 15: Output Idle state (OC4N output).
Allowed values:
0: Reset: OCxN=0 after a dead-time when MOE=0
1: Set: OCxN=1 after a dead-time when MOE=0
Bit 16: Output Idle state (OC5 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bit 18: Output Idle state (OC6 output).
Allowed values:
0: Reset: OCx=0 (after a dead-time if OCx(N) is implemented) when MOE=0
1: Set: OCx=1 (after a dead-time if OCx(N) is implemented) when MOE=0
Bits 20-23: Master mode selection 2.
MMS_3Bit 25: Master mode selection - bit 3.
SMCRslave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
5/12 fields covered.
Toggle fields SMSBits 0-2: Slave mode selection.
OCCSBit 3: OCREF clear selection.
TSBits 4-6: Trigger selection.
MSMBit 7: Master/Slave mode.
Allowed values:
0: NoSync: No action
1: Sync: The effect of an event on the trigger input (TRGI) is delayed to allow a perfect synchronization between the current timer and its slaves (through TRGO). It is useful if we want to synchronize several timers on a single external event.
Bits 8-11: External trigger filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 12-13: External trigger prescaler.
Allowed values:
0: Div1: Prescaler OFF
1: Div2: ETRP frequency divided by 2
2: Div4: ETRP frequency divided by 4
3: Div8: ETRP frequency divided by 8
Bit 14: External clock enable.
Allowed values:
0: Disabled: External clock mode 2 disabled
1: Enabled: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Bit 15: External trigger polarity.
Allowed values:
0: NotInverted: ETR is noninverted, active at high level or rising edge
1: Inverted: ETR is inverted, active at low level or falling edge
Bit 16: Slave mode selection - bit 3.
TS2Bits 20-21: Trigger selection - bit 4:3.
SMSPEBit 24: SMS Preload Enable.
SMSPSBit 25: SMS Preload Source.
DIERDMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
15/19 fields covered.
Toggle fields UIEBit 0: Update interrupt enable.
Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled
Bit 1: Capture/Compare 1 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 2: Capture/Compare 2 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 3: Capture/Compare 3 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 4: Capture/Compare 4 interrupt enable.
Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled
Bit 5: COM interrupt enable.
Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled
Bit 6: Trigger interrupt enable.
Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled
Bit 7: Break interrupt enable.
Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled
Bit 8: Update DMA request enable.
Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled
Bit 9: Capture/Compare 1 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 10: Capture/Compare 2 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 11: Capture/Compare 3 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 12: Capture/Compare 4 DMA request enable.
Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled
Bit 13: COM DMA request enable.
Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled
Bit 14: Trigger DMA request enable.
Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled
Bit 20: Index interrupt enable.
DIRIEBit 21: Direction Change interrupt enable.
IERRIEBit 22: Index Error interrupt enable.
TERRIEBit 23: Transition Error interrupt enable.
SRstatus register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
16/20 fields covered.
Toggle fields UIFBit 0: Update interrupt flag.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
Bit 1: Capture/compare 1 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 5: COM interrupt flag.
Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending
Bit 6: Trigger interrupt flag.
Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending
Bit 7: Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 8: Break 2 interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the break 2 input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 9: Capture/Compare 1 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 10: Capture/Compare 2 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 11: Capture/Compare 3 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 12: Capture/Compare 4 overcapture flag.
Allowed values:
0: NoOvercapture: No overcapture has been detected
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set
Bit 13: System Break interrupt flag.
Allowed values:
0: NoTrigger: No break event occurred
1: Trigger: An active level has been detected on the system break input. An interrupt is generated if BIE=1 in the TIMx_DIER register
Bit 16: Compare 5 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 17: Compare 6 interrupt flag.
Allowed values:
0: NoMatch: No campture/compare has been detected
1: Match: If CC1 is an output: The content of the counter TIMx_CNT matches the content of the TIMx_CCR1 register. If CC1 is an input: The counter value has been captured in TIMx_CCR1 register.
Bit 20: Index interrupt flag.
DIRFBit 21: Direction Change interrupt flag.
IERRFBit 22: Index Error interrupt flag.
TERRFBit 23: Transition Error interrupt flag.
EGRevent generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
Toggle fields UGBit 0: Update generation.
Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.
Bit 1: Capture/compare 1 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 2: Capture/compare 2 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 3: Capture/compare 3 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 4: Capture/compare 4 generation.
Allowed values:
1: Trigger: If CC1 is an output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If CC1 is an input: The current value of the counter is captured in TIMx_CCR1 register.
Bit 5: Capture/Compare control update generation.
Allowed values:
1: Trigger: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated
Bit 6: Trigger generation.
Allowed values:
1: Trigger: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled.
Bit 7: Break generation.
Allowed values:
1: Trigger: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled
Bit 8: Break 2 generation.
Allowed values:
1: Trigger: A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt can occur if enabled
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
6/6 fields covered.
Toggle fields CC1SBits 0-1: Capture/Compare 1 selection.
Allowed values:
1: TI1: CC1 channel is configured as input, IC1 is mapped on TI1
2: TI2: CC1 channel is configured as input, IC1 is mapped on TI2
3: TRC: CC1 channel is configured as input, IC1 is mapped on TRC
Bits 2-3: Input capture 1 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 1 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
1: TI2: CC2 channel is configured as input, IC2 is mapped on TI2
2: TI1: CC2 channel is configured as input, IC2 is mapped on TI1
3: TRC: CC2 channel is configured as input, IC2 is mapped on TRC
Bits 10-11: Input capture 2 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 2 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[1]SBits 0-1: Capture/Compare 1 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 1 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 1 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 2 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 2 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 2 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
6/6 fields covered.
Toggle fields CC3SBits 0-1: Capture/compare 3 selection.
Allowed values:
1: TI3: CC3 channel is configured as input, IC3 is mapped on TI3
2: TI4: CC3 channel is configured as input, IC3 is mapped on TI4
3: TRC: CC3 channel is configured as input, IC3 is mapped on TRC
Bits 2-3: Input capture 3 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 4-7: Input capture 3 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
1: TI4: CC4 channel is configured as input, IC4 is mapped on TI4
2: TI3: CC4 channel is configured as input, IC4 is mapped on TI3
3: TRC: CC4 channel is configured as input, IC4 is mapped on TRC
Bits 10-11: Input capture 4 prescaler.
Allowed values:
0: NoPrescaler: No prescaler, capture is done each time an edge is detected on the capture input
1: TwoEvents: Capture is done once every 2 events
2: FourEvents: Capture is done once every 4 events
3: EightEvents: Capture is done once every 8 events
Bits 12-15: Input capture 4 filter.
Allowed values:
0: NoFilter: No filter, sampling is done at fDTS
1: FCK_INT_N2: fSAMPLING=fCK_INT, N=2
2: FCK_INT_N4: fSAMPLING=fCK_INT, N=4
3: FCK_INT_N8: fSAMPLING=fCK_INT, N=8
4: FDTS_Div2_N6: fSAMPLING=fDTS/2, N=6
5: FDTS_Div2_N8: fSAMPLING=fDTS/2, N=8
6: FDTS_Div4_N6: fSAMPLING=fDTS/4, N=6
7: FDTS_Div4_N8: fSAMPLING=fDTS/4, N=8
8: FDTS_Div8_N6: fSAMPLING=fDTS/8, N=6
9: FDTS_Div8_N8: fSAMPLING=fDTS/8, N=8
10: FDTS_Div16_N5: fSAMPLING=fDTS/16, N=5
11: FDTS_Div16_N6: fSAMPLING=fDTS/16, N=6
12: FDTS_Div16_N8: fSAMPLING=fDTS/16, N=8
13: FDTS_Div32_N5: fSAMPLING=fDTS/32, N=5
14: FDTS_Div32_N6: fSAMPLING=fDTS/32, N=6
15: FDTS_Div32_N8: fSAMPLING=fDTS/32, N=8
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
12/12 fields covered.
Toggle fields CC[3]SBits 0-1: Capture/Compare 3 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 2: Output compare 3 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 3 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bits 8-9: Capture/Compare 4 selection.
Allowed values:
0: Output: CCx channel is configured as output
Bit 10: Output compare 4 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 4 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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
20/20 fields covered.
Toggle fields CC[1]EBit 0: Capture/Compare 1 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 1: Capture/Compare 1 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 2: Capture/Compare 1 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 3: Capture/Compare 1 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 4: Capture/Compare 2 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 5: Capture/Compare 2 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 6: Capture/Compare 2 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 7: Capture/Compare 2 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 8: Capture/Compare 3 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 9: Capture/Compare 3 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 10: Capture/Compare 3 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 11: Capture/Compare 3 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 12: Capture/Compare 4 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 13: Capture/Compare 4 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 14: Capture/Compare 4 complementary output enable.
Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled
Bit 15: Capture/Compare 4 output Polarity.
Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low
Bit 16: Capture/Compare 5 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 17: Capture/Compare 5 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
Bit 20: Capture/Compare 6 output enable.
Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled
Bit 21: Capture/Compare 6 output Polarity.
Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 UIFCPYBits 0-15: counter value.
Allowed values: 0x0-0xffff
UIFCPYBit 31: UIFCPY.
Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending
prescaler
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 PSCBits 0-15: Prescaler value.
Allowed values: 0x0-0xffff
ARRauto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 ARRBits 0-19: Auto-reload value.
Allowed values: 0x0-0xfffff
RCRrepetition counter register
Offset: 0x30, 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 REPBits 0-15: Repetition counter value.
Allowed values: 0x0-0xffff
CCR[1]capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[2]capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[3]capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCR[4]capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
BDTRbreak and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
10/16 fields covered.
Toggle fields DTGBits 0-7: Dead-time generator setup.
Allowed values: 0x0-0xff
LOCKBits 8-9: Lock configuration.
Allowed values:
0: Off: No bit is write protected
1: Level1: Any bits except MOE, OSSR, OSSI and LOCK in TIMx_BDTR register, OISx and OISxN bits in TIMx_CR2 register can no longer be written
2: Level2: LOCK Level 1 + CC Polarity bits (CCxP/CCxNP bits in TIMx_CCER register, as long as the related channel is configured in output through the CCxS bits) as well as OSSR and OSSI bits can no longer be written
3: Level3: LOCK Level 2 + CC Control bits (OCxM and OCxPE bits in TIMx_CCMRx registers, as long as the related channel is configured in output through the CCxS bits) can no longer be written
Bit 10: Off-state selection for Idle mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are forced to idle level
Bit 11: Off-state selection for Run mode.
Allowed values:
0: HiZ: When inactive, OC/OCN outputs are disabled
1: IdleLevel: When inactive, OC/OCN outputs are enabled with their inactive level
Bit 12: Break enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 13: Break polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 14: Automatic output enable.
Allowed values:
0: Manual: MOE can be set only by software
1: Automatic: MOE can be set by software or automatically at the next update event (if none of the break inputs BRK and BRK2 is active)
Bit 15: Main output enable.
Allowed values:
0: DisabledIdle: OC/OCN are disabled or forced idle depending on OSSI
1: Enabled: OC/OCN are enabled if CCxE/CCxNE are set
Bits 16-19: Break filter.
BK2FBits 20-23: Break 2 filter.
BK2EBit 24: Break 2 Enable.
Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled
Bit 25: Break 2 polarity.
Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high
Bit 26: BKDSRM.
BK2DSRMBit 27: BK2DSRM.
BKBIDBit 28: BKBID.
BK2IDBit 29: BK2ID.
CCR5capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
1/4 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 GC5C3Bits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
GC5C1Bit 29: Group Channel 5 and Channel 1.
GC5C2Bit 30: Group Channel 5 and Channel 2.
GC5C3Bit 31: Group Channel 5 and Channel 3.
CCR6capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 CCRBits 0-19: Capture/Compare value.
Allowed values: 0x0-0xfffff
CCMR3_Outputcapture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
Toggle fields OC[5]FEBit 2: Output compare 5 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 3: Output compare 5 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
Bit 10: Output compare 6 fast enable.
Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled
Bit 11: Output compare 6 preload enable.
Allowed values:
0: Disabled: Preload register on CCRx disabled. New values written to CCRx are taken into account immediately
1: Enabled: Preload register on CCRx enabled. Preload value is loaded into active register on each update event
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.
Allowed values:
0: Disabled: OCxRef is not affected by the ocref_clr_int signal
1: Enabled: OCxRef is cleared as soon as a High level is detected on ocref_clr_int signal
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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 DTPEBits 0-7: Dead-time falling edge generator setup.
DTAEBit 16: Deadtime Asymmetric Enable.
DTPEBit 17: Deadtime Preload Enable.
ECRDMA control register
Offset: 0x58, 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 PWPRSCBit 0: Index Enable.
IDIRBits 1-2: Index Direction.
IBLKBits 3-4: Index Blanking.
FIDXBit 5: First Index.
IPOSBits 6-7: Index Positioning.
PWBits 16-23: Pulse width.
PWPRSCBits 24-26: Pulse Width prescaler.
TISELTIM timer input selection register
Offset: 0x5c, 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 TI4SELBits 0-3: TI1[0] to TI1[15] input selection.
TI2SELBits 8-11: TI2[0] to TI2[15] input selection.
TI3SELBits 16-19: TI3[0] to TI3[15] input selection.
TI4SELBits 24-27: TI4[0] to TI4[15] input selection.
AF1TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BKCMP1EBit 1: BRK COMP1 enable.
BKCMP2EBit 2: BRK COMP2 enable.
BKCMP3EBit 3: BRK COMP3 enable.
BKCMP4EBit 4: BRK COMP4 enable.
BKCMP5EBit 5: BRK COMP5 enable.
BKCMP6EBit 6: BRK COMP6 enable.
BKCMP7EBit 7: BRK COMP7 enable.
BKINPBit 9: BRK BKIN input polarity.
BKCMP1PBit 10: BRK COMP1 input polarity.
BKCMP2PBit 11: BRK COMP2 input polarity.
BKCMP3PBit 12: BRK COMP3 input polarity.
BKCMP4PBit 13: BRK COMP4 input polarity.
ETRSELBits 14-17: ETR source selection.
AF2TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
Toggle fields BKINEBit 0: BRK BKIN input enable.
BK2CMP1EBit 1: BRK2 COMP1 enable.
BK2CMP2EBit 2: BRK2 COMP2 enable.
BK2CMP3EBit 3: BRK2 COMP3 enable.
BK2CMP4EBit 4: BRK2 COMP4 enable.
BK2CMP5EBit 5: BRK2 COMP5 enable.
BK2CMP6EBit 6: BRK2 COMP6 enable.
BK2CMP7EBit 7: BRK2 COMP7 enable.
BK2INPBit 9: BRK2 BKIN input polarity.
BK2CMP1PBit 10: BRK2 COMP1 input polarity.
BK2CMP2PBit 11: BRK2 COMP2 input polarity.
BK2CMP3PBit 12: BRK2 COMP3 input polarity.
BK2CMP4PBit 13: BRK2 COMP4 input polarity.
OCRSELBits 16-18: OCREF_CLR source selection.
DCRcontrol register
Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DBLBits 0-4: DMA base address.
Allowed values: 0x0-0x1f
DBLBits 8-12: DMA burst length.
Allowed values: 0x0-0x12
DMARDMA address for full transfer
Offset: 0x3e0, 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 DMABBits 0-31: DMA register for burst accesses.
UART40x40004c00: Universal synchronous asynchronous receiver transmitter
107/107 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
23/23 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from 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
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 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 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.
Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled
Bit 30: TXFEIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register
Bit 31: RXFFIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
Toggle fields ADDM7Bit 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
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
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields EIEBit 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 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 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Bit 23: TXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG
Bits 25-27: RXFTCFG.
Allowed values:
0: Depth_1_8: RXFIFO reaches 1/8 of its depth
1: Depth_1_4: RXFIFO reaches 1/4 of its depth
2: Depth_1_2: RXFIFO reaches 1/2 of its depth
3: Depth_3_4: RXFIFO reaches 3/4 of its depth
4: Depth_7_8: RXFIFO reaches 7/8 of its depth
5: Full: RXFIFO becomes full
Bit 28: RXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG
Bits 29-31: TXFTCFG.
Allowed values:
0: Depth_1_8: TXFIFO reaches 1/8 of its depth
1: Depth_1_4: TXFIFO reaches 1/4 of its depth
2: Depth_1_2: TXFIFO reaches 1/2 of its depth
3: Depth_3_4: TXFIFO reaches 3/4 of its depth
4: Depth_7_8: TXFIFO reaches 7/8 of its depth
5: Empty: TXFIFO becomes empty
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 BRRBits 0-15: DIV_Mantissa.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, 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 PSCBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, 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 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 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: 0x000000C0, access: read-only
25/25 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: RWU.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: WUF.
TEACKBit 21: TEACK.
REACKBit 22: REACK.
TXFEBit 23: TXFE.
Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.
Bit 24: RXFF.
Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.
Bit 26: RXFT.
Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.
Bit 27: TXFT.
Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
13/13 fields covered.
Toggle fields PECFBit 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.
Allowed values:
1: Clear: Clear the TXFE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register
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 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.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
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 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit 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 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
PRESCUSART prescaler register
Offset: 0x2c, 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 PRESCALERBits 0-3: PRESCALER.
Allowed values:
0: Div1: Input clock divided by 1
1: Div2: Input clock divided by 2
2: Div4: Input clock divided by 4
3: Div6: Input clock divided by 6
4: Div8: Input clock divided by 8
5: Div10: Input clock divided by 10
6: Div12: Input clock divided by 12
7: Div16: Input clock divided by 16
8: Div32: Input clock divided by 32
9: Div64: Input clock divided by 64
10: Div128: Input clock divided by 128
11: Div256: Input clock divided by 256
0x4000a000: UCPD1
90/90 fields covered.
Toggle register map Toggle registers CFGR1UCPD configuration register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
Toggle fields HBITCLKDIVBits 0-5: HBITCLKDIV.
Allowed values: 0x0-0x3f
IFRGAPBits 6-10: IFRGAP.
Allowed values: 0x1-0x1f
TRANSWINBits 11-15: TRANSWIN.
Allowed values: 0x1-0x1f
PSC_USBPDCLKBits 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.
Toggle fields RXFILTDISBit 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.
Toggle fields TXMODEBits 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.
Toggle fields TXISIEBit 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.
Toggle fields TXISBit 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.
Toggle fields TXMSGDISCCFBit 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.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 TXORDSETBits 0-19: TXORDSET.
Allowed values: 0x0-0xfffff
TX_PAYSZRUCPD 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 TXPAYSZBits 0-9: TXPAYSZ.
Allowed values: 0x0-0x3ff
TXDRUCPD 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 TXDATABits 0-7: TXDATA.
Allowed values: 0x0-0xff
RX_ORDSETRUCPD Rx Ordered Set Register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
Toggle fields RXORDSETBits 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 RXPAYSZBits 0-9: RXPAYSZ.
Allowed values: 0x0-0x3ff
RXDRUCPD 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 RXDATABits 0-7: RXDATA.
Allowed values: 0x0-0xff
RX_ORDEXTR1UCPD Rx Ordered Set Extension Register 1
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RXSOPX1Bits 0-19: RXSOPX1.
Allowed values: 0x0-0xfffff
RX_ORDEXTR2UCPD Rx Ordered Set Extension Register 2
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RXSOPX2Bits 0-19: RXSOPX2.
Allowed values: 0x0-0xfffff
USART10x40013800: Universal synchronous asynchronous receiver transmitter
124/124 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from 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
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 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.
Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled
Bit 30: TXFEIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register
Bit 31: RXFFIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields SLVENBit 0: SLVEN.
Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled
Bit 3: DIS_NSS.
Allowed values:
0: Disabled: SPI slave selection depends on NSS input pin
1: Enabled: SPI slave is always selected and NSS input pin is ignored
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
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields EIEBit 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
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Bit 23: TXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG
Bit 24: TCBGTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register
Bits 25-27: RXFTCFG.
Allowed values:
0: Depth_1_8: RXFIFO reaches 1/8 of its depth
1: Depth_1_4: RXFIFO reaches 1/4 of its depth
2: Depth_1_2: RXFIFO reaches 1/2 of its depth
3: Depth_3_4: RXFIFO reaches 3/4 of its depth
4: Depth_7_8: RXFIFO reaches 7/8 of its depth
5: Full: RXFIFO becomes full
Bit 28: RXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG
Bits 29-31: TXFTCFG.
Allowed values:
0: Depth_1_8: TXFIFO reaches 1/8 of its depth
1: Depth_1_4: TXFIFO reaches 1/4 of its depth
2: Depth_1_2: TXFIFO reaches 1/2 of its depth
3: Depth_3_4: TXFIFO reaches 3/4 of its depth
4: Depth_7_8: TXFIFO reaches 7/8 of its depth
5: Empty: TXFIFO becomes empty
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 BRRBits 0-15: DIV_Mantissa.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, 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 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 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: 0x000000C0, access: read-only
28/28 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 13: UDR.
Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: RWU.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: WUF.
TEACKBit 21: TEACK.
REACKBit 22: REACK.
TXFEBit 23: TXFE.
Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.
Bit 24: RXFF.
Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.
Bit 25: TCBGT.
Allowed values:
0: NotCompleted: Transmission is not complete or transmission is complete unsuccessfully (i.e. a NACK is received from the card)
1: Completed: Transmission is complete successfully (before Guard time completion and there is no NACK from the smart card)
Bit 26: RXFT.
Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.
Bit 27: TXFT.
Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
15/15 fields covered.
Toggle fields PECFBit 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.
Allowed values:
1: Clear: Clear the TXFE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register
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.
Allowed values:
1: Clear: Clear the UDR flag in the ISR register
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.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
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 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit 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 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
PRESCUSART prescaler register
Offset: 0x2c, 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 PRESCALERBits 0-3: PRESCALER.
Allowed values:
0: Div1: Input clock divided by 1
1: Div2: Input clock divided by 2
2: Div4: Input clock divided by 4
3: Div6: Input clock divided by 6
4: Div8: Input clock divided by 8
5: Div10: Input clock divided by 10
6: Div12: Input clock divided by 12
7: Div16: Input clock divided by 16
8: Div32: Input clock divided by 32
9: Div64: Input clock divided by 64
10: Div128: Input clock divided by 128
11: Div256: Input clock divided by 256
0x40004400: Universal synchronous asynchronous receiver transmitter
124/124 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from 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
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 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.
Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled
Bit 30: TXFEIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register
Bit 31: RXFFIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields SLVENBit 0: SLVEN.
Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled
Bit 3: DIS_NSS.
Allowed values:
0: Disabled: SPI slave selection depends on NSS input pin
1: Enabled: SPI slave is always selected and NSS input pin is ignored
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
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields EIEBit 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
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Bit 23: TXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG
Bit 24: TCBGTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register
Bits 25-27: RXFTCFG.
Allowed values:
0: Depth_1_8: RXFIFO reaches 1/8 of its depth
1: Depth_1_4: RXFIFO reaches 1/4 of its depth
2: Depth_1_2: RXFIFO reaches 1/2 of its depth
3: Depth_3_4: RXFIFO reaches 3/4 of its depth
4: Depth_7_8: RXFIFO reaches 7/8 of its depth
5: Full: RXFIFO becomes full
Bit 28: RXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG
Bits 29-31: TXFTCFG.
Allowed values:
0: Depth_1_8: TXFIFO reaches 1/8 of its depth
1: Depth_1_4: TXFIFO reaches 1/4 of its depth
2: Depth_1_2: TXFIFO reaches 1/2 of its depth
3: Depth_3_4: TXFIFO reaches 3/4 of its depth
4: Depth_7_8: TXFIFO reaches 7/8 of its depth
5: Empty: TXFIFO becomes empty
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 BRRBits 0-15: DIV_Mantissa.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, 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 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 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: 0x000000C0, access: read-only
28/28 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 13: UDR.
Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: RWU.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: WUF.
TEACKBit 21: TEACK.
REACKBit 22: REACK.
TXFEBit 23: TXFE.
Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.
Bit 24: RXFF.
Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.
Bit 25: TCBGT.
Allowed values:
0: NotCompleted: Transmission is not complete or transmission is complete unsuccessfully (i.e. a NACK is received from the card)
1: Completed: Transmission is complete successfully (before Guard time completion and there is no NACK from the smart card)
Bit 26: RXFT.
Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.
Bit 27: TXFT.
Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
15/15 fields covered.
Toggle fields PECFBit 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.
Allowed values:
1: Clear: Clear the TXFE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register
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.
Allowed values:
1: Clear: Clear the UDR flag in the ISR register
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.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
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 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit 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 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
PRESCUSART prescaler register
Offset: 0x2c, 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 PRESCALERBits 0-3: PRESCALER.
Allowed values:
0: Div1: Input clock divided by 1
1: Div2: Input clock divided by 2
2: Div4: Input clock divided by 4
3: Div6: Input clock divided by 6
4: Div8: Input clock divided by 8
5: Div10: Input clock divided by 10
6: Div12: Input clock divided by 12
7: Div16: Input clock divided by 16
8: Div32: Input clock divided by 32
9: Div64: Input clock divided by 64
10: Div128: Input clock divided by 128
11: Div256: Input clock divided by 256
0x40004800: Universal synchronous asynchronous receiver transmitter
124/124 fields covered.
Toggle register map Toggle registers CR1Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields UEBit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from 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
DEATBits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
RTOIEBit 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.
Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled
Bit 30: TXFEIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register
Bit 31: RXFFIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
Toggle fields SLVENBit 0: SLVEN.
Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled
Bit 3: DIS_NSS.
Allowed values:
0: Disabled: SPI slave selection depends on NSS input pin
1: Enabled: SPI slave is always selected and NSS input pin is ignored
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
CR3Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
24/24 fields covered.
Toggle fields EIEBit 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
WUSBits 20-21: Wakeup from Stop mode interrupt flag selection.
Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE
Bit 22: Wakeup from Stop mode interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register
Bit 23: TXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG
Bit 24: TCBGTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register
Bits 25-27: RXFTCFG.
Allowed values:
0: Depth_1_8: RXFIFO reaches 1/8 of its depth
1: Depth_1_4: RXFIFO reaches 1/4 of its depth
2: Depth_1_2: RXFIFO reaches 1/2 of its depth
3: Depth_3_4: RXFIFO reaches 3/4 of its depth
4: Depth_7_8: RXFIFO reaches 7/8 of its depth
5: Full: RXFIFO becomes full
Bit 28: RXFTIE.
Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG
Bits 29-31: TXFTCFG.
Allowed values:
0: Depth_1_8: TXFIFO reaches 1/8 of its depth
1: Depth_1_4: TXFIFO reaches 1/4 of its depth
2: Depth_1_2: TXFIFO reaches 1/2 of its depth
3: Depth_3_4: TXFIFO reaches 3/4 of its depth
4: Depth_7_8: TXFIFO reaches 7/8 of its depth
5: Empty: TXFIFO becomes empty
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 BRRBits 0-15: DIV_Mantissa.
Allowed values: 0x0-0xffff
GTPRGuard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 GTBits 0-7: Prescaler value.
Allowed values: 0x0-0xff
GTBits 8-15: Guard time value.
Allowed values: 0x0-0xff
RTORReceiver timeout register
Offset: 0x14, 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 BLENBits 0-23: Receiver timeout value.
Allowed values: 0x0-0xffffff
BLENBits 24-31: Block Length.
Allowed values: 0x0-0xff
RQRRequest register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Toggle fields ABRRQBit 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: 0x000000C0, access: read-only
28/28 fields covered.
Toggle fields PEBit 0: PE.
Allowed values:
0: NoError: No parity error
1: Error: Parity error
Bit 1: FE.
Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected
Bit 2: NF.
Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected
Bit 3: ORE.
Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected
Bit 4: IDLE.
Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected
Bit 5: RXNE.
Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read
Bit 6: TC.
Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete
Bit 7: TXE.
Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full
Bit 8: LBDF.
Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected
Bit 9: CTSIF.
Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line
Bit 10: CTS.
Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset
Bit 11: RTOF.
Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception
Bit 12: EOBF.
Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached
Bit 13: UDR.
Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error
Bit 14: ABRE.
ABRFBit 15: ABRF.
BUSYBit 16: BUSY.
Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going
Bit 17: CMF.
Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected
Bit 18: SBKF.
Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted
Bit 19: RWU.
Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode
Bit 20: WUF.
TEACKBit 21: TEACK.
REACKBit 22: REACK.
TXFEBit 23: TXFE.
Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.
Bit 24: RXFF.
Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.
Bit 25: TCBGT.
Allowed values:
0: NotCompleted: Transmission is not complete or transmission is complete unsuccessfully (i.e. a NACK is received from the card)
1: Completed: Transmission is complete successfully (before Guard time completion and there is no NACK from the smart card)
Bit 26: RXFT.
Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.
Bit 27: TXFT.
Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
15/15 fields covered.
Toggle fields PECFBit 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.
Allowed values:
1: Clear: Clear the TXFE flag in the ISR register
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register
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.
Allowed values:
1: Clear: Clear the UDR flag in the ISR register
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.
Allowed values:
1: Clear: Clears the WUF flag in the ISR register
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 RDRBits 0-8: Receive data value.
Allowed values: 0x0-0x1ff
TDRTransmit 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 TDRBits 0-8: Transmit data value.
Allowed values: 0x0-0x1ff
PRESCUSART prescaler register
Offset: 0x2c, 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 PRESCALERBits 0-3: PRESCALER.
Allowed values:
0: Div1: Input clock divided by 1
1: Div2: Input clock divided by 2
2: Div4: Input clock divided by 4
3: Div6: Input clock divided by 6
4: Div8: Input clock divided by 8
5: Div10: Input clock divided by 10
6: Div12: Input clock divided by 12
7: Div16: Input clock divided by 16
8: Div32: Input clock divided by 32
9: Div64: Input clock divided by 64
10: Div128: Input clock divided by 128
11: Div256: Input clock divided by 256
0x40005c00: USB_FS_device
75/123 fields covered.
Toggle register map Toggle registers EP[0]RUSB endpoint n register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[1]RUSB endpoint n register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[2]RUSB endpoint n register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[3]RUSB endpoint n register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[4]RUSB endpoint n register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[5]RUSB endpoint n register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[6]RUSB endpoint n register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
EP[7]RUSB endpoint n register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
Toggle fields EABits 0-3: EA.
Allowed values: 0x0-0xf
STAT_TXBits 4-5: STAT_TX.
Allowed values:
0: Disabled: all transmission requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all transmission requests result in a STALL handshake
2: Nak: the endpoint is naked and all transmission requests result in a NAK handshake
3: Valid: this endpoint is enabled for transmission
Bit 6: DTOG_TX.
CTR_TXBit 7: CTR_TX.
EP_KINDBit 8: EP_KIND.
EP_TYPEBits 9-10: EP_TYPE.
Allowed values:
0: Bulk: Bulk endpoint
1: Control: Control endpoint
2: Iso: Iso endpoint
3: Interrupt: Interrupt endpoint
Bit 11: SETUP.
STAT_RXBits 12-13: STAT_RX.
Allowed values:
0: Disabled: all reception requests addressed to this endpoint are ignored
1: Stall: the endpoint is stalled and all reception requests result in a STALL handshake
2: Nak: the endpoint is naked and all reception requests result in a NAK handshake
3: Valid: this endpoint is enabled for reception
Bit 14: DTOG_RX.
CTR_RXBit 15: CTR_RX.
CNTRUSB control register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
Toggle fields FRESBit 0: FRES.
Allowed values:
0: NoReset: Clear USB reset
1: Reset: Force a reset of the USB peripheral, exactly like a RESET signaling on the USB
Bit 1: PDWN.
Allowed values:
0: Disabled: No power down
1: Enabled: Enter power down mode
Bit 2: LP_MODE.
Allowed values:
0: Disabled: No low-power mode
1: Enabled: Enter low-power mode
Bit 3: FSUSP.
Allowed values:
0: NoEffect: No effect
1: Suspend: Enter suspend mode. Clocks and static power dissipation in the analog transceiver are left unaffected
Bit 4: RESUME.
Allowed values:
1: Requested: Resume requested
Bit 5: L1RESUME.
Allowed values:
1: Requested: LPM L1 request requested
Bit 7: L1REQM.
Allowed values:
0: Disabled: L1REQ Interrupt disabled
1: Enabled: L1REQ Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 8: ESOFM.
Allowed values:
0: Disabled: ESOF Interrupt disabled
1: Enabled: ESOF Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 9: SOFM.
Allowed values:
0: Disabled: SOF Interrupt disabled
1: Enabled: SOF Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 10: RESETM.
Allowed values:
0: Disabled: RESET Interrupt disabled
1: Enabled: RESET Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 11: SUSPM.
Allowed values:
0: Disabled: Suspend Mode Request SUSP Interrupt disabled
1: Enabled: SUSP Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 12: WKUPM.
Allowed values:
0: Disabled: WKUP Interrupt disabled
1: Enabled: WKUP Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 13: ERRM.
Allowed values:
0: Disabled: ERR Interrupt disabled
1: Enabled: ERR Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 14: PMAOVRM.
Allowed values:
0: Disabled: PMAOVR Interrupt disabled
1: Enabled: PMAOVR Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
Bit 15: CTRM.
Allowed values:
0: Disabled: Correct Transfer (CTR) Interrupt disabled
1: Enabled: CTR Interrupt enabled, an interrupt request is generated when the corresponding bit in the USB_ISTR register is set
USB interrupt status register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
Toggle fields EP_IDBits 0-3: EP_ID.
Allowed values: 0x0-0xf
DIRBit 4: DIR.
Allowed values:
0: To: Data transmitted by the USB peripheral to the host PC
1: From: Data received by the USB peripheral from the host PC
Bit 7: L1REQ.
Allowed values:
0: NotReceived: LPM command to enter the L1 state is not received
1: Received: LPM command to enter the L1 state is successfully received and acknowledged
Bit 8: ESOF.
Allowed values:
0: NotExpectedStartOfFrame: NotExpectedStartOfFrame
1: ExpectedStartOfFrame: An SOF packet is expected but not received
Bit 9: SOF.
Allowed values:
0: NotStartOfFrame: NotStartOfFrame
1: StartOfFrame: Beginning of a new USB frame and it is set when a SOF packet arrives through the USB bus
Bit 10: RESET.
Allowed values:
0: NotReset: NotReset
1: Reset: Peripheral detects an active USB RESET signal at its inputs
Bit 11: SUSP.
Allowed values:
0: NotSuspend: NotSuspend
1: Suspend: No traffic has been received for 3 ms, indicating a suspend mode request from the USB bus
Bit 12: WKUP.
Allowed values:
0: NotWakeup: NotWakeup
1: Wakeup: Activity is detected that wakes up the USB peripheral
Bit 13: ERR.
Allowed values:
0: NotOverrun: Errors are not occurred
1: Error: One of No ANSwer, Cyclic Redundancy Check, Bit Stuffing or Framing format Violation error occurred
Bit 14: PMAOVR.
Allowed values:
0: NotOverrun: Overrun is not occurred
1: Overrun: Microcontroller has not been able to respond in time to an USB memory request
Bit 15: CTR.
Allowed values:
1: Completed: Endpoint has successfully completed a transaction
USB frame number register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
Toggle fields FNBits 0-10: FN.
Allowed values: 0x0-0x7ff
LSOFBits 11-12: LSOF.
Allowed values: 0x0-0x3
LCKBit 13: LCK.
Allowed values:
1: Locked: the frame timer remains in this state until an USB reset or USB suspend event occurs
Bit 14: RXDM.
Allowed values:
1: Received: received data minus upstream port data line
Bit 15: RXDP.
Allowed values:
1: Received: received data plus upstream port data line
USB device address
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 EFBits 0-6: ADD.
Allowed values: 0x0-0x7f
EFBit 7: EF.
Allowed values:
0: Disabled: USB device disabled
1: Enabled: USB device enabled
Buffer table address
Offset: 0x50, 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 BTABLEBits 3-15: BTABLE.
Allowed values: 0x0-0x1fff
BCDRBattery Charging Detector
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
9/9 fields covered.
Toggle fields BCDENBit 0: Battery charging detector mode enable.
Allowed values:
0: Disabled: disable the BCD support
1: Enabled: enable the BCD support within the USB device
Bit 1: Data contact detection mode enable.
Allowed values:
0: Disabled: Data contact detection (DCD) mode disabled
1: Enabled: Data contact detection (DCD) mode enabled
Bit 2: Primary detection mode enable.
Allowed values:
0: Disabled: Primary detection (PD) mode disabled
1: Enabled: Primary detection (PD) mode enabled
Bit 3: Secondary detection mode enable.
Allowed values:
0: Disabled: Secondary detection (SD) mode disabled
1: Enabled: Secondary detection (SD) mode enabled
Bit 4: Data contact detection status.
Allowed values:
0: NotDetected: data lines contact not detected
1: Detected: data lines contact detected
Bit 5: Primary detection status.
Allowed values:
0: NoBCD: no BCD support detected
1: BCD: BCD support detected
Bit 6: Secondary detection status.
Allowed values:
0: CDP: CDP detected
1: DCP: DCP detected
Bit 7: DM pull-up detection status.
Allowed values:
0: Normal: Normal port detected
1: PS2: PS2 port or proprietary charger detected
Bit 15: DP pull-up control.
Allowed values:
0: Disabled: signalize disconnect to the host when needed by the user software
1: Enabled: enable the embedded pull-up on the DP line
0x40010030: Voltage reference buffer
1/5 fields covered.
Toggle register map Offset Name31
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 VRS VRR HIZ ENVR 0x4 CCR TRIM Toggle registers CSRVREF_BUF Control and Status Register
Offset: 0x0, size: 32, reset: 0x00000002, access: Unspecified
1/4 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 VRSBit 0: Enable Voltage Reference.
HIZBit 1: High impedence mode for the VREF_BUF.
VRRBit 3: Voltage reference buffer ready.
VRSBits 4-5: Voltage reference scale.
CCRVREF_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 TRIMBits 0-5: Trimming code.
WWDG0x40002c00: System window watchdog
6/6 fields covered.
Toggle register map Offset Name31
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) CR WDGA T 0x4 (16-bit) CFR WDGTB EWI W 0x8 (16-bit) SR EWIF Toggle registers CRControl register
Offset: 0x0, size: 16, reset: 0x0000007F, access: read-write
2/2 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WDGABits 0-6: 7-bit counter (MSB to LSB).
Allowed values: 0x0-0x7f
WDGABit 7: Activation bit.
Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled
Configuration register
Offset: 0x4, size: 16, reset: 0x0000007F, access: read-write
3/3 fields covered.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 WDGTBBits 0-6: 7-bit window value.
Allowed values: 0x0-0x7f
EWIBit 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: 16, 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 EWIFBit 0: Early wakeup interrupt flag.
Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4