Overall: 15058/21326 fields covered

ADC1

0x42028000: ADC register block

189/200 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x4 IER
0x8 CR
0xc CFGR
0x10 CFGR2
0x14 SMPR1
0x18 SMPR2
0x20 TR1
0x24 TR2
0x28 TR3
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR[1]
0x64 OFR[2]
0x68 OFR[3]
0x6c OFR[4]
0x80 JDR[1]
0x84 JDR[2]
0x88 JDR[3]
0x8c JDR[4]
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 DIFSEL
0xb4 CALFACT
0xc8 OR
Toggle registers

ISR

ADC interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVF
r/w1c
AWD[3]
r/w1c
AWD[2]
r/w1c
AWD[1]
r/w1c
JEOS
r/w1c
JEOC
r/w1c
OVR
r/w1c
EOS
r/w1c
EOC
r/w1c
EOSMP
r/w1c
ADRDY
r/w1c
Toggle fields

ADRDY

Bit 0: ADC ready.

Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion

EOSMP

Bit 1: End of sampling flag.

Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached

EOC

Bit 2: End of conversion flag.

Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete

EOS

Bit 3: End of regular sequence flag.

Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete

OVR

Bit 4: ADC overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

JEOC

Bit 5: Injected channel end of conversion flag.

Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete

JEOS

Bit 6: Injected channel end of sequence flag.

Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete

AWD[1]

Bit 7: Analog watchdog 1 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[2]

Bit 8: Analog watchdog 2 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[3]

Bit 9: Analog watchdog 3 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

JQOVF

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

IER

ADC interrupt enable register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt enable.

Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled

EOSMPIE

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

EOCIE

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

EOSIE

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

OVRIE

Bit 4: Overrun interrupt enable.

Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled

JEOCIE

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

JEOSIE

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

AWD[1]IE

Bit 7: Analog watchdog 1 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[2]IE

Bit 8: Analog watchdog 2 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[3]IE

Bit 9: Analog watchdog 3 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

JQOVFIE

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

CR

ADC control register

Offset: 0x8, size: 32, reset: 0x20000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADCAL
r/w1s
ADCALDIF
rw
DEEPPWD
rw
ADVREGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JADSTP
r/w1s
ADSTP
r/w1s
JADSTART
r/w1s
ADSTART
r/w1s
ADDIS
r/w1s
ADEN
r/w1s
Toggle fields

ADEN

Bit 0: ADC enable control.

Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled

ADDIS

Bit 1: ADC disable command.

Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling

ADSTART

Bit 2: ADC start of regular conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

JADSTART

Bit 3: ADC start of injected conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

ADSTP

Bit 4: ADC stop of regular conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

JADSTP

Bit 5: ADC stop of injected conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

ADVREGEN

Bit 28: ADC voltage regulator enable.

Allowed values:
0: Disabled: ADC Voltage regulator disabled
1: Enabled: ADC Voltage regulator enabled

DEEPPWD

Bit 29: Deep-power-down enable.

Allowed values:
0: NotDeepPowerDown: ADC not in Deep-power down
1: DeepPowerDown: ADC in Deep-power-down (default reset state)

ADCALDIF

Bit 30: Differential mode for calibration.

Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode

ADCAL

Bit 31: ADC calibration.

Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress

CFGR

ADC configuration register

Offset: 0xc, size: 32, reset: 0x80000000, access: read-write

18/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JQDIS
rw
AWD1CH
rw
JAUTO
rw
JAWD1EN
rw
AWD1EN
rw
AWD1SGL
rw
JQM
rw
JDISCEN
rw
DISCNUM
rw
DISCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALIGN
rw
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMACFG
rw
DMAEN
rw
Toggle fields

DMAEN

Bit 0: Direct memory access enable.

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

DMACFG

Bit 1: Direct memory access configuration.

Allowed values:
0: OneShot: DMA One Shot mode selected
1: Circular: DMA Circular mode selected

RES

Bits 3-4: Data resolution.

Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit

EXTSEL

Bits 5-9: External trigger selection for regular group These bits select the external event used to trigger the start of conversion of a regular group: ... Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing)..

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
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

EXTEN

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

OVRMOD

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

CONT

Bit 13: Single / continuous conversion mode for regular conversions.

Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode

AUTDLY

Bit 14: Delayed conversion mode.

Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on

ALIGN

Bit 15: Data alignment.

Allowed values:
0: Right: Right alignment
1: Left: Left alignment

DISCEN

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

DISCNUM

Bits 17-19: Discontinuous mode channel count.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: Discontinuous mode on injected channels.

Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled

JQM

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

AWD1SGL

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

AWD1EN

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

JAWD1EN

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

JAUTO

Bit 25: Automatic injected group conversion.

Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled

AWD1CH

Bits 26-30: Analog watchdog 1 channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: Injected queue disable.

CFGR2

ADC configuration register 2

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPTRIG
rw
BULB
rw
SWTRIG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ROVSM
rw
TROVS
rw
OVSS
rw
OVSR
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: Regular oversampling Enable.

Allowed values:
0: Disabled: Regular Oversampling disabled
1: Enabled: Regular Oversampling enabled

JOVSE

Bit 1: Injected oversampling Enable.

Allowed values:
0: Disabled: Injected Oversampling disabled
1: Enabled: Injected Oversampling enabled

OVSR

Bits 2-4: Oversampling ratio.

Allowed values:
0: Ratio2: 2x
1: Ratio4: 4x
2: Ratio8: 8x
3: Ratio16: 16x
4: Ratio32: 32x
5: Ratio64: 64x
6: Ratio128: 128x
7: Ratio256: 256x

OVSS

Bits 5-8: Oversampling shift.

Allowed values:
0: NoShift: No Shift
1: Shift1Bit: Shift 1-bit
2: Shift2Bit: Shift 2-bit
3: Shift3Bit: Shift 3-bit
4: Shift4Bit: Shift 4-bit
5: Shift5Bit: Shift 5-bit
6: Shift6Bit: Shift 6-bit
7: Shift7Bit: Shift 7-bit
8: Shift8Bit: Shift 8-bit

TROVS

Bit 9: Triggered Regular oversampling.

Allowed values:
0: All: All oversampled conversions for a channel are done consecutively following a trigger
1: Single: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular oversampling mode.

Allowed values:
0: ContinuedMode: When injected conversions are triggered, the oversampling is temporary stopped and continued after the injection sequence (oversampling buffer is maintained during injected sequence)
1: ResumedMode: When injected conversions are triggered, the current oversampling is aborted and resumed from start after the injection sequence (oversampling buffer is zeroed by injected sequence start)

SWTRIG

Bit 25: Software trigger bit for sampling time control trigger mode.

Allowed values:
0: Conversion: Software trigger starts the conversion for sampling time control trigger mode
1: Sampling: Software trigger starts the sampling for sampling time control trigger mode

BULB

Bit 26: Bulb sampling mode.

Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. The sampling period starts just after the previous end of conversion

SMPTRIG

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

SMPR1

ADC sample time register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPPLUS
rw
SMP[9]
rw
SMP[8]
rw
SMP[7]
rw
SMP[6]
rw
SMP[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[5]
rw
SMP[4]
rw
SMP[3]
rw
SMP[2]
rw
SMP[1]
rw
SMP[0]
rw
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

SMP[1]

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

SMP[2]

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

SMP[3]

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

SMP[4]

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

SMP[5]

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

SMP[6]

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

SMP[7]

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

SMP[8]

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

SMP[9]

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

SMPPLUS

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

SMPR2

ADC sample time register 2

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMP[19]
rw
SMP[18]
rw
SMP[17]
rw
SMP[16]
rw
SMP[15]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[15]
rw
SMP[14]
rw
SMP[13]
rw
SMP[12]
rw
SMP[11]
rw
SMP[10]
rw
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

SMP[11]

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

SMP[12]

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

SMP[13]

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

SMP[14]

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

SMP[15]

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

SMP[16]

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

SMP[17]

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

SMP[18]

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

SMP[19]

Bits 27-29: Channel 19 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

TR1

ADC 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
HT1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWDFILT
rw
LT1
rw
Toggle fields

LT1

Bits 0-11: Analog watchdog 1 lower threshold.

Allowed values: 0x0-0xfff

AWDFILT

Bits 12-14: Analog watchdog filtering parameter.

HT1

Bits 16-27: Analog watchdog 1 higher threshold.

Allowed values: 0x0-0xfff

TR2

ADC watchdog threshold register 2

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
HT2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT2
rw
Toggle fields

LT2

Bits 0-7: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0xff

HT2

Bits 16-23: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0xff

TR3

ADC watchdog 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
HT3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT3
rw
Toggle fields

LT3

Bits 0-7: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0xff

HT3

Bits 16-23: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0xff

SQR1

ADC regular sequence register 1

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[4]
rw
SQ[3]
rw
SQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[2]
rw
SQ[1]
rw
L
rw
Toggle fields

L

Bits 0-3: Regular channel sequence length.

Allowed values: 0x0-0xf

SQ[1]

Bits 6-10: 1 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[2]

Bits 12-16: 2 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[3]

Bits 18-22: 3 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[4]

Bits 24-28: 4 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR2

ADC regular sequence register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[9]
rw
SQ[8]
rw
SQ[7]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[7]
rw
SQ[6]
rw
SQ[5]
rw
Toggle fields

SQ[5]

Bits 0-4: 5 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[6]

Bits 6-10: 6 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[7]

Bits 12-16: 7 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[8]

Bits 18-22: 8 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[9]

Bits 24-28: 9 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR3

ADC regular sequence register 3

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[14]
rw
SQ[13]
rw
SQ[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[12]
rw
SQ[11]
rw
SQ[10]
rw
Toggle fields

SQ[10]

Bits 0-4: 10 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[11]

Bits 6-10: 11 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[12]

Bits 12-16: 12 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[13]

Bits 18-22: 13 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[14]

Bits 24-28: 14 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR4

ADC regular sequence register 4

Offset: 0x3c, 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
SQ[16]
rw
SQ[15]
rw
Toggle fields

SQ[15]

Bits 0-4: 15 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[16]

Bits 6-10: 16 conversion in regular sequence.

Allowed values: 0x0-0x13

DR

ADC regular data register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-15: Regular data converted.

Allowed values: 0x0-0xffff

JSQR

ADC injected sequence register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JSQ[4]
rw
JSQ[3]
rw
JSQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JSQ[2]
rw
JSQ[1]
rw
JEXTEN
rw
JEXTSEL
rw
JL
rw
Toggle fields

JL

Bits 0-1: Injected channel sequence length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: External Trigger Selection for injected group.

Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event

JEXTEN

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

JSQ[1]

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]

ADC offset 1 register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[2]

ADC offset 2 register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[3]

ADC offset 3 register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[4]

ADC offset 4 register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

JDR[1]

ADC injected channel 1 data register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[2]

ADC injected channel 2 data register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[3]

ADC injected channel 3 data register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[4]

ADC injected channel 4 data register

Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD2CH[1]

Bit 1: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[2]

Bit 2: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[3]

Bit 3: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[4]

Bit 4: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[5]

Bit 5: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[6]

Bit 6: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[7]

Bit 7: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[8]

Bit 8: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[9]

Bit 9: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[10]

Bit 10: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[11]

Bit 11: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[12]

Bit 12: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[13]

Bit 13: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[14]

Bit 14: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[15]

Bit 15: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[16]

Bit 16: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[17]

Bit 17: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[18]

Bit 18: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[19]

Bit 19: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CR

ADC analog watchdog 3 configuration register

Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD3CH[1]

Bit 1: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[2]

Bit 2: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[3]

Bit 3: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[4]

Bit 4: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[5]

Bit 5: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[6]

Bit 6: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[7]

Bit 7: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[8]

Bit 8: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[9]

Bit 9: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[10]

Bit 10: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[11]

Bit 11: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[12]

Bit 12: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[13]

Bit 13: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[14]

Bit 14: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[15]

Bit 15: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[16]

Bit 16: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[17]

Bit 17: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[18]

Bit 18: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[19]

Bit 19: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

DIFSEL

ADC Differential mode selection register

Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write

20/20 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

DIFSEL[1]

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

DIFSEL[2]

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

DIFSEL[3]

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

DIFSEL[4]

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

DIFSEL[5]

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

DIFSEL[6]

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

DIFSEL[7]

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

DIFSEL[8]

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

DIFSEL[9]

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

DIFSEL[10]

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

DIFSEL[11]

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

DIFSEL[12]

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

DIFSEL[13]

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

DIFSEL[14]

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

DIFSEL[15]

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

DIFSEL[16]

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

DIFSEL[17]

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

DIFSEL[18]

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

DIFSEL[19]

Bit 19: Differential mode for channel 19.

Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode

CALFACT

ADC 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_D
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CALFACT_S
rw
Toggle fields

CALFACT_S

Bits 0-6: Calibration Factors In single-ended mode.

Allowed values: 0x0-0x7f

CALFACT_D

Bits 16-22: Calibration Factors in differential mode.

Allowed values: 0x0-0x7f

OR

ADC option register

Offset: 0xc8, 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
OP0
rw
Toggle fields

OP0

Bit 0: Option bit 0.

ADC1_S

0x52028000: ADC register block

189/200 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x4 IER
0x8 CR
0xc CFGR
0x10 CFGR2
0x14 SMPR1
0x18 SMPR2
0x20 TR1
0x24 TR2
0x28 TR3
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR[1]
0x64 OFR[2]
0x68 OFR[3]
0x6c OFR[4]
0x80 JDR[1]
0x84 JDR[2]
0x88 JDR[3]
0x8c JDR[4]
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 DIFSEL
0xb4 CALFACT
0xc8 OR
Toggle registers

ISR

ADC interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVF
r/w1c
AWD[3]
r/w1c
AWD[2]
r/w1c
AWD[1]
r/w1c
JEOS
r/w1c
JEOC
r/w1c
OVR
r/w1c
EOS
r/w1c
EOC
r/w1c
EOSMP
r/w1c
ADRDY
r/w1c
Toggle fields

ADRDY

Bit 0: ADC ready.

Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion

EOSMP

Bit 1: End of sampling flag.

Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached

EOC

Bit 2: End of conversion flag.

Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete

EOS

Bit 3: End of regular sequence flag.

Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete

OVR

Bit 4: ADC overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

JEOC

Bit 5: Injected channel end of conversion flag.

Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete

JEOS

Bit 6: Injected channel end of sequence flag.

Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete

AWD[1]

Bit 7: Analog watchdog 1 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[2]

Bit 8: Analog watchdog 2 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[3]

Bit 9: Analog watchdog 3 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

JQOVF

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

IER

ADC interrupt enable register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt enable.

Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled

EOSMPIE

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

EOCIE

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

EOSIE

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

OVRIE

Bit 4: Overrun interrupt enable.

Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled

JEOCIE

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

JEOSIE

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

AWD[1]IE

Bit 7: Analog watchdog 1 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[2]IE

Bit 8: Analog watchdog 2 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[3]IE

Bit 9: Analog watchdog 3 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

JQOVFIE

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

CR

ADC control register

Offset: 0x8, size: 32, reset: 0x20000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADCAL
r/w1s
ADCALDIF
rw
DEEPPWD
rw
ADVREGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JADSTP
r/w1s
ADSTP
r/w1s
JADSTART
r/w1s
ADSTART
r/w1s
ADDIS
r/w1s
ADEN
r/w1s
Toggle fields

ADEN

Bit 0: ADC enable control.

Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled

ADDIS

Bit 1: ADC disable command.

Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling

ADSTART

Bit 2: ADC start of regular conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

JADSTART

Bit 3: ADC start of injected conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

ADSTP

Bit 4: ADC stop of regular conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

JADSTP

Bit 5: ADC stop of injected conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

ADVREGEN

Bit 28: ADC voltage regulator enable.

Allowed values:
0: Disabled: ADC Voltage regulator disabled
1: Enabled: ADC Voltage regulator enabled

DEEPPWD

Bit 29: Deep-power-down enable.

Allowed values:
0: NotDeepPowerDown: ADC not in Deep-power down
1: DeepPowerDown: ADC in Deep-power-down (default reset state)

ADCALDIF

Bit 30: Differential mode for calibration.

Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode

ADCAL

Bit 31: ADC calibration.

Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress

CFGR

ADC configuration register

Offset: 0xc, size: 32, reset: 0x80000000, access: read-write

18/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JQDIS
rw
AWD1CH
rw
JAUTO
rw
JAWD1EN
rw
AWD1EN
rw
AWD1SGL
rw
JQM
rw
JDISCEN
rw
DISCNUM
rw
DISCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALIGN
rw
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMACFG
rw
DMAEN
rw
Toggle fields

DMAEN

Bit 0: Direct memory access enable.

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

DMACFG

Bit 1: Direct memory access configuration.

Allowed values:
0: OneShot: DMA One Shot mode selected
1: Circular: DMA Circular mode selected

RES

Bits 3-4: Data resolution.

Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit

EXTSEL

Bits 5-9: External trigger selection for regular group These bits select the external event used to trigger the start of conversion of a regular group: ... Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing)..

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
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

EXTEN

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

OVRMOD

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

CONT

Bit 13: Single / continuous conversion mode for regular conversions.

Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode

AUTDLY

Bit 14: Delayed conversion mode.

Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on

ALIGN

Bit 15: Data alignment.

Allowed values:
0: Right: Right alignment
1: Left: Left alignment

DISCEN

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

DISCNUM

Bits 17-19: Discontinuous mode channel count.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: Discontinuous mode on injected channels.

Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled

JQM

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

AWD1SGL

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

AWD1EN

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

JAWD1EN

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

JAUTO

Bit 25: Automatic injected group conversion.

Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled

AWD1CH

Bits 26-30: Analog watchdog 1 channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: Injected queue disable.

CFGR2

ADC configuration register 2

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPTRIG
rw
BULB
rw
SWTRIG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ROVSM
rw
TROVS
rw
OVSS
rw
OVSR
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: Regular oversampling Enable.

Allowed values:
0: Disabled: Regular Oversampling disabled
1: Enabled: Regular Oversampling enabled

JOVSE

Bit 1: Injected oversampling Enable.

Allowed values:
0: Disabled: Injected Oversampling disabled
1: Enabled: Injected Oversampling enabled

OVSR

Bits 2-4: Oversampling ratio.

Allowed values:
0: Ratio2: 2x
1: Ratio4: 4x
2: Ratio8: 8x
3: Ratio16: 16x
4: Ratio32: 32x
5: Ratio64: 64x
6: Ratio128: 128x
7: Ratio256: 256x

OVSS

Bits 5-8: Oversampling shift.

Allowed values:
0: NoShift: No Shift
1: Shift1Bit: Shift 1-bit
2: Shift2Bit: Shift 2-bit
3: Shift3Bit: Shift 3-bit
4: Shift4Bit: Shift 4-bit
5: Shift5Bit: Shift 5-bit
6: Shift6Bit: Shift 6-bit
7: Shift7Bit: Shift 7-bit
8: Shift8Bit: Shift 8-bit

TROVS

Bit 9: Triggered Regular oversampling.

Allowed values:
0: All: All oversampled conversions for a channel are done consecutively following a trigger
1: Single: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular oversampling mode.

Allowed values:
0: ContinuedMode: When injected conversions are triggered, the oversampling is temporary stopped and continued after the injection sequence (oversampling buffer is maintained during injected sequence)
1: ResumedMode: When injected conversions are triggered, the current oversampling is aborted and resumed from start after the injection sequence (oversampling buffer is zeroed by injected sequence start)

SWTRIG

Bit 25: Software trigger bit for sampling time control trigger mode.

Allowed values:
0: Conversion: Software trigger starts the conversion for sampling time control trigger mode
1: Sampling: Software trigger starts the sampling for sampling time control trigger mode

BULB

Bit 26: Bulb sampling mode.

Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. The sampling period starts just after the previous end of conversion

SMPTRIG

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

SMPR1

ADC sample time register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPPLUS
rw
SMP[9]
rw
SMP[8]
rw
SMP[7]
rw
SMP[6]
rw
SMP[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[5]
rw
SMP[4]
rw
SMP[3]
rw
SMP[2]
rw
SMP[1]
rw
SMP[0]
rw
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

SMP[1]

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

SMP[2]

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

SMP[3]

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

SMP[4]

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

SMP[5]

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

SMP[6]

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

SMP[7]

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

SMP[8]

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

SMP[9]

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

SMPPLUS

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

SMPR2

ADC sample time register 2

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMP[19]
rw
SMP[18]
rw
SMP[17]
rw
SMP[16]
rw
SMP[15]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[15]
rw
SMP[14]
rw
SMP[13]
rw
SMP[12]
rw
SMP[11]
rw
SMP[10]
rw
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

SMP[11]

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

SMP[12]

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

SMP[13]

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

SMP[14]

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

SMP[15]

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

SMP[16]

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

SMP[17]

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

SMP[18]

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

SMP[19]

Bits 27-29: Channel 19 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

TR1

ADC 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
HT1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWDFILT
rw
LT1
rw
Toggle fields

LT1

Bits 0-11: Analog watchdog 1 lower threshold.

Allowed values: 0x0-0xfff

AWDFILT

Bits 12-14: Analog watchdog filtering parameter.

HT1

Bits 16-27: Analog watchdog 1 higher threshold.

Allowed values: 0x0-0xfff

TR2

ADC watchdog threshold register 2

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
HT2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT2
rw
Toggle fields

LT2

Bits 0-7: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0xff

HT2

Bits 16-23: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0xff

TR3

ADC watchdog 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
HT3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT3
rw
Toggle fields

LT3

Bits 0-7: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0xff

HT3

Bits 16-23: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0xff

SQR1

ADC regular sequence register 1

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[4]
rw
SQ[3]
rw
SQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[2]
rw
SQ[1]
rw
L
rw
Toggle fields

L

Bits 0-3: Regular channel sequence length.

Allowed values: 0x0-0xf

SQ[1]

Bits 6-10: 1 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[2]

Bits 12-16: 2 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[3]

Bits 18-22: 3 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[4]

Bits 24-28: 4 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR2

ADC regular sequence register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[9]
rw
SQ[8]
rw
SQ[7]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[7]
rw
SQ[6]
rw
SQ[5]
rw
Toggle fields

SQ[5]

Bits 0-4: 5 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[6]

Bits 6-10: 6 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[7]

Bits 12-16: 7 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[8]

Bits 18-22: 8 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[9]

Bits 24-28: 9 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR3

ADC regular sequence register 3

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[14]
rw
SQ[13]
rw
SQ[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[12]
rw
SQ[11]
rw
SQ[10]
rw
Toggle fields

SQ[10]

Bits 0-4: 10 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[11]

Bits 6-10: 11 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[12]

Bits 12-16: 12 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[13]

Bits 18-22: 13 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[14]

Bits 24-28: 14 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR4

ADC regular sequence register 4

Offset: 0x3c, 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
SQ[16]
rw
SQ[15]
rw
Toggle fields

SQ[15]

Bits 0-4: 15 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[16]

Bits 6-10: 16 conversion in regular sequence.

Allowed values: 0x0-0x13

DR

ADC regular data register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-15: Regular data converted.

Allowed values: 0x0-0xffff

JSQR

ADC injected sequence register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JSQ[4]
rw
JSQ[3]
rw
JSQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JSQ[2]
rw
JSQ[1]
rw
JEXTEN
rw
JEXTSEL
rw
JL
rw
Toggle fields

JL

Bits 0-1: Injected channel sequence length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: External Trigger Selection for injected group.

Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event

JEXTEN

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

JSQ[1]

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]

ADC offset 1 register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[2]

ADC offset 2 register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[3]

ADC offset 3 register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[4]

ADC offset 4 register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

JDR[1]

ADC injected channel 1 data register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[2]

ADC injected channel 2 data register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[3]

ADC injected channel 3 data register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[4]

ADC injected channel 4 data register

Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD2CH[1]

Bit 1: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[2]

Bit 2: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[3]

Bit 3: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[4]

Bit 4: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[5]

Bit 5: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[6]

Bit 6: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[7]

Bit 7: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[8]

Bit 8: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[9]

Bit 9: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[10]

Bit 10: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[11]

Bit 11: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[12]

Bit 12: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[13]

Bit 13: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[14]

Bit 14: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[15]

Bit 15: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[16]

Bit 16: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[17]

Bit 17: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[18]

Bit 18: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[19]

Bit 19: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CR

ADC analog watchdog 3 configuration register

Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD3CH[1]

Bit 1: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[2]

Bit 2: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[3]

Bit 3: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[4]

Bit 4: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[5]

Bit 5: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[6]

Bit 6: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[7]

Bit 7: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[8]

Bit 8: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[9]

Bit 9: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[10]

Bit 10: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[11]

Bit 11: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[12]

Bit 12: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[13]

Bit 13: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[14]

Bit 14: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[15]

Bit 15: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[16]

Bit 16: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[17]

Bit 17: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[18]

Bit 18: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[19]

Bit 19: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

DIFSEL

ADC Differential mode selection register

Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write

20/20 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

DIFSEL[1]

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

DIFSEL[2]

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

DIFSEL[3]

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

DIFSEL[4]

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

DIFSEL[5]

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

DIFSEL[6]

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

DIFSEL[7]

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

DIFSEL[8]

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

DIFSEL[9]

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

DIFSEL[10]

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

DIFSEL[11]

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

DIFSEL[12]

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

DIFSEL[13]

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

DIFSEL[14]

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

DIFSEL[15]

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

DIFSEL[16]

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

DIFSEL[17]

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

DIFSEL[18]

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

DIFSEL[19]

Bit 19: Differential mode for channel 19.

Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode

CALFACT

ADC 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_D
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CALFACT_S
rw
Toggle fields

CALFACT_S

Bits 0-6: Calibration Factors In single-ended mode.

Allowed values: 0x0-0x7f

CALFACT_D

Bits 16-22: Calibration Factors in differential mode.

Allowed values: 0x0-0x7f

OR

ADC option register

Offset: 0xc8, 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
OP0
rw
Toggle fields

OP0

Bit 0: Option bit 0.

ADC2

0x42028100: ADC register block

189/200 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x4 IER
0x8 CR
0xc CFGR
0x10 CFGR2
0x14 SMPR1
0x18 SMPR2
0x20 TR1
0x24 TR2
0x28 TR3
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR[1]
0x64 OFR[2]
0x68 OFR[3]
0x6c OFR[4]
0x80 JDR[1]
0x84 JDR[2]
0x88 JDR[3]
0x8c JDR[4]
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 DIFSEL
0xb4 CALFACT
0xc8 OR
Toggle registers

ISR

ADC interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVF
r/w1c
AWD[3]
r/w1c
AWD[2]
r/w1c
AWD[1]
r/w1c
JEOS
r/w1c
JEOC
r/w1c
OVR
r/w1c
EOS
r/w1c
EOC
r/w1c
EOSMP
r/w1c
ADRDY
r/w1c
Toggle fields

ADRDY

Bit 0: ADC ready.

Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion

EOSMP

Bit 1: End of sampling flag.

Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached

EOC

Bit 2: End of conversion flag.

Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete

EOS

Bit 3: End of regular sequence flag.

Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete

OVR

Bit 4: ADC overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

JEOC

Bit 5: Injected channel end of conversion flag.

Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete

JEOS

Bit 6: Injected channel end of sequence flag.

Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete

AWD[1]

Bit 7: Analog watchdog 1 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[2]

Bit 8: Analog watchdog 2 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[3]

Bit 9: Analog watchdog 3 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

JQOVF

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

IER

ADC interrupt enable register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt enable.

Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled

EOSMPIE

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

EOCIE

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

EOSIE

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

OVRIE

Bit 4: Overrun interrupt enable.

Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled

JEOCIE

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

JEOSIE

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

AWD[1]IE

Bit 7: Analog watchdog 1 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[2]IE

Bit 8: Analog watchdog 2 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[3]IE

Bit 9: Analog watchdog 3 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

JQOVFIE

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

CR

ADC control register

Offset: 0x8, size: 32, reset: 0x20000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADCAL
r/w1s
ADCALDIF
rw
DEEPPWD
rw
ADVREGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JADSTP
r/w1s
ADSTP
r/w1s
JADSTART
r/w1s
ADSTART
r/w1s
ADDIS
r/w1s
ADEN
r/w1s
Toggle fields

ADEN

Bit 0: ADC enable control.

Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled

ADDIS

Bit 1: ADC disable command.

Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling

ADSTART

Bit 2: ADC start of regular conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

JADSTART

Bit 3: ADC start of injected conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

ADSTP

Bit 4: ADC stop of regular conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

JADSTP

Bit 5: ADC stop of injected conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

ADVREGEN

Bit 28: ADC voltage regulator enable.

Allowed values:
0: Disabled: ADC Voltage regulator disabled
1: Enabled: ADC Voltage regulator enabled

DEEPPWD

Bit 29: Deep-power-down enable.

Allowed values:
0: NotDeepPowerDown: ADC not in Deep-power down
1: DeepPowerDown: ADC in Deep-power-down (default reset state)

ADCALDIF

Bit 30: Differential mode for calibration.

Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode

ADCAL

Bit 31: ADC calibration.

Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress

CFGR

ADC configuration register

Offset: 0xc, size: 32, reset: 0x80000000, access: read-write

18/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JQDIS
rw
AWD1CH
rw
JAUTO
rw
JAWD1EN
rw
AWD1EN
rw
AWD1SGL
rw
JQM
rw
JDISCEN
rw
DISCNUM
rw
DISCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALIGN
rw
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMACFG
rw
DMAEN
rw
Toggle fields

DMAEN

Bit 0: Direct memory access enable.

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

DMACFG

Bit 1: Direct memory access configuration.

Allowed values:
0: OneShot: DMA One Shot mode selected
1: Circular: DMA Circular mode selected

RES

Bits 3-4: Data resolution.

Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit

EXTSEL

Bits 5-9: External trigger selection for regular group These bits select the external event used to trigger the start of conversion of a regular group: ... Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing)..

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
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

EXTEN

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

OVRMOD

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

CONT

Bit 13: Single / continuous conversion mode for regular conversions.

Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode

AUTDLY

Bit 14: Delayed conversion mode.

Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on

ALIGN

Bit 15: Data alignment.

Allowed values:
0: Right: Right alignment
1: Left: Left alignment

DISCEN

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

DISCNUM

Bits 17-19: Discontinuous mode channel count.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: Discontinuous mode on injected channels.

Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled

JQM

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

AWD1SGL

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

AWD1EN

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

JAWD1EN

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

JAUTO

Bit 25: Automatic injected group conversion.

Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled

AWD1CH

Bits 26-30: Analog watchdog 1 channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: Injected queue disable.

CFGR2

ADC configuration register 2

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPTRIG
rw
BULB
rw
SWTRIG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ROVSM
rw
TROVS
rw
OVSS
rw
OVSR
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: Regular oversampling Enable.

Allowed values:
0: Disabled: Regular Oversampling disabled
1: Enabled: Regular Oversampling enabled

JOVSE

Bit 1: Injected oversampling Enable.

Allowed values:
0: Disabled: Injected Oversampling disabled
1: Enabled: Injected Oversampling enabled

OVSR

Bits 2-4: Oversampling ratio.

Allowed values:
0: Ratio2: 2x
1: Ratio4: 4x
2: Ratio8: 8x
3: Ratio16: 16x
4: Ratio32: 32x
5: Ratio64: 64x
6: Ratio128: 128x
7: Ratio256: 256x

OVSS

Bits 5-8: Oversampling shift.

Allowed values:
0: NoShift: No Shift
1: Shift1Bit: Shift 1-bit
2: Shift2Bit: Shift 2-bit
3: Shift3Bit: Shift 3-bit
4: Shift4Bit: Shift 4-bit
5: Shift5Bit: Shift 5-bit
6: Shift6Bit: Shift 6-bit
7: Shift7Bit: Shift 7-bit
8: Shift8Bit: Shift 8-bit

TROVS

Bit 9: Triggered Regular oversampling.

Allowed values:
0: All: All oversampled conversions for a channel are done consecutively following a trigger
1: Single: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular oversampling mode.

Allowed values:
0: ContinuedMode: When injected conversions are triggered, the oversampling is temporary stopped and continued after the injection sequence (oversampling buffer is maintained during injected sequence)
1: ResumedMode: When injected conversions are triggered, the current oversampling is aborted and resumed from start after the injection sequence (oversampling buffer is zeroed by injected sequence start)

SWTRIG

Bit 25: Software trigger bit for sampling time control trigger mode.

Allowed values:
0: Conversion: Software trigger starts the conversion for sampling time control trigger mode
1: Sampling: Software trigger starts the sampling for sampling time control trigger mode

BULB

Bit 26: Bulb sampling mode.

Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. The sampling period starts just after the previous end of conversion

SMPTRIG

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

SMPR1

ADC sample time register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPPLUS
rw
SMP[9]
rw
SMP[8]
rw
SMP[7]
rw
SMP[6]
rw
SMP[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[5]
rw
SMP[4]
rw
SMP[3]
rw
SMP[2]
rw
SMP[1]
rw
SMP[0]
rw
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

SMP[1]

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

SMP[2]

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

SMP[3]

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

SMP[4]

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

SMP[5]

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

SMP[6]

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

SMP[7]

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

SMP[8]

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

SMP[9]

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

SMPPLUS

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

SMPR2

ADC sample time register 2

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMP[19]
rw
SMP[18]
rw
SMP[17]
rw
SMP[16]
rw
SMP[15]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[15]
rw
SMP[14]
rw
SMP[13]
rw
SMP[12]
rw
SMP[11]
rw
SMP[10]
rw
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

SMP[11]

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

SMP[12]

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

SMP[13]

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

SMP[14]

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

SMP[15]

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

SMP[16]

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

SMP[17]

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

SMP[18]

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

SMP[19]

Bits 27-29: Channel 19 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

TR1

ADC 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
HT1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWDFILT
rw
LT1
rw
Toggle fields

LT1

Bits 0-11: Analog watchdog 1 lower threshold.

Allowed values: 0x0-0xfff

AWDFILT

Bits 12-14: Analog watchdog filtering parameter.

HT1

Bits 16-27: Analog watchdog 1 higher threshold.

Allowed values: 0x0-0xfff

TR2

ADC watchdog threshold register 2

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
HT2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT2
rw
Toggle fields

LT2

Bits 0-7: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0xff

HT2

Bits 16-23: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0xff

TR3

ADC watchdog 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
HT3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT3
rw
Toggle fields

LT3

Bits 0-7: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0xff

HT3

Bits 16-23: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0xff

SQR1

ADC regular sequence register 1

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[4]
rw
SQ[3]
rw
SQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[2]
rw
SQ[1]
rw
L
rw
Toggle fields

L

Bits 0-3: Regular channel sequence length.

Allowed values: 0x0-0xf

SQ[1]

Bits 6-10: 1 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[2]

Bits 12-16: 2 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[3]

Bits 18-22: 3 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[4]

Bits 24-28: 4 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR2

ADC regular sequence register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[9]
rw
SQ[8]
rw
SQ[7]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[7]
rw
SQ[6]
rw
SQ[5]
rw
Toggle fields

SQ[5]

Bits 0-4: 5 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[6]

Bits 6-10: 6 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[7]

Bits 12-16: 7 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[8]

Bits 18-22: 8 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[9]

Bits 24-28: 9 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR3

ADC regular sequence register 3

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[14]
rw
SQ[13]
rw
SQ[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[12]
rw
SQ[11]
rw
SQ[10]
rw
Toggle fields

SQ[10]

Bits 0-4: 10 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[11]

Bits 6-10: 11 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[12]

Bits 12-16: 12 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[13]

Bits 18-22: 13 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[14]

Bits 24-28: 14 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR4

ADC regular sequence register 4

Offset: 0x3c, 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
SQ[16]
rw
SQ[15]
rw
Toggle fields

SQ[15]

Bits 0-4: 15 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[16]

Bits 6-10: 16 conversion in regular sequence.

Allowed values: 0x0-0x13

DR

ADC regular data register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-15: Regular data converted.

Allowed values: 0x0-0xffff

JSQR

ADC injected sequence register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JSQ[4]
rw
JSQ[3]
rw
JSQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JSQ[2]
rw
JSQ[1]
rw
JEXTEN
rw
JEXTSEL
rw
JL
rw
Toggle fields

JL

Bits 0-1: Injected channel sequence length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: External Trigger Selection for injected group.

Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event

JEXTEN

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

JSQ[1]

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]

ADC offset 1 register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[2]

ADC offset 2 register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[3]

ADC offset 3 register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[4]

ADC offset 4 register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

JDR[1]

ADC injected channel 1 data register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[2]

ADC injected channel 2 data register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[3]

ADC injected channel 3 data register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[4]

ADC injected channel 4 data register

Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD2CH[1]

Bit 1: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[2]

Bit 2: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[3]

Bit 3: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[4]

Bit 4: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[5]

Bit 5: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[6]

Bit 6: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[7]

Bit 7: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[8]

Bit 8: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[9]

Bit 9: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[10]

Bit 10: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[11]

Bit 11: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[12]

Bit 12: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[13]

Bit 13: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[14]

Bit 14: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[15]

Bit 15: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[16]

Bit 16: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[17]

Bit 17: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[18]

Bit 18: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[19]

Bit 19: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CR

ADC analog watchdog 3 configuration register

Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD3CH[1]

Bit 1: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[2]

Bit 2: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[3]

Bit 3: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[4]

Bit 4: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[5]

Bit 5: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[6]

Bit 6: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[7]

Bit 7: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[8]

Bit 8: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[9]

Bit 9: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[10]

Bit 10: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[11]

Bit 11: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[12]

Bit 12: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[13]

Bit 13: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[14]

Bit 14: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[15]

Bit 15: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[16]

Bit 16: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[17]

Bit 17: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[18]

Bit 18: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[19]

Bit 19: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

DIFSEL

ADC Differential mode selection register

Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write

20/20 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

DIFSEL[1]

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

DIFSEL[2]

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

DIFSEL[3]

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

DIFSEL[4]

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

DIFSEL[5]

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

DIFSEL[6]

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

DIFSEL[7]

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

DIFSEL[8]

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

DIFSEL[9]

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

DIFSEL[10]

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

DIFSEL[11]

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

DIFSEL[12]

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

DIFSEL[13]

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

DIFSEL[14]

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

DIFSEL[15]

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

DIFSEL[16]

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

DIFSEL[17]

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

DIFSEL[18]

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

DIFSEL[19]

Bit 19: Differential mode for channel 19.

Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode

CALFACT

ADC 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_D
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CALFACT_S
rw
Toggle fields

CALFACT_S

Bits 0-6: Calibration Factors In single-ended mode.

Allowed values: 0x0-0x7f

CALFACT_D

Bits 16-22: Calibration Factors in differential mode.

Allowed values: 0x0-0x7f

OR

ADC option register

Offset: 0xc8, 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
OP0
rw
Toggle fields

OP0

Bit 0: Option bit 0.

ADC2_S

0x52028100: ADC register block

189/200 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x4 IER
0x8 CR
0xc CFGR
0x10 CFGR2
0x14 SMPR1
0x18 SMPR2
0x20 TR1
0x24 TR2
0x28 TR3
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR[1]
0x64 OFR[2]
0x68 OFR[3]
0x6c OFR[4]
0x80 JDR[1]
0x84 JDR[2]
0x88 JDR[3]
0x8c JDR[4]
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 DIFSEL
0xb4 CALFACT
0xc8 OR
Toggle registers

ISR

ADC interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVF
r/w1c
AWD[3]
r/w1c
AWD[2]
r/w1c
AWD[1]
r/w1c
JEOS
r/w1c
JEOC
r/w1c
OVR
r/w1c
EOS
r/w1c
EOC
r/w1c
EOSMP
r/w1c
ADRDY
r/w1c
Toggle fields

ADRDY

Bit 0: ADC ready.

Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion

EOSMP

Bit 1: End of sampling flag.

Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached

EOC

Bit 2: End of conversion flag.

Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete

EOS

Bit 3: End of regular sequence flag.

Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete

OVR

Bit 4: ADC overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

JEOC

Bit 5: Injected channel end of conversion flag.

Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete

JEOS

Bit 6: Injected channel end of sequence flag.

Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete

AWD[1]

Bit 7: Analog watchdog 1 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[2]

Bit 8: Analog watchdog 2 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

AWD[3]

Bit 9: Analog watchdog 3 flag.

Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred

JQOVF

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

IER

ADC interrupt enable register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt enable.

Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled

EOSMPIE

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

EOCIE

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

EOSIE

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

OVRIE

Bit 4: Overrun interrupt enable.

Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled

JEOCIE

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

JEOSIE

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

AWD[1]IE

Bit 7: Analog watchdog 1 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[2]IE

Bit 8: Analog watchdog 2 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

AWD[3]IE

Bit 9: Analog watchdog 3 interrupt enable.

Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled

JQOVFIE

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

CR

ADC control register

Offset: 0x8, size: 32, reset: 0x20000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADCAL
r/w1s
ADCALDIF
rw
DEEPPWD
rw
ADVREGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JADSTP
r/w1s
ADSTP
r/w1s
JADSTART
r/w1s
ADSTART
r/w1s
ADDIS
r/w1s
ADEN
r/w1s
Toggle fields

ADEN

Bit 0: ADC enable control.

Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled

ADDIS

Bit 1: ADC disable command.

Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling

ADSTART

Bit 2: ADC start of regular conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

JADSTART

Bit 3: ADC start of injected conversion.

Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting

ADSTP

Bit 4: ADC stop of regular conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

JADSTP

Bit 5: ADC stop of injected conversion command.

Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion

ADVREGEN

Bit 28: ADC voltage regulator enable.

Allowed values:
0: Disabled: ADC Voltage regulator disabled
1: Enabled: ADC Voltage regulator enabled

DEEPPWD

Bit 29: Deep-power-down enable.

Allowed values:
0: NotDeepPowerDown: ADC not in Deep-power down
1: DeepPowerDown: ADC in Deep-power-down (default reset state)

ADCALDIF

Bit 30: Differential mode for calibration.

Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode

ADCAL

Bit 31: ADC calibration.

Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress

CFGR

ADC configuration register

Offset: 0xc, size: 32, reset: 0x80000000, access: read-write

18/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JQDIS
rw
AWD1CH
rw
JAUTO
rw
JAWD1EN
rw
AWD1EN
rw
AWD1SGL
rw
JQM
rw
JDISCEN
rw
DISCNUM
rw
DISCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALIGN
rw
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMACFG
rw
DMAEN
rw
Toggle fields

DMAEN

Bit 0: Direct memory access enable.

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

DMACFG

Bit 1: Direct memory access configuration.

Allowed values:
0: OneShot: DMA One Shot mode selected
1: Circular: DMA Circular mode selected

RES

Bits 3-4: Data resolution.

Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit

EXTSEL

Bits 5-9: External trigger selection for regular group These bits select the external event used to trigger the start of conversion of a regular group: ... Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing)..

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
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

EXTEN

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

OVRMOD

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

CONT

Bit 13: Single / continuous conversion mode for regular conversions.

Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode

AUTDLY

Bit 14: Delayed conversion mode.

Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on

ALIGN

Bit 15: Data alignment.

Allowed values:
0: Right: Right alignment
1: Left: Left alignment

DISCEN

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

DISCNUM

Bits 17-19: Discontinuous mode channel count.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: Discontinuous mode on injected channels.

Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled

JQM

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

AWD1SGL

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

AWD1EN

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

JAWD1EN

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

JAUTO

Bit 25: Automatic injected group conversion.

Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled

AWD1CH

Bits 26-30: Analog watchdog 1 channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: Injected queue disable.

CFGR2

ADC configuration register 2

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPTRIG
rw
BULB
rw
SWTRIG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ROVSM
rw
TROVS
rw
OVSS
rw
OVSR
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: Regular oversampling Enable.

Allowed values:
0: Disabled: Regular Oversampling disabled
1: Enabled: Regular Oversampling enabled

JOVSE

Bit 1: Injected oversampling Enable.

Allowed values:
0: Disabled: Injected Oversampling disabled
1: Enabled: Injected Oversampling enabled

OVSR

Bits 2-4: Oversampling ratio.

Allowed values:
0: Ratio2: 2x
1: Ratio4: 4x
2: Ratio8: 8x
3: Ratio16: 16x
4: Ratio32: 32x
5: Ratio64: 64x
6: Ratio128: 128x
7: Ratio256: 256x

OVSS

Bits 5-8: Oversampling shift.

Allowed values:
0: NoShift: No Shift
1: Shift1Bit: Shift 1-bit
2: Shift2Bit: Shift 2-bit
3: Shift3Bit: Shift 3-bit
4: Shift4Bit: Shift 4-bit
5: Shift5Bit: Shift 5-bit
6: Shift6Bit: Shift 6-bit
7: Shift7Bit: Shift 7-bit
8: Shift8Bit: Shift 8-bit

TROVS

Bit 9: Triggered Regular oversampling.

Allowed values:
0: All: All oversampled conversions for a channel are done consecutively following a trigger
1: Single: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular oversampling mode.

Allowed values:
0: ContinuedMode: When injected conversions are triggered, the oversampling is temporary stopped and continued after the injection sequence (oversampling buffer is maintained during injected sequence)
1: ResumedMode: When injected conversions are triggered, the current oversampling is aborted and resumed from start after the injection sequence (oversampling buffer is zeroed by injected sequence start)

SWTRIG

Bit 25: Software trigger bit for sampling time control trigger mode.

Allowed values:
0: Conversion: Software trigger starts the conversion for sampling time control trigger mode
1: Sampling: Software trigger starts the sampling for sampling time control trigger mode

BULB

Bit 26: Bulb sampling mode.

Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. The sampling period starts just after the previous end of conversion

SMPTRIG

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

SMPR1

ADC sample time register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMPPLUS
rw
SMP[9]
rw
SMP[8]
rw
SMP[7]
rw
SMP[6]
rw
SMP[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[5]
rw
SMP[4]
rw
SMP[3]
rw
SMP[2]
rw
SMP[1]
rw
SMP[0]
rw
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

SMP[1]

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

SMP[2]

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

SMP[3]

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

SMP[4]

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

SMP[5]

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

SMP[6]

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

SMP[7]

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

SMP[8]

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

SMP[9]

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

SMPPLUS

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

SMPR2

ADC sample time register 2

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMP[19]
rw
SMP[18]
rw
SMP[17]
rw
SMP[16]
rw
SMP[15]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP[15]
rw
SMP[14]
rw
SMP[13]
rw
SMP[12]
rw
SMP[11]
rw
SMP[10]
rw
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

SMP[11]

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

SMP[12]

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

SMP[13]

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

SMP[14]

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

SMP[15]

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

SMP[16]

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

SMP[17]

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

SMP[18]

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

SMP[19]

Bits 27-29: Channel 19 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

TR1

ADC 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
HT1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWDFILT
rw
LT1
rw
Toggle fields

LT1

Bits 0-11: Analog watchdog 1 lower threshold.

Allowed values: 0x0-0xfff

AWDFILT

Bits 12-14: Analog watchdog filtering parameter.

HT1

Bits 16-27: Analog watchdog 1 higher threshold.

Allowed values: 0x0-0xfff

TR2

ADC watchdog threshold register 2

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
HT2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT2
rw
Toggle fields

LT2

Bits 0-7: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0xff

HT2

Bits 16-23: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0xff

TR3

ADC watchdog 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
HT3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT3
rw
Toggle fields

LT3

Bits 0-7: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0xff

HT3

Bits 16-23: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0xff

SQR1

ADC regular sequence register 1

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[4]
rw
SQ[3]
rw
SQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[2]
rw
SQ[1]
rw
L
rw
Toggle fields

L

Bits 0-3: Regular channel sequence length.

Allowed values: 0x0-0xf

SQ[1]

Bits 6-10: 1 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[2]

Bits 12-16: 2 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[3]

Bits 18-22: 3 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[4]

Bits 24-28: 4 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR2

ADC regular sequence register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[9]
rw
SQ[8]
rw
SQ[7]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[7]
rw
SQ[6]
rw
SQ[5]
rw
Toggle fields

SQ[5]

Bits 0-4: 5 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[6]

Bits 6-10: 6 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[7]

Bits 12-16: 7 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[8]

Bits 18-22: 8 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[9]

Bits 24-28: 9 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR3

ADC regular sequence register 3

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SQ[14]
rw
SQ[13]
rw
SQ[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SQ[12]
rw
SQ[11]
rw
SQ[10]
rw
Toggle fields

SQ[10]

Bits 0-4: 10 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[11]

Bits 6-10: 11 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[12]

Bits 12-16: 12 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[13]

Bits 18-22: 13 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[14]

Bits 24-28: 14 conversion in regular sequence.

Allowed values: 0x0-0x13

SQR4

ADC regular sequence register 4

Offset: 0x3c, 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
SQ[16]
rw
SQ[15]
rw
Toggle fields

SQ[15]

Bits 0-4: 15 conversion in regular sequence.

Allowed values: 0x0-0x13

SQ[16]

Bits 6-10: 16 conversion in regular sequence.

Allowed values: 0x0-0x13

DR

ADC regular data register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-15: Regular data converted.

Allowed values: 0x0-0xffff

JSQR

ADC injected sequence register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
JSQ[4]
rw
JSQ[3]
rw
JSQ[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JSQ[2]
rw
JSQ[1]
rw
JEXTEN
rw
JEXTSEL
rw
JL
rw
Toggle fields

JL

Bits 0-1: Injected channel sequence length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: External Trigger Selection for injected group.

Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event

JEXTEN

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

JSQ[1]

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]

ADC offset 1 register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[2]

ADC offset 2 register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[3]

ADC offset 3 register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

OFR[4]

ADC offset 4 register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OFFSET_EN
rw
OFFSET_CH
rw
SATEN
rw
OFFSETPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFFSET
rw
Toggle fields

OFFSET

Bits 0-11: Data offset y for the channel programmed into bits OFFSET_CH[4:0].

Allowed values: 0x0-0xfff

OFFSETPOS

Bit 24: Positive offset.

SATEN

Bit 25: Saturation enable.

OFFSET_CH

Bits 26-30: Channel selection for the data offset y.

Allowed values: 0x0-0x1f

OFFSET_EN

Bit 31: Offset y enable.

Allowed values:
0: Disabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]
1: Enabled: This bit is written by software to enable or disable the offset programmed into bits OFFSETy[11:0]

JDR[1]

ADC injected channel 1 data register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[2]

ADC injected channel 2 data register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[3]

ADC injected channel 3 data register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

JDR[4]

ADC injected channel 4 data register

Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA
r
Toggle fields

JDATA

Bits 0-15: Injected data.

Allowed values: 0x0-0xffff

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD2CH[1]

Bit 1: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[2]

Bit 2: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[3]

Bit 3: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[4]

Bit 4: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[5]

Bit 5: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[6]

Bit 6: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[7]

Bit 7: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[8]

Bit 8: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[9]

Bit 9: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[10]

Bit 10: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[11]

Bit 11: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[12]

Bit 12: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[13]

Bit 13: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[14]

Bit 14: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[15]

Bit 15: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[16]

Bit 16: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[17]

Bit 17: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[18]

Bit 18: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD2CH[19]

Bit 19: Analog watchdog 2 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CR

ADC analog watchdog 3 configuration register

Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write

20/20 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

AWD3CH[1]

Bit 1: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[2]

Bit 2: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[3]

Bit 3: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[4]

Bit 4: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[5]

Bit 5: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[6]

Bit 6: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[7]

Bit 7: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[8]

Bit 8: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[9]

Bit 9: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[10]

Bit 10: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[11]

Bit 11: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[12]

Bit 12: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[13]

Bit 13: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[14]

Bit 14: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[15]

Bit 15: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[16]

Bit 16: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[17]

Bit 17: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[18]

Bit 18: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

AWD3CH[19]

Bit 19: Analog watchdog 3 channel selection.

Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx

DIFSEL

ADC Differential mode selection register

Offset: 0xb0, size: 32, reset: 0x00000000, access: read-write

20/20 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

DIFSEL[1]

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

DIFSEL[2]

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

DIFSEL[3]

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

DIFSEL[4]

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

DIFSEL[5]

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

DIFSEL[6]

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

DIFSEL[7]

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

DIFSEL[8]

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

DIFSEL[9]

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

DIFSEL[10]

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

DIFSEL[11]

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

DIFSEL[12]

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

DIFSEL[13]

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

DIFSEL[14]

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

DIFSEL[15]

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

DIFSEL[16]

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

DIFSEL[17]

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

DIFSEL[18]

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

DIFSEL[19]

Bit 19: Differential mode for channel 19.

Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode

CALFACT

ADC 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_D
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CALFACT_S
rw
Toggle fields

CALFACT_S

Bits 0-6: Calibration Factors In single-ended mode.

Allowed values: 0x0-0x7f

CALFACT_D

Bits 16-22: Calibration Factors in differential mode.

Allowed values: 0x0-0x7f

OR

ADC option register

Offset: 0xc8, 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
OP0
rw
Toggle fields

OP0

Bit 0: Option bit 0.

ADCC

0x42028300: ADC common registers block

32/41 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CSR
0x8 CCR
0xc CDR
0xf0 HWCFGR0
0xf4 VERR
0xf8 IPDR
0xfc SIDR
Toggle registers

CSR

ADC common status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

22/22 fields covered.

Toggle fields

ADRDY_MST

Bit 0: Master ADC ready.

EOSMP_MST

Bit 1: End of Sampling phase flag of the master ADC.

EOC_MST

Bit 2: End of regular conversion of the master ADC.

EOS_MST

Bit 3: End of regular sequence flag of the master ADC.

OVR_MST

Bit 4: Overrun flag of the master ADC.

JEOC_MST

Bit 5: End of injected conversion flag of the master ADC.

JEOS_MST

Bit 6: End of injected sequence flag of the master ADC.

AWD1_MST

Bit 7: Analog watchdog 1 flag of the master ADC.

AWD2_MST

Bit 8: Analog watchdog 2 flag of the master ADC.

AWD3_MST

Bit 9: Analog watchdog 3 flag of the master ADC.

JQOVF_MST

Bit 10: Injected Context Queue Overflow flag of the master ADC.

ADRDY_SLV

Bit 16: Slave ADC ready.

EOSMP_SLV

Bit 17: End of Sampling phase flag of the slave ADC.

EOC_SLV

Bit 18: End of regular conversion of the slave ADC.

EOS_SLV

Bit 19: End of regular sequence flag of the slave ADC..

OVR_SLV

Bit 20: Overrun flag of the slave ADC.

JEOC_SLV

Bit 21: End of injected conversion flag of the slave ADC.

JEOS_SLV

Bit 22: End of injected sequence flag of the slave ADC.

AWD1_SLV

Bit 23: Analog watchdog 1 flag of the slave ADC.

AWD2_SLV

Bit 24: Analog watchdog 2 flag of the slave ADC.

AWD3_SLV

Bit 25: Analog watchdog 3 flag of the slave ADC.

JQOVF_SLV

Bit 26: Injected Context Queue Overflow flag of the slave ADC.

CCR

ADC common control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VBATEN
rw
TSEN
rw
VREFEN
rw
PRESC
rw
CKMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDMA
rw
DMACFG
rw
DELAY
rw
DUAL
rw
Toggle fields

DUAL

Bits 0-4: Dual ADC mode selection.

DELAY

Bits 8-11: Delay between 2 sampling phases.

DMACFG

Bit 13: DMA configuration (for dual ADC mode).

MDMA

Bits 14-15: Direct memory access mode for dual ADC mode.

CKMODE

Bits 16-17: ADC clock mode.

PRESC

Bits 18-21: ADC prescaler.

VREFEN

Bit 22: Vless thansub>REFINTless than/sub> enable.

TSEN

Bit 23: Vless thansub>SENSEless than/sub> enable.

VBATEN

Bit 24: VBAT enable.

CDR

ADC common regular data register for dual mode

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_SLV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA_MST
r
Toggle fields

RDATA_MST

Bits 0-15: Regular data of the master ADC..

RDATA_SLV

Bits 16-31: Regular data of the slave ADC.

HWCFGR0

ADC hardware configuration register

Offset: 0xf0, size: 32, reset: 0x00001212, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDLEVALUE
r
OPBITS
r
MULPIPE
r
ADCNUM
r
Toggle fields

ADCNUM

Bits 0-3: Number of ADCs implemented.

MULPIPE

Bits 4-7: Number of pipeline stages.

OPBITS

Bits 8-11: Number of option bits.

IDLEVALUE

Bits 12-15: Idle value for non-selected channels.

VERR

ADC version register

Offset: 0xf4, size: 32, reset: 0x00000012, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJREV
r
MINREV
r
Toggle fields

MINREV

Bits 0-3: Minor revision.

MAJREV

Bits 4-7: Major revision.

IPDR

ADC identification register

Offset: 0xf8, size: 32, reset: 0x00110006, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
Toggle fields

ID

Bits 0-31: Peripheral identifier.

SIDR

ADC size identification register

Offset: 0xfc, size: 32, reset: 0xA3C5DD01, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SID
r
Toggle fields

SID

Bits 0-31: Size Identification.

CRC

0x40023000: CRC address block description

9/10 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 DR
0x0 (16-bit) DR16
0x0 (8-bit) DR8
0x4 IDR
0x8 CR
0x10 INIT
0x14 POL
Toggle registers

DR

CRC data 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
DR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DR
rw
Toggle fields

DR

Bits 0-31: Data register bits.

Allowed values: 0x0-0xffffffff

DR16

Data 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
DR16
rw
Toggle fields

DR16

Bits 0-15: Data register bits.

Allowed values: 0x0-0xffff

DR8

Data 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
DR8
rw
Toggle fields

DR8

Bits 0-7: Data register bits.

Allowed values: 0x0-0xff

IDR

CRC independent data register

Offset: 0x4, 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
IDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDR
rw
Toggle fields

IDR

Bits 0-31: General-purpose 32-bit data register bits.

CR

CRC control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REV_OUT
rw
REV_IN
rw
POLYSIZE
rw
RESET
rw
Toggle fields

RESET

Bit 0: RESET bit.

Allowed values:
1: Reset: Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF

POLYSIZE

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

REV_IN

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

REV_OUT

Bit 7: Reverse output data.

Allowed values:
0: Normal: Bit order not affected
1: Reversed: Bit reversed output

INIT

CRC initial 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
INIT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INIT
rw
Toggle fields

INIT

Bits 0-31: Programmable initial CRC value.

Allowed values: 0x0-0xffffffff

POL

CRC polynomial

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
POL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POL
rw
Toggle fields

POL

Bits 0-31: Programmable polynomial.

Allowed values: 0x0-0xffffffff

CRC_S

0x50023000: CRC address block description

9/10 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 DR
0x0 (16-bit) DR16
0x0 (8-bit) DR8
0x4 IDR
0x8 CR
0x10 INIT
0x14 POL
Toggle registers

DR

CRC data 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
DR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DR
rw
Toggle fields

DR

Bits 0-31: Data register bits.

Allowed values: 0x0-0xffffffff

DR16

Data 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
DR16
rw
Toggle fields

DR16

Bits 0-15: Data register bits.

Allowed values: 0x0-0xffff

DR8

Data 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
DR8
rw
Toggle fields

DR8

Bits 0-7: Data register bits.

Allowed values: 0x0-0xff

IDR

CRC independent data register

Offset: 0x4, 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
IDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDR
rw
Toggle fields

IDR

Bits 0-31: General-purpose 32-bit data register bits.

CR

CRC control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REV_OUT
rw
REV_IN
rw
POLYSIZE
rw
RESET
rw
Toggle fields

RESET

Bit 0: RESET bit.

Allowed values:
1: Reset: Resets the CRC calculation unit and sets the data register to 0xFFFF FFFF

POLYSIZE

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

REV_IN

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

REV_OUT

Bit 7: Reverse output data.

Allowed values:
0: Normal: Bit order not affected
1: Reversed: Bit reversed output

INIT

CRC initial 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
INIT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INIT
rw
Toggle fields

INIT

Bits 0-31: Programmable initial CRC value.

Allowed values: 0x0-0xffffffff

POL

CRC polynomial

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
POL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POL
rw
Toggle fields

POL

Bits 0-31: Programmable polynomial.

Allowed values: 0x0-0xffffffff

CRS

0x40006000: CRS address block description

26/26 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 CFGR
0x8 ISR
0xc ICR
Toggle registers

CR

CRS control register

Offset: 0x0, size: 32, reset: 0x00004000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIM
rw
SWSYNC
rw
AUTOTRIMEN
rw
CEN
rw
ESYNCIE
rw
ERRIE
rw
SYNCWARNIE
rw
SYNCOKIE
rw
Toggle fields

SYNCOKIE

Bit 0: SYNC event OK interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SYNCWARNIE

Bit 1: SYNC warning interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ERRIE

Bit 2: Synchronization or trimming error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ESYNCIE

Bit 3: Expected SYNC interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CEN

Bit 5: Frequency error counter enable.

Allowed values:
0: Disabled: Frequency error counter disabled
1: Enabled: Frequency error counter enabled

AUTOTRIMEN

Bit 6: Automatic trimming enable.

Allowed values:
0: Disabled: Automatic trimming disabled
1: Enabled: Automatic trimming enabled

SWSYNC

Bit 7: Generate software SYNC event.

Allowed values:
1: Sync: A software sync is generated

TRIM

Bits 8-13: HSI48 oscillator smooth trimming.

Allowed values: 0x0-0x3f

CFGR

CRS configuration register

Offset: 0x4, size: 32, reset: 0x2022BB7F, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SYNCPOL
rw
SYNCSRC
rw
SYNCDIV
rw
FELIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RELOAD
rw
Toggle fields

RELOAD

Bits 0-15: Counter reload value.

Allowed values: 0x0-0xffff

FELIM

Bits 16-23: Frequency error limit.

Allowed values: 0x0-0xff

SYNCDIV

Bits 24-26: SYNC divider.

Allowed values:
0: NotDivided: SYNC not divided
1: DivideBy2: SYNC divided by 2
2: DivideBy4: SYNC divided by 4
3: DivideBy8: SYNC divided by 8
4: DivideBy16: SYNC divided by 16
5: DivideBy32: SYNC divided by 32
6: DivideBy64: SYNC divided by 64
7: DivideBy128: SYNC divided by 128

SYNCSRC

Bits 28-29: SYNC signal source selection.

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

SYNCPOL

Bit 31: SYNC polarity selection.

Allowed values:
0: RisingEdge: SYNC active on rising edge
1: FallingEdge: SYNC active on falling edge

ISR

CRS interrupt and status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FECAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEDIR
r
TRIMOVF
r
SYNCMISS
r
SYNCERR
r
ESYNCF
r
ERRF
r
SYNCWARNF
r
SYNCOKF
r
Toggle fields

SYNCOKF

Bit 0: SYNC event OK flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

SYNCWARNF

Bit 1: SYNC warning flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

ERRF

Bit 2: Error flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

ESYNCF

Bit 3: Expected SYNC flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

SYNCERR

Bit 8: SYNC error.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

SYNCMISS

Bit 9: SYNC missed.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

TRIMOVF

Bit 10: Trimming overflow or underflow.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

FEDIR

Bit 15: Frequency error direction.

Allowed values:
0: UpCounting: Error in up-counting direction
1: DownCounting: Error in down-counting direction

FECAP

Bits 16-31: Frequency error capture.

Allowed values: 0x0-0xffff

ICR

CRS interrupt flag clear register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESYNCC
rw
ERRC
rw
SYNCWARNC
rw
SYNCOKC
rw
Toggle fields

SYNCOKC

Bit 0: SYNC event OK clear flag.

Allowed values:
1: Clear: Clear flag

SYNCWARNC

Bit 1: SYNC warning clear flag.

Allowed values:
1: Clear: Clear flag

ERRC

Bit 2: Error clear flag.

Allowed values:
1: Clear: Clear flag

ESYNCC

Bit 3: Expected SYNC clear flag.

Allowed values:
1: Clear: Clear flag

CRS_S

0x50006000: CRS address block description

26/26 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 CFGR
0x8 ISR
0xc ICR
Toggle registers

CR

CRS control register

Offset: 0x0, size: 32, reset: 0x00004000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIM
rw
SWSYNC
rw
AUTOTRIMEN
rw
CEN
rw
ESYNCIE
rw
ERRIE
rw
SYNCWARNIE
rw
SYNCOKIE
rw
Toggle fields

SYNCOKIE

Bit 0: SYNC event OK interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SYNCWARNIE

Bit 1: SYNC warning interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ERRIE

Bit 2: Synchronization or trimming error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ESYNCIE

Bit 3: Expected SYNC interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CEN

Bit 5: Frequency error counter enable.

Allowed values:
0: Disabled: Frequency error counter disabled
1: Enabled: Frequency error counter enabled

AUTOTRIMEN

Bit 6: Automatic trimming enable.

Allowed values:
0: Disabled: Automatic trimming disabled
1: Enabled: Automatic trimming enabled

SWSYNC

Bit 7: Generate software SYNC event.

Allowed values:
1: Sync: A software sync is generated

TRIM

Bits 8-13: HSI48 oscillator smooth trimming.

Allowed values: 0x0-0x3f

CFGR

CRS configuration register

Offset: 0x4, size: 32, reset: 0x2022BB7F, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SYNCPOL
rw
SYNCSRC
rw
SYNCDIV
rw
FELIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RELOAD
rw
Toggle fields

RELOAD

Bits 0-15: Counter reload value.

Allowed values: 0x0-0xffff

FELIM

Bits 16-23: Frequency error limit.

Allowed values: 0x0-0xff

SYNCDIV

Bits 24-26: SYNC divider.

Allowed values:
0: NotDivided: SYNC not divided
1: DivideBy2: SYNC divided by 2
2: DivideBy4: SYNC divided by 4
3: DivideBy8: SYNC divided by 8
4: DivideBy16: SYNC divided by 16
5: DivideBy32: SYNC divided by 32
6: DivideBy64: SYNC divided by 64
7: DivideBy128: SYNC divided by 128

SYNCSRC

Bits 28-29: SYNC signal source selection.

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

SYNCPOL

Bit 31: SYNC polarity selection.

Allowed values:
0: RisingEdge: SYNC active on rising edge
1: FallingEdge: SYNC active on falling edge

ISR

CRS interrupt and status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FECAP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEDIR
r
TRIMOVF
r
SYNCMISS
r
SYNCERR
r
ESYNCF
r
ERRF
r
SYNCWARNF
r
SYNCOKF
r
Toggle fields

SYNCOKF

Bit 0: SYNC event OK flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

SYNCWARNF

Bit 1: SYNC warning flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

ERRF

Bit 2: Error flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

ESYNCF

Bit 3: Expected SYNC flag.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

SYNCERR

Bit 8: SYNC error.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

SYNCMISS

Bit 9: SYNC missed.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

TRIMOVF

Bit 10: Trimming overflow or underflow.

Allowed values:
0: NotSignaled: Signal not set
1: Signaled: Signal set

FEDIR

Bit 15: Frequency error direction.

Allowed values:
0: UpCounting: Error in up-counting direction
1: DownCounting: Error in down-counting direction

FECAP

Bits 16-31: Frequency error capture.

Allowed values: 0x0-0xffff

ICR

CRS interrupt flag clear register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESYNCC
rw
ERRC
rw
SYNCWARNC
rw
SYNCOKC
rw
Toggle fields

SYNCOKC

Bit 0: SYNC event OK clear flag.

Allowed values:
1: Clear: Clear flag

SYNCWARNC

Bit 1: SYNC warning clear flag.

Allowed values:
1: Clear: Clear flag

ERRC

Bit 2: Error clear flag.

Allowed values:
1: Clear: Clear flag

ESYNCC

Bit 3: Expected SYNC clear flag.

Allowed values:
1: Clear: Clear flag

DAC

0x42028400: DAC address block description

65/65 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SWTRGR
0x8 DHR12R[1]
0xc DHR12L[1]
0x10 DHR8R[1]
0x14 DHR12R[2]
0x18 DHR12L[2]
0x1c DHR8R[2]
0x20 DHR12RD
0x24 DHR12LD
0x28 DHR8RD
0x2c DOR[1]
0x30 DOR[2]
0x34 SR
0x38 CCR
0x3c MCR
0x40 SHSR[1]
0x44 SHSR[2]
0x48 SHHR
0x4c SHRR
Toggle registers

CR

DAC control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEN[2]
rw
DMAUDRIE[2]
rw
DMAEN[2]
rw
MAMP[2]
rw
WAVE[2]
rw
TSEL2
rw
TEN[2]
rw
EN[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CEN[1]
rw
DMAUDRIE[1]
rw
DMAEN[1]
rw
MAMP[1]
rw
WAVE[1]
rw
TSEL1
rw
TEN[1]
rw
EN[1]
rw
Toggle fields

EN[1]

Bit 0: DAC channel1 enable.

Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled

TEN[1]

Bit 1: DAC channel1 trigger enable.

Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled

TSEL1

Bits 2-5: DAC channel1 trigger selection.

Allowed values:
0: Swtrig: Software trigger
1: Tim1Trgo: Timer 1 TRGO event
2: Tim2Trgo: Timer 2 TRGO event
3: Tim4Trgo: Timer 4 TRGO event
4: Tim5Trgo: Timer 5 TRGO event
5: Tim6Trgo: Timer 6 TRGO event
6: Tim7Trgo: Timer 7 TRGO event
7: Tim8Trgo: Timer 8 TRGO event
8: Tim15Trgo: Timer 15 TRGO event
11: Lptim1Ch1: LPTIM1 CH1 event
12: Lptim2Ch1: LPTIM2 CH1 event
13: Exti9: EXTI line 9

WAVE[1]

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

MAMP[1]

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

DMAEN[1]

Bit 12: DAC channel1 DMA enable.

Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled

DMAUDRIE[1]

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

CEN[1]

Bit 14: DAC channel1 calibration enable.

Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode

EN[2]

Bit 16: DAC channel2 enable.

Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled

TEN[2]

Bit 17: DAC channel2 trigger enable.

Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled

TSEL2

Bits 18-21: DAC channel2 trigger selection.

Allowed values:
0: Swtrig: Software trigger
1: Tim1Trgo: Timer 1 TRGO event
2: Tim2Trgo: Timer 2 TRGO event
3: Tim4Trgo: Timer 4 TRGO event
4: Tim5Trgo: Timer 5 TRGO event
5: Tim6Trgo: Timer 6 TRGO event
6: Tim7Trgo: Timer 7 TRGO event
7: Tim8Trgo: Timer 8 TRGO event
8: Tim15Trgo: Timer 15 TRGO event
11: Lptim1Ch1: LPTIM1 CH1 event
12: Lptim2Ch1: LPTIM2 CH1 event
13: Exti9: EXTI line 9

WAVE[2]

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

MAMP[2]

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

DMAEN[2]

Bit 28: DAC channel2 DMA enable.

Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled

DMAUDRIE[2]

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

CEN[2]

Bit 30: DAC channel2 calibration enable.

Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode

SWTRGR

DAC software trigger register

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWTRIG[2]
w
SWTRIG[1]
w
Toggle fields

SWTRIG[1]

Bit 0: DAC channel1 software trigger.

Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger

SWTRIG[2]

Bit 1: DAC channel2 software trigger.

Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger

DHR12R[1]

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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-11: DAC channel1 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 4-15: DAC channel1 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC1DHRB
rw
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-7: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DACC1DHRB

Bits 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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-11: DAC channel1 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 4-15: DAC channel1 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC1DHRB
rw
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-7: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DACC1DHRB

Bits 8-15: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DHR12RD

Dual DAC 12-bit right-aligned data holding register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DACC[2]DHR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC[1]DHR
rw
Toggle fields

DACC[1]DHR

Bits 0-11: DAC channel1 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DACC[2]DHR

Bits 16-27: DAC channel2 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DHR12LD

Dual DAC 12-bit left aligned data holding register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DACC[2]DHR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC[1]DHR
rw
Toggle fields

DACC[1]DHR

Bits 4-15: DAC channel1 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DACC[2]DHR

Bits 20-31: DAC channel2 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DHR8RD

Dual DAC 8-bit right aligned data holding register

Offset: 0x28, 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
DACC[2]DHR
rw
DACC[1]DHR
rw
Toggle fields

DACC[1]DHR

Bits 0-7: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DACC[2]DHR

Bits 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
DACC1DORB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDOR
r
Toggle fields

DACCDOR

Bits 0-11: DAC channel1 data output.

Allowed values: 0x0-0xfff

DACC1DORB

Bits 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
DACC1DORB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDOR
r
Toggle fields

DACCDOR

Bits 0-11: DAC channel1 data output.

Allowed values: 0x0-0xfff

DACC1DORB

Bits 16-27: DAC channel1 data output.

Allowed values: 0x0-0xfff

SR

DAC status register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BWST[2]
r
CAL_FLAG[2]
r
DMAUDR[2]
rw
DORSTAT[2]
r
DAC[2]RDY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BWST[1]
r
CAL_FLAG[1]
r
DMAUDR[1]
rw
DORSTAT[1]
r
DAC[1]RDY
r
Toggle fields

DAC[1]RDY

Bit 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

DORSTAT[1]

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

DMAUDR[1]

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)

CAL_FLAG[1]

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

BWST[1]

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

DAC[2]RDY

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

DORSTAT[2]

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

DMAUDR[2]

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)

CAL_FLAG[2]

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

BWST[2]

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

CCR

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]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OTRIM[1]
rw
Toggle fields

OTRIM[1]

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

MCR

DAC mode control register

Offset: 0x3c, 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
SINFORMAT[2]
rw
DMADOUBLE[2]
rw
MODE[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HFSEL
rw
SINFORMAT[1]
rw
DMADOUBLE[1]
rw
MODE[1]
rw
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

DMADOUBLE[1]

Bit 8: DAC channel1 DMA double data mode.

Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected

SINFORMAT[1]

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.

HFSEL

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

MODE[2]

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

DMADOUBLE[2]

Bit 24: DAC channel2 DMA double data mode.

Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected

SINFORMAT[2]

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.

SHSR[1]

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
TSAMPLE
rw
Toggle fields

TSAMPLE

Bits 0-9: DAC channel1 sample time (only valid in Sample and hold mode).

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
TSAMPLE
rw
Toggle fields

TSAMPLE

Bits 0-9: DAC channel1 sample time (only valid in Sample and hold mode).

Allowed values: 0x0-0x3ff

SHHR

DAC sample and 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]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
THOLD[1]
rw
Toggle fields

THOLD[1]

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

SHRR

DAC sample and hold refresh time register

Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TREFRESH[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TREFRESH[1]
rw
Toggle fields

TREFRESH[1]

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

DAC_S

0x52028400: DAC address block description

65/65 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SWTRGR
0x8 DHR12R[1]
0xc DHR12L[1]
0x10 DHR8R[1]
0x14 DHR12R[2]
0x18 DHR12L[2]
0x1c DHR8R[2]
0x20 DHR12RD
0x24 DHR12LD
0x28 DHR8RD
0x2c DOR[1]
0x30 DOR[2]
0x34 SR
0x38 CCR
0x3c MCR
0x40 SHSR[1]
0x44 SHSR[2]
0x48 SHHR
0x4c SHRR
Toggle registers

CR

DAC control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEN[2]
rw
DMAUDRIE[2]
rw
DMAEN[2]
rw
MAMP[2]
rw
WAVE[2]
rw
TSEL2
rw
TEN[2]
rw
EN[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CEN[1]
rw
DMAUDRIE[1]
rw
DMAEN[1]
rw
MAMP[1]
rw
WAVE[1]
rw
TSEL1
rw
TEN[1]
rw
EN[1]
rw
Toggle fields

EN[1]

Bit 0: DAC channel1 enable.

Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled

TEN[1]

Bit 1: DAC channel1 trigger enable.

Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled

TSEL1

Bits 2-5: DAC channel1 trigger selection.

Allowed values:
0: Swtrig: Software trigger
1: Tim1Trgo: Timer 1 TRGO event
2: Tim2Trgo: Timer 2 TRGO event
3: Tim4Trgo: Timer 4 TRGO event
4: Tim5Trgo: Timer 5 TRGO event
5: Tim6Trgo: Timer 6 TRGO event
6: Tim7Trgo: Timer 7 TRGO event
7: Tim8Trgo: Timer 8 TRGO event
8: Tim15Trgo: Timer 15 TRGO event
11: Lptim1Ch1: LPTIM1 CH1 event
12: Lptim2Ch1: LPTIM2 CH1 event
13: Exti9: EXTI line 9

WAVE[1]

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

MAMP[1]

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

DMAEN[1]

Bit 12: DAC channel1 DMA enable.

Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled

DMAUDRIE[1]

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

CEN[1]

Bit 14: DAC channel1 calibration enable.

Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode

EN[2]

Bit 16: DAC channel2 enable.

Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled

TEN[2]

Bit 17: DAC channel2 trigger enable.

Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled

TSEL2

Bits 18-21: DAC channel2 trigger selection.

Allowed values:
0: Swtrig: Software trigger
1: Tim1Trgo: Timer 1 TRGO event
2: Tim2Trgo: Timer 2 TRGO event
3: Tim4Trgo: Timer 4 TRGO event
4: Tim5Trgo: Timer 5 TRGO event
5: Tim6Trgo: Timer 6 TRGO event
6: Tim7Trgo: Timer 7 TRGO event
7: Tim8Trgo: Timer 8 TRGO event
8: Tim15Trgo: Timer 15 TRGO event
11: Lptim1Ch1: LPTIM1 CH1 event
12: Lptim2Ch1: LPTIM2 CH1 event
13: Exti9: EXTI line 9

WAVE[2]

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

MAMP[2]

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

DMAEN[2]

Bit 28: DAC channel2 DMA enable.

Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled

DMAUDRIE[2]

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

CEN[2]

Bit 30: DAC channel2 calibration enable.

Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode

SWTRGR

DAC software trigger register

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWTRIG[2]
w
SWTRIG[1]
w
Toggle fields

SWTRIG[1]

Bit 0: DAC channel1 software trigger.

Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger

SWTRIG[2]

Bit 1: DAC channel2 software trigger.

Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger

DHR12R[1]

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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-11: DAC channel1 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 4-15: DAC channel1 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC1DHRB
rw
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-7: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DACC1DHRB

Bits 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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-11: DAC channel1 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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
DACC1DHRB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDHR
rw
Toggle fields

DACCDHR

Bits 4-15: DAC channel1 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DACC1DHRB

Bits 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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC1DHRB
rw
DACCDHR
rw
Toggle fields

DACCDHR

Bits 0-7: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DACC1DHRB

Bits 8-15: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DHR12RD

Dual DAC 12-bit right-aligned data holding register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DACC[2]DHR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC[1]DHR
rw
Toggle fields

DACC[1]DHR

Bits 0-11: DAC channel1 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DACC[2]DHR

Bits 16-27: DAC channel2 12-bit right-aligned data.

Allowed values: 0x0-0xfff

DHR12LD

Dual DAC 12-bit left aligned data holding register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DACC[2]DHR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC[1]DHR
rw
Toggle fields

DACC[1]DHR

Bits 4-15: DAC channel1 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DACC[2]DHR

Bits 20-31: DAC channel2 12-bit left-aligned data.

Allowed values: 0x0-0xfff

DHR8RD

Dual DAC 8-bit right aligned data holding register

Offset: 0x28, 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
DACC[2]DHR
rw
DACC[1]DHR
rw
Toggle fields

DACC[1]DHR

Bits 0-7: DAC channel1 8-bit right-aligned data.

Allowed values: 0x0-0xff

DACC[2]DHR

Bits 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
DACC1DORB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDOR
r
Toggle fields

DACCDOR

Bits 0-11: DAC channel1 data output.

Allowed values: 0x0-0xfff

DACC1DORB

Bits 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
DACC1DORB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACCDOR
r
Toggle fields

DACCDOR

Bits 0-11: DAC channel1 data output.

Allowed values: 0x0-0xfff

DACC1DORB

Bits 16-27: DAC channel1 data output.

Allowed values: 0x0-0xfff

SR

DAC status register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BWST[2]
r
CAL_FLAG[2]
r
DMAUDR[2]
rw
DORSTAT[2]
r
DAC[2]RDY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BWST[1]
r
CAL_FLAG[1]
r
DMAUDR[1]
rw
DORSTAT[1]
r
DAC[1]RDY
r
Toggle fields

DAC[1]RDY

Bit 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

DORSTAT[1]

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

DMAUDR[1]

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)

CAL_FLAG[1]

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

BWST[1]

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

DAC[2]RDY

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

DORSTAT[2]

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

DMAUDR[2]

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)

CAL_FLAG[2]

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

BWST[2]

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

CCR

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]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OTRIM[1]
rw
Toggle fields

OTRIM[1]

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

MCR

DAC mode control register

Offset: 0x3c, 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
SINFORMAT[2]
rw
DMADOUBLE[2]
rw
MODE[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HFSEL
rw
SINFORMAT[1]
rw
DMADOUBLE[1]
rw
MODE[1]
rw
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

DMADOUBLE[1]

Bit 8: DAC channel1 DMA double data mode.

Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected

SINFORMAT[1]

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.

HFSEL

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

MODE[2]

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

DMADOUBLE[2]

Bit 24: DAC channel2 DMA double data mode.

Allowed values:
0: Normal: DMA Normal mode selected
1: DoubleData: DMA Double data mode selected

SINFORMAT[2]

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.

SHSR[1]

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
TSAMPLE
rw
Toggle fields

TSAMPLE

Bits 0-9: DAC channel1 sample time (only valid in Sample and hold mode).

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
TSAMPLE
rw
Toggle fields

TSAMPLE

Bits 0-9: DAC channel1 sample time (only valid in Sample and hold mode).

Allowed values: 0x0-0x3ff

SHHR

DAC sample and 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]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
THOLD[1]
rw
Toggle fields

THOLD[1]

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

SHRR

DAC sample and hold refresh time register

Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TREFRESH[2]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TREFRESH[1]
rw
Toggle fields

TREFRESH[1]

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

DBGMCU

0x44024000: DBGMCU register block

21/73 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 IDCODE
0x4 CR
0x8 APB1LFZR
0xc APB1HFZR
0x10 APB2FZR
0x14 APB3FZR
0x20 AHB1FZR
0xfc SR
0x100 DBG_AUTH_HOST
0x104 DBG_AUTH_DEVICE
0x108 DBG_AUTH_ACK
0xfd0 PIDR4
0xfe0 PIDR0
0xfe4 PIDR1
0xfe8 PIDR2
0xfec PIDR3
0xff0 CIDR0
0xff4 CIDR1
0xff8 CIDR2
0xffc CIDR3
Toggle registers

IDCODE

DBGMCU identity code register

Offset: 0x0, size: 32, reset: 0x00006000, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REV_ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEV_ID
r
Toggle fields

DEV_ID

Bits 0-11: Device identification.

REV_ID

Bits 16-31: Revision.

CR

DBGMCU configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DCRT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRACE_MODE
rw
TRACE_EN
rw
TRACE_IOEN
rw
DBG_STANDBY
rw
DBG_STOP
rw
Toggle fields

DBG_STOP

Bit 1: Allows debug in Stop mode.

DBG_STANDBY

Bit 2: Allows debug in Standby mode.

TRACE_IOEN

Bit 4: trace pin enable.

TRACE_EN

Bit 5: trace port and clock enable..

TRACE_MODE

Bits 6-7: trace pin assignment.

DCRT

Bit 16: Debug credentials reset type.

APB1LFZR

DBGMCU APB1L peripheral freeze register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

Toggle fields

DBG_TIM2_STOP

Bit 0: TIM2 stop in debug.

DBG_TIM3_STOP

Bit 1: TIM3 stop in debug.

DBG_TIM4_STOP

Bit 2: TIM4 stop in debug.

DBG_TIM5_STOP

Bit 3: TIM5 stop in debug.

DBG_TIM6_STOP

Bit 4: TIM6 stop in debug.

DBG_TIM7_STOP

Bit 5: TIM7 stop in debug.

DBG_TIM12_STOP

Bit 6: TIM12 stop in debug.

DBG_TIM13_STOP

Bit 7: TIM13 stop in debug.

DBG_TIM14_STOP

Bit 8: TIM14 stop in debug.

DBG_WWDG_STOP

Bit 11: WWDG stop in debug.

DBG_IWDG_STOP

Bit 12: IWDG stop in debug.

DBG_I2C1_STOP

Bit 21: I2C1 SMBUS timeout stop in debug.

DBG_I2C2_STOP

Bit 22: I2C2 SMBUS timeout stop in debug.

DBG_I3C1_STOP

Bit 23: I3C1 SCL stall counter stop in debug.

APB1HFZR

DBGMCU APB1H peripheral freeze register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_LPTIM2_STOP
rw
Toggle fields

DBG_LPTIM2_STOP

Bit 5: LPTIM2 stop in debug.

APB2FZR

DBGMCU APB2 peripheral freeze register

Offset: 0x10, 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
DBG_TIM17_STOP
rw
DBG_TIM16_STOP
rw
DBG_TIM15_STOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_TIM8_STOP
rw
DBG_TIM1_STOP
rw
Toggle fields

DBG_TIM1_STOP

Bit 11: TIM1 stop in debug.

DBG_TIM8_STOP

Bit 13: TIM8 stop in debug.

DBG_TIM15_STOP

Bit 16: TIM15 stop in debug.

DBG_TIM16_STOP

Bit 17: TIM16 stop in debug.

DBG_TIM17_STOP

Bit 18: TIM17 stop in debug.

APB3FZR

DBGMCU APB3 peripheral freeze register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DBG_RTC_STOP
rw
DBG_LPTIM6_STOP
rw
DBG_LPTIM5_STOP
rw
DBG_LPTIM4_STOP
rw
DBG_LPTIM3_STOP
rw
DBG_LPTIM1_STOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_I2C4_STOP
rw
DBG_I2C3_STOP
rw
Toggle fields

DBG_I2C3_STOP

Bit 10: I2C3 SMBUS timeout stop in debug.

DBG_I2C4_STOP

Bit 11: I2C4 SMBUS timeout stop in debug.

DBG_LPTIM1_STOP

Bit 17: LPTIM1 stop in debug.

DBG_LPTIM3_STOP

Bit 18: LPTIM3 stop in debug.

DBG_LPTIM4_STOP

Bit 19: LPTIM4 stop in debug.

DBG_LPTIM5_STOP

Bit 20: LPTIM5 stop in debug.

DBG_LPTIM6_STOP

Bit 21: LPTIM6 stop in debug.

DBG_RTC_STOP

Bit 30: RTC stop in debug.

AHB1FZR

DBGMCU AHB1 peripheral freeze register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

Toggle fields

DBG_GPDMA1_0_STOP

Bit 0: GPDMA1 channel 0 stop in debug.

DBG_GPDMA1_1_STOP

Bit 1: GPDMA1 channel 1 stop in debug.

DBG_GPDMA1_2_STOP

Bit 2: GPDMA1 channel 2 stop in debug.

DBG_GPDMA1_3_STOP

Bit 3: GPDMA1 channel 3 stop in debug.

DBG_GPDMA1_4_STOP

Bit 4: GPDMA1 channel 4 stop in debug.

DBG_GPDMA1_5_STOP

Bit 5: GPDMA1 channel 5 stop in debug.

DBG_GPDMA1_6_STOP

Bit 6: GPDMA1 channel 6 stop in debug.

DBG_GPDMA1_7_STOP

Bit 7: GPDMA1 channel 7 stop in debug.

DBG_GPDMA2_0_STOP

Bit 16: GPDMA2 channel 0 stop in debug.

DBG_GPDMA2_1_STOP

Bit 17: GPDMA2 channel 1 stop in debug.

DBG_GPDMA2_2_STOP

Bit 18: GPDMA2 channel 2 stop in debug.

DBG_GPDMA2_3_STOP

Bit 19: GPDMA2 channel 3 stop in debug.

DBG_GPDMA2_4_STOP

Bit 20: GPDMA2 channel 4 stop in debug.

DBG_GPDMA2_5_STOP

Bit 21: GPDMA2 channel 5 stop in debug.

DBG_GPDMA2_6_STOP

Bit 22: GPDMA2 channel 6 stop in debug.

DBG_GPDMA2_7_STOP

Bit 23: GPDMA2 channel 7 stop in debug.

SR

DBGMCU status register

Offset: 0xfc, size: 32, reset: 0x00010003, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AP_ENABLED
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AP_PRESENT
r
Toggle fields

AP_PRESENT

Bits 0-15: Bit n identifies whether access port AP n is present in device.

AP_ENABLED

Bits 16-31: Bit n identifies whether access port AP n is open (can be accessed via the debug port) or locked (debug access to the AP is blocked).

DBG_AUTH_HOST

DBGMCU debug authentication mailbox host 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
MESSAGE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MESSAGE
rw
Toggle fields

MESSAGE

Bits 0-31: Debug host to device mailbox message..

DBG_AUTH_DEVICE

DBGMCU debug authentication mailbox device 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
MESSAGE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MESSAGE
rw
Toggle fields

MESSAGE

Bits 0-31: Device to debug host mailbox message..

DBG_AUTH_ACK

DBGMCU debug authentication mailbox acknowledge register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEV_ACK
r
HOST_ACK
r
Toggle fields

HOST_ACK

Bit 0: Host to device acknowledge..

DEV_ACK

Bit 1: Device to host acknowledge..

PIDR4

DBGMCU CoreSight peripheral identity register 4

Offset: 0xfd0, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIZE
r
JEP106CON
r
Toggle fields

JEP106CON

Bits 0-3: JEP106 continuation code.

SIZE

Bits 4-7: register file size.

PIDR0

DBGMCU CoreSight peripheral identity register 0

Offset: 0xfe0, 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
PARTNUM
r
Toggle fields

PARTNUM

Bits 0-7: part number bits [7:0].

PIDR1

DBGMCU CoreSight peripheral identity register 1

Offset: 0xfe4, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JEP106ID
r
PARTNUM
r
Toggle fields

PARTNUM

Bits 0-3: part number bits [11:8].

JEP106ID

Bits 4-7: JEP106 identity code bits [3:0].

PIDR2

DBGMCU CoreSight peripheral identity register 2

Offset: 0xfe8, size: 32, reset: 0x0000000A, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REVISION
r
JEDEC
r
JEP106ID
r
Toggle fields

JEP106ID

Bits 0-2: JEP106 identity code bits [6:4].

JEDEC

Bit 3: JEDEC assigned value.

REVISION

Bits 4-7: component revision number.

PIDR3

DBGMCU CoreSight peripheral identity register 3

Offset: 0xfec, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REVAND
r
CMOD
r
Toggle fields

CMOD

Bits 0-3: customer modified.

REVAND

Bits 4-7: metal fix version.

CIDR0

DBGMCU CoreSight component identity register 0

Offset: 0xff0, size: 32, reset: 0x0000000D, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-7: component identification bits [7:0].

CIDR1

DBGMCU CoreSight component identity register 1

Offset: 0xff4, size: 32, reset: 0x000000F0, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLASS
r
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-3: component identification bits [11:8].

CLASS

Bits 4-7: component identification bits [15:12] - component class.

CIDR2

DBGMCU CoreSight component identity register 2

Offset: 0xff8, size: 32, reset: 0x00000005, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-7: component identification bits [23:16].

CIDR3

DBGMCU CoreSight component identity register 3

Offset: 0xffc, size: 32, reset: 0x000000B1, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-7: component identification bits [31:24].

DBGMCU_S

0x54024000: DBGMCU register block

21/73 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 IDCODE
0x4 CR
0x8 APB1LFZR
0xc APB1HFZR
0x10 APB2FZR
0x14 APB3FZR
0x20 AHB1FZR
0xfc SR
0x100 DBG_AUTH_HOST
0x104 DBG_AUTH_DEVICE
0x108 DBG_AUTH_ACK
0xfd0 PIDR4
0xfe0 PIDR0
0xfe4 PIDR1
0xfe8 PIDR2
0xfec PIDR3
0xff0 CIDR0
0xff4 CIDR1
0xff8 CIDR2
0xffc CIDR3
Toggle registers

IDCODE

DBGMCU identity code register

Offset: 0x0, size: 32, reset: 0x00006000, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REV_ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEV_ID
r
Toggle fields

DEV_ID

Bits 0-11: Device identification.

REV_ID

Bits 16-31: Revision.

CR

DBGMCU configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DCRT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRACE_MODE
rw
TRACE_EN
rw
TRACE_IOEN
rw
DBG_STANDBY
rw
DBG_STOP
rw
Toggle fields

DBG_STOP

Bit 1: Allows debug in Stop mode.

DBG_STANDBY

Bit 2: Allows debug in Standby mode.

TRACE_IOEN

Bit 4: trace pin enable.

TRACE_EN

Bit 5: trace port and clock enable..

TRACE_MODE

Bits 6-7: trace pin assignment.

DCRT

Bit 16: Debug credentials reset type.

APB1LFZR

DBGMCU APB1L peripheral freeze register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

Toggle fields

DBG_TIM2_STOP

Bit 0: TIM2 stop in debug.

DBG_TIM3_STOP

Bit 1: TIM3 stop in debug.

DBG_TIM4_STOP

Bit 2: TIM4 stop in debug.

DBG_TIM5_STOP

Bit 3: TIM5 stop in debug.

DBG_TIM6_STOP

Bit 4: TIM6 stop in debug.

DBG_TIM7_STOP

Bit 5: TIM7 stop in debug.

DBG_TIM12_STOP

Bit 6: TIM12 stop in debug.

DBG_TIM13_STOP

Bit 7: TIM13 stop in debug.

DBG_TIM14_STOP

Bit 8: TIM14 stop in debug.

DBG_WWDG_STOP

Bit 11: WWDG stop in debug.

DBG_IWDG_STOP

Bit 12: IWDG stop in debug.

DBG_I2C1_STOP

Bit 21: I2C1 SMBUS timeout stop in debug.

DBG_I2C2_STOP

Bit 22: I2C2 SMBUS timeout stop in debug.

DBG_I3C1_STOP

Bit 23: I3C1 SCL stall counter stop in debug.

APB1HFZR

DBGMCU APB1H peripheral freeze register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_LPTIM2_STOP
rw
Toggle fields

DBG_LPTIM2_STOP

Bit 5: LPTIM2 stop in debug.

APB2FZR

DBGMCU APB2 peripheral freeze register

Offset: 0x10, 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
DBG_TIM17_STOP
rw
DBG_TIM16_STOP
rw
DBG_TIM15_STOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_TIM8_STOP
rw
DBG_TIM1_STOP
rw
Toggle fields

DBG_TIM1_STOP

Bit 11: TIM1 stop in debug.

DBG_TIM8_STOP

Bit 13: TIM8 stop in debug.

DBG_TIM15_STOP

Bit 16: TIM15 stop in debug.

DBG_TIM16_STOP

Bit 17: TIM16 stop in debug.

DBG_TIM17_STOP

Bit 18: TIM17 stop in debug.

APB3FZR

DBGMCU APB3 peripheral freeze register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DBG_RTC_STOP
rw
DBG_LPTIM6_STOP
rw
DBG_LPTIM5_STOP
rw
DBG_LPTIM4_STOP
rw
DBG_LPTIM3_STOP
rw
DBG_LPTIM1_STOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_I2C4_STOP
rw
DBG_I2C3_STOP
rw
Toggle fields

DBG_I2C3_STOP

Bit 10: I2C3 SMBUS timeout stop in debug.

DBG_I2C4_STOP

Bit 11: I2C4 SMBUS timeout stop in debug.

DBG_LPTIM1_STOP

Bit 17: LPTIM1 stop in debug.

DBG_LPTIM3_STOP

Bit 18: LPTIM3 stop in debug.

DBG_LPTIM4_STOP

Bit 19: LPTIM4 stop in debug.

DBG_LPTIM5_STOP

Bit 20: LPTIM5 stop in debug.

DBG_LPTIM6_STOP

Bit 21: LPTIM6 stop in debug.

DBG_RTC_STOP

Bit 30: RTC stop in debug.

AHB1FZR

DBGMCU AHB1 peripheral freeze register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

Toggle fields

DBG_GPDMA1_0_STOP

Bit 0: GPDMA1 channel 0 stop in debug.

DBG_GPDMA1_1_STOP

Bit 1: GPDMA1 channel 1 stop in debug.

DBG_GPDMA1_2_STOP

Bit 2: GPDMA1 channel 2 stop in debug.

DBG_GPDMA1_3_STOP

Bit 3: GPDMA1 channel 3 stop in debug.

DBG_GPDMA1_4_STOP

Bit 4: GPDMA1 channel 4 stop in debug.

DBG_GPDMA1_5_STOP

Bit 5: GPDMA1 channel 5 stop in debug.

DBG_GPDMA1_6_STOP

Bit 6: GPDMA1 channel 6 stop in debug.

DBG_GPDMA1_7_STOP

Bit 7: GPDMA1 channel 7 stop in debug.

DBG_GPDMA2_0_STOP

Bit 16: GPDMA2 channel 0 stop in debug.

DBG_GPDMA2_1_STOP

Bit 17: GPDMA2 channel 1 stop in debug.

DBG_GPDMA2_2_STOP

Bit 18: GPDMA2 channel 2 stop in debug.

DBG_GPDMA2_3_STOP

Bit 19: GPDMA2 channel 3 stop in debug.

DBG_GPDMA2_4_STOP

Bit 20: GPDMA2 channel 4 stop in debug.

DBG_GPDMA2_5_STOP

Bit 21: GPDMA2 channel 5 stop in debug.

DBG_GPDMA2_6_STOP

Bit 22: GPDMA2 channel 6 stop in debug.

DBG_GPDMA2_7_STOP

Bit 23: GPDMA2 channel 7 stop in debug.

SR

DBGMCU status register

Offset: 0xfc, size: 32, reset: 0x00010003, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AP_ENABLED
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AP_PRESENT
r
Toggle fields

AP_PRESENT

Bits 0-15: Bit n identifies whether access port AP n is present in device.

AP_ENABLED

Bits 16-31: Bit n identifies whether access port AP n is open (can be accessed via the debug port) or locked (debug access to the AP is blocked).

DBG_AUTH_HOST

DBGMCU debug authentication mailbox host 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
MESSAGE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MESSAGE
rw
Toggle fields

MESSAGE

Bits 0-31: Debug host to device mailbox message..

DBG_AUTH_DEVICE

DBGMCU debug authentication mailbox device 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
MESSAGE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MESSAGE
rw
Toggle fields

MESSAGE

Bits 0-31: Device to debug host mailbox message..

DBG_AUTH_ACK

DBGMCU debug authentication mailbox acknowledge register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEV_ACK
r
HOST_ACK
r
Toggle fields

HOST_ACK

Bit 0: Host to device acknowledge..

DEV_ACK

Bit 1: Device to host acknowledge..

PIDR4

DBGMCU CoreSight peripheral identity register 4

Offset: 0xfd0, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIZE
r
JEP106CON
r
Toggle fields

JEP106CON

Bits 0-3: JEP106 continuation code.

SIZE

Bits 4-7: register file size.

PIDR0

DBGMCU CoreSight peripheral identity register 0

Offset: 0xfe0, 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
PARTNUM
r
Toggle fields

PARTNUM

Bits 0-7: part number bits [7:0].

PIDR1

DBGMCU CoreSight peripheral identity register 1

Offset: 0xfe4, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JEP106ID
r
PARTNUM
r
Toggle fields

PARTNUM

Bits 0-3: part number bits [11:8].

JEP106ID

Bits 4-7: JEP106 identity code bits [3:0].

PIDR2

DBGMCU CoreSight peripheral identity register 2

Offset: 0xfe8, size: 32, reset: 0x0000000A, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REVISION
r
JEDEC
r
JEP106ID
r
Toggle fields

JEP106ID

Bits 0-2: JEP106 identity code bits [6:4].

JEDEC

Bit 3: JEDEC assigned value.

REVISION

Bits 4-7: component revision number.

PIDR3

DBGMCU CoreSight peripheral identity register 3

Offset: 0xfec, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REVAND
r
CMOD
r
Toggle fields

CMOD

Bits 0-3: customer modified.

REVAND

Bits 4-7: metal fix version.

CIDR0

DBGMCU CoreSight component identity register 0

Offset: 0xff0, size: 32, reset: 0x0000000D, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-7: component identification bits [7:0].

CIDR1

DBGMCU CoreSight component identity register 1

Offset: 0xff4, size: 32, reset: 0x000000F0, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLASS
r
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-3: component identification bits [11:8].

CLASS

Bits 4-7: component identification bits [15:12] - component class.

CIDR2

DBGMCU CoreSight component identity register 2

Offset: 0xff8, size: 32, reset: 0x00000005, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-7: component identification bits [23:16].

CIDR3

DBGMCU CoreSight component identity register 3

Offset: 0xffc, size: 32, reset: 0x000000B1, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREAMBLE
r
Toggle fields

PREAMBLE

Bits 0-7: component identification bits [31:24].

DCACHE

0x40031400: DCACHE register block

9/30 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 IER
0xc FCR
0x10 RHMONR
0x14 RMMONR
0x20 WHMONR
0x24 WMMONR
0x28 CMDRSADDRR
0x2c CMDREADDRR
Toggle registers

CR

DCACHE control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
WMISSMRST
rw
WHITMRST
rw
WMISSMEN
rw
WHITMEN
rw
RMISSMRST
rw
RHITMRST
rw
RMISSMEN
rw
RHITMEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STARTCMD
w
CACHECMD
rw
CACHEINV
w
EN
rw
Toggle fields

EN

Bit 0: enable.

CACHEINV

Bit 1: full cache invalidation.

CACHECMD

Bits 8-10: cache command maintenance operation (cleans and/or invalidates an address range).

STARTCMD

Bit 11: starts maintenance command (maintenance operation defined in CACHECMD)..

RHITMEN

Bit 16: read-hit monitor enable.

RMISSMEN

Bit 17: read-miss monitor enable.

RHITMRST

Bit 18: read-hit monitor reset.

RMISSMRST

Bit 19: read-miss monitor reset.

WHITMEN

Bit 20: write-hit monitor enable.

WMISSMEN

Bit 21: write-miss monitor enable.

WHITMRST

Bit 22: write-hit monitor reset.

WMISSMRST

Bit 23: write-miss monitor reset.

HBURST

Bit 31: output burst type for cache master port read accesses.

SR

DCACHE status register

Offset: 0x4, size: 32, reset: 0x00000001, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDENDF
r
BUSYCMDF
r
ERRF
r
BSYENDF
r
BUSYF
r
Toggle fields

BUSYF

Bit 0: full invalidate busy flag.

BSYENDF

Bit 1: full invalidate busy end flag.

ERRF

Bit 2: cache error flag.

BUSYCMDF

Bit 3: command busy flag.

CMDENDF

Bit 4: command end flag.

IER

DCACHE interrupt enable register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDENDIE
rw
ERRIE
rw
BSYENDIE
rw
Toggle fields

BSYENDIE

Bit 1: interrupt enable on busy end.

ERRIE

Bit 2: interrupt enable on cache error.

CMDENDIE

Bit 4: interrupt enable on command end.

FCR

DCACHE flag clear register

Offset: 0xc, size: 32, reset: 0x00000000, access: write-only

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCMDENDF
w
CERRF
w
CBSYENDF
w
Toggle fields

CBSYENDF

Bit 1: clear full invalidate busy end flag.

CERRF

Bit 2: clear cache error flag.

CCMDENDF

Bit 4: clear command end flag.

RHMONR

DCACHE read-hit monitor register

Offset: 0x10, 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
RHITMON
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RHITMON
r
Toggle fields

RHITMON

Bits 0-31: cache read-hit monitor counter.

RMMONR

DCACHE read-miss monitor register

Offset: 0x14, 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
RMISSMON
r
Toggle fields

RMISSMON

Bits 0-15: cache read-miss monitor counter.

WHMONR

DCACHE write-hit monitor register

Offset: 0x20, 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
WHITMON
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WHITMON
r
Toggle fields

WHITMON

Bits 0-31: cache write-hit monitor counter.

WMMONR

DCACHE write-miss monitor 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
WMISSMON
r
Toggle fields

WMISSMON

Bits 0-15: cache write-miss monitor counter.

CMDRSADDRR

DCACHE command range start 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
CMDSTARTADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDSTARTADDR
rw
Toggle fields

CMDSTARTADDR

Bits 4-31: start address of range to which the cache maintenance command specified in DCACHE_CR..

CMDREADDRR

DCACHE command range end address register

Offset: 0x2c, 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
CMDENDADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDENDADDR
rw
Toggle fields

CMDENDADDR

Bits 4-31: end address of range to which the cache maintenance command specified in DCACHE_CR..

DCACHE_S

0x50031400: DCACHE register block

9/30 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 IER
0xc FCR
0x10 RHMONR
0x14 RMMONR
0x20 WHMONR
0x24 WMMONR
0x28 CMDRSADDRR
0x2c CMDREADDRR
Toggle registers

CR

DCACHE control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
WMISSMRST
rw
WHITMRST
rw
WMISSMEN
rw
WHITMEN
rw
RMISSMRST
rw
RHITMRST
rw
RMISSMEN
rw
RHITMEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STARTCMD
w
CACHECMD
rw
CACHEINV
w
EN
rw
Toggle fields

EN

Bit 0: enable.

CACHEINV

Bit 1: full cache invalidation.

CACHECMD

Bits 8-10: cache command maintenance operation (cleans and/or invalidates an address range).

STARTCMD

Bit 11: starts maintenance command (maintenance operation defined in CACHECMD)..

RHITMEN

Bit 16: read-hit monitor enable.

RMISSMEN

Bit 17: read-miss monitor enable.

RHITMRST

Bit 18: read-hit monitor reset.

RMISSMRST

Bit 19: read-miss monitor reset.

WHITMEN

Bit 20: write-hit monitor enable.

WMISSMEN

Bit 21: write-miss monitor enable.

WHITMRST

Bit 22: write-hit monitor reset.

WMISSMRST

Bit 23: write-miss monitor reset.

HBURST

Bit 31: output burst type for cache master port read accesses.

SR

DCACHE status register

Offset: 0x4, size: 32, reset: 0x00000001, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDENDF
r
BUSYCMDF
r
ERRF
r
BSYENDF
r
BUSYF
r
Toggle fields

BUSYF

Bit 0: full invalidate busy flag.

BSYENDF

Bit 1: full invalidate busy end flag.

ERRF

Bit 2: cache error flag.

BUSYCMDF

Bit 3: command busy flag.

CMDENDF

Bit 4: command end flag.

IER

DCACHE interrupt enable register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDENDIE
rw
ERRIE
rw
BSYENDIE
rw
Toggle fields

BSYENDIE

Bit 1: interrupt enable on busy end.

ERRIE

Bit 2: interrupt enable on cache error.

CMDENDIE

Bit 4: interrupt enable on command end.

FCR

DCACHE flag clear register

Offset: 0xc, size: 32, reset: 0x00000000, access: write-only

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCMDENDF
w
CERRF
w
CBSYENDF
w
Toggle fields

CBSYENDF

Bit 1: clear full invalidate busy end flag.

CERRF

Bit 2: clear cache error flag.

CCMDENDF

Bit 4: clear command end flag.

RHMONR

DCACHE read-hit monitor register

Offset: 0x10, 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
RHITMON
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RHITMON
r
Toggle fields

RHITMON

Bits 0-31: cache read-hit monitor counter.

RMMONR

DCACHE read-miss monitor register

Offset: 0x14, 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
RMISSMON
r
Toggle fields

RMISSMON

Bits 0-15: cache read-miss monitor counter.

WHMONR

DCACHE write-hit monitor register

Offset: 0x20, 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
WHITMON
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WHITMON
r
Toggle fields

WHITMON

Bits 0-31: cache write-hit monitor counter.

WMMONR

DCACHE write-miss monitor 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
WMISSMON
r
Toggle fields

WMISSMON

Bits 0-15: cache write-miss monitor counter.

CMDRSADDRR

DCACHE command range start 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
CMDSTARTADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDSTARTADDR
rw
Toggle fields

CMDSTARTADDR

Bits 4-31: start address of range to which the cache maintenance command specified in DCACHE_CR..

CMDREADDRR

DCACHE command range end address register

Offset: 0x2c, 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
CMDENDADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDENDADDR
rw
Toggle fields

CMDENDADDR

Bits 4-31: end address of range to which the cache maintenance command specified in DCACHE_CR..

DCMI

0x4202c000: DCMI address block description

17/54 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 RIS
0xc IER
0x10 MIS
0x14 ICR
0x18 ESCR
0x1c ESUR
0x20 CWSTRT
0x24 CWSIZE
0x28 DR
Toggle registers

CR

DCMI control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OELS
rw
LSM
rw
OEBS
rw
BSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENABLE
rw
EDM
rw
FCRC
rw
VSPOL
rw
HSPOL
rw
PCKPOL
rw
ESS
rw
JPEG
rw
CROP
rw
CM
rw
CAPTURE
rw
Toggle fields

CAPTURE

Bit 0: Capture enable.

CM

Bit 1: Capture mode.

CROP

Bit 2: Crop feature.

JPEG

Bit 3: JPEG format.

ESS

Bit 4: Embedded synchronization select.

PCKPOL

Bit 5: Pixel clock polarity.

HSPOL

Bit 6: Horizontal synchronization polarity.

VSPOL

Bit 7: Vertical synchronization polarity.

FCRC

Bits 8-9: Frame capture rate control.

EDM

Bits 10-11: Extended data mode.

ENABLE

Bit 14: DCMI enable.

BSM

Bits 16-17: Byte Select mode.

OEBS

Bit 18: Odd/Even Byte Select (Byte Select Start).

LSM

Bit 19: Line Select mode.

OELS

Bit 20: Odd/Even Line Select (Line Select Start).

SR

DCMI status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FNE
r
VSYNC
r
HSYNC
r
Toggle fields

HSYNC

Bit 0: Horizontal synchronization.

VSYNC

Bit 1: Vertical synchronization.

FNE

Bit 2: FIFO not empty.

RIS

DCMI raw interrupt status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_RIS
r
VSYNC_RIS
r
ERR_RIS
r
OVR_RIS
r
FRAME_RIS
r
Toggle fields

FRAME_RIS

Bit 0: Capture complete raw interrupt status.

OVR_RIS

Bit 1: Overrun raw interrupt status.

ERR_RIS

Bit 2: Synchronization error raw interrupt status.

VSYNC_RIS

Bit 3: DCMI_VSYNC raw interrupt status.

LINE_RIS

Bit 4: Line raw interrupt status.

IER

DCMI interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_IE
rw
VSYNC_IE
rw
ERR_IE
rw
OVR_IE
rw
FRAME_IE
rw
Toggle fields

FRAME_IE

Bit 0: Capture complete interrupt enable.

OVR_IE

Bit 1: Overrun interrupt enable.

ERR_IE

Bit 2: Synchronization error interrupt enable.

VSYNC_IE

Bit 3: DCMI_VSYNC interrupt enable.

LINE_IE

Bit 4: Line interrupt enable.

MIS

DCMI masked interrupt status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_MIS
r
VSYNC_MIS
r
ERR_MIS
r
OVR_MIS
r
FRAME_MIS
r
Toggle fields

FRAME_MIS

Bit 0: Capture complete masked interrupt status.

OVR_MIS

Bit 1: Overrun masked interrupt status.

ERR_MIS

Bit 2: Synchronization error masked interrupt status.

VSYNC_MIS

Bit 3: VSYNC masked interrupt status.

LINE_MIS

Bit 4: Line masked interrupt status.

ICR

DCMI interrupt clear register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_ISC
w
VSYNC_ISC
w
ERR_ISC
w
OVR_ISC
w
FRAME_ISC
w
Toggle fields

FRAME_ISC

Bit 0: Capture complete interrupt status clear.

OVR_ISC

Bit 1: Overrun interrupt status clear.

ERR_ISC

Bit 2: Synchronization error interrupt status clear.

VSYNC_ISC

Bit 3: Vertical Synchronization interrupt status clear.

LINE_ISC

Bit 4: line interrupt status clear.

ESCR

DCMI embedded synchronization code register

Offset: 0x18, 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
FEC
rw
LEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSC
rw
FSC
rw
Toggle fields

FSC

Bits 0-7: Frame start delimiter code.

LSC

Bits 8-15: Line start delimiter code.

LEC

Bits 16-23: Line end delimiter code.

FEC

Bits 24-31: Frame end delimiter code.

ESUR

DCMI embedded synchronization unmask register

Offset: 0x1c, 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
FEU
rw
LEU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSU
rw
FSU
rw
Toggle fields

FSU

Bits 0-7: Frame start delimiter unmask.

LSU

Bits 8-15: Line start delimiter unmask.

LEU

Bits 16-23: Line end delimiter unmask.

FEU

Bits 24-31: Frame end delimiter unmask.

CWSTRT

DCMI crop window start

Offset: 0x20, 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
VST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HOFFCNT
rw
Toggle fields

HOFFCNT

Bits 0-13: Horizontal offset count.

VST

Bits 16-28: Vertical start line count.

CWSIZE

DCMI crop window size

Offset: 0x24, 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
VLINE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAPCNT
rw
Toggle fields

CAPCNT

Bits 0-13: Capture count.

VLINE

Bits 16-29: Vertical line count.

DR

DCMI data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BYTE3
r
BYTE2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYTE1
r
BYTE0
r
Toggle fields

BYTE0

Bits 0-7: Data byte 0.

BYTE1

Bits 8-15: Data byte 1.

BYTE2

Bits 16-23: Data byte 2.

BYTE3

Bits 24-31: Data byte 3.

DCMI_S

0x5202c000: DCMI address block description

17/54 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 RIS
0xc IER
0x10 MIS
0x14 ICR
0x18 ESCR
0x1c ESUR
0x20 CWSTRT
0x24 CWSIZE
0x28 DR
Toggle registers

CR

DCMI control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OELS
rw
LSM
rw
OEBS
rw
BSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENABLE
rw
EDM
rw
FCRC
rw
VSPOL
rw
HSPOL
rw
PCKPOL
rw
ESS
rw
JPEG
rw
CROP
rw
CM
rw
CAPTURE
rw
Toggle fields

CAPTURE

Bit 0: Capture enable.

CM

Bit 1: Capture mode.

CROP

Bit 2: Crop feature.

JPEG

Bit 3: JPEG format.

ESS

Bit 4: Embedded synchronization select.

PCKPOL

Bit 5: Pixel clock polarity.

HSPOL

Bit 6: Horizontal synchronization polarity.

VSPOL

Bit 7: Vertical synchronization polarity.

FCRC

Bits 8-9: Frame capture rate control.

EDM

Bits 10-11: Extended data mode.

ENABLE

Bit 14: DCMI enable.

BSM

Bits 16-17: Byte Select mode.

OEBS

Bit 18: Odd/Even Byte Select (Byte Select Start).

LSM

Bit 19: Line Select mode.

OELS

Bit 20: Odd/Even Line Select (Line Select Start).

SR

DCMI status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FNE
r
VSYNC
r
HSYNC
r
Toggle fields

HSYNC

Bit 0: Horizontal synchronization.

VSYNC

Bit 1: Vertical synchronization.

FNE

Bit 2: FIFO not empty.

RIS

DCMI raw interrupt status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_RIS
r
VSYNC_RIS
r
ERR_RIS
r
OVR_RIS
r
FRAME_RIS
r
Toggle fields

FRAME_RIS

Bit 0: Capture complete raw interrupt status.

OVR_RIS

Bit 1: Overrun raw interrupt status.

ERR_RIS

Bit 2: Synchronization error raw interrupt status.

VSYNC_RIS

Bit 3: DCMI_VSYNC raw interrupt status.

LINE_RIS

Bit 4: Line raw interrupt status.

IER

DCMI interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_IE
rw
VSYNC_IE
rw
ERR_IE
rw
OVR_IE
rw
FRAME_IE
rw
Toggle fields

FRAME_IE

Bit 0: Capture complete interrupt enable.

OVR_IE

Bit 1: Overrun interrupt enable.

ERR_IE

Bit 2: Synchronization error interrupt enable.

VSYNC_IE

Bit 3: DCMI_VSYNC interrupt enable.

LINE_IE

Bit 4: Line interrupt enable.

MIS

DCMI masked interrupt status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_MIS
r
VSYNC_MIS
r
ERR_MIS
r
OVR_MIS
r
FRAME_MIS
r
Toggle fields

FRAME_MIS

Bit 0: Capture complete masked interrupt status.

OVR_MIS

Bit 1: Overrun masked interrupt status.

ERR_MIS

Bit 2: Synchronization error masked interrupt status.

VSYNC_MIS

Bit 3: VSYNC masked interrupt status.

LINE_MIS

Bit 4: Line masked interrupt status.

ICR

DCMI interrupt clear register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LINE_ISC
w
VSYNC_ISC
w
ERR_ISC
w
OVR_ISC
w
FRAME_ISC
w
Toggle fields

FRAME_ISC

Bit 0: Capture complete interrupt status clear.

OVR_ISC

Bit 1: Overrun interrupt status clear.

ERR_ISC

Bit 2: Synchronization error interrupt status clear.

VSYNC_ISC

Bit 3: Vertical Synchronization interrupt status clear.

LINE_ISC

Bit 4: line interrupt status clear.

ESCR

DCMI embedded synchronization code register

Offset: 0x18, 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
FEC
rw
LEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSC
rw
FSC
rw
Toggle fields

FSC

Bits 0-7: Frame start delimiter code.

LSC

Bits 8-15: Line start delimiter code.

LEC

Bits 16-23: Line end delimiter code.

FEC

Bits 24-31: Frame end delimiter code.

ESUR

DCMI embedded synchronization unmask register

Offset: 0x1c, 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
FEU
rw
LEU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LSU
rw
FSU
rw
Toggle fields

FSU

Bits 0-7: Frame start delimiter unmask.

LSU

Bits 8-15: Line start delimiter unmask.

LEU

Bits 16-23: Line end delimiter unmask.

FEU

Bits 24-31: Frame end delimiter unmask.

CWSTRT

DCMI crop window start

Offset: 0x20, 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
VST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HOFFCNT
rw
Toggle fields

HOFFCNT

Bits 0-13: Horizontal offset count.

VST

Bits 16-28: Vertical start line count.

CWSIZE

DCMI crop window size

Offset: 0x24, 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
VLINE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CAPCNT
rw
Toggle fields

CAPCNT

Bits 0-13: Capture count.

VLINE

Bits 16-29: Vertical line count.

DR

DCMI data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BYTE3
r
BYTE2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYTE1
r
BYTE0
r
Toggle fields

BYTE0

Bits 0-7: Data byte 0.

BYTE1

Bits 8-15: Data byte 1.

BYTE2

Bits 16-23: Data byte 2.

BYTE3

Bits 24-31: Data byte 3.

DLYBOS1

0x4600f000: DLYB address block description

2/6 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 CFGR
Toggle registers

CR

DLYB control register

Offset: 0x0, 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
SEN
rw
DEN
rw
Toggle fields

DEN

Bit 0: Delay block enable bit.

SEN

Bit 1: Sampler length enable bit.

CFGR

DLYB configuration register

Offset: 0x4, 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
LNGF
r
LNG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UNIT
rw
SEL
rw
Toggle fields

SEL

Bits 0-3: Phase for the output clock..

UNIT

Bits 8-14: Delay of a unit delay cell..

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DLYBOS1_S

0x5600f000: DLYB address block description

2/6 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 CFGR
Toggle registers

CR

DLYB control register

Offset: 0x0, 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
SEN
rw
DEN
rw
Toggle fields

DEN

Bit 0: Delay block enable bit.

SEN

Bit 1: Sampler length enable bit.

CFGR

DLYB configuration register

Offset: 0x4, 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
LNGF
r
LNG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UNIT
rw
SEL
rw
Toggle fields

SEL

Bits 0-3: Phase for the output clock..

UNIT

Bits 8-14: Delay of a unit delay cell..

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DLYBSD1

0x46008400: DLYB address block description

2/6 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 CFGR
Toggle registers

CR

DLYB control register

Offset: 0x0, 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
SEN
rw
DEN
rw
Toggle fields

DEN

Bit 0: Delay block enable bit.

SEN

Bit 1: Sampler length enable bit.

CFGR

DLYB configuration register

Offset: 0x4, 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
LNGF
r
LNG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UNIT
rw
SEL
rw
Toggle fields

SEL

Bits 0-3: Phase for the output clock..

UNIT

Bits 8-14: Delay of a unit delay cell..

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DLYBSD1_S

0x56008400: DLYB address block description

2/6 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 CFGR
Toggle registers

CR

DLYB control register

Offset: 0x0, 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
SEN
rw
DEN
rw
Toggle fields

DEN

Bit 0: Delay block enable bit.

SEN

Bit 1: Sampler length enable bit.

CFGR

DLYB configuration register

Offset: 0x4, 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
LNGF
r
LNG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UNIT
rw
SEL
rw
Toggle fields

SEL

Bits 0-3: Phase for the output clock..

UNIT

Bits 8-14: Delay of a unit delay cell..

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DTS

0x40008c00: DTS address block description

10/64 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CFGR1
0x8 T0VALR1
0x10 RAMPVALR
0x14 ITR1
0x1c DR
0x20 SR
0x24 ITENR
0x28 ICIFR
0x2c OR
Toggle registers

CFGR1

Temperature sensor configuration register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSREF_CLK_DIV
rw
Q_MEAS_OPT
rw
REFCLK_SEL
rw
TS1_SMP_TIME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_INTRIG_SEL
rw
TS1_START
rw
TS1_EN
rw
Toggle fields

TS1_EN

Bit 0: Temperature sensor 1 enable bit.

TS1_START

Bit 4: Start frequency measurement on temperature sensor 1.

TS1_INTRIG_SEL

Bits 8-11: Input trigger selection bit for temperature sensor 1.

TS1_SMP_TIME

Bits 16-19: Sampling time for temperature sensor 1.

REFCLK_SEL

Bit 20: Reference clock selection bit.

Q_MEAS_OPT

Bit 21: Quick measurement option bit.

HSREF_CLK_DIV

Bits 24-30: High speed clock division ratio.

T0VALR1

Temperature sensor T0 value register 1

Offset: 0x8, 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
TS1_T0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_FMT0
r
Toggle fields

TS1_FMT0

Bits 0-15: Engineering value of the frequency measured at T0 for.

TS1_T0

Bits 16-17: Engineering value of the T0 temperature for temperature sensor 1..

RAMPVALR

Temperature sensor ramp value register

Offset: 0x10, 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
TS1_RAMP_COEFF
r
Toggle fields

TS1_RAMP_COEFF

Bits 0-15: Engineering value of the ramp coefficient for the temperature sensor 1..

ITR1

Temperature sensor interrupt threshold register 1

Offset: 0x14, 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
TS1_HITTHD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_LITTHD
rw
Toggle fields

TS1_LITTHD

Bits 0-15: Low interrupt threshold for temperature sensor 1.

TS1_HITTHD

Bits 16-31: High interrupt threshold for temperature sensor 1.

DR

Temperature sensor data register

Offset: 0x1c, 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
TS1_MFREQ
rw
Toggle fields

TS1_MFREQ

Bits 0-15: Value of the counter output value for temperature sensor 1.

SR

Temperature sensor status register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

Toggle fields

TS1_ITEF

Bit 0: Interrupt flag for end of measurement on temperature sensor 1, synchronized on PCLK..

TS1_ITLF

Bit 1: Interrupt flag for low threshold on temperature sensor 1, synchronized on PCLK..

TS1_ITHF

Bit 2: Interrupt flag for high threshold on temperature sensor 1, synchronized on PCLK.

TS1_AITEF

Bit 4: Asynchronous interrupt flag for end of measure on temperature sensor 1.

TS1_AITLF

Bit 5: Asynchronous interrupt flag for low threshold on temperature sensor 1.

TS1_AITHF

Bit 6: Asynchronous interrupt flag for high threshold on temperature sensor 1.

TS1_RDY

Bit 15: Temperature sensor 1 ready flag.

ITENR

Temperature sensor interrupt enable register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_AITHEN
rw
TS1_AITLEN
rw
TS1_AITEEN
rw
TS1_ITHEN
rw
TS1_ITLEN
rw
TS1_ITEEN
rw
Toggle fields

TS1_ITEEN

Bit 0: Interrupt enable flag for end of measurement on temperature sensor 1, synchronized on PCLK..

TS1_ITLEN

Bit 1: Interrupt enable flag for low threshold on temperature sensor 1, synchronized on PCLK..

TS1_ITHEN

Bit 2: Interrupt enable flag for high threshold on temperature sensor 1, synchronized on PCLK..

TS1_AITEEN

Bit 4: Asynchronous interrupt enable flag for end of measurement on temperature sensor 1.

TS1_AITLEN

Bit 5: Asynchronous interrupt enable flag for low threshold on temperature sensor 1..

TS1_AITHEN

Bit 6: Asynchronous interrupt enable flag on high threshold for temperature sensor 1..

ICIFR

Temperature sensor clear interrupt flag register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_CAITHF
rw
TS1_CAITLF
rw
TS1_CAITEF
rw
TS1_CITHF
rw
TS1_CITLF
rw
TS1_CITEF
rw
Toggle fields

TS1_CITEF

Bit 0: Interrupt clear flag for end of measurement on temperature sensor 1.

TS1_CITLF

Bit 1: Interrupt clear flag for low threshold on temperature sensor 1.

TS1_CITHF

Bit 2: Interrupt clear flag for high threshold on temperature sensor 1.

TS1_CAITEF

Bit 4: Write once bit..

TS1_CAITLF

Bit 5: Asynchronous interrupt clear flag for low threshold on temperature sensor 1.

TS1_CAITHF

Bit 6: Asynchronous interrupt clear flag for high threshold on temperature sensor 1.

OR

Temperature sensor option register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

TS_OP0

Bit 0: general purpose option bits.

TS_OP1

Bit 1: general purpose option bits.

TS_OP2

Bit 2: general purpose option bits.

TS_OP3

Bit 3: general purpose option bits.

TS_OP4

Bit 4: general purpose option bits.

TS_OP5

Bit 5: general purpose option bits.

TS_OP6

Bit 6: general purpose option bits.

TS_OP7

Bit 7: general purpose option bits.

TS_OP8

Bit 8: general purpose option bits.

TS_OP9

Bit 9: general purpose option bits.

TS_OP10

Bit 10: general purpose option bits.

TS_OP11

Bit 11: general purpose option bits.

TS_OP12

Bit 12: general purpose option bits.

TS_OP13

Bit 13: general purpose option bits.

TS_OP14

Bit 14: general purpose option bits.

TS_OP15

Bit 15: general purpose option bits.

TS_OP16

Bit 16: general purpose option bits.

TS_OP17

Bit 17: general purpose option bits.

TS_OP18

Bit 18: general purpose option bits.

TS_OP19

Bit 19: general purpose option bits.

TS_OP20

Bit 20: general purpose option bits.

TS_OP21

Bit 21: general purpose option bits.

TS_OP22

Bit 22: general purpose option bits.

TS_OP23

Bit 23: general purpose option bits.

TS_OP24

Bit 24: general purpose option bits.

TS_OP25

Bit 25: general purpose option bits.

TS_OP26

Bit 26: general purpose option bits.

TS_OP27

Bit 27: general purpose option bits.

TS_OP28

Bit 28: general purpose option bits.

TS_OP29

Bit 29: general purpose option bits.

TS_OP30

Bit 30: general purpose option bits.

TS_OP31

Bit 31: general purpose option bits.

DTS_S

0x50008c00: DTS address block description

10/64 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CFGR1
0x8 T0VALR1
0x10 RAMPVALR
0x14 ITR1
0x1c DR
0x20 SR
0x24 ITENR
0x28 ICIFR
0x2c OR
Toggle registers

CFGR1

Temperature sensor configuration register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSREF_CLK_DIV
rw
Q_MEAS_OPT
rw
REFCLK_SEL
rw
TS1_SMP_TIME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_INTRIG_SEL
rw
TS1_START
rw
TS1_EN
rw
Toggle fields

TS1_EN

Bit 0: Temperature sensor 1 enable bit.

TS1_START

Bit 4: Start frequency measurement on temperature sensor 1.

TS1_INTRIG_SEL

Bits 8-11: Input trigger selection bit for temperature sensor 1.

TS1_SMP_TIME

Bits 16-19: Sampling time for temperature sensor 1.

REFCLK_SEL

Bit 20: Reference clock selection bit.

Q_MEAS_OPT

Bit 21: Quick measurement option bit.

HSREF_CLK_DIV

Bits 24-30: High speed clock division ratio.

T0VALR1

Temperature sensor T0 value register 1

Offset: 0x8, 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
TS1_T0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_FMT0
r
Toggle fields

TS1_FMT0

Bits 0-15: Engineering value of the frequency measured at T0 for.

TS1_T0

Bits 16-17: Engineering value of the T0 temperature for temperature sensor 1..

RAMPVALR

Temperature sensor ramp value register

Offset: 0x10, 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
TS1_RAMP_COEFF
r
Toggle fields

TS1_RAMP_COEFF

Bits 0-15: Engineering value of the ramp coefficient for the temperature sensor 1..

ITR1

Temperature sensor interrupt threshold register 1

Offset: 0x14, 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
TS1_HITTHD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_LITTHD
rw
Toggle fields

TS1_LITTHD

Bits 0-15: Low interrupt threshold for temperature sensor 1.

TS1_HITTHD

Bits 16-31: High interrupt threshold for temperature sensor 1.

DR

Temperature sensor data register

Offset: 0x1c, 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
TS1_MFREQ
rw
Toggle fields

TS1_MFREQ

Bits 0-15: Value of the counter output value for temperature sensor 1.

SR

Temperature sensor status register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

Toggle fields

TS1_ITEF

Bit 0: Interrupt flag for end of measurement on temperature sensor 1, synchronized on PCLK..

TS1_ITLF

Bit 1: Interrupt flag for low threshold on temperature sensor 1, synchronized on PCLK..

TS1_ITHF

Bit 2: Interrupt flag for high threshold on temperature sensor 1, synchronized on PCLK.

TS1_AITEF

Bit 4: Asynchronous interrupt flag for end of measure on temperature sensor 1.

TS1_AITLF

Bit 5: Asynchronous interrupt flag for low threshold on temperature sensor 1.

TS1_AITHF

Bit 6: Asynchronous interrupt flag for high threshold on temperature sensor 1.

TS1_RDY

Bit 15: Temperature sensor 1 ready flag.

ITENR

Temperature sensor interrupt enable register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_AITHEN
rw
TS1_AITLEN
rw
TS1_AITEEN
rw
TS1_ITHEN
rw
TS1_ITLEN
rw
TS1_ITEEN
rw
Toggle fields

TS1_ITEEN

Bit 0: Interrupt enable flag for end of measurement on temperature sensor 1, synchronized on PCLK..

TS1_ITLEN

Bit 1: Interrupt enable flag for low threshold on temperature sensor 1, synchronized on PCLK..

TS1_ITHEN

Bit 2: Interrupt enable flag for high threshold on temperature sensor 1, synchronized on PCLK..

TS1_AITEEN

Bit 4: Asynchronous interrupt enable flag for end of measurement on temperature sensor 1.

TS1_AITLEN

Bit 5: Asynchronous interrupt enable flag for low threshold on temperature sensor 1..

TS1_AITHEN

Bit 6: Asynchronous interrupt enable flag on high threshold for temperature sensor 1..

ICIFR

Temperature sensor clear interrupt flag register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TS1_CAITHF
rw
TS1_CAITLF
rw
TS1_CAITEF
rw
TS1_CITHF
rw
TS1_CITLF
rw
TS1_CITEF
rw
Toggle fields

TS1_CITEF

Bit 0: Interrupt clear flag for end of measurement on temperature sensor 1.

TS1_CITLF

Bit 1: Interrupt clear flag for low threshold on temperature sensor 1.

TS1_CITHF

Bit 2: Interrupt clear flag for high threshold on temperature sensor 1.

TS1_CAITEF

Bit 4: Write once bit..

TS1_CAITLF

Bit 5: Asynchronous interrupt clear flag for low threshold on temperature sensor 1.

TS1_CAITHF

Bit 6: Asynchronous interrupt clear flag for high threshold on temperature sensor 1.

OR

Temperature sensor option register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

TS_OP0

Bit 0: general purpose option bits.

TS_OP1

Bit 1: general purpose option bits.

TS_OP2

Bit 2: general purpose option bits.

TS_OP3

Bit 3: general purpose option bits.

TS_OP4

Bit 4: general purpose option bits.

TS_OP5

Bit 5: general purpose option bits.

TS_OP6

Bit 6: general purpose option bits.

TS_OP7

Bit 7: general purpose option bits.

TS_OP8

Bit 8: general purpose option bits.

TS_OP9

Bit 9: general purpose option bits.

TS_OP10

Bit 10: general purpose option bits.

TS_OP11

Bit 11: general purpose option bits.

TS_OP12

Bit 12: general purpose option bits.

TS_OP13

Bit 13: general purpose option bits.

TS_OP14

Bit 14: general purpose option bits.

TS_OP15

Bit 15: general purpose option bits.

TS_OP16

Bit 16: general purpose option bits.

TS_OP17

Bit 17: general purpose option bits.

TS_OP18

Bit 18: general purpose option bits.

TS_OP19

Bit 19: general purpose option bits.

TS_OP20

Bit 20: general purpose option bits.

TS_OP21

Bit 21: general purpose option bits.

TS_OP22

Bit 22: general purpose option bits.

TS_OP23

Bit 23: general purpose option bits.

TS_OP24

Bit 24: general purpose option bits.

TS_OP25

Bit 25: general purpose option bits.

TS_OP26

Bit 26: general purpose option bits.

TS_OP27

Bit 27: general purpose option bits.

TS_OP28

Bit 28: general purpose option bits.

TS_OP29

Bit 29: general purpose option bits.

TS_OP30

Bit 30: general purpose option bits.

TS_OP31

Bit 31: general purpose option bits.

EXTI

0x44022000: EXTI address block description

276/351 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 RTSR1
0x4 FTSR1
0x8 SWIER1
0xc RPR1
0x10 FPR1
0x14 SECCFGR1
0x18 PRIVCFGR1
0x20 RTSR2
0x24 FTSR2
0x28 SWIER2
0x2c RPR2
0x30 FPR2
0x34 SECCFGR2
0x38 PRIVCFGR2
0x60 EXTICR1
0x60 EXTICR4
0x64 EXTICR2
0x68 EXTICR3
0x70 LOCKR
0x80 IMR1
0x84 EMR1
0x90 IMR2
0x94 EMR2
Toggle registers

RTSR1

EXTI rising trigger selection register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RT16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RT15
rw
RT14
rw
RT13
rw
RT12
rw
RT11
rw
RT10
rw
RT9
rw
RT8
rw
RT7
rw
RT6
rw
RT5
rw
RT4
rw
RT3
rw
RT2
rw
RT1
rw
RT0
rw
Toggle fields

RT0

Bit 0: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT1

Bit 1: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT2

Bit 2: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT3

Bit 3: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT4

Bit 4: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT5

Bit 5: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT6

Bit 6: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT7

Bit 7: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT8

Bit 8: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT9

Bit 9: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT10

Bit 10: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT11

Bit 11: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT12

Bit 12: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT13

Bit 13: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT14

Bit 14: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT15

Bit 15: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT16

Bit 16: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

FTSR1

EXTI falling trigger selection register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FT16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FT15
rw
FT14
rw
FT13
rw
FT12
rw
FT11
rw
FT10
rw
FT9
rw
FT8
rw
FT7
rw
FT6
rw
FT5
rw
FT4
rw
FT3
rw
FT2
rw
FT1
rw
FT0
rw
Toggle fields

FT0

Bit 0: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT1

Bit 1: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT2

Bit 2: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT3

Bit 3: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT4

Bit 4: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT5

Bit 5: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT6

Bit 6: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT7

Bit 7: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT8

Bit 8: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT9

Bit 9: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT10

Bit 10: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT11

Bit 11: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT12

Bit 12: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT13

Bit 13: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT14

Bit 14: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT15

Bit 15: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT16

Bit 16: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

SWIER1

EXTI software interrupt event register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWI16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWI15
rw
SWI14
rw
SWI13
rw
SWI12
rw
SWI11
rw
SWI10
rw
SWI9
rw
SWI8
rw
SWI7
rw
SWI6
rw
SWI5
rw
SWI4
rw
SWI3
rw
SWI2
rw
SWI1
rw
SWI0
rw
Toggle fields

SWI0

Bit 0: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI1

Bit 1: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI2

Bit 2: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI3

Bit 3: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI4

Bit 4: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI5

Bit 5: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI6

Bit 6: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI7

Bit 7: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI8

Bit 8: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI9

Bit 9: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI10

Bit 10: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI11

Bit 11: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI12

Bit 12: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI13

Bit 13: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI14

Bit 14: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI15

Bit 15: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI16

Bit 16: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

RPR1

EXTI rising edge pending register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RPIF16
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIF15
r/w1c
RPIF14
r/w1c
RPIF13
r/w1c
RPIF12
r/w1c
RPIF11
r/w1c
RPIF10
r/w1c
RPIF9
r/w1c
RPIF8
r/w1c
RPIF7
r/w1c
RPIF6
r/w1c
RPIF5
r/w1c
RPIF4
r/w1c
RPIF3
r/w1c
RPIF2
r/w1c
RPIF1
r/w1c
RPIF0
r/w1c
Toggle fields

RPIF0

Bit 0: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF1

Bit 1: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF2

Bit 2: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF3

Bit 3: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF4

Bit 4: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF5

Bit 5: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF6

Bit 6: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF7

Bit 7: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF8

Bit 8: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF9

Bit 9: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF10

Bit 10: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF11

Bit 11: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF12

Bit 12: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF13

Bit 13: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF14

Bit 14: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF15

Bit 15: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF16

Bit 16: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPR1

EXTI falling edge pending register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FPIF16
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPIF15
r/w1c
FPIF14
r/w1c
FPIF13
r/w1c
FPIF12
r/w1c
FPIF11
r/w1c
FPIF10
r/w1c
FPIF9
r/w1c
FPIF8
r/w1c
FPIF7
r/w1c
FPIF6
r/w1c
FPIF5
r/w1c
FPIF4
r/w1c
FPIF3
r/w1c
FPIF2
r/w1c
FPIF1
r/w1c
FPIF0
r/w1c
Toggle fields

FPIF0

Bit 0: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF1

Bit 1: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF2

Bit 2: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF3

Bit 3: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF4

Bit 4: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF5

Bit 5: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF6

Bit 6: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF7

Bit 7: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF8

Bit 8: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF9

Bit 9: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF10

Bit 10: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF11

Bit 11: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF12

Bit 12: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF13

Bit 13: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF14

Bit 14: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF15

Bit 15: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF16

Bit 16: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

SECCFGR1

EXTI security configuration register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SEC31
rw
SEC30
rw
SEC29
rw
SEC28
rw
SEC27
rw
SEC26
rw
SEC25
rw
SEC24
rw
SEC23
rw
SEC22
rw
SEC21
rw
SEC20
rw
SEC19
rw
SEC18
rw
SEC17
rw
SEC16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC15
rw
SEC14
rw
SEC13
rw
SEC12
rw
SEC11
rw
SEC10
rw
SEC9
rw
SEC8
rw
SEC7
rw
SEC6
rw
SEC5
rw
SEC4
rw
SEC3
rw
SEC2
rw
SEC1
rw
SEC0
rw
Toggle fields

SEC0

Bit 0: Security enable on event input x.

SEC1

Bit 1: Security enable on event input x.

SEC2

Bit 2: Security enable on event input x.

SEC3

Bit 3: Security enable on event input x.

SEC4

Bit 4: Security enable on event input x.

SEC5

Bit 5: Security enable on event input x.

SEC6

Bit 6: Security enable on event input x.

SEC7

Bit 7: Security enable on event input x.

SEC8

Bit 8: Security enable on event input x.

SEC9

Bit 9: Security enable on event input x.

SEC10

Bit 10: Security enable on event input x.

SEC11

Bit 11: Security enable on event input x.

SEC12

Bit 12: Security enable on event input x.

SEC13

Bit 13: Security enable on event input x.

SEC14

Bit 14: Security enable on event input x.

SEC15

Bit 15: Security enable on event input x.

SEC16

Bit 16: Security enable on event input x.

SEC17

Bit 17: Security enable on event input x.

SEC18

Bit 18: Security enable on event input x.

SEC19

Bit 19: Security enable on event input x.

SEC20

Bit 20: Security enable on event input x.

SEC21

Bit 21: Security enable on event input x.

SEC22

Bit 22: Security enable on event input x.

SEC23

Bit 23: Security enable on event input x.

SEC24

Bit 24: Security enable on event input x.

SEC25

Bit 25: Security enable on event input x.

SEC26

Bit 26: Security enable on event input x.

SEC27

Bit 27: Security enable on event input x.

SEC28

Bit 28: Security enable on event input x.

SEC29

Bit 29: Security enable on event input x.

SEC30

Bit 30: Security enable on event input x.

SEC31

Bit 31: Security enable on event input x.

PRIVCFGR1

EXTI privilege configuration register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

32/32 fields covered.

Toggle fields

PRIV0

Bit 0: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV1

Bit 1: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV2

Bit 2: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV3

Bit 3: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV4

Bit 4: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV5

Bit 5: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV6

Bit 6: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV7

Bit 7: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV8

Bit 8: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV9

Bit 9: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV10

Bit 10: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV11

Bit 11: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV12

Bit 12: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV13

Bit 13: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV14

Bit 14: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV15

Bit 15: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV16

Bit 16: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV17

Bit 17: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV18

Bit 18: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV19

Bit 19: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV20

Bit 20: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV21

Bit 21: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV22

Bit 22: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV23

Bit 23: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV24

Bit 24: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV25

Bit 25: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV26

Bit 26: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV27

Bit 27: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV28

Bit 28: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV29

Bit 29: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV30

Bit 30: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV31

Bit 31: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

RTSR2

EXTI rising trigger selection register 2

Offset: 0x20, 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
RT53
rw
RT50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RT46
rw
Toggle fields

RT46

Bit 14: Rising trigger event configuration bit of configurable event input xless thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT50

Bit 18: Rising trigger event configuration bit of configurable event input xless thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT53

Bit 21: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

FTSR2

EXTI falling trigger selection register 2

Offset: 0x24, 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
FT53
rw
FT50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FT46
rw
Toggle fields

FT46

Bit 14: Falling trigger event configuration bit of configurable event input x less thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT50

Bit 18: Falling trigger event configuration bit of configurable event input x less thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT53

Bit 21: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

SWIER2

EXTI software interrupt event register 2

Offset: 0x28, 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
SWI53
rw
SWI50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWI46
rw
Toggle fields

SWI46

Bit 14: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI50

Bit 18: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI53

Bit 21: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

RPR2

EXTI rising edge pending register 2

Offset: 0x2c, 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
RPIF53
r/w1c
RPIF50
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIF46
r/w1c
Toggle fields

RPIF46

Bit 14: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF50

Bit 18: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF53

Bit 21: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPR2

EXTI falling edge pending register 2

Offset: 0x30, 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
FPIF53
r/w1c
FPIF50
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPIF46
r/w1c
Toggle fields

FPIF46

Bit 14: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF50

Bit 18: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF53

Bit 21: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

SECCFGR2

EXTI security configuration register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/26 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SEC57
rw
SEC56
rw
SEC55
rw
SEC54
rw
SEC53
rw
SEC52
rw
SEC51
rw
SEC50
rw
SEC49
rw
SEC48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC47
rw
SEC46
rw
SEC45
rw
SEC44
rw
SEC43
rw
SEC42
rw
SEC41
rw
SEC40
rw
SEC39
rw
SEC38
rw
SEC37
rw
SEC36
rw
SEC35
rw
SEC34
rw
SEC33
rw
SEC32
rw
Toggle fields

SEC32

Bit 0: Security enable on event input x.

SEC33

Bit 1: Security enable on event input x.

SEC34

Bit 2: Security enable on event input x.

SEC35

Bit 3: Security enable on event input x.

SEC36

Bit 4: Security enable on event input x.

SEC37

Bit 5: Security enable on event input x.

SEC38

Bit 6: Security enable on event input x.

SEC39

Bit 7: Security enable on event input x.

SEC40

Bit 8: Security enable on event input x.

SEC41

Bit 9: Security enable on event input x.

SEC42

Bit 10: Security enable on event input x.

SEC43

Bit 11: Security enable on event input x.

SEC44

Bit 12: Security enable on event input x.

SEC45

Bit 13: Security enable on event input x.

SEC46

Bit 14: Security enable on event input x.

SEC47

Bit 15: Security enable on event input x.

SEC48

Bit 16: Security enable on event input x.

SEC49

Bit 17: Security enable on event input x.

SEC50

Bit 18: Security enable on event input x.

SEC51

Bit 19: Security enable on event input x.

SEC52

Bit 20: Security enable on event input x.

SEC53

Bit 21: Security enable on event input x.

SEC54

Bit 22: Security enable on event input x.

SEC55

Bit 23: Security enable on event input x.

SEC56

Bit 24: Security enable on event input x.

SEC57

Bit 25: Security enable on event input x.

PRIVCFGR2

EXTI privilege configuration register 2

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

26/26 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIV57
rw
PRIV56
rw
PRIV55
rw
PRIV54
rw
PRIV53
rw
PRIV52
rw
PRIV51
rw
PRIV50
rw
PRIV49
rw
PRIV48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV47
rw
PRIV46
rw
PRIV45
rw
PRIV44
rw
PRIV43
rw
PRIV42
rw
PRIV41
rw
PRIV40
rw
PRIV39
rw
PRIV38
rw
PRIV37
rw
PRIV36
rw
PRIV35
rw
PRIV34
rw
PRIV33
rw
PRIV32
rw
Toggle fields

PRIV32

Bit 0: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV33

Bit 1: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV34

Bit 2: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV35

Bit 3: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV36

Bit 4: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV37

Bit 5: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV38

Bit 6: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV39

Bit 7: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV40

Bit 8: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV41

Bit 9: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV42

Bit 10: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV43

Bit 11: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV44

Bit 12: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV45

Bit 13: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV46

Bit 14: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV47

Bit 15: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV48

Bit 16: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV49

Bit 17: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV50

Bit 18: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV51

Bit 19: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV52

Bit 20: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV53

Bit 21: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV54

Bit 22: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV55

Bit 23: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV56

Bit 24: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV57

Bit 25: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

EXTICR1

EXTI external interrupt selection register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EXTI3
rw
EXTI2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI1
rw
EXTI0
rw
Toggle fields

EXTI0

Bits 0-7: EXTI0 GPIO port selection.

EXTI1

Bits 8-15: EXTI1 GPIO port selection.

EXTI2

Bits 16-23: EXTI2 GPIO port selection.

EXTI3

Bits 24-31: EXTI3 GPIO port selection.

EXTICR4

EXTI external interrupt selection register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EXTI15
rw
EXTI14
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI13
rw
EXTI12
rw
Toggle fields

EXTI12

Bits 0-7: EXTI12 GPIO port selection.

EXTI13

Bits 8-15: EXTI13 GPIO port selection.

EXTI14

Bits 16-23: EXTI14 GPIO port selection.

EXTI15

Bits 24-31: EXTI15 GPIO port selection.

EXTICR2

EXTI external interrupt selection register

Offset: 0x64, 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
EXTI7
rw
EXTI6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI5
rw
EXTI4
rw
Toggle fields

EXTI4

Bits 0-7: EXTI4 GPIO port selection.

EXTI5

Bits 8-15: EXTI5 GPIO port selection.

EXTI6

Bits 16-23: EXTI6 GPIO port selection.

EXTI7

Bits 24-31: EXTI7 GPIO port selection.

EXTICR3

EXTI external interrupt selection register

Offset: 0x68, 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
EXTI11
rw
EXTI10
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI9
rw
EXTI8
rw
Toggle fields

EXTI8

Bits 0-7: EXTI8 GPIO port selection.

EXTI9

Bits 8-15: EXTI9 GPIO port selection.

EXTI10

Bits 16-23: EXTI10 GPIO port selection.

EXTI11

Bits 24-31: EXTI11 GPIO port selection.

LOCKR

EXTI lock register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCK
rw
Toggle fields

LOCK

Bit 0: Global security and privilege configuration registers (EXTI_SECCFGR and EXTI_PRIVCFGR) lock.

IMR1

EXTI CPU wake-up with interrupt mask register

Offset: 0x80, size: 32, reset: 0xFFFE0000, access: read-write

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IM31
rw
IM30
rw
IM29
rw
IM28
rw
IM27
rw
IM26
rw
IM25
rw
IM24
rw
IM23
rw
IM22
rw
IM21
rw
IM20
rw
IM19
rw
IM18
rw
IM17
rw
IM16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IM15
rw
IM14
rw
IM13
rw
IM12
rw
IM11
rw
IM10
rw
IM9
rw
IM8
rw
IM7
rw
IM6
rw
IM5
rw
IM4
rw
IM3
rw
IM2
rw
IM1
rw
IM0
rw
Toggle fields

IM0

Bit 0: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM1

Bit 1: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM2

Bit 2: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM3

Bit 3: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM4

Bit 4: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM5

Bit 5: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM6

Bit 6: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM7

Bit 7: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM8

Bit 8: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM9

Bit 9: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM10

Bit 10: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM11

Bit 11: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM12

Bit 12: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM13

Bit 13: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM14

Bit 14: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM15

Bit 15: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM16

Bit 16: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM17

Bit 17: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM18

Bit 18: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM19

Bit 19: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM20

Bit 20: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM21

Bit 21: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM22

Bit 22: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM23

Bit 23: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM24

Bit 24: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM25

Bit 25: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM26

Bit 26: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM27

Bit 27: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM28

Bit 28: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM29

Bit 29: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM30

Bit 30: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM31

Bit 31: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

EMR1

EXTI CPU wake-up with event mask register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EM31
rw
EM30
rw
EM29
rw
EM28
rw
EM27
rw
EM26
rw
EM25
rw
EM24
rw
EM23
rw
EM22
rw
EM21
rw
EM20
rw
EM19
rw
EM18
rw
EM17
rw
EM16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EM15
rw
EM14
rw
EM13
rw
EM12
rw
EM11
rw
EM10
rw
EM9
rw
EM8
rw
EM7
rw
EM6
rw
EM5
rw
EM4
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle fields

EM0

Bit 0: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM1

Bit 1: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM2

Bit 2: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM3

Bit 3: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM4

Bit 4: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM5

Bit 5: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM6

Bit 6: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM7

Bit 7: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM8

Bit 8: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM9

Bit 9: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM10

Bit 10: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM11

Bit 11: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM12

Bit 12: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM13

Bit 13: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM14

Bit 14: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM15

Bit 15: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM16

Bit 16: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM17

Bit 17: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM18

Bit 18: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM19

Bit 19: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM20

Bit 20: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM21

Bit 21: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM22

Bit 22: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM23

Bit 23: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM24

Bit 24: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM25

Bit 25: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM26

Bit 26: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM27

Bit 27: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM28

Bit 28: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM29

Bit 29: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM30

Bit 30: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM31

Bit 31: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

IMR2

EXTI CPU wake-up with interrupt mask register 2

Offset: 0x90, size: 32, reset: 0x07DBBFFF, access: read-write

27/27 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IM58
rw
IM57
rw
IM56
rw
IM55
rw
IM54
rw
IM53
rw
IM52
rw
IM51
rw
IM50
rw
IM49
rw
IM48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IM47
rw
IM46
rw
IM45
rw
IM44
rw
IM43
rw
IM42
rw
IM41
rw
IM40
rw
IM39
rw
IM38
rw
IM37
rw
IM36
rw
IM35
rw
IM34
rw
IM33
rw
IM32
rw
Toggle fields

IM32

Bit 0: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM33

Bit 1: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM34

Bit 2: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM35

Bit 3: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM36

Bit 4: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM37

Bit 5: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM38

Bit 6: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM39

Bit 7: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM40

Bit 8: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM41

Bit 9: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM42

Bit 10: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM43

Bit 11: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM44

Bit 12: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM45

Bit 13: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM46

Bit 14: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM47

Bit 15: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM48

Bit 16: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM49

Bit 17: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM50

Bit 18: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM51

Bit 19: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM52

Bit 20: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM53

Bit 21: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM54

Bit 22: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM55

Bit 23: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM56

Bit 24: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM57

Bit 25: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM58

Bit 26: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

EMR2

EXTI CPU wake-up with event mask register 2

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

27/27 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EM58
rw
EM57
rw
EM56
rw
EM55
rw
EM54
rw
EM53
rw
EM52
rw
EM51
rw
EM50
rw
EM49
rw
EM48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EM47
rw
EM46
rw
EM45
rw
EM44
rw
EM43
rw
EM42
rw
EM41
rw
EM40
rw
EM39
rw
EM38
rw
EM37
rw
EM36
rw
EM35
rw
EM34
rw
EM33
rw
EM32
rw
Toggle fields

EM32

Bit 0: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM33

Bit 1: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM34

Bit 2: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM35

Bit 3: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM36

Bit 4: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM37

Bit 5: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM38

Bit 6: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM39

Bit 7: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM40

Bit 8: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM41

Bit 9: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM42

Bit 10: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM43

Bit 11: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM44

Bit 12: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM45

Bit 13: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM46

Bit 14: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM47

Bit 15: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM48

Bit 16: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM49

Bit 17: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM50

Bit 18: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM51

Bit 19: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM52

Bit 20: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM53

Bit 21: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM54

Bit 22: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM55

Bit 23: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM56

Bit 24: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM57

Bit 25: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM58

Bit 26: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EXTI_S

0x54022000: EXTI address block description

276/351 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 RTSR1
0x4 FTSR1
0x8 SWIER1
0xc RPR1
0x10 FPR1
0x14 SECCFGR1
0x18 PRIVCFGR1
0x20 RTSR2
0x24 FTSR2
0x28 SWIER2
0x2c RPR2
0x30 FPR2
0x34 SECCFGR2
0x38 PRIVCFGR2
0x60 EXTICR1
0x60 EXTICR4
0x64 EXTICR2
0x68 EXTICR3
0x70 LOCKR
0x80 IMR1
0x84 EMR1
0x90 IMR2
0x94 EMR2
Toggle registers

RTSR1

EXTI rising trigger selection register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RT16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RT15
rw
RT14
rw
RT13
rw
RT12
rw
RT11
rw
RT10
rw
RT9
rw
RT8
rw
RT7
rw
RT6
rw
RT5
rw
RT4
rw
RT3
rw
RT2
rw
RT1
rw
RT0
rw
Toggle fields

RT0

Bit 0: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT1

Bit 1: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT2

Bit 2: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT3

Bit 3: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT4

Bit 4: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT5

Bit 5: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT6

Bit 6: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT7

Bit 7: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT8

Bit 8: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT9

Bit 9: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT10

Bit 10: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT11

Bit 11: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT12

Bit 12: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT13

Bit 13: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT14

Bit 14: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT15

Bit 15: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT16

Bit 16: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

FTSR1

EXTI falling trigger selection register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FT16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FT15
rw
FT14
rw
FT13
rw
FT12
rw
FT11
rw
FT10
rw
FT9
rw
FT8
rw
FT7
rw
FT6
rw
FT5
rw
FT4
rw
FT3
rw
FT2
rw
FT1
rw
FT0
rw
Toggle fields

FT0

Bit 0: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT1

Bit 1: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT2

Bit 2: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT3

Bit 3: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT4

Bit 4: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT5

Bit 5: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT6

Bit 6: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT7

Bit 7: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT8

Bit 8: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT9

Bit 9: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT10

Bit 10: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT11

Bit 11: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT12

Bit 12: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT13

Bit 13: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT14

Bit 14: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT15

Bit 15: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT16

Bit 16: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

SWIER1

EXTI software interrupt event register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWI16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWI15
rw
SWI14
rw
SWI13
rw
SWI12
rw
SWI11
rw
SWI10
rw
SWI9
rw
SWI8
rw
SWI7
rw
SWI6
rw
SWI5
rw
SWI4
rw
SWI3
rw
SWI2
rw
SWI1
rw
SWI0
rw
Toggle fields

SWI0

Bit 0: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI1

Bit 1: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI2

Bit 2: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI3

Bit 3: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI4

Bit 4: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI5

Bit 5: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI6

Bit 6: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI7

Bit 7: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI8

Bit 8: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI9

Bit 9: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI10

Bit 10: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI11

Bit 11: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI12

Bit 12: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI13

Bit 13: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI14

Bit 14: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI15

Bit 15: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI16

Bit 16: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

RPR1

EXTI rising edge pending register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RPIF16
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIF15
r/w1c
RPIF14
r/w1c
RPIF13
r/w1c
RPIF12
r/w1c
RPIF11
r/w1c
RPIF10
r/w1c
RPIF9
r/w1c
RPIF8
r/w1c
RPIF7
r/w1c
RPIF6
r/w1c
RPIF5
r/w1c
RPIF4
r/w1c
RPIF3
r/w1c
RPIF2
r/w1c
RPIF1
r/w1c
RPIF0
r/w1c
Toggle fields

RPIF0

Bit 0: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF1

Bit 1: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF2

Bit 2: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF3

Bit 3: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF4

Bit 4: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF5

Bit 5: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF6

Bit 6: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF7

Bit 7: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF8

Bit 8: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF9

Bit 9: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF10

Bit 10: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF11

Bit 11: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF12

Bit 12: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF13

Bit 13: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF14

Bit 14: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF15

Bit 15: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF16

Bit 16: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPR1

EXTI falling edge pending register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FPIF16
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPIF15
r/w1c
FPIF14
r/w1c
FPIF13
r/w1c
FPIF12
r/w1c
FPIF11
r/w1c
FPIF10
r/w1c
FPIF9
r/w1c
FPIF8
r/w1c
FPIF7
r/w1c
FPIF6
r/w1c
FPIF5
r/w1c
FPIF4
r/w1c
FPIF3
r/w1c
FPIF2
r/w1c
FPIF1
r/w1c
FPIF0
r/w1c
Toggle fields

FPIF0

Bit 0: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF1

Bit 1: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF2

Bit 2: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF3

Bit 3: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF4

Bit 4: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF5

Bit 5: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF6

Bit 6: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF7

Bit 7: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF8

Bit 8: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF9

Bit 9: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF10

Bit 10: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF11

Bit 11: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF12

Bit 12: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF13

Bit 13: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF14

Bit 14: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF15

Bit 15: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF16

Bit 16: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

SECCFGR1

EXTI security configuration register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SEC31
rw
SEC30
rw
SEC29
rw
SEC28
rw
SEC27
rw
SEC26
rw
SEC25
rw
SEC24
rw
SEC23
rw
SEC22
rw
SEC21
rw
SEC20
rw
SEC19
rw
SEC18
rw
SEC17
rw
SEC16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC15
rw
SEC14
rw
SEC13
rw
SEC12
rw
SEC11
rw
SEC10
rw
SEC9
rw
SEC8
rw
SEC7
rw
SEC6
rw
SEC5
rw
SEC4
rw
SEC3
rw
SEC2
rw
SEC1
rw
SEC0
rw
Toggle fields

SEC0

Bit 0: Security enable on event input x.

SEC1

Bit 1: Security enable on event input x.

SEC2

Bit 2: Security enable on event input x.

SEC3

Bit 3: Security enable on event input x.

SEC4

Bit 4: Security enable on event input x.

SEC5

Bit 5: Security enable on event input x.

SEC6

Bit 6: Security enable on event input x.

SEC7

Bit 7: Security enable on event input x.

SEC8

Bit 8: Security enable on event input x.

SEC9

Bit 9: Security enable on event input x.

SEC10

Bit 10: Security enable on event input x.

SEC11

Bit 11: Security enable on event input x.

SEC12

Bit 12: Security enable on event input x.

SEC13

Bit 13: Security enable on event input x.

SEC14

Bit 14: Security enable on event input x.

SEC15

Bit 15: Security enable on event input x.

SEC16

Bit 16: Security enable on event input x.

SEC17

Bit 17: Security enable on event input x.

SEC18

Bit 18: Security enable on event input x.

SEC19

Bit 19: Security enable on event input x.

SEC20

Bit 20: Security enable on event input x.

SEC21

Bit 21: Security enable on event input x.

SEC22

Bit 22: Security enable on event input x.

SEC23

Bit 23: Security enable on event input x.

SEC24

Bit 24: Security enable on event input x.

SEC25

Bit 25: Security enable on event input x.

SEC26

Bit 26: Security enable on event input x.

SEC27

Bit 27: Security enable on event input x.

SEC28

Bit 28: Security enable on event input x.

SEC29

Bit 29: Security enable on event input x.

SEC30

Bit 30: Security enable on event input x.

SEC31

Bit 31: Security enable on event input x.

PRIVCFGR1

EXTI privilege configuration register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

32/32 fields covered.

Toggle fields

PRIV0

Bit 0: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV1

Bit 1: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV2

Bit 2: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV3

Bit 3: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV4

Bit 4: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV5

Bit 5: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV6

Bit 6: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV7

Bit 7: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV8

Bit 8: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV9

Bit 9: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV10

Bit 10: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV11

Bit 11: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV12

Bit 12: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV13

Bit 13: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV14

Bit 14: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV15

Bit 15: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV16

Bit 16: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV17

Bit 17: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV18

Bit 18: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV19

Bit 19: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV20

Bit 20: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV21

Bit 21: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV22

Bit 22: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV23

Bit 23: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV24

Bit 24: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV25

Bit 25: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV26

Bit 26: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV27

Bit 27: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV28

Bit 28: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV29

Bit 29: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV30

Bit 30: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV31

Bit 31: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

RTSR2

EXTI rising trigger selection register 2

Offset: 0x20, 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
RT53
rw
RT50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RT46
rw
Toggle fields

RT46

Bit 14: Rising trigger event configuration bit of configurable event input xless thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT50

Bit 18: Rising trigger event configuration bit of configurable event input xless thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

RT53

Bit 21: Rising trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

FTSR2

EXTI falling trigger selection register 2

Offset: 0x24, 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
FT53
rw
FT50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FT46
rw
Toggle fields

FT46

Bit 14: Falling trigger event configuration bit of configurable event input x less thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT50

Bit 18: Falling trigger event configuration bit of configurable event input x less thansup>(1)less than/sup>.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

FT53

Bit 21: Falling trigger event configuration bit of configurable event input x.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

SWIER2

EXTI software interrupt event register 2

Offset: 0x28, 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
SWI53
rw
SWI50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWI46
rw
Toggle fields

SWI46

Bit 14: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI50

Bit 18: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

SWI53

Bit 21: Software interrupt on event x.

Allowed values:
1: Pend: Generates an interrupt request

RPR2

EXTI rising edge pending register 2

Offset: 0x2c, 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
RPIF53
r/w1c
RPIF50
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIF46
r/w1c
Toggle fields

RPIF46

Bit 14: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF50

Bit 18: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

RPIF53

Bit 21: configurable event inputs x rising edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPR2

EXTI falling edge pending register 2

Offset: 0x30, 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
FPIF53
r/w1c
FPIF50
r/w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPIF46
r/w1c
Toggle fields

FPIF46

Bit 14: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF50

Bit 18: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FPIF53

Bit 21: configurable event inputs x falling edge pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

SECCFGR2

EXTI security configuration register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/26 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SEC57
rw
SEC56
rw
SEC55
rw
SEC54
rw
SEC53
rw
SEC52
rw
SEC51
rw
SEC50
rw
SEC49
rw
SEC48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC47
rw
SEC46
rw
SEC45
rw
SEC44
rw
SEC43
rw
SEC42
rw
SEC41
rw
SEC40
rw
SEC39
rw
SEC38
rw
SEC37
rw
SEC36
rw
SEC35
rw
SEC34
rw
SEC33
rw
SEC32
rw
Toggle fields

SEC32

Bit 0: Security enable on event input x.

SEC33

Bit 1: Security enable on event input x.

SEC34

Bit 2: Security enable on event input x.

SEC35

Bit 3: Security enable on event input x.

SEC36

Bit 4: Security enable on event input x.

SEC37

Bit 5: Security enable on event input x.

SEC38

Bit 6: Security enable on event input x.

SEC39

Bit 7: Security enable on event input x.

SEC40

Bit 8: Security enable on event input x.

SEC41

Bit 9: Security enable on event input x.

SEC42

Bit 10: Security enable on event input x.

SEC43

Bit 11: Security enable on event input x.

SEC44

Bit 12: Security enable on event input x.

SEC45

Bit 13: Security enable on event input x.

SEC46

Bit 14: Security enable on event input x.

SEC47

Bit 15: Security enable on event input x.

SEC48

Bit 16: Security enable on event input x.

SEC49

Bit 17: Security enable on event input x.

SEC50

Bit 18: Security enable on event input x.

SEC51

Bit 19: Security enable on event input x.

SEC52

Bit 20: Security enable on event input x.

SEC53

Bit 21: Security enable on event input x.

SEC54

Bit 22: Security enable on event input x.

SEC55

Bit 23: Security enable on event input x.

SEC56

Bit 24: Security enable on event input x.

SEC57

Bit 25: Security enable on event input x.

PRIVCFGR2

EXTI privilege configuration register 2

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

26/26 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIV57
rw
PRIV56
rw
PRIV55
rw
PRIV54
rw
PRIV53
rw
PRIV52
rw
PRIV51
rw
PRIV50
rw
PRIV49
rw
PRIV48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV47
rw
PRIV46
rw
PRIV45
rw
PRIV44
rw
PRIV43
rw
PRIV42
rw
PRIV41
rw
PRIV40
rw
PRIV39
rw
PRIV38
rw
PRIV37
rw
PRIV36
rw
PRIV35
rw
PRIV34
rw
PRIV33
rw
PRIV32
rw
Toggle fields

PRIV32

Bit 0: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV33

Bit 1: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV34

Bit 2: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV35

Bit 3: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV36

Bit 4: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV37

Bit 5: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV38

Bit 6: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV39

Bit 7: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV40

Bit 8: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV41

Bit 9: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV42

Bit 10: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV43

Bit 11: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV44

Bit 12: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV45

Bit 13: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV46

Bit 14: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV47

Bit 15: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV48

Bit 16: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV49

Bit 17: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV50

Bit 18: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV51

Bit 19: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV52

Bit 20: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV53

Bit 21: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV54

Bit 22: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV55

Bit 23: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV56

Bit 24: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

PRIV57

Bit 25: Security enable on event input x.

Allowed values:
0: Unprivileged: Event privilege disabled
1: Privileged: Event privilege enabled

EXTICR1

EXTI external interrupt selection register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EXTI3
rw
EXTI2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI1
rw
EXTI0
rw
Toggle fields

EXTI0

Bits 0-7: EXTI0 GPIO port selection.

EXTI1

Bits 8-15: EXTI1 GPIO port selection.

EXTI2

Bits 16-23: EXTI2 GPIO port selection.

EXTI3

Bits 24-31: EXTI3 GPIO port selection.

EXTICR4

EXTI external interrupt selection register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EXTI15
rw
EXTI14
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI13
rw
EXTI12
rw
Toggle fields

EXTI12

Bits 0-7: EXTI12 GPIO port selection.

EXTI13

Bits 8-15: EXTI13 GPIO port selection.

EXTI14

Bits 16-23: EXTI14 GPIO port selection.

EXTI15

Bits 24-31: EXTI15 GPIO port selection.

EXTICR2

EXTI external interrupt selection register

Offset: 0x64, 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
EXTI7
rw
EXTI6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI5
rw
EXTI4
rw
Toggle fields

EXTI4

Bits 0-7: EXTI4 GPIO port selection.

EXTI5

Bits 8-15: EXTI5 GPIO port selection.

EXTI6

Bits 16-23: EXTI6 GPIO port selection.

EXTI7

Bits 24-31: EXTI7 GPIO port selection.

EXTICR3

EXTI external interrupt selection register

Offset: 0x68, 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
EXTI11
rw
EXTI10
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXTI9
rw
EXTI8
rw
Toggle fields

EXTI8

Bits 0-7: EXTI8 GPIO port selection.

EXTI9

Bits 8-15: EXTI9 GPIO port selection.

EXTI10

Bits 16-23: EXTI10 GPIO port selection.

EXTI11

Bits 24-31: EXTI11 GPIO port selection.

LOCKR

EXTI lock register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCK
rw
Toggle fields

LOCK

Bit 0: Global security and privilege configuration registers (EXTI_SECCFGR and EXTI_PRIVCFGR) lock.

IMR1

EXTI CPU wake-up with interrupt mask register

Offset: 0x80, size: 32, reset: 0xFFFE0000, access: read-write

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IM31
rw
IM30
rw
IM29
rw
IM28
rw
IM27
rw
IM26
rw
IM25
rw
IM24
rw
IM23
rw
IM22
rw
IM21
rw
IM20
rw
IM19
rw
IM18
rw
IM17
rw
IM16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IM15
rw
IM14
rw
IM13
rw
IM12
rw
IM11
rw
IM10
rw
IM9
rw
IM8
rw
IM7
rw
IM6
rw
IM5
rw
IM4
rw
IM3
rw
IM2
rw
IM1
rw
IM0
rw
Toggle fields

IM0

Bit 0: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM1

Bit 1: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM2

Bit 2: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM3

Bit 3: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM4

Bit 4: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM5

Bit 5: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM6

Bit 6: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM7

Bit 7: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM8

Bit 8: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM9

Bit 9: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM10

Bit 10: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM11

Bit 11: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM12

Bit 12: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM13

Bit 13: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM14

Bit 14: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM15

Bit 15: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM16

Bit 16: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM17

Bit 17: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM18

Bit 18: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM19

Bit 19: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM20

Bit 20: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM21

Bit 21: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM22

Bit 22: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM23

Bit 23: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM24

Bit 24: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM25

Bit 25: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM26

Bit 26: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM27

Bit 27: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM28

Bit 28: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM29

Bit 29: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM30

Bit 30: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM31

Bit 31: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

EMR1

EXTI CPU wake-up with event mask register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EM31
rw
EM30
rw
EM29
rw
EM28
rw
EM27
rw
EM26
rw
EM25
rw
EM24
rw
EM23
rw
EM22
rw
EM21
rw
EM20
rw
EM19
rw
EM18
rw
EM17
rw
EM16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EM15
rw
EM14
rw
EM13
rw
EM12
rw
EM11
rw
EM10
rw
EM9
rw
EM8
rw
EM7
rw
EM6
rw
EM5
rw
EM4
rw
EM3
rw
EM2
rw
EM1
rw
EM0
rw
Toggle fields

EM0

Bit 0: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM1

Bit 1: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM2

Bit 2: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM3

Bit 3: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM4

Bit 4: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM5

Bit 5: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM6

Bit 6: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM7

Bit 7: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM8

Bit 8: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM9

Bit 9: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM10

Bit 10: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM11

Bit 11: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM12

Bit 12: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM13

Bit 13: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM14

Bit 14: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM15

Bit 15: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM16

Bit 16: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM17

Bit 17: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM18

Bit 18: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM19

Bit 19: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM20

Bit 20: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM21

Bit 21: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM22

Bit 22: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM23

Bit 23: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM24

Bit 24: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM25

Bit 25: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM26

Bit 26: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM27

Bit 27: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM28

Bit 28: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM29

Bit 29: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM30

Bit 30: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM31

Bit 31: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

IMR2

EXTI CPU wake-up with interrupt mask register 2

Offset: 0x90, size: 32, reset: 0x07DBBFFF, access: read-write

27/27 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IM58
rw
IM57
rw
IM56
rw
IM55
rw
IM54
rw
IM53
rw
IM52
rw
IM51
rw
IM50
rw
IM49
rw
IM48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IM47
rw
IM46
rw
IM45
rw
IM44
rw
IM43
rw
IM42
rw
IM41
rw
IM40
rw
IM39
rw
IM38
rw
IM37
rw
IM36
rw
IM35
rw
IM34
rw
IM33
rw
IM32
rw
Toggle fields

IM32

Bit 0: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM33

Bit 1: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM34

Bit 2: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM35

Bit 3: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM36

Bit 4: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM37

Bit 5: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM38

Bit 6: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM39

Bit 7: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM40

Bit 8: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM41

Bit 9: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM42

Bit 10: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM43

Bit 11: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM44

Bit 12: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM45

Bit 13: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM46

Bit 14: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM47

Bit 15: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM48

Bit 16: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM49

Bit 17: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM50

Bit 18: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM51

Bit 19: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM52

Bit 20: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM53

Bit 21: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM54

Bit 22: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM55

Bit 23: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM56

Bit 24: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM57

Bit 25: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

IM58

Bit 26: CPU wake-up with interrupt mask on event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

EMR2

EXTI CPU wake-up with event mask register 2

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

27/27 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EM58
rw
EM57
rw
EM56
rw
EM55
rw
EM54
rw
EM53
rw
EM52
rw
EM51
rw
EM50
rw
EM49
rw
EM48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EM47
rw
EM46
rw
EM45
rw
EM44
rw
EM43
rw
EM42
rw
EM41
rw
EM40
rw
EM39
rw
EM38
rw
EM37
rw
EM36
rw
EM35
rw
EM34
rw
EM33
rw
EM32
rw
Toggle fields

EM32

Bit 0: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM33

Bit 1: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM34

Bit 2: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM35

Bit 3: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM36

Bit 4: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM37

Bit 5: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM38

Bit 6: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM39

Bit 7: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM40

Bit 8: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM41

Bit 9: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM42

Bit 10: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM43

Bit 11: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM44

Bit 12: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM45

Bit 13: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM46

Bit 14: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM47

Bit 15: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM48

Bit 16: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM49

Bit 17: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM50

Bit 18: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM51

Bit 19: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM52

Bit 20: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM53

Bit 21: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM54

Bit 22: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM55

Bit 23: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM56

Bit 24: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM57

Bit 25: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

EM58

Bit 26: CPU wake-up with event generation mask on event input x.

Allowed values:
0: Masked: Event request line is masked
1: Unmasked: Event request line is unmasked

FDCAN1

0x4000a400: FDCAN register blank and RAM

44/160 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CREL
0x4 ENDN
0xc DBTP
0x10 TEST
0x14 RWD
0x18 CCCR
0x1c NBTP
0x20 TSCC
0x24 TSCV
0x28 TOCC
0x2c TOCV
0x40 ECR
0x44 PSR
0x48 TDCR
0x50 IR
0x54 IE
0x58 ILS
0x5c ILE
0x80 RXGFC
0x84 XIDAM
0x88 HPMS
0x90 RXF0S
0x94 RXF0A
0x98 RXF1S
0x9c RXF1A
0xc0 TXBC
0xc4 TXFQS
0xc8 TXBRP
0xcc TXBAR
0xd0 TXBCR
0xd4 TXBTO
0xd8 TXBCF
0xdc TXBTIE
0xe0 TXBCIE
0xe4 TXEFS
0xe8 TXEFA
0x100 CKDIV
Toggle registers

CREL

FDCAN core release register

Offset: 0x0, size: 32, reset: 0x32141218, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REL
r
STEP
r
SUBSTEP
r
YEAR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MON
r
DAY
r
Toggle fields

DAY

Bits 0-7: 18.

MON

Bits 8-15: 12.

YEAR

Bits 16-19: 4.

SUBSTEP

Bits 20-23: 1.

STEP

Bits 24-27: 2.

REL

Bits 28-31: 3.

ENDN

FDCAN endian register

Offset: 0x4, size: 32, reset: 0x87654321, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETV
r
Toggle fields

ETV

Bits 0-31: Endianness test value.

DBTP

FDCAN data bit timing and prescaler register

Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDC
rw
DBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTSEG1
rw
DTSEG2
rw
DSJW
rw
Toggle fields

DSJW

Bits 0-3: Synchronization jump width.

DTSEG2

Bits 4-7: Data time segment after sample point.

DTSEG1

Bits 8-12: Data time segment before sample point.

DBRP

Bits 16-20: Data bit rate prescaler.

TDC

Bit 23: Transceiver delay compensation.

TEST

FDCAN test register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
r
TX
rw
LBCK
rw
Toggle fields

LBCK

Bit 4: Loop back mode.

TX

Bits 5-6: Control of transmit pin.

RX

Bit 7: Receive pin.

RWD

FDCAN RAM watchdog register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDV
r
WDC
rw
Toggle fields

WDC

Bits 0-7: Watchdog configuration.

WDV

Bits 8-15: Watchdog value.

CCCR

FDCAN CC control register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/14 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NISO
rw
TXP
rw
EFBI
rw
PXHD
rw
BRSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
r
ASM
rw
CCE
rw
INIT
rw
Toggle fields

INIT

Bit 0: Initialization.

CCE

Bit 1: Configuration change enable.

ASM

Bit 2: ASM restricted operation mode.

CSA

Bit 3: Clock stop acknowledge.

CSR

Bit 4: Clock stop request.

MON

Bit 5: Bus monitoring mode.

DAR

Bit 6: Disable automatic retransmission.

TEST

Bit 7: Test mode enable.

FDOE

Bit 8: FD operation enable.

BRSE

Bit 9: FDCAN bit rate switching.

PXHD

Bit 12: Protocol exception handling disable.

EFBI

Bit 13: Edge filtering during bus integration.

TXP

Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..

NISO

Bit 15: Non ISO operation.

NBTP

FDCAN nominal bit timing and prescaler register

Offset: 0x1c, size: 32, reset: 0x06000A03, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NSJW
rw
NBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTSEG1
rw
NTSEG2
rw
Toggle fields

NTSEG2

Bits 0-6: Nominal time segment after sample point.

NTSEG1

Bits 8-15: Nominal time segment before sample point.

NBRP

Bits 16-24: Bit rate prescaler.

NSJW

Bits 25-31: Nominal (re)synchronization jump width.

TSCC

FDCAN timestamp counter configuration register

Offset: 0x20, 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
TCP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle fields

TSS

Bits 0-1: Timestamp select.

TCP

Bits 16-19: Timestamp counter prescaler.

TSCV

FDCAN timestamp counter value register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSC
rw
Toggle fields

TSC

Bits 0-15: Timestamp counter.

TOCC

FDCAN timeout counter configuration register

Offset: 0x28, size: 32, reset: 0xFFFF0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOS
rw
ETOC
rw
Toggle fields

ETOC

Bit 0: Timeout counter enable.

TOS

Bits 1-2: Timeout select.

TOP

Bits 16-31: Timeout period.

TOCV

FDCAN timeout counter value register

Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
rw
Toggle fields

TOC

Bits 0-15: Timeout counter.

ECR

FDCAN error counter register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

3/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
r
REC
r
TEC
r
Toggle fields

TEC

Bits 0-7: Transmit error counter.

REC

Bits 8-14: Receive error counter.

RP

Bit 15: Receive error passive.

CEL

Bits 16-23: CAN error logging.

PSR

FDCAN protocol status register

Offset: 0x44, size: 32, reset: 0x00000707, access: read-write

5/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDCV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PXE
rw
REDL
rw
RBRS
rw
RESI
rw
DLEC
rw
BO
r
EW
r
EP
r
ACT
r
LEC
rw
Toggle fields

LEC

Bits 0-2: Last error code.

ACT

Bits 3-4: Activity.

EP

Bit 5: Error passive.

EW

Bit 6: Warning Sstatus.

BO

Bit 7: Bus_Off status.

DLEC

Bits 8-10: Data last error code.

RESI

Bit 11: ESI flag of last received FDCAN message.

RBRS

Bit 12: BRS flag of last received FDCAN message.

REDL

Bit 13: Received FDCAN message.

PXE

Bit 14: Protocol exception event.

TDCV

Bits 16-22: Transmitter delay compensation value.

TDCR

FDCAN transmitter delay compensation register

Offset: 0x48, 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
TDCO
rw
TDCF
rw
Toggle fields

TDCF

Bits 0-6: Transmitter delay compensation filter window length.

TDCO

Bits 8-14: Transmitter delay compensation offset.

IR

FDCAN interrupt register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARA
rw
PED
rw
PEA
rw
WDI
rw
BO
rw
EW
rw
EP
rw
ELO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOO
rw
MRAF
rw
TSW
rw
TEFL
rw
TEFF
rw
TEFN
rw
TFE
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0N
rw
Toggle fields

RF0N

Bit 0: Rx FIFO 0 new message.

RF0F

Bit 1: Rx FIFO 0 full.

RF0L

Bit 2: Rx FIFO 0 message lost.

RF1N

Bit 3: Rx FIFO 1 new message.

RF1F

Bit 4: Rx FIFO 1 full.

RF1L

Bit 5: Rx FIFO 1 message lost.

HPM

Bit 6: High-priority message.

TC

Bit 7: Transmission completed.

TCF

Bit 8: Transmission cancellation finished.

TFE

Bit 9: Tx FIFO empty.

TEFN

Bit 10: Tx event FIFO New Entry.

TEFF

Bit 11: Tx event FIFO full.

TEFL

Bit 12: Tx event FIFO element lost.

TSW

Bit 13: Timestamp wraparound.

MRAF

Bit 14: Message RAM access failure.

TOO

Bit 15: Timeout occurred.

ELO

Bit 16: Error logging overflow.

EP

Bit 17: Error passive.

EW

Bit 18: Warning status.

BO

Bit 19: Bus_Off status.

WDI

Bit 20: Watchdog interrupt.

PEA

Bit 21: Protocol error in arbitration phase (nominal bit time is used).

PED

Bit 22: Protocol error in data phase (data bit time is used).

ARA

Bit 23: Access to reserved address.

IE

FDCAN interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAE
rw
PEDE
rw
PEAE
rw
WDIE
rw
BOE
rw
EWE
rw
EPE
rw
ELOE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOOE
rw
MRAFE
rw
TSWE
rw
TEFLE
rw
TEFFE
rw
TEFNE
rw
TFEE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0NE
rw
Toggle fields

RF0NE

Bit 0: Rx FIFO 0 new message interrupt enable.

RF0FE

Bit 1: Rx FIFO 0 full interrupt enable.

RF0LE

Bit 2: Rx FIFO 0 message lost interrupt enable.

RF1NE

Bit 3: Rx FIFO 1 new message interrupt enable.

RF1FE

Bit 4: Rx FIFO 1 full interrupt enable.

RF1LE

Bit 5: Rx FIFO 1 message lost interrupt enable.

HPME

Bit 6: High-priority message interrupt enable.

TCE

Bit 7: Transmission completed interrupt enable.

TCFE

Bit 8: Transmission cancellation finished interrupt enable.

TFEE

Bit 9: Tx FIFO empty interrupt enable.

TEFNE

Bit 10: Tx event FIFO new entry interrupt enable.

TEFFE

Bit 11: Tx event FIFO full interrupt enable.

TEFLE

Bit 12: Tx event FIFO element lost interrupt enable.

TSWE

Bit 13: Timestamp wraparound interrupt enable.

MRAFE

Bit 14: Message RAM access failure interrupt enable.

TOOE

Bit 15: Timeout occurred interrupt enable.

ELOE

Bit 16: Error logging overflow interrupt enable.

EPE

Bit 17: Error passive interrupt enable.

EWE

Bit 18: Warning status interrupt enable.

BOE

Bit 19: Bus_Off status.

WDIE

Bit 20: Watchdog interrupt enable.

PEAE

Bit 21: Protocol error in arbitration phase enable.

PEDE

Bit 22: Protocol error in data phase enable.

ARAE

Bit 23: Access to reserved address enable.

ILS

FDCAN interrupt line select register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERR
rw
BERR
rw
MISC
rw
TFERR
rw
SMSG
rw
RXFIFO1
rw
RXFIFO0
rw
Toggle fields

RXFIFO0

Bit 0: RX FIFO bit grouping the following interruption.

RXFIFO1

Bit 1: RX FIFO bit grouping the following interruption.

SMSG

Bit 2: Status message bit grouping the following interruption.

TFERR

Bit 3: Tx FIFO ERROR grouping the following interruption.

MISC

Bit 4: Interrupt regrouping the following interruption.

BERR

Bit 5: Bit and line error grouping the following interruption.

PERR

Bit 6: Protocol error grouping the following interruption.

ILE

FDCAN interrupt line enable register

Offset: 0x5c, 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
EINT1
rw
EINT0
rw
Toggle fields

EINT0

Bit 0: Enable interrupt line 0.

EINT1

Bit 1: Enable interrupt line 1.

RXGFC

FDCAN global filter configuration register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LSE
rw
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0OM
rw
F1OM
rw
ANFS
rw
ANFE
rw
RRFS
rw
RRFE
rw
Toggle fields

RRFE

Bit 0: Reject remote frames extended.

RRFS

Bit 1: Reject remote frames standard.

ANFE

Bits 2-3: Accept non-matching frames extended.

ANFS

Bits 4-5: Accept Non-matching frames standard.

F1OM

Bit 8: FIFO 1 operation mode (overwrite or blocking).

F0OM

Bit 9: FIFO 0 operation mode (overwrite or blocking).

LSS

Bits 16-20: List size standard.

LSE

Bits 24-27: List size extended.

XIDAM

FDCAN extended ID and mask register

Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIDM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EIDM
rw
Toggle fields

EIDM

Bits 0-28: Extended ID mask.

HPMS

FDCAN high-priority message status register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLST
r
FIDX
r
MSI
r
BIDX
r
Toggle fields

BIDX

Bits 0-2: Buffer index.

MSI

Bits 6-7: Message storage indicator.

FIDX

Bits 8-12: Filter index.

FLST

Bit 15: Filter list.

RXF0S

FDCAN Rx FIFO 0 status register

Offset: 0x90, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF0L
r
F0F
r
F0PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
r
F0FL
r
Toggle fields

F0FL

Bits 0-3: Rx FIFO 0 fill level.

F0GI

Bits 8-9: Rx FIFO 0 get index.

F0PI

Bits 16-17: Rx FIFO 0 put index.

F0F

Bit 24: Rx FIFO 0 full.

RF0L

Bit 25: Rx FIFO 0 message lost.

RXF0A

CAN Rx FIFO 0 acknowledge register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0AI
rw
Toggle fields

F0AI

Bits 0-2: Rx FIFO 0 acknowledge index.

RXF1S

FDCAN Rx FIFO 1 status register

Offset: 0x98, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF1L
r
F1F
r
F1PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
r
F1FL
r
Toggle fields

F1FL

Bits 0-3: Rx FIFO 1 fill level.

F1GI

Bits 8-9: Rx FIFO 1 get index.

F1PI

Bits 16-17: Rx FIFO 1 put index.

F1F

Bit 24: Rx FIFO 1 full.

RF1L

Bit 25: Rx FIFO 1 message lost.

RXF1A

FDCAN Rx FIFO 1 acknowledge register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1AI
rw
Toggle fields

F1AI

Bits 0-2: Rx FIFO 1 acknowledge index.

TXBC

FDCAN Tx buffer configuration register

Offset: 0xc0, 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
TFQM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TFQM

Bit 24: Tx FIFO/queue mode.

TXFQS

FDCAN Tx FIFO/queue status register

Offset: 0xc4, size: 32, reset: 0x00000003, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TFQF
r
TFQPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TFGI
r
TFFL
r
Toggle fields

TFFL

Bits 0-2: Tx FIFO free level.

TFGI

Bits 8-9: Tx FIFO get index.

TFQPI

Bits 16-17: Tx FIFO/queue put index.

TFQF

Bit 21: Tx FIFO/queue full.

TXBRP

FDCAN Tx buffer request pending register

Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
r
Toggle fields

TRP

Bits 0-2: Transmission request pending.

TXBAR

FDCAN Tx buffer add request register

Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle fields

AR

Bits 0-2: Add request.

TXBCR

FDCAN Tx buffer cancellation request register

Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle fields

CR

Bits 0-2: Cancellation request.

TXBTO

FDCAN Tx buffer transmission occurred register

Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
r
Toggle fields

TO

Bits 0-2: Transmission occurred..

TXBCF

FDCAN Tx buffer cancellation finished register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
r
Toggle fields

CF

Bits 0-2: Cancellation finished.

TXBTIE

FDCAN Tx buffer transmission interrupt enable register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle fields

TIE

Bits 0-2: Transmission interrupt enable.

TXBCIE

FDCAN Tx buffer cancellation finished interrupt enable register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFIE
rw
Toggle fields

CFIE

Bits 0-2: Cancellation finished interrupt enable..

TXEFS

FDCAN Tx event FIFO status register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEFL
r
EFF
r
EFPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
r
EFFL
r
Toggle fields

EFFL

Bits 0-2: Event FIFO fill level.

EFGI

Bits 8-9: Event FIFO get index.

EFPI

Bits 16-17: Event FIFO put index.

EFF

Bit 24: Event FIFO full.

TEFL

Bit 25: Tx event FIFO element lost.

TXEFA

FDCAN Tx event FIFO acknowledge register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFAI
rw
Toggle fields

EFAI

Bits 0-1: Event FIFO acknowledge index.

CKDIV

FDCAN CFG clock divider register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PDIV
rw
Toggle fields

PDIV

Bits 0-3: input clock divider.

FDCAN1_S

0x5000a400: FDCAN register blank and RAM

44/160 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CREL
0x4 ENDN
0xc DBTP
0x10 TEST
0x14 RWD
0x18 CCCR
0x1c NBTP
0x20 TSCC
0x24 TSCV
0x28 TOCC
0x2c TOCV
0x40 ECR
0x44 PSR
0x48 TDCR
0x50 IR
0x54 IE
0x58 ILS
0x5c ILE
0x80 RXGFC
0x84 XIDAM
0x88 HPMS
0x90 RXF0S
0x94 RXF0A
0x98 RXF1S
0x9c RXF1A
0xc0 TXBC
0xc4 TXFQS
0xc8 TXBRP
0xcc TXBAR
0xd0 TXBCR
0xd4 TXBTO
0xd8 TXBCF
0xdc TXBTIE
0xe0 TXBCIE
0xe4 TXEFS
0xe8 TXEFA
0x100 CKDIV
Toggle registers

CREL

FDCAN core release register

Offset: 0x0, size: 32, reset: 0x32141218, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REL
r
STEP
r
SUBSTEP
r
YEAR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MON
r
DAY
r
Toggle fields

DAY

Bits 0-7: 18.

MON

Bits 8-15: 12.

YEAR

Bits 16-19: 4.

SUBSTEP

Bits 20-23: 1.

STEP

Bits 24-27: 2.

REL

Bits 28-31: 3.

ENDN

FDCAN endian register

Offset: 0x4, size: 32, reset: 0x87654321, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETV
r
Toggle fields

ETV

Bits 0-31: Endianness test value.

DBTP

FDCAN data bit timing and prescaler register

Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDC
rw
DBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTSEG1
rw
DTSEG2
rw
DSJW
rw
Toggle fields

DSJW

Bits 0-3: Synchronization jump width.

DTSEG2

Bits 4-7: Data time segment after sample point.

DTSEG1

Bits 8-12: Data time segment before sample point.

DBRP

Bits 16-20: Data bit rate prescaler.

TDC

Bit 23: Transceiver delay compensation.

TEST

FDCAN test register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
r
TX
rw
LBCK
rw
Toggle fields

LBCK

Bit 4: Loop back mode.

TX

Bits 5-6: Control of transmit pin.

RX

Bit 7: Receive pin.

RWD

FDCAN RAM watchdog register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDV
r
WDC
rw
Toggle fields

WDC

Bits 0-7: Watchdog configuration.

WDV

Bits 8-15: Watchdog value.

CCCR

FDCAN CC control register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/14 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NISO
rw
TXP
rw
EFBI
rw
PXHD
rw
BRSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
r
ASM
rw
CCE
rw
INIT
rw
Toggle fields

INIT

Bit 0: Initialization.

CCE

Bit 1: Configuration change enable.

ASM

Bit 2: ASM restricted operation mode.

CSA

Bit 3: Clock stop acknowledge.

CSR

Bit 4: Clock stop request.

MON

Bit 5: Bus monitoring mode.

DAR

Bit 6: Disable automatic retransmission.

TEST

Bit 7: Test mode enable.

FDOE

Bit 8: FD operation enable.

BRSE

Bit 9: FDCAN bit rate switching.

PXHD

Bit 12: Protocol exception handling disable.

EFBI

Bit 13: Edge filtering during bus integration.

TXP

Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..

NISO

Bit 15: Non ISO operation.

NBTP

FDCAN nominal bit timing and prescaler register

Offset: 0x1c, size: 32, reset: 0x06000A03, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NSJW
rw
NBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTSEG1
rw
NTSEG2
rw
Toggle fields

NTSEG2

Bits 0-6: Nominal time segment after sample point.

NTSEG1

Bits 8-15: Nominal time segment before sample point.

NBRP

Bits 16-24: Bit rate prescaler.

NSJW

Bits 25-31: Nominal (re)synchronization jump width.

TSCC

FDCAN timestamp counter configuration register

Offset: 0x20, 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
TCP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle fields

TSS

Bits 0-1: Timestamp select.

TCP

Bits 16-19: Timestamp counter prescaler.

TSCV

FDCAN timestamp counter value register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSC
rw
Toggle fields

TSC

Bits 0-15: Timestamp counter.

TOCC

FDCAN timeout counter configuration register

Offset: 0x28, size: 32, reset: 0xFFFF0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOS
rw
ETOC
rw
Toggle fields

ETOC

Bit 0: Timeout counter enable.

TOS

Bits 1-2: Timeout select.

TOP

Bits 16-31: Timeout period.

TOCV

FDCAN timeout counter value register

Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
rw
Toggle fields

TOC

Bits 0-15: Timeout counter.

ECR

FDCAN error counter register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

3/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
r
REC
r
TEC
r
Toggle fields

TEC

Bits 0-7: Transmit error counter.

REC

Bits 8-14: Receive error counter.

RP

Bit 15: Receive error passive.

CEL

Bits 16-23: CAN error logging.

PSR

FDCAN protocol status register

Offset: 0x44, size: 32, reset: 0x00000707, access: read-write

5/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDCV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PXE
rw
REDL
rw
RBRS
rw
RESI
rw
DLEC
rw
BO
r
EW
r
EP
r
ACT
r
LEC
rw
Toggle fields

LEC

Bits 0-2: Last error code.

ACT

Bits 3-4: Activity.

EP

Bit 5: Error passive.

EW

Bit 6: Warning Sstatus.

BO

Bit 7: Bus_Off status.

DLEC

Bits 8-10: Data last error code.

RESI

Bit 11: ESI flag of last received FDCAN message.

RBRS

Bit 12: BRS flag of last received FDCAN message.

REDL

Bit 13: Received FDCAN message.

PXE

Bit 14: Protocol exception event.

TDCV

Bits 16-22: Transmitter delay compensation value.

TDCR

FDCAN transmitter delay compensation register

Offset: 0x48, 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
TDCO
rw
TDCF
rw
Toggle fields

TDCF

Bits 0-6: Transmitter delay compensation filter window length.

TDCO

Bits 8-14: Transmitter delay compensation offset.

IR

FDCAN interrupt register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARA
rw
PED
rw
PEA
rw
WDI
rw
BO
rw
EW
rw
EP
rw
ELO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOO
rw
MRAF
rw
TSW
rw
TEFL
rw
TEFF
rw
TEFN
rw
TFE
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0N
rw
Toggle fields

RF0N

Bit 0: Rx FIFO 0 new message.

RF0F

Bit 1: Rx FIFO 0 full.

RF0L

Bit 2: Rx FIFO 0 message lost.

RF1N

Bit 3: Rx FIFO 1 new message.

RF1F

Bit 4: Rx FIFO 1 full.

RF1L

Bit 5: Rx FIFO 1 message lost.

HPM

Bit 6: High-priority message.

TC

Bit 7: Transmission completed.

TCF

Bit 8: Transmission cancellation finished.

TFE

Bit 9: Tx FIFO empty.

TEFN

Bit 10: Tx event FIFO New Entry.

TEFF

Bit 11: Tx event FIFO full.

TEFL

Bit 12: Tx event FIFO element lost.

TSW

Bit 13: Timestamp wraparound.

MRAF

Bit 14: Message RAM access failure.

TOO

Bit 15: Timeout occurred.

ELO

Bit 16: Error logging overflow.

EP

Bit 17: Error passive.

EW

Bit 18: Warning status.

BO

Bit 19: Bus_Off status.

WDI

Bit 20: Watchdog interrupt.

PEA

Bit 21: Protocol error in arbitration phase (nominal bit time is used).

PED

Bit 22: Protocol error in data phase (data bit time is used).

ARA

Bit 23: Access to reserved address.

IE

FDCAN interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAE
rw
PEDE
rw
PEAE
rw
WDIE
rw
BOE
rw
EWE
rw
EPE
rw
ELOE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOOE
rw
MRAFE
rw
TSWE
rw
TEFLE
rw
TEFFE
rw
TEFNE
rw
TFEE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0NE
rw
Toggle fields

RF0NE

Bit 0: Rx FIFO 0 new message interrupt enable.

RF0FE

Bit 1: Rx FIFO 0 full interrupt enable.

RF0LE

Bit 2: Rx FIFO 0 message lost interrupt enable.

RF1NE

Bit 3: Rx FIFO 1 new message interrupt enable.

RF1FE

Bit 4: Rx FIFO 1 full interrupt enable.

RF1LE

Bit 5: Rx FIFO 1 message lost interrupt enable.

HPME

Bit 6: High-priority message interrupt enable.

TCE

Bit 7: Transmission completed interrupt enable.

TCFE

Bit 8: Transmission cancellation finished interrupt enable.

TFEE

Bit 9: Tx FIFO empty interrupt enable.

TEFNE

Bit 10: Tx event FIFO new entry interrupt enable.

TEFFE

Bit 11: Tx event FIFO full interrupt enable.

TEFLE

Bit 12: Tx event FIFO element lost interrupt enable.

TSWE

Bit 13: Timestamp wraparound interrupt enable.

MRAFE

Bit 14: Message RAM access failure interrupt enable.

TOOE

Bit 15: Timeout occurred interrupt enable.

ELOE

Bit 16: Error logging overflow interrupt enable.

EPE

Bit 17: Error passive interrupt enable.

EWE

Bit 18: Warning status interrupt enable.

BOE

Bit 19: Bus_Off status.

WDIE

Bit 20: Watchdog interrupt enable.

PEAE

Bit 21: Protocol error in arbitration phase enable.

PEDE

Bit 22: Protocol error in data phase enable.

ARAE

Bit 23: Access to reserved address enable.

ILS

FDCAN interrupt line select register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERR
rw
BERR
rw
MISC
rw
TFERR
rw
SMSG
rw
RXFIFO1
rw
RXFIFO0
rw
Toggle fields

RXFIFO0

Bit 0: RX FIFO bit grouping the following interruption.

RXFIFO1

Bit 1: RX FIFO bit grouping the following interruption.

SMSG

Bit 2: Status message bit grouping the following interruption.

TFERR

Bit 3: Tx FIFO ERROR grouping the following interruption.

MISC

Bit 4: Interrupt regrouping the following interruption.

BERR

Bit 5: Bit and line error grouping the following interruption.

PERR

Bit 6: Protocol error grouping the following interruption.

ILE

FDCAN interrupt line enable register

Offset: 0x5c, 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
EINT1
rw
EINT0
rw
Toggle fields

EINT0

Bit 0: Enable interrupt line 0.

EINT1

Bit 1: Enable interrupt line 1.

RXGFC

FDCAN global filter configuration register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LSE
rw
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0OM
rw
F1OM
rw
ANFS
rw
ANFE
rw
RRFS
rw
RRFE
rw
Toggle fields

RRFE

Bit 0: Reject remote frames extended.

RRFS

Bit 1: Reject remote frames standard.

ANFE

Bits 2-3: Accept non-matching frames extended.

ANFS

Bits 4-5: Accept Non-matching frames standard.

F1OM

Bit 8: FIFO 1 operation mode (overwrite or blocking).

F0OM

Bit 9: FIFO 0 operation mode (overwrite or blocking).

LSS

Bits 16-20: List size standard.

LSE

Bits 24-27: List size extended.

XIDAM

FDCAN extended ID and mask register

Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIDM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EIDM
rw
Toggle fields

EIDM

Bits 0-28: Extended ID mask.

HPMS

FDCAN high-priority message status register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLST
r
FIDX
r
MSI
r
BIDX
r
Toggle fields

BIDX

Bits 0-2: Buffer index.

MSI

Bits 6-7: Message storage indicator.

FIDX

Bits 8-12: Filter index.

FLST

Bit 15: Filter list.

RXF0S

FDCAN Rx FIFO 0 status register

Offset: 0x90, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF0L
r
F0F
r
F0PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
r
F0FL
r
Toggle fields

F0FL

Bits 0-3: Rx FIFO 0 fill level.

F0GI

Bits 8-9: Rx FIFO 0 get index.

F0PI

Bits 16-17: Rx FIFO 0 put index.

F0F

Bit 24: Rx FIFO 0 full.

RF0L

Bit 25: Rx FIFO 0 message lost.

RXF0A

CAN Rx FIFO 0 acknowledge register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0AI
rw
Toggle fields

F0AI

Bits 0-2: Rx FIFO 0 acknowledge index.

RXF1S

FDCAN Rx FIFO 1 status register

Offset: 0x98, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF1L
r
F1F
r
F1PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
r
F1FL
r
Toggle fields

F1FL

Bits 0-3: Rx FIFO 1 fill level.

F1GI

Bits 8-9: Rx FIFO 1 get index.

F1PI

Bits 16-17: Rx FIFO 1 put index.

F1F

Bit 24: Rx FIFO 1 full.

RF1L

Bit 25: Rx FIFO 1 message lost.

RXF1A

FDCAN Rx FIFO 1 acknowledge register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1AI
rw
Toggle fields

F1AI

Bits 0-2: Rx FIFO 1 acknowledge index.

TXBC

FDCAN Tx buffer configuration register

Offset: 0xc0, 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
TFQM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TFQM

Bit 24: Tx FIFO/queue mode.

TXFQS

FDCAN Tx FIFO/queue status register

Offset: 0xc4, size: 32, reset: 0x00000003, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TFQF
r
TFQPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TFGI
r
TFFL
r
Toggle fields

TFFL

Bits 0-2: Tx FIFO free level.

TFGI

Bits 8-9: Tx FIFO get index.

TFQPI

Bits 16-17: Tx FIFO/queue put index.

TFQF

Bit 21: Tx FIFO/queue full.

TXBRP

FDCAN Tx buffer request pending register

Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
r
Toggle fields

TRP

Bits 0-2: Transmission request pending.

TXBAR

FDCAN Tx buffer add request register

Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle fields

AR

Bits 0-2: Add request.

TXBCR

FDCAN Tx buffer cancellation request register

Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle fields

CR

Bits 0-2: Cancellation request.

TXBTO

FDCAN Tx buffer transmission occurred register

Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
r
Toggle fields

TO

Bits 0-2: Transmission occurred..

TXBCF

FDCAN Tx buffer cancellation finished register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
r
Toggle fields

CF

Bits 0-2: Cancellation finished.

TXBTIE

FDCAN Tx buffer transmission interrupt enable register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle fields

TIE

Bits 0-2: Transmission interrupt enable.

TXBCIE

FDCAN Tx buffer cancellation finished interrupt enable register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFIE
rw
Toggle fields

CFIE

Bits 0-2: Cancellation finished interrupt enable..

TXEFS

FDCAN Tx event FIFO status register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEFL
r
EFF
r
EFPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
r
EFFL
r
Toggle fields

EFFL

Bits 0-2: Event FIFO fill level.

EFGI

Bits 8-9: Event FIFO get index.

EFPI

Bits 16-17: Event FIFO put index.

EFF

Bit 24: Event FIFO full.

TEFL

Bit 25: Tx event FIFO element lost.

TXEFA

FDCAN Tx event FIFO acknowledge register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFAI
rw
Toggle fields

EFAI

Bits 0-1: Event FIFO acknowledge index.

CKDIV

FDCAN CFG clock divider register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PDIV
rw
Toggle fields

PDIV

Bits 0-3: input clock divider.

FDCAN2

0x4000a800: FDCAN register blank and RAM

44/160 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CREL
0x4 ENDN
0xc DBTP
0x10 TEST
0x14 RWD
0x18 CCCR
0x1c NBTP
0x20 TSCC
0x24 TSCV
0x28 TOCC
0x2c TOCV
0x40 ECR
0x44 PSR
0x48 TDCR
0x50 IR
0x54 IE
0x58 ILS
0x5c ILE
0x80 RXGFC
0x84 XIDAM
0x88 HPMS
0x90 RXF0S
0x94 RXF0A
0x98 RXF1S
0x9c RXF1A
0xc0 TXBC
0xc4 TXFQS
0xc8 TXBRP
0xcc TXBAR
0xd0 TXBCR
0xd4 TXBTO
0xd8 TXBCF
0xdc TXBTIE
0xe0 TXBCIE
0xe4 TXEFS
0xe8 TXEFA
0x100 CKDIV
Toggle registers

CREL

FDCAN core release register

Offset: 0x0, size: 32, reset: 0x32141218, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REL
r
STEP
r
SUBSTEP
r
YEAR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MON
r
DAY
r
Toggle fields

DAY

Bits 0-7: 18.

MON

Bits 8-15: 12.

YEAR

Bits 16-19: 4.

SUBSTEP

Bits 20-23: 1.

STEP

Bits 24-27: 2.

REL

Bits 28-31: 3.

ENDN

FDCAN endian register

Offset: 0x4, size: 32, reset: 0x87654321, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETV
r
Toggle fields

ETV

Bits 0-31: Endianness test value.

DBTP

FDCAN data bit timing and prescaler register

Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDC
rw
DBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTSEG1
rw
DTSEG2
rw
DSJW
rw
Toggle fields

DSJW

Bits 0-3: Synchronization jump width.

DTSEG2

Bits 4-7: Data time segment after sample point.

DTSEG1

Bits 8-12: Data time segment before sample point.

DBRP

Bits 16-20: Data bit rate prescaler.

TDC

Bit 23: Transceiver delay compensation.

TEST

FDCAN test register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
r
TX
rw
LBCK
rw
Toggle fields

LBCK

Bit 4: Loop back mode.

TX

Bits 5-6: Control of transmit pin.

RX

Bit 7: Receive pin.

RWD

FDCAN RAM watchdog register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDV
r
WDC
rw
Toggle fields

WDC

Bits 0-7: Watchdog configuration.

WDV

Bits 8-15: Watchdog value.

CCCR

FDCAN CC control register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/14 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NISO
rw
TXP
rw
EFBI
rw
PXHD
rw
BRSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
r
ASM
rw
CCE
rw
INIT
rw
Toggle fields

INIT

Bit 0: Initialization.

CCE

Bit 1: Configuration change enable.

ASM

Bit 2: ASM restricted operation mode.

CSA

Bit 3: Clock stop acknowledge.

CSR

Bit 4: Clock stop request.

MON

Bit 5: Bus monitoring mode.

DAR

Bit 6: Disable automatic retransmission.

TEST

Bit 7: Test mode enable.

FDOE

Bit 8: FD operation enable.

BRSE

Bit 9: FDCAN bit rate switching.

PXHD

Bit 12: Protocol exception handling disable.

EFBI

Bit 13: Edge filtering during bus integration.

TXP

Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..

NISO

Bit 15: Non ISO operation.

NBTP

FDCAN nominal bit timing and prescaler register

Offset: 0x1c, size: 32, reset: 0x06000A03, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NSJW
rw
NBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTSEG1
rw
NTSEG2
rw
Toggle fields

NTSEG2

Bits 0-6: Nominal time segment after sample point.

NTSEG1

Bits 8-15: Nominal time segment before sample point.

NBRP

Bits 16-24: Bit rate prescaler.

NSJW

Bits 25-31: Nominal (re)synchronization jump width.

TSCC

FDCAN timestamp counter configuration register

Offset: 0x20, 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
TCP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle fields

TSS

Bits 0-1: Timestamp select.

TCP

Bits 16-19: Timestamp counter prescaler.

TSCV

FDCAN timestamp counter value register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSC
rw
Toggle fields

TSC

Bits 0-15: Timestamp counter.

TOCC

FDCAN timeout counter configuration register

Offset: 0x28, size: 32, reset: 0xFFFF0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOS
rw
ETOC
rw
Toggle fields

ETOC

Bit 0: Timeout counter enable.

TOS

Bits 1-2: Timeout select.

TOP

Bits 16-31: Timeout period.

TOCV

FDCAN timeout counter value register

Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
rw
Toggle fields

TOC

Bits 0-15: Timeout counter.

ECR

FDCAN error counter register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

3/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
r
REC
r
TEC
r
Toggle fields

TEC

Bits 0-7: Transmit error counter.

REC

Bits 8-14: Receive error counter.

RP

Bit 15: Receive error passive.

CEL

Bits 16-23: CAN error logging.

PSR

FDCAN protocol status register

Offset: 0x44, size: 32, reset: 0x00000707, access: read-write

5/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDCV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PXE
rw
REDL
rw
RBRS
rw
RESI
rw
DLEC
rw
BO
r
EW
r
EP
r
ACT
r
LEC
rw
Toggle fields

LEC

Bits 0-2: Last error code.

ACT

Bits 3-4: Activity.

EP

Bit 5: Error passive.

EW

Bit 6: Warning Sstatus.

BO

Bit 7: Bus_Off status.

DLEC

Bits 8-10: Data last error code.

RESI

Bit 11: ESI flag of last received FDCAN message.

RBRS

Bit 12: BRS flag of last received FDCAN message.

REDL

Bit 13: Received FDCAN message.

PXE

Bit 14: Protocol exception event.

TDCV

Bits 16-22: Transmitter delay compensation value.

TDCR

FDCAN transmitter delay compensation register

Offset: 0x48, 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
TDCO
rw
TDCF
rw
Toggle fields

TDCF

Bits 0-6: Transmitter delay compensation filter window length.

TDCO

Bits 8-14: Transmitter delay compensation offset.

IR

FDCAN interrupt register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARA
rw
PED
rw
PEA
rw
WDI
rw
BO
rw
EW
rw
EP
rw
ELO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOO
rw
MRAF
rw
TSW
rw
TEFL
rw
TEFF
rw
TEFN
rw
TFE
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0N
rw
Toggle fields

RF0N

Bit 0: Rx FIFO 0 new message.

RF0F

Bit 1: Rx FIFO 0 full.

RF0L

Bit 2: Rx FIFO 0 message lost.

RF1N

Bit 3: Rx FIFO 1 new message.

RF1F

Bit 4: Rx FIFO 1 full.

RF1L

Bit 5: Rx FIFO 1 message lost.

HPM

Bit 6: High-priority message.

TC

Bit 7: Transmission completed.

TCF

Bit 8: Transmission cancellation finished.

TFE

Bit 9: Tx FIFO empty.

TEFN

Bit 10: Tx event FIFO New Entry.

TEFF

Bit 11: Tx event FIFO full.

TEFL

Bit 12: Tx event FIFO element lost.

TSW

Bit 13: Timestamp wraparound.

MRAF

Bit 14: Message RAM access failure.

TOO

Bit 15: Timeout occurred.

ELO

Bit 16: Error logging overflow.

EP

Bit 17: Error passive.

EW

Bit 18: Warning status.

BO

Bit 19: Bus_Off status.

WDI

Bit 20: Watchdog interrupt.

PEA

Bit 21: Protocol error in arbitration phase (nominal bit time is used).

PED

Bit 22: Protocol error in data phase (data bit time is used).

ARA

Bit 23: Access to reserved address.

IE

FDCAN interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAE
rw
PEDE
rw
PEAE
rw
WDIE
rw
BOE
rw
EWE
rw
EPE
rw
ELOE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOOE
rw
MRAFE
rw
TSWE
rw
TEFLE
rw
TEFFE
rw
TEFNE
rw
TFEE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0NE
rw
Toggle fields

RF0NE

Bit 0: Rx FIFO 0 new message interrupt enable.

RF0FE

Bit 1: Rx FIFO 0 full interrupt enable.

RF0LE

Bit 2: Rx FIFO 0 message lost interrupt enable.

RF1NE

Bit 3: Rx FIFO 1 new message interrupt enable.

RF1FE

Bit 4: Rx FIFO 1 full interrupt enable.

RF1LE

Bit 5: Rx FIFO 1 message lost interrupt enable.

HPME

Bit 6: High-priority message interrupt enable.

TCE

Bit 7: Transmission completed interrupt enable.

TCFE

Bit 8: Transmission cancellation finished interrupt enable.

TFEE

Bit 9: Tx FIFO empty interrupt enable.

TEFNE

Bit 10: Tx event FIFO new entry interrupt enable.

TEFFE

Bit 11: Tx event FIFO full interrupt enable.

TEFLE

Bit 12: Tx event FIFO element lost interrupt enable.

TSWE

Bit 13: Timestamp wraparound interrupt enable.

MRAFE

Bit 14: Message RAM access failure interrupt enable.

TOOE

Bit 15: Timeout occurred interrupt enable.

ELOE

Bit 16: Error logging overflow interrupt enable.

EPE

Bit 17: Error passive interrupt enable.

EWE

Bit 18: Warning status interrupt enable.

BOE

Bit 19: Bus_Off status.

WDIE

Bit 20: Watchdog interrupt enable.

PEAE

Bit 21: Protocol error in arbitration phase enable.

PEDE

Bit 22: Protocol error in data phase enable.

ARAE

Bit 23: Access to reserved address enable.

ILS

FDCAN interrupt line select register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERR
rw
BERR
rw
MISC
rw
TFERR
rw
SMSG
rw
RXFIFO1
rw
RXFIFO0
rw
Toggle fields

RXFIFO0

Bit 0: RX FIFO bit grouping the following interruption.

RXFIFO1

Bit 1: RX FIFO bit grouping the following interruption.

SMSG

Bit 2: Status message bit grouping the following interruption.

TFERR

Bit 3: Tx FIFO ERROR grouping the following interruption.

MISC

Bit 4: Interrupt regrouping the following interruption.

BERR

Bit 5: Bit and line error grouping the following interruption.

PERR

Bit 6: Protocol error grouping the following interruption.

ILE

FDCAN interrupt line enable register

Offset: 0x5c, 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
EINT1
rw
EINT0
rw
Toggle fields

EINT0

Bit 0: Enable interrupt line 0.

EINT1

Bit 1: Enable interrupt line 1.

RXGFC

FDCAN global filter configuration register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LSE
rw
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0OM
rw
F1OM
rw
ANFS
rw
ANFE
rw
RRFS
rw
RRFE
rw
Toggle fields

RRFE

Bit 0: Reject remote frames extended.

RRFS

Bit 1: Reject remote frames standard.

ANFE

Bits 2-3: Accept non-matching frames extended.

ANFS

Bits 4-5: Accept Non-matching frames standard.

F1OM

Bit 8: FIFO 1 operation mode (overwrite or blocking).

F0OM

Bit 9: FIFO 0 operation mode (overwrite or blocking).

LSS

Bits 16-20: List size standard.

LSE

Bits 24-27: List size extended.

XIDAM

FDCAN extended ID and mask register

Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIDM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EIDM
rw
Toggle fields

EIDM

Bits 0-28: Extended ID mask.

HPMS

FDCAN high-priority message status register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLST
r
FIDX
r
MSI
r
BIDX
r
Toggle fields

BIDX

Bits 0-2: Buffer index.

MSI

Bits 6-7: Message storage indicator.

FIDX

Bits 8-12: Filter index.

FLST

Bit 15: Filter list.

RXF0S

FDCAN Rx FIFO 0 status register

Offset: 0x90, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF0L
r
F0F
r
F0PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
r
F0FL
r
Toggle fields

F0FL

Bits 0-3: Rx FIFO 0 fill level.

F0GI

Bits 8-9: Rx FIFO 0 get index.

F0PI

Bits 16-17: Rx FIFO 0 put index.

F0F

Bit 24: Rx FIFO 0 full.

RF0L

Bit 25: Rx FIFO 0 message lost.

RXF0A

CAN Rx FIFO 0 acknowledge register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0AI
rw
Toggle fields

F0AI

Bits 0-2: Rx FIFO 0 acknowledge index.

RXF1S

FDCAN Rx FIFO 1 status register

Offset: 0x98, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF1L
r
F1F
r
F1PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
r
F1FL
r
Toggle fields

F1FL

Bits 0-3: Rx FIFO 1 fill level.

F1GI

Bits 8-9: Rx FIFO 1 get index.

F1PI

Bits 16-17: Rx FIFO 1 put index.

F1F

Bit 24: Rx FIFO 1 full.

RF1L

Bit 25: Rx FIFO 1 message lost.

RXF1A

FDCAN Rx FIFO 1 acknowledge register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1AI
rw
Toggle fields

F1AI

Bits 0-2: Rx FIFO 1 acknowledge index.

TXBC

FDCAN Tx buffer configuration register

Offset: 0xc0, 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
TFQM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TFQM

Bit 24: Tx FIFO/queue mode.

TXFQS

FDCAN Tx FIFO/queue status register

Offset: 0xc4, size: 32, reset: 0x00000003, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TFQF
r
TFQPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TFGI
r
TFFL
r
Toggle fields

TFFL

Bits 0-2: Tx FIFO free level.

TFGI

Bits 8-9: Tx FIFO get index.

TFQPI

Bits 16-17: Tx FIFO/queue put index.

TFQF

Bit 21: Tx FIFO/queue full.

TXBRP

FDCAN Tx buffer request pending register

Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
r
Toggle fields

TRP

Bits 0-2: Transmission request pending.

TXBAR

FDCAN Tx buffer add request register

Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle fields

AR

Bits 0-2: Add request.

TXBCR

FDCAN Tx buffer cancellation request register

Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle fields

CR

Bits 0-2: Cancellation request.

TXBTO

FDCAN Tx buffer transmission occurred register

Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
r
Toggle fields

TO

Bits 0-2: Transmission occurred..

TXBCF

FDCAN Tx buffer cancellation finished register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
r
Toggle fields

CF

Bits 0-2: Cancellation finished.

TXBTIE

FDCAN Tx buffer transmission interrupt enable register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle fields

TIE

Bits 0-2: Transmission interrupt enable.

TXBCIE

FDCAN Tx buffer cancellation finished interrupt enable register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFIE
rw
Toggle fields

CFIE

Bits 0-2: Cancellation finished interrupt enable..

TXEFS

FDCAN Tx event FIFO status register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEFL
r
EFF
r
EFPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
r
EFFL
r
Toggle fields

EFFL

Bits 0-2: Event FIFO fill level.

EFGI

Bits 8-9: Event FIFO get index.

EFPI

Bits 16-17: Event FIFO put index.

EFF

Bit 24: Event FIFO full.

TEFL

Bit 25: Tx event FIFO element lost.

TXEFA

FDCAN Tx event FIFO acknowledge register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFAI
rw
Toggle fields

EFAI

Bits 0-1: Event FIFO acknowledge index.

CKDIV

FDCAN CFG clock divider register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PDIV
rw
Toggle fields

PDIV

Bits 0-3: input clock divider.

FDCAN2_S

0x5000a800: FDCAN register blank and RAM

44/160 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CREL
0x4 ENDN
0xc DBTP
0x10 TEST
0x14 RWD
0x18 CCCR
0x1c NBTP
0x20 TSCC
0x24 TSCV
0x28 TOCC
0x2c TOCV
0x40 ECR
0x44 PSR
0x48 TDCR
0x50 IR
0x54 IE
0x58 ILS
0x5c ILE
0x80 RXGFC
0x84 XIDAM
0x88 HPMS
0x90 RXF0S
0x94 RXF0A
0x98 RXF1S
0x9c RXF1A
0xc0 TXBC
0xc4 TXFQS
0xc8 TXBRP
0xcc TXBAR
0xd0 TXBCR
0xd4 TXBTO
0xd8 TXBCF
0xdc TXBTIE
0xe0 TXBCIE
0xe4 TXEFS
0xe8 TXEFA
0x100 CKDIV
Toggle registers

CREL

FDCAN core release register

Offset: 0x0, size: 32, reset: 0x32141218, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REL
r
STEP
r
SUBSTEP
r
YEAR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MON
r
DAY
r
Toggle fields

DAY

Bits 0-7: 18.

MON

Bits 8-15: 12.

YEAR

Bits 16-19: 4.

SUBSTEP

Bits 20-23: 1.

STEP

Bits 24-27: 2.

REL

Bits 28-31: 3.

ENDN

FDCAN endian register

Offset: 0x4, size: 32, reset: 0x87654321, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETV
r
Toggle fields

ETV

Bits 0-31: Endianness test value.

DBTP

FDCAN data bit timing and prescaler register

Offset: 0xc, size: 32, reset: 0x00000A33, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDC
rw
DBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTSEG1
rw
DTSEG2
rw
DSJW
rw
Toggle fields

DSJW

Bits 0-3: Synchronization jump width.

DTSEG2

Bits 4-7: Data time segment after sample point.

DTSEG1

Bits 8-12: Data time segment before sample point.

DBRP

Bits 16-20: Data bit rate prescaler.

TDC

Bit 23: Transceiver delay compensation.

TEST

FDCAN test register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
r
TX
rw
LBCK
rw
Toggle fields

LBCK

Bit 4: Loop back mode.

TX

Bits 5-6: Control of transmit pin.

RX

Bit 7: Receive pin.

RWD

FDCAN RAM watchdog register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDV
r
WDC
rw
Toggle fields

WDC

Bits 0-7: Watchdog configuration.

WDV

Bits 8-15: Watchdog value.

CCCR

FDCAN CC control register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/14 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NISO
rw
TXP
rw
EFBI
rw
PXHD
rw
BRSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
r
ASM
rw
CCE
rw
INIT
rw
Toggle fields

INIT

Bit 0: Initialization.

CCE

Bit 1: Configuration change enable.

ASM

Bit 2: ASM restricted operation mode.

CSA

Bit 3: Clock stop acknowledge.

CSR

Bit 4: Clock stop request.

MON

Bit 5: Bus monitoring mode.

DAR

Bit 6: Disable automatic retransmission.

TEST

Bit 7: Test mode enable.

FDOE

Bit 8: FD operation enable.

BRSE

Bit 9: FDCAN bit rate switching.

PXHD

Bit 12: Protocol exception handling disable.

EFBI

Bit 13: Edge filtering during bus integration.

TXP

Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..

NISO

Bit 15: Non ISO operation.

NBTP

FDCAN nominal bit timing and prescaler register

Offset: 0x1c, size: 32, reset: 0x06000A03, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NSJW
rw
NBRP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTSEG1
rw
NTSEG2
rw
Toggle fields

NTSEG2

Bits 0-6: Nominal time segment after sample point.

NTSEG1

Bits 8-15: Nominal time segment before sample point.

NBRP

Bits 16-24: Bit rate prescaler.

NSJW

Bits 25-31: Nominal (re)synchronization jump width.

TSCC

FDCAN timestamp counter configuration register

Offset: 0x20, 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
TCP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle fields

TSS

Bits 0-1: Timestamp select.

TCP

Bits 16-19: Timestamp counter prescaler.

TSCV

FDCAN timestamp counter value register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSC
rw
Toggle fields

TSC

Bits 0-15: Timestamp counter.

TOCC

FDCAN timeout counter configuration register

Offset: 0x28, size: 32, reset: 0xFFFF0000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TOP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOS
rw
ETOC
rw
Toggle fields

ETOC

Bit 0: Timeout counter enable.

TOS

Bits 1-2: Timeout select.

TOP

Bits 16-31: Timeout period.

TOCV

FDCAN timeout counter value register

Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
rw
Toggle fields

TOC

Bits 0-15: Timeout counter.

ECR

FDCAN error counter register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

3/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
r
REC
r
TEC
r
Toggle fields

TEC

Bits 0-7: Transmit error counter.

REC

Bits 8-14: Receive error counter.

RP

Bit 15: Receive error passive.

CEL

Bits 16-23: CAN error logging.

PSR

FDCAN protocol status register

Offset: 0x44, size: 32, reset: 0x00000707, access: read-write

5/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDCV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PXE
rw
REDL
rw
RBRS
rw
RESI
rw
DLEC
rw
BO
r
EW
r
EP
r
ACT
r
LEC
rw
Toggle fields

LEC

Bits 0-2: Last error code.

ACT

Bits 3-4: Activity.

EP

Bit 5: Error passive.

EW

Bit 6: Warning Sstatus.

BO

Bit 7: Bus_Off status.

DLEC

Bits 8-10: Data last error code.

RESI

Bit 11: ESI flag of last received FDCAN message.

RBRS

Bit 12: BRS flag of last received FDCAN message.

REDL

Bit 13: Received FDCAN message.

PXE

Bit 14: Protocol exception event.

TDCV

Bits 16-22: Transmitter delay compensation value.

TDCR

FDCAN transmitter delay compensation register

Offset: 0x48, 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
TDCO
rw
TDCF
rw
Toggle fields

TDCF

Bits 0-6: Transmitter delay compensation filter window length.

TDCO

Bits 8-14: Transmitter delay compensation offset.

IR

FDCAN interrupt register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARA
rw
PED
rw
PEA
rw
WDI
rw
BO
rw
EW
rw
EP
rw
ELO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOO
rw
MRAF
rw
TSW
rw
TEFL
rw
TEFF
rw
TEFN
rw
TFE
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0N
rw
Toggle fields

RF0N

Bit 0: Rx FIFO 0 new message.

RF0F

Bit 1: Rx FIFO 0 full.

RF0L

Bit 2: Rx FIFO 0 message lost.

RF1N

Bit 3: Rx FIFO 1 new message.

RF1F

Bit 4: Rx FIFO 1 full.

RF1L

Bit 5: Rx FIFO 1 message lost.

HPM

Bit 6: High-priority message.

TC

Bit 7: Transmission completed.

TCF

Bit 8: Transmission cancellation finished.

TFE

Bit 9: Tx FIFO empty.

TEFN

Bit 10: Tx event FIFO New Entry.

TEFF

Bit 11: Tx event FIFO full.

TEFL

Bit 12: Tx event FIFO element lost.

TSW

Bit 13: Timestamp wraparound.

MRAF

Bit 14: Message RAM access failure.

TOO

Bit 15: Timeout occurred.

ELO

Bit 16: Error logging overflow.

EP

Bit 17: Error passive.

EW

Bit 18: Warning status.

BO

Bit 19: Bus_Off status.

WDI

Bit 20: Watchdog interrupt.

PEA

Bit 21: Protocol error in arbitration phase (nominal bit time is used).

PED

Bit 22: Protocol error in data phase (data bit time is used).

ARA

Bit 23: Access to reserved address.

IE

FDCAN interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAE
rw
PEDE
rw
PEAE
rw
WDIE
rw
BOE
rw
EWE
rw
EPE
rw
ELOE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOOE
rw
MRAFE
rw
TSWE
rw
TEFLE
rw
TEFFE
rw
TEFNE
rw
TFEE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0NE
rw
Toggle fields

RF0NE

Bit 0: Rx FIFO 0 new message interrupt enable.

RF0FE

Bit 1: Rx FIFO 0 full interrupt enable.

RF0LE

Bit 2: Rx FIFO 0 message lost interrupt enable.

RF1NE

Bit 3: Rx FIFO 1 new message interrupt enable.

RF1FE

Bit 4: Rx FIFO 1 full interrupt enable.

RF1LE

Bit 5: Rx FIFO 1 message lost interrupt enable.

HPME

Bit 6: High-priority message interrupt enable.

TCE

Bit 7: Transmission completed interrupt enable.

TCFE

Bit 8: Transmission cancellation finished interrupt enable.

TFEE

Bit 9: Tx FIFO empty interrupt enable.

TEFNE

Bit 10: Tx event FIFO new entry interrupt enable.

TEFFE

Bit 11: Tx event FIFO full interrupt enable.

TEFLE

Bit 12: Tx event FIFO element lost interrupt enable.

TSWE

Bit 13: Timestamp wraparound interrupt enable.

MRAFE

Bit 14: Message RAM access failure interrupt enable.

TOOE

Bit 15: Timeout occurred interrupt enable.

ELOE

Bit 16: Error logging overflow interrupt enable.

EPE

Bit 17: Error passive interrupt enable.

EWE

Bit 18: Warning status interrupt enable.

BOE

Bit 19: Bus_Off status.

WDIE

Bit 20: Watchdog interrupt enable.

PEAE

Bit 21: Protocol error in arbitration phase enable.

PEDE

Bit 22: Protocol error in data phase enable.

ARAE

Bit 23: Access to reserved address enable.

ILS

FDCAN interrupt line select register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERR
rw
BERR
rw
MISC
rw
TFERR
rw
SMSG
rw
RXFIFO1
rw
RXFIFO0
rw
Toggle fields

RXFIFO0

Bit 0: RX FIFO bit grouping the following interruption.

RXFIFO1

Bit 1: RX FIFO bit grouping the following interruption.

SMSG

Bit 2: Status message bit grouping the following interruption.

TFERR

Bit 3: Tx FIFO ERROR grouping the following interruption.

MISC

Bit 4: Interrupt regrouping the following interruption.

BERR

Bit 5: Bit and line error grouping the following interruption.

PERR

Bit 6: Protocol error grouping the following interruption.

ILE

FDCAN interrupt line enable register

Offset: 0x5c, 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
EINT1
rw
EINT0
rw
Toggle fields

EINT0

Bit 0: Enable interrupt line 0.

EINT1

Bit 1: Enable interrupt line 1.

RXGFC

FDCAN global filter configuration register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LSE
rw
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0OM
rw
F1OM
rw
ANFS
rw
ANFE
rw
RRFS
rw
RRFE
rw
Toggle fields

RRFE

Bit 0: Reject remote frames extended.

RRFS

Bit 1: Reject remote frames standard.

ANFE

Bits 2-3: Accept non-matching frames extended.

ANFS

Bits 4-5: Accept Non-matching frames standard.

F1OM

Bit 8: FIFO 1 operation mode (overwrite or blocking).

F0OM

Bit 9: FIFO 0 operation mode (overwrite or blocking).

LSS

Bits 16-20: List size standard.

LSE

Bits 24-27: List size extended.

XIDAM

FDCAN extended ID and mask register

Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EIDM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EIDM
rw
Toggle fields

EIDM

Bits 0-28: Extended ID mask.

HPMS

FDCAN high-priority message status register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLST
r
FIDX
r
MSI
r
BIDX
r
Toggle fields

BIDX

Bits 0-2: Buffer index.

MSI

Bits 6-7: Message storage indicator.

FIDX

Bits 8-12: Filter index.

FLST

Bit 15: Filter list.

RXF0S

FDCAN Rx FIFO 0 status register

Offset: 0x90, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF0L
r
F0F
r
F0PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
r
F0FL
r
Toggle fields

F0FL

Bits 0-3: Rx FIFO 0 fill level.

F0GI

Bits 8-9: Rx FIFO 0 get index.

F0PI

Bits 16-17: Rx FIFO 0 put index.

F0F

Bit 24: Rx FIFO 0 full.

RF0L

Bit 25: Rx FIFO 0 message lost.

RXF0A

CAN Rx FIFO 0 acknowledge register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0AI
rw
Toggle fields

F0AI

Bits 0-2: Rx FIFO 0 acknowledge index.

RXF1S

FDCAN Rx FIFO 1 status register

Offset: 0x98, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RF1L
r
F1F
r
F1PI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
r
F1FL
r
Toggle fields

F1FL

Bits 0-3: Rx FIFO 1 fill level.

F1GI

Bits 8-9: Rx FIFO 1 get index.

F1PI

Bits 16-17: Rx FIFO 1 put index.

F1F

Bit 24: Rx FIFO 1 full.

RF1L

Bit 25: Rx FIFO 1 message lost.

RXF1A

FDCAN Rx FIFO 1 acknowledge register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1AI
rw
Toggle fields

F1AI

Bits 0-2: Rx FIFO 1 acknowledge index.

TXBC

FDCAN Tx buffer configuration register

Offset: 0xc0, 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
TFQM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TFQM

Bit 24: Tx FIFO/queue mode.

TXFQS

FDCAN Tx FIFO/queue status register

Offset: 0xc4, size: 32, reset: 0x00000003, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TFQF
r
TFQPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TFGI
r
TFFL
r
Toggle fields

TFFL

Bits 0-2: Tx FIFO free level.

TFGI

Bits 8-9: Tx FIFO get index.

TFQPI

Bits 16-17: Tx FIFO/queue put index.

TFQF

Bit 21: Tx FIFO/queue full.

TXBRP

FDCAN Tx buffer request pending register

Offset: 0xc8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
r
Toggle fields

TRP

Bits 0-2: Transmission request pending.

TXBAR

FDCAN Tx buffer add request register

Offset: 0xcc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle fields

AR

Bits 0-2: Add request.

TXBCR

FDCAN Tx buffer cancellation request register

Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle fields

CR

Bits 0-2: Cancellation request.

TXBTO

FDCAN Tx buffer transmission occurred register

Offset: 0xd4, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
r
Toggle fields

TO

Bits 0-2: Transmission occurred..

TXBCF

FDCAN Tx buffer cancellation finished register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
r
Toggle fields

CF

Bits 0-2: Cancellation finished.

TXBTIE

FDCAN Tx buffer transmission interrupt enable register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle fields

TIE

Bits 0-2: Transmission interrupt enable.

TXBCIE

FDCAN Tx buffer cancellation finished interrupt enable register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFIE
rw
Toggle fields

CFIE

Bits 0-2: Cancellation finished interrupt enable..

TXEFS

FDCAN Tx event FIFO status register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEFL
r
EFF
r
EFPI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
r
EFFL
r
Toggle fields

EFFL

Bits 0-2: Event FIFO fill level.

EFGI

Bits 8-9: Event FIFO get index.

EFPI

Bits 16-17: Event FIFO put index.

EFF

Bit 24: Event FIFO full.

TEFL

Bit 25: Tx event FIFO element lost.

TXEFA

FDCAN Tx event FIFO acknowledge register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFAI
rw
Toggle fields

EFAI

Bits 0-1: Event FIFO acknowledge index.

CKDIV

FDCAN CFG clock divider register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PDIV
rw
Toggle fields

PDIV

Bits 0-3: input clock divider.

FLASH

0x40022000: Mustang_FLASH register block

82/213 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ACR
0x4 NSKEYR
0x8 SECKEYR
0xc OPTKEYR
0x10 NSOBKKEYR
0x14 SECOBKKEYR
0x18 OPSR
0x1c OPTCR
0x20 NSSR
0x24 SECSR
0x28 NSCR
0x2c SECCR
0x30 NSCCR
0x34 SECCCR
0x3c PRIVCFGR
0x40 NSOBKCFGR
0x44 SECOBKCFGR
0x48 HDPEXTR
0x50 OPTSR_CUR
0x54 OPTSR_PRG
0x60 NSEPOCHR_CUR
0x68 SECEPOCHR_CUR
0x70 OPTSR2_CUR
0x74 OPTSR2_PRG
0x80 NSBOOTR_CUR
0x84 NSBOOTR_PRG
0x88 SECBOOTR_CUR
0x8c BOOTR_PRG
0x90 OTPBLR_CUR
0x94 OTPBLR_PRG
0xa0 SECBB1R1
0xa4 SECBB1R2
0xa8 SECBB1R3
0xac SECBB1R4
0xc0 PRIVBB1R1
0xc4 PRIVBB1R2
0xc8 PRIVBB1R3
0xcc PRIVBB1R4
0xe0 SECWM1R_CUR
0xe4 SECWM1R_PRG
0xe8 WRP1R_CUR
0xec WRP1R_PRG
0xf0 EDATA1R_CUR
0xf4 EDATA1R_PRG
0xf8 HDP1R_CUR
0xfc HDP1R_PRG
0x100 ECCCORR
0x104 ECCDETR
0x108 ECCDR
0x1a0 SECBB2R1
0x1a4 SECBB2R2
0x1a8 SECBB2R3
0x1ac SECBB2R4
0x1c0 PRIVBB2R1
0x1c4 PRIVBB2R2
0x1c8 PRIVBB2R3
0x1cc PRIVBB2R4
0x1e0 SECWM2R_CUR
0x1e4 SECWM2R_PRG
0x1e8 WRP2R_CUR
0x1ec WRP2R_PRG
0x1f0 EDATA2R_CUR
0x1f4 EDATA2R_PRG
0x1f8 HDP2R_CUR
0x1fc HDP2R_PRG
Toggle registers

ACR

FLASH access control register

Offset: 0x0, size: 32, reset: 0x00000013, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRFTEN
rw
WRHIGHFREQ
rw
LATENCY
rw
Toggle fields

LATENCY

Bits 0-3: Read latency.

WRHIGHFREQ

Bits 4-5: Flash signal delay.

PRFTEN

Bit 8: Prefetch enable..

NSKEYR

FLASH non-secure 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
NSKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSKEY
w
Toggle fields

NSKEY

Bits 0-31: Non-volatile memory non-secure configuration access unlock key.

SECKEYR

FLASH secure 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
SECKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECKEY
w
Toggle fields

SECKEY

Bits 0-31: Non-volatile memory secure configuration access unlock key.

OPTKEYR

FLASH option 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
OPTKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPTKEY
w
Toggle fields

OPTKEY

Bits 0-31: FLASH option bytes control access unlock key.

NSOBKKEYR

FLASH non-secure OBK key register

Offset: 0x10, 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
NSOBKKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSOBKKEY
w
Toggle fields

NSOBKKEY

Bits 0-31: FLASH non-secure option bytes keys control access unlock key.

SECOBKKEYR

FLASH secure OBK key register

Offset: 0x14, 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
SECOBKKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECOBKKEY
w
Toggle fields

SECOBKKEY

Bits 0-31: FLASH secure option bytes keys control access unlock key.

OPSR

FLASH operation status register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CODE_OP
r
OTP_OP
r
SYSF_OP
r
BK_OP
r
DATA_OP
r
ADDR_OP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_OP
r
Toggle fields

ADDR_OP

Bits 0-19: Interrupted operation address.

DATA_OP

Bit 21: Flash high-cycle data area operation interrupted.

BK_OP

Bit 22: Interrupted operation bank.

SYSF_OP

Bit 23: Operation in system flash memory interrupted.

OTP_OP

Bit 24: OTP operation interrupted.

CODE_OP

Bits 29-31: Flash memory operation code.

OPTCR

FLASH option control register

Offset: 0x1c, size: 32, reset: 0x00000001, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPTSTRT
rw
OPTLOCK
rw
Toggle fields

OPTLOCK

Bit 0: FLASH_OPTCR lock option configuration bit.

OPTSTRT

Bit 1: Option byte start change option configuration bit.

SWAP_BANK

Bit 31: Bank swapping option configuration bit.

NSSR

FLASH non-secure status register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OPTCHANGEERR
r
OBKWERR
r
OBKERR
r
INCERR
r
STRBERR
r
PGSERR
r
WRPERR
r
EOP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBNE
r
WBNE
r
BSY
r
Toggle fields

BSY

Bit 0: busy flag.

WBNE

Bit 1: write buffer not empty flag.

DBNE

Bit 3: data buffer not empty flag.

EOP

Bit 16: end of operation flag.

WRPERR

Bit 17: write protection error flag.

PGSERR

Bit 18: programming sequence error flag.

STRBERR

Bit 19: strobe error flag.

INCERR

Bit 20: inconsistency error flag.

OBKERR

Bit 21: OBK general error flag.

OBKWERR

Bit 22: OBK write error flag.

OPTCHANGEERR

Bit 23: Option byte change error flag.

SECSR

FLASH secure status register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OBKWERR
r
OBKERR
r
INCERR
r
STRBERR
r
PGSERR
r
WRPERR
r
EOP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBNE
r
WBNE
r
BSY
r
Toggle fields

BSY

Bit 0: busy flag.

WBNE

Bit 1: write buffer not empty flag.

DBNE

Bit 3: data buffer not empty flag.

EOP

Bit 16: end of operation flag.

WRPERR

Bit 17: write protection error flag.

PGSERR

Bit 18: programming sequence error flag.

STRBERR

Bit 19: strobe error flag.

INCERR

Bit 20: inconsistency error flag.

OBKERR

Bit 21: OBK general error flag.

OBKWERR

Bit 22: OBK write error flag.

NSCR

FLASH non-secure control register

Offset: 0x28, size: 32, reset: 0x00000001, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BKSEL
rw
OPTCHANGEERRIE
rw
OBKWERRIE
rw
OBKERRIE
rw
INCERRIE
rw
STRBERRIE
rw
PGSERRIE
rw
WRPERRIE
rw
EOPIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MER
rw
SNB
rw
STRT
rw
FW
rw
BER
rw
SER
rw
PG
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: configuration lock bit.

PG

Bit 1: programming control bit.

SER

Bit 2: sector erase request.

BER

Bit 3: erase request.

FW

Bit 4: write forcing control bit.

STRT

Bit 5: erase start control bit.

SNB

Bits 6-12: sector erase selection number.

MER

Bit 15: mass erase request.

EOPIE

Bit 16: end of operation interrupt control bit.

WRPERRIE

Bit 17: write protection error interrupt enable bit.

PGSERRIE

Bit 18: programming sequence error interrupt enable bit.

STRBERRIE

Bit 19: strobe error interrupt enable bit.

INCERRIE

Bit 20: inconsistency error interrupt enable bit.

OBKERRIE

Bit 21: OBK general error interrupt enable bit.

OBKWERRIE

Bit 22: OBK write error interrupt enable bit.

OPTCHANGEERRIE

Bit 23: Option byte change error interrupt enable bit.

BKSEL

Bit 31: Bank selector bit.

SECCR

FLASH secure control register

Offset: 0x2c, size: 32, reset: 0x00000001, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BKSEL
rw
INV
rw
OBKWERRIE
rw
OBKERRIE
rw
INCERRIE
rw
STRBERRIE
rw
PGSERRIE
rw
WRPERRIE
rw
EOPIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MER
rw
SNB
rw
STRT
rw
FW
rw
BER
rw
SER
rw
PG
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: configuration lock bit.

PG

Bit 1: programming control bit.

SER

Bit 2: sector erase request.

BER

Bit 3: erase request.

FW

Bit 4: write forcing control bit.

STRT

Bit 5: erase start control bit.

SNB

Bits 6-12: sector erase selection number.

MER

Bit 15: mass erase request.

EOPIE

Bit 16: end of operation interrupt control bit.

WRPERRIE

Bit 17: write protection error interrupt enable bit.

PGSERRIE

Bit 18: programming sequence error interrupt enable bit.

STRBERRIE

Bit 19: strobe error interrupt enable bit.

INCERRIE

Bit 20: inconsistency error interrupt enable bit.

OBKERRIE

Bit 21: OBK general error interrupt enable bit.

OBKWERRIE

Bit 22: OBK write error interrupt enable bit.

INV

Bit 29: Flash memory security state invert..

BKSEL

Bit 31: Bank selector bit.

NSCCR

FLASH non-secure clear control register

Offset: 0x30, size: 32, reset: 0x00000000, access: write-only

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_OPTCHANGEERR
w
CLR_OBKWERR
w
CLR_OBKERR
w
CLR_INCERR
w
CLR_STRBERR
w
CLR_PGSERR
w
CLR_WRPERR
w
CLR_EOP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_EOP

Bit 16: EOP flag clear bit.

CLR_WRPERR

Bit 17: WRPERR flag clear bit.

CLR_PGSERR

Bit 18: PGSERR flag clear bit.

CLR_STRBERR

Bit 19: STRBERR flag clear bit.

CLR_INCERR

Bit 20: INCERR flag clear bit.

CLR_OBKERR

Bit 21: OBKERR flag clear bit..

CLR_OBKWERR

Bit 22: OBKWERR flag clear bit..

CLR_OPTCHANGEERR

Bit 23: Clear the flag corresponding flag in FLASH_NSSR by writing this bit..

SECCCR

FLASH secure clear control register

Offset: 0x34, size: 32, reset: 0x00000000, access: write-only

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_OBKWERR
w
CLR_OBKERR
w
CLR_INCERR
w
CLR_STRBERR
w
CLR_PGSERR
w
CLR_WRPERR
w
CLR_EOP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_EOP

Bit 16: EOP flag clear bit.

CLR_WRPERR

Bit 17: WRPERR flag clear bit.

CLR_PGSERR

Bit 18: PGSERR flag clear bit.

CLR_STRBERR

Bit 19: STRBERR flag clear bit.

CLR_INCERR

Bit 20: INCERR flag clear bit.

CLR_OBKERR

Bit 21: OBKWERR flag clear bit.

CLR_OBKWERR

Bit 22: OBKWERR flag clear bit.

PRIVCFGR

FLASH privilege configuration register

Offset: 0x3c, 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
NSPRIV
rw
SPRIV
rw
Toggle fields

SPRIV

Bit 0: privilege attribute for secure registers.

NSPRIV

Bit 1: privilege attribute for non secure registers.

NSOBKCFGR

FLASH non-secure OBK configuration register

Offset: 0x40, size: 32, reset: 0x01FF0000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_OFFSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALT_SECT_ERASE
rw
ALT_SECT
rw
SWAP_SECT_REQ
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: OBKCFGR lock option configuration bit.

SWAP_SECT_REQ

Bit 1: OBK swap sector request bit.

ALT_SECT

Bit 2: alternate sector bit.

ALT_SECT_ERASE

Bit 3: alternate sector erase bit.

SWAP_OFFSET

Bits 16-24: Key index (offset /16 bits) pointing for next swap..

SECOBKCFGR

FLASH secure OBK configuration register

Offset: 0x44, size: 32, reset: 0x01FF0000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_OFFSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALT_SECT_ERASE
rw
ALT_SECT
rw
SWAP_SECT_REQ
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: OBKCFGR lock option configuration bit.

SWAP_SECT_REQ

Bit 1: OBK swap sector request bit.

ALT_SECT

Bit 2: alternate sector bit.

ALT_SECT_ERASE

Bit 3: alternate sector erase bit.

SWAP_OFFSET

Bits 16-24: key index (offset /16 bits) pointing for next swap..

HDPEXTR

FLASH HDP extension register

Offset: 0x48, 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
HDP2_EXT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP1_EXT
rw
Toggle fields

HDP1_EXT

Bits 0-6: HDP area extension in 8 Kbytes sectors in Bank1..

HDP2_EXT

Bits 16-22: HDP area extension in 8 Kbytes sectors in Bank2..

OPTSR_CUR

FLASH option status register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-only

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
r
BOOT_UBE
r
IWDG_STDBY
r
IWDG_STOP
r
IO_VDDIO2_HSLV
r
IO_VDD_HSLV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRODUCT_STATE
r
NRST_STDBY
r
NRST_STOP
r
WWDG_SW
r
IWDG_SW
r
BORH_EN
r
BOR_LEV
r
Toggle fields

BOR_LEV

Bits 0-1: Brownout level option status bit.

BORH_EN

Bit 2: Brownout high enable.

IWDG_SW

Bit 3: IWDG control mode option status bit.

WWDG_SW

Bit 4: WWDG control mode option status bit.

NRST_STOP

Bit 6: Core domain Stop entry reset option status bit.

NRST_STDBY

Bit 7: Core domain Standby entry reset option status bit.

PRODUCT_STATE

Bits 8-15: Life state code (based on Hamming 8,4)..

IO_VDD_HSLV

Bit 16: High-speed IO at low Vless thansub>DDless than/sub> voltage configuration bit..

IO_VDDIO2_HSLV

Bit 17: High-speed IO at low Vless thansub>DDIO2less than/sub> voltage configuration bit..

IWDG_STOP

Bit 20: IWDG Stop mode freeze option status bit.

IWDG_STDBY

Bit 21: IWDG Standby mode freeze option status bit.

BOOT_UBE

Bits 22-29: Available only on cryptography enabled devices..

SWAP_BANK

Bit 31: Bank swapping option status bit.

OPTSR_PRG

FLASH option status register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
rw
BOOT_UBE
rw
IWDG_STDBY
rw
IWDG_STOP
rw
IO_VDDIO2_HSLV
rw
IO_VDD_HSLV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRODUCT_STATE
rw
NRST_STDBY
rw
NRST_STOP
rw
WWDG_SW
rw
IWDG_SW
rw
BORH_EN
rw
BOR_LEV
rw
Toggle fields

BOR_LEV

Bits 0-1: Brownout level option configuration bit.

BORH_EN

Bit 2: Brownout high enable configuration bit.

IWDG_SW

Bit 3: IWDG control mode option configuration bit.

WWDG_SW

Bit 4: WWDG control mode option configuration bit.

NRST_STOP

Bit 6: Core domain Stop entry reset option configuration bit.

NRST_STDBY

Bit 7: Core domain Standby entry reset option configuration bit.

PRODUCT_STATE

Bits 8-15: Life state code (based on Hamming 8,4)..

IO_VDD_HSLV

Bit 16: High-speed IO at low VDD voltage configuration bit..

IO_VDDIO2_HSLV

Bit 17: High-speed IO at low Vless thansub>DDIO2less than/sub> voltage configuration bit..

IWDG_STOP

Bit 20: IWDG Stop mode freeze option status bit.

IWDG_STDBY

Bit 21: IWDG Standby mode freeze option status bit.

BOOT_UBE

Bits 22-29: Available only on cryptography enabled devices..

SWAP_BANK

Bit 31: Bank swapping option configuration bit.

NSEPOCHR_CUR

FLASH non-secure EPOCH register

Offset: 0x60, 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
NS_EPOCH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NS_EPOCH
r
Toggle fields

NS_EPOCH

Bits 0-23: Non-volatile non-secure EPOCH counter.

SECEPOCHR_CUR

FLASH secure EPOCH register

Offset: 0x68, 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
SEC_EPOCH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC_EPOCH
r
Toggle fields

SEC_EPOCH

Bits 0-23: Non-volatile secure EPOCH counter.

OPTSR2_CUR

FLASH option status register 2

Offset: 0x70, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TZEN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBPD_DIS
r
SRAM2_ECC
r
SRAM3_ECC
r
BKPRAM_ECC
r
SRAM2_RST
r
SRAM13_RST
r
Toggle fields

SRAM13_RST

Bit 2: SRAM1 and SRAM3 erase upon system reset.

SRAM2_RST

Bit 3: SRAM2 erase when system reset.

BKPRAM_ECC

Bit 4: Backup RAM ECC detection and correction disable.

SRAM3_ECC

Bit 5: SRAM3 ECC detection and correction disable.

SRAM2_ECC

Bit 6: SRAM2 ECC detection and correction disable.

USBPD_DIS

Bit 8: USB power delivery configuration option bit.

TZEN

Bits 24-31: TrustZone enable configuration bits.

OPTSR2_PRG

FLASH option status register 2

Offset: 0x74, 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
TZEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBPD_DIS
rw
SRAM2_ECC
rw
SRAM3_ECC
rw
BKPRAM_ECC
rw
SRAM2_RST
rw
SRAM1_3_RST
rw
Toggle fields

SRAM1_3_RST

Bit 2: SRAM1 and SRAM3 erase upon system reset.

SRAM2_RST

Bit 3: SRAM2 erase when system reset.

BKPRAM_ECC

Bit 4: Backup RAM ECC detection and correction disable.

SRAM3_ECC

Bit 5: SRAM3 ECC detection and correction disable.

SRAM2_ECC

Bit 6: SRAM2 ECC detection and correction disable.

USBPD_DIS

Bit 8: USB power delivery configuration option bit.

TZEN

Bits 24-31: TrustZone enable configuration bits.

NSBOOTR_CUR

FLASH non-secure boot register

Offset: 0x80, 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
NSBOOTADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSBOOTADD
r
NSBOOT_LOCK
r
Toggle fields

NSBOOT_LOCK

Bits 0-7: Field locking the values of SWAP_BANK, and NSBOOTADD settings..

NSBOOTADD

Bits 8-31: Non secure unique boot entry address.

NSBOOTR_PRG

FLASH non-secure boot register

Offset: 0x84, 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
NSBOOTADD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSBOOTADD
rw
NSBOOT_LOCK
rw
Toggle fields

NSBOOT_LOCK

Bits 0-7: Field locking the values of SWAP_ BANK, and NSBOOTADD settings..

NSBOOTADD

Bits 8-31: Non secure unique boot entry address.

SECBOOTR_CUR

FLASH secure boot register

Offset: 0x88, 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
SECBOOTADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBOOTADD
r
SECBOOT_LOCK
r
Toggle fields

SECBOOT_LOCK

Bits 0-7: Field locking the values of UBE, SWAP_BANK, and SECBOOTADD settings..

SECBOOTADD

Bits 8-31: Unique boot entry secure address.

BOOTR_PRG

FLASH secure boot register

Offset: 0x8c, 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
SECBOOTADD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBOOTADD
rw
SECBOOT_LOCK
rw
Toggle fields

SECBOOT_LOCK

Bits 0-7: Field locking the values of UBE, SWAP_ BANK, and SECBOOTADD setting..

SECBOOTADD

Bits 8-31: Secure unique boot entry address..

OTPBLR_CUR

FLASH non-secure OTP block lock

Offset: 0x90, 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
LOCKBL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCKBL
r
Toggle fields

LOCKBL

Bits 0-31: OTP block lock.

OTPBLR_PRG

FLASH non-secure OTP block lock

Offset: 0x94, 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
LOCKBL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCKBL
rw
Toggle fields

LOCKBL

Bits 0-31: OTP block lock.

SECBB1R1

FLASH secure block based register for Bank1

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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

SECBB1R2

FLASH secure block based register for Bank1

Offset: 0xa4, 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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

SECBB1R3

FLASH secure block based register for Bank1

Offset: 0xa8, 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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

SECBB1R4

FLASH secure block based register for Bank1

Offset: 0xac, 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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

PRIVBB1R1

FLASH privilege block based register for Bank1

Offset: 0xc0, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

PRIVBB1R2

FLASH privilege block based register for Bank1

Offset: 0xc4, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

PRIVBB1R3

FLASH privilege block based register for Bank1

Offset: 0xc8, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

PRIVBB1R4

FLASH privilege block based register for Bank1

Offset: 0xcc, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

SECWM1R_CUR

FLASH security watermark for Bank1

Offset: 0xe0, 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
SECWM1_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM1_STRT
r
Toggle fields

SECWM1_STRT

Bits 0-6: Bank1 security WM area 1 start sector.

SECWM1_END

Bits 16-22: Bank1 security WM area 1 end sector.

SECWM1R_PRG

FLASH security watermark for Bank1

Offset: 0xe4, 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
SECWM1_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM1_STRT
rw
Toggle fields

SECWM1_STRT

Bits 0-6: Bank1 security WM area 1 start sector.

SECWM1_END

Bits 16-22: Bank1 security WM area 1 end sector.

WRP1R_CUR

FLASH write sector group protection for Bank1

Offset: 0xe8, 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
WRPSG1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG1
r
Toggle fields

WRPSG1

Bits 0-31: Bank1 sector group protection option status byte.

WRP1R_PRG

FLASH write sector group protection for Bank1

Offset: 0xec, 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
WRPSG1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG1
rw
Toggle fields

WRPSG1

Bits 0-31: Bank1 sector group protection option status byte.

EDATA1R_CUR

FLASH data sector configuration Bank1

Offset: 0xf0, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDATA1_EN
r
EDATA1_STRT
r
Toggle fields

EDATA1_STRT

Bits 0-2: EDATA1_STRT contains the start sectors of the flash high-cycle data area in Bank1 There is no hardware effect to those bits..

EDATA1_EN

Bit 15: Bank1 flash high-cycle data enable.

EDATA1R_PRG

FLASH data sector configuration Bank1

Offset: 0xf4, 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
EDATA1_EN
rw
EDATA1_STRT
rw
Toggle fields

EDATA1_STRT

Bits 0-2: EDATA1_STRT contains the start sectors of the flash high-cycle data area in Bank1 There is no hardware effect to those bits..

EDATA1_EN

Bit 15: Bank1 flash high-cycle data enable.

HDP1R_CUR

FLASH HDP Bank1 configuration

Offset: 0xf8, 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
HDP1_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP1_STRT
r
Toggle fields

HDP1_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP1_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

HDP1R_PRG

FLASH HDP Bank1 configuration

Offset: 0xfc, 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
HDP1_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP1_STRT
rw
Toggle fields

HDP1_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP1_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

ECCCORR

FLASH ECC correction register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

6/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCC
rw
ECCCIE
rw
OTP_ECC
r
SYSF_ECC
r
BK_ECC
r
EDATA_ECC
r
OBK_ECC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_ECC
r
Toggle fields

ADDR_ECC

Bits 0-15: ECC error address.

OBK_ECC

Bit 20: Single ECC error corrected in flash OB Keys storage area..

EDATA_ECC

Bit 21: ECC fail for corrected ECC error in flash high-cycle data area.

BK_ECC

Bit 22: ECC fail bank for corrected ECC error.

SYSF_ECC

Bit 23: ECC fail for corrected ECC error in system flash memory.

OTP_ECC

Bit 24: OTP ECC error bit.

ECCCIE

Bit 25: ECC single correction error interrupt enable bit.

ECCC

Bit 30: ECC correction set by hardware when single ECC error has been detected and corrected..

ECCDETR

FLASH ECC detection register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

6/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCD
rw
OTP_ECC
r
SYSF_ECC
r
BK_ECC
r
EDATA_ECC
r
OBK_ECC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_ECC
r
Toggle fields

ADDR_ECC

Bits 0-15: ECC error address.

OBK_ECC

Bit 20: ECC fail double ECC error in flash OB Keys storage area..

EDATA_ECC

Bit 21: ECC fail double ECC error in flash high-cycle data area.

BK_ECC

Bit 22: ECC fail bank for double ECC error.

SYSF_ECC

Bit 23: ECC fail for double ECC error in system flash memory.

OTP_ECC

Bit 24: OTP ECC error bit.

ECCD

Bit 31: ECC detection.

ECCDR

FLASH ECC data

Offset: 0x108, 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
DATA_ECC
r
Toggle fields

DATA_ECC

Bits 0-15: ECC error data.

SECBB2R1

FLASH secure block-based register for Bank2

Offset: 0x1a0, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

SECBB2R2

FLASH secure block-based register for Bank2

Offset: 0x1a4, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

SECBB2R3

FLASH secure block-based register for Bank2

Offset: 0x1a8, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

SECBB2R4

FLASH secure block-based register for Bank2

Offset: 0x1ac, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

PRIVBB2R1

FLASH privilege block-based register for Bank2

Offset: 0x1c0, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

PRIVBB2R2

FLASH privilege block-based register for Bank2

Offset: 0x1c4, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

PRIVBB2R3

FLASH privilege block-based register for Bank2

Offset: 0x1c8, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

PRIVBB2R4

FLASH privilege block-based register for Bank2

Offset: 0x1cc, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

SECWM2R_CUR

FLASH security watermark for Bank2

Offset: 0x1e0, 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
SECWM2_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM2_STRT
r
Toggle fields

SECWM2_STRT

Bits 0-6: Bank2 security WM area start sector.

SECWM2_END

Bits 16-22: Bank2 security WM end sector.

SECWM2R_PRG

FLASH security watermark for Bank2

Offset: 0x1e4, 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
SECWM2_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM2_STRT
rw
Toggle fields

SECWM2_STRT

Bits 0-6: Bank2 security WM area start sector.

SECWM2_END

Bits 16-22: Bank2 security WM area end sector.

WRP2R_CUR

FLASH write sector group protection for Bank2

Offset: 0x1e8, 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
WRPSG2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG2
r
Toggle fields

WRPSG2

Bits 0-31: Bank2 sector group protection option status byte.

WRP2R_PRG

FLASH write sector group protection for Bank2

Offset: 0x1ec, 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
WRPSG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG2
rw
Toggle fields

WRPSG2

Bits 0-31: Bank2 sector group protection option status byte.

EDATA2R_CUR

FLASH data sectors configuration Bank2

Offset: 0x1f0, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDATA2_EN
r
EDATA2_STRT
r
Toggle fields

EDATA2_STRT

Bits 0-2: EDATA2_STRT contains the start sectors of the flash high-cycle data area in Bank2 There is no hardware effect to those bits..

EDATA2_EN

Bit 15: Bank2 flash high-cycle data enable.

EDATA2R_PRG

FLASH data sector configuration Bank2

Offset: 0x1f4, 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
EDATA2_EN
rw
EDATA2_STRT
rw
Toggle fields

EDATA2_STRT

Bits 0-2: EDATA2_STRT contains the start sectors of the flash high-cycle data area in Bank2 There is no hardware effect to those bits..

EDATA2_EN

Bit 15: Bank2 flash high-cycle data enable.

HDP2R_CUR

FLASH HDP Bank2 configuration

Offset: 0x1f8, 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
HDP2_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP2_STRT
r
Toggle fields

HDP2_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP2_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

HDP2R_PRG

FLASH HDP Bank2 configuration

Offset: 0x1fc, 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
HDP2_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP2_STRT
rw
Toggle fields

HDP2_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP2_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

FLASH_S

0x50022000: Mustang_FLASH register block

82/213 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ACR
0x4 NSKEYR
0x8 SECKEYR
0xc OPTKEYR
0x10 NSOBKKEYR
0x14 SECOBKKEYR
0x18 OPSR
0x1c OPTCR
0x20 NSSR
0x24 SECSR
0x28 NSCR
0x2c SECCR
0x30 NSCCR
0x34 SECCCR
0x3c PRIVCFGR
0x40 NSOBKCFGR
0x44 SECOBKCFGR
0x48 HDPEXTR
0x50 OPTSR_CUR
0x54 OPTSR_PRG
0x60 NSEPOCHR_CUR
0x68 SECEPOCHR_CUR
0x70 OPTSR2_CUR
0x74 OPTSR2_PRG
0x80 NSBOOTR_CUR
0x84 NSBOOTR_PRG
0x88 SECBOOTR_CUR
0x8c BOOTR_PRG
0x90 OTPBLR_CUR
0x94 OTPBLR_PRG
0xa0 SECBB1R1
0xa4 SECBB1R2
0xa8 SECBB1R3
0xac SECBB1R4
0xc0 PRIVBB1R1
0xc4 PRIVBB1R2
0xc8 PRIVBB1R3
0xcc PRIVBB1R4
0xe0 SECWM1R_CUR
0xe4 SECWM1R_PRG
0xe8 WRP1R_CUR
0xec WRP1R_PRG
0xf0 EDATA1R_CUR
0xf4 EDATA1R_PRG
0xf8 HDP1R_CUR
0xfc HDP1R_PRG
0x100 ECCCORR
0x104 ECCDETR
0x108 ECCDR
0x1a0 SECBB2R1
0x1a4 SECBB2R2
0x1a8 SECBB2R3
0x1ac SECBB2R4
0x1c0 PRIVBB2R1
0x1c4 PRIVBB2R2
0x1c8 PRIVBB2R3
0x1cc PRIVBB2R4
0x1e0 SECWM2R_CUR
0x1e4 SECWM2R_PRG
0x1e8 WRP2R_CUR
0x1ec WRP2R_PRG
0x1f0 EDATA2R_CUR
0x1f4 EDATA2R_PRG
0x1f8 HDP2R_CUR
0x1fc HDP2R_PRG
Toggle registers

ACR

FLASH access control register

Offset: 0x0, size: 32, reset: 0x00000013, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRFTEN
rw
WRHIGHFREQ
rw
LATENCY
rw
Toggle fields

LATENCY

Bits 0-3: Read latency.

WRHIGHFREQ

Bits 4-5: Flash signal delay.

PRFTEN

Bit 8: Prefetch enable..

NSKEYR

FLASH non-secure 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
NSKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSKEY
w
Toggle fields

NSKEY

Bits 0-31: Non-volatile memory non-secure configuration access unlock key.

SECKEYR

FLASH secure 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
SECKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECKEY
w
Toggle fields

SECKEY

Bits 0-31: Non-volatile memory secure configuration access unlock key.

OPTKEYR

FLASH option 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
OPTKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPTKEY
w
Toggle fields

OPTKEY

Bits 0-31: FLASH option bytes control access unlock key.

NSOBKKEYR

FLASH non-secure OBK key register

Offset: 0x10, 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
NSOBKKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSOBKKEY
w
Toggle fields

NSOBKKEY

Bits 0-31: FLASH non-secure option bytes keys control access unlock key.

SECOBKKEYR

FLASH secure OBK key register

Offset: 0x14, 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
SECOBKKEY
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECOBKKEY
w
Toggle fields

SECOBKKEY

Bits 0-31: FLASH secure option bytes keys control access unlock key.

OPSR

FLASH operation status register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CODE_OP
r
OTP_OP
r
SYSF_OP
r
BK_OP
r
DATA_OP
r
ADDR_OP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_OP
r
Toggle fields

ADDR_OP

Bits 0-19: Interrupted operation address.

DATA_OP

Bit 21: Flash high-cycle data area operation interrupted.

BK_OP

Bit 22: Interrupted operation bank.

SYSF_OP

Bit 23: Operation in system flash memory interrupted.

OTP_OP

Bit 24: OTP operation interrupted.

CODE_OP

Bits 29-31: Flash memory operation code.

OPTCR

FLASH option control register

Offset: 0x1c, size: 32, reset: 0x00000001, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPTSTRT
rw
OPTLOCK
rw
Toggle fields

OPTLOCK

Bit 0: FLASH_OPTCR lock option configuration bit.

OPTSTRT

Bit 1: Option byte start change option configuration bit.

SWAP_BANK

Bit 31: Bank swapping option configuration bit.

NSSR

FLASH non-secure status register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OPTCHANGEERR
r
OBKWERR
r
OBKERR
r
INCERR
r
STRBERR
r
PGSERR
r
WRPERR
r
EOP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBNE
r
WBNE
r
BSY
r
Toggle fields

BSY

Bit 0: busy flag.

WBNE

Bit 1: write buffer not empty flag.

DBNE

Bit 3: data buffer not empty flag.

EOP

Bit 16: end of operation flag.

WRPERR

Bit 17: write protection error flag.

PGSERR

Bit 18: programming sequence error flag.

STRBERR

Bit 19: strobe error flag.

INCERR

Bit 20: inconsistency error flag.

OBKERR

Bit 21: OBK general error flag.

OBKWERR

Bit 22: OBK write error flag.

OPTCHANGEERR

Bit 23: Option byte change error flag.

SECSR

FLASH secure status register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OBKWERR
r
OBKERR
r
INCERR
r
STRBERR
r
PGSERR
r
WRPERR
r
EOP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBNE
r
WBNE
r
BSY
r
Toggle fields

BSY

Bit 0: busy flag.

WBNE

Bit 1: write buffer not empty flag.

DBNE

Bit 3: data buffer not empty flag.

EOP

Bit 16: end of operation flag.

WRPERR

Bit 17: write protection error flag.

PGSERR

Bit 18: programming sequence error flag.

STRBERR

Bit 19: strobe error flag.

INCERR

Bit 20: inconsistency error flag.

OBKERR

Bit 21: OBK general error flag.

OBKWERR

Bit 22: OBK write error flag.

NSCR

FLASH non-secure control register

Offset: 0x28, size: 32, reset: 0x00000001, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BKSEL
rw
OPTCHANGEERRIE
rw
OBKWERRIE
rw
OBKERRIE
rw
INCERRIE
rw
STRBERRIE
rw
PGSERRIE
rw
WRPERRIE
rw
EOPIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MER
rw
SNB
rw
STRT
rw
FW
rw
BER
rw
SER
rw
PG
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: configuration lock bit.

PG

Bit 1: programming control bit.

SER

Bit 2: sector erase request.

BER

Bit 3: erase request.

FW

Bit 4: write forcing control bit.

STRT

Bit 5: erase start control bit.

SNB

Bits 6-12: sector erase selection number.

MER

Bit 15: mass erase request.

EOPIE

Bit 16: end of operation interrupt control bit.

WRPERRIE

Bit 17: write protection error interrupt enable bit.

PGSERRIE

Bit 18: programming sequence error interrupt enable bit.

STRBERRIE

Bit 19: strobe error interrupt enable bit.

INCERRIE

Bit 20: inconsistency error interrupt enable bit.

OBKERRIE

Bit 21: OBK general error interrupt enable bit.

OBKWERRIE

Bit 22: OBK write error interrupt enable bit.

OPTCHANGEERRIE

Bit 23: Option byte change error interrupt enable bit.

BKSEL

Bit 31: Bank selector bit.

SECCR

FLASH secure control register

Offset: 0x2c, size: 32, reset: 0x00000001, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BKSEL
rw
INV
rw
OBKWERRIE
rw
OBKERRIE
rw
INCERRIE
rw
STRBERRIE
rw
PGSERRIE
rw
WRPERRIE
rw
EOPIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MER
rw
SNB
rw
STRT
rw
FW
rw
BER
rw
SER
rw
PG
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: configuration lock bit.

PG

Bit 1: programming control bit.

SER

Bit 2: sector erase request.

BER

Bit 3: erase request.

FW

Bit 4: write forcing control bit.

STRT

Bit 5: erase start control bit.

SNB

Bits 6-12: sector erase selection number.

MER

Bit 15: mass erase request.

EOPIE

Bit 16: end of operation interrupt control bit.

WRPERRIE

Bit 17: write protection error interrupt enable bit.

PGSERRIE

Bit 18: programming sequence error interrupt enable bit.

STRBERRIE

Bit 19: strobe error interrupt enable bit.

INCERRIE

Bit 20: inconsistency error interrupt enable bit.

OBKERRIE

Bit 21: OBK general error interrupt enable bit.

OBKWERRIE

Bit 22: OBK write error interrupt enable bit.

INV

Bit 29: Flash memory security state invert..

BKSEL

Bit 31: Bank selector bit.

NSCCR

FLASH non-secure clear control register

Offset: 0x30, size: 32, reset: 0x00000000, access: write-only

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_OPTCHANGEERR
w
CLR_OBKWERR
w
CLR_OBKERR
w
CLR_INCERR
w
CLR_STRBERR
w
CLR_PGSERR
w
CLR_WRPERR
w
CLR_EOP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_EOP

Bit 16: EOP flag clear bit.

CLR_WRPERR

Bit 17: WRPERR flag clear bit.

CLR_PGSERR

Bit 18: PGSERR flag clear bit.

CLR_STRBERR

Bit 19: STRBERR flag clear bit.

CLR_INCERR

Bit 20: INCERR flag clear bit.

CLR_OBKERR

Bit 21: OBKERR flag clear bit..

CLR_OBKWERR

Bit 22: OBKWERR flag clear bit..

CLR_OPTCHANGEERR

Bit 23: Clear the flag corresponding flag in FLASH_NSSR by writing this bit..

SECCCR

FLASH secure clear control register

Offset: 0x34, size: 32, reset: 0x00000000, access: write-only

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_OBKWERR
w
CLR_OBKERR
w
CLR_INCERR
w
CLR_STRBERR
w
CLR_PGSERR
w
CLR_WRPERR
w
CLR_EOP
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_EOP

Bit 16: EOP flag clear bit.

CLR_WRPERR

Bit 17: WRPERR flag clear bit.

CLR_PGSERR

Bit 18: PGSERR flag clear bit.

CLR_STRBERR

Bit 19: STRBERR flag clear bit.

CLR_INCERR

Bit 20: INCERR flag clear bit.

CLR_OBKERR

Bit 21: OBKWERR flag clear bit.

CLR_OBKWERR

Bit 22: OBKWERR flag clear bit.

PRIVCFGR

FLASH privilege configuration register

Offset: 0x3c, 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
NSPRIV
rw
SPRIV
rw
Toggle fields

SPRIV

Bit 0: privilege attribute for secure registers.

NSPRIV

Bit 1: privilege attribute for non secure registers.

NSOBKCFGR

FLASH non-secure OBK configuration register

Offset: 0x40, size: 32, reset: 0x01FF0000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_OFFSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALT_SECT_ERASE
rw
ALT_SECT
rw
SWAP_SECT_REQ
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: OBKCFGR lock option configuration bit.

SWAP_SECT_REQ

Bit 1: OBK swap sector request bit.

ALT_SECT

Bit 2: alternate sector bit.

ALT_SECT_ERASE

Bit 3: alternate sector erase bit.

SWAP_OFFSET

Bits 16-24: Key index (offset /16 bits) pointing for next swap..

SECOBKCFGR

FLASH secure OBK configuration register

Offset: 0x44, size: 32, reset: 0x01FF0000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_OFFSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALT_SECT_ERASE
rw
ALT_SECT
rw
SWAP_SECT_REQ
rw
LOCK
rw
Toggle fields

LOCK

Bit 0: OBKCFGR lock option configuration bit.

SWAP_SECT_REQ

Bit 1: OBK swap sector request bit.

ALT_SECT

Bit 2: alternate sector bit.

ALT_SECT_ERASE

Bit 3: alternate sector erase bit.

SWAP_OFFSET

Bits 16-24: key index (offset /16 bits) pointing for next swap..

HDPEXTR

FLASH HDP extension register

Offset: 0x48, 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
HDP2_EXT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP1_EXT
rw
Toggle fields

HDP1_EXT

Bits 0-6: HDP area extension in 8 Kbytes sectors in Bank1..

HDP2_EXT

Bits 16-22: HDP area extension in 8 Kbytes sectors in Bank2..

OPTSR_CUR

FLASH option status register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-only

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
r
BOOT_UBE
r
IWDG_STDBY
r
IWDG_STOP
r
IO_VDDIO2_HSLV
r
IO_VDD_HSLV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRODUCT_STATE
r
NRST_STDBY
r
NRST_STOP
r
WWDG_SW
r
IWDG_SW
r
BORH_EN
r
BOR_LEV
r
Toggle fields

BOR_LEV

Bits 0-1: Brownout level option status bit.

BORH_EN

Bit 2: Brownout high enable.

IWDG_SW

Bit 3: IWDG control mode option status bit.

WWDG_SW

Bit 4: WWDG control mode option status bit.

NRST_STOP

Bit 6: Core domain Stop entry reset option status bit.

NRST_STDBY

Bit 7: Core domain Standby entry reset option status bit.

PRODUCT_STATE

Bits 8-15: Life state code (based on Hamming 8,4)..

IO_VDD_HSLV

Bit 16: High-speed IO at low Vless thansub>DDless than/sub> voltage configuration bit..

IO_VDDIO2_HSLV

Bit 17: High-speed IO at low Vless thansub>DDIO2less than/sub> voltage configuration bit..

IWDG_STOP

Bit 20: IWDG Stop mode freeze option status bit.

IWDG_STDBY

Bit 21: IWDG Standby mode freeze option status bit.

BOOT_UBE

Bits 22-29: Available only on cryptography enabled devices..

SWAP_BANK

Bit 31: Bank swapping option status bit.

OPTSR_PRG

FLASH option status register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
rw
BOOT_UBE
rw
IWDG_STDBY
rw
IWDG_STOP
rw
IO_VDDIO2_HSLV
rw
IO_VDD_HSLV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRODUCT_STATE
rw
NRST_STDBY
rw
NRST_STOP
rw
WWDG_SW
rw
IWDG_SW
rw
BORH_EN
rw
BOR_LEV
rw
Toggle fields

BOR_LEV

Bits 0-1: Brownout level option configuration bit.

BORH_EN

Bit 2: Brownout high enable configuration bit.

IWDG_SW

Bit 3: IWDG control mode option configuration bit.

WWDG_SW

Bit 4: WWDG control mode option configuration bit.

NRST_STOP

Bit 6: Core domain Stop entry reset option configuration bit.

NRST_STDBY

Bit 7: Core domain Standby entry reset option configuration bit.

PRODUCT_STATE

Bits 8-15: Life state code (based on Hamming 8,4)..

IO_VDD_HSLV

Bit 16: High-speed IO at low VDD voltage configuration bit..

IO_VDDIO2_HSLV

Bit 17: High-speed IO at low Vless thansub>DDIO2less than/sub> voltage configuration bit..

IWDG_STOP

Bit 20: IWDG Stop mode freeze option status bit.

IWDG_STDBY

Bit 21: IWDG Standby mode freeze option status bit.

BOOT_UBE

Bits 22-29: Available only on cryptography enabled devices..

SWAP_BANK

Bit 31: Bank swapping option configuration bit.

NSEPOCHR_CUR

FLASH non-secure EPOCH register

Offset: 0x60, 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
NS_EPOCH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NS_EPOCH
r
Toggle fields

NS_EPOCH

Bits 0-23: Non-volatile non-secure EPOCH counter.

SECEPOCHR_CUR

FLASH secure EPOCH register

Offset: 0x68, 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
SEC_EPOCH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC_EPOCH
r
Toggle fields

SEC_EPOCH

Bits 0-23: Non-volatile secure EPOCH counter.

OPTSR2_CUR

FLASH option status register 2

Offset: 0x70, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TZEN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBPD_DIS
r
SRAM2_ECC
r
SRAM3_ECC
r
BKPRAM_ECC
r
SRAM2_RST
r
SRAM13_RST
r
Toggle fields

SRAM13_RST

Bit 2: SRAM1 and SRAM3 erase upon system reset.

SRAM2_RST

Bit 3: SRAM2 erase when system reset.

BKPRAM_ECC

Bit 4: Backup RAM ECC detection and correction disable.

SRAM3_ECC

Bit 5: SRAM3 ECC detection and correction disable.

SRAM2_ECC

Bit 6: SRAM2 ECC detection and correction disable.

USBPD_DIS

Bit 8: USB power delivery configuration option bit.

TZEN

Bits 24-31: TrustZone enable configuration bits.

OPTSR2_PRG

FLASH option status register 2

Offset: 0x74, 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
TZEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBPD_DIS
rw
SRAM2_ECC
rw
SRAM3_ECC
rw
BKPRAM_ECC
rw
SRAM2_RST
rw
SRAM1_3_RST
rw
Toggle fields

SRAM1_3_RST

Bit 2: SRAM1 and SRAM3 erase upon system reset.

SRAM2_RST

Bit 3: SRAM2 erase when system reset.

BKPRAM_ECC

Bit 4: Backup RAM ECC detection and correction disable.

SRAM3_ECC

Bit 5: SRAM3 ECC detection and correction disable.

SRAM2_ECC

Bit 6: SRAM2 ECC detection and correction disable.

USBPD_DIS

Bit 8: USB power delivery configuration option bit.

TZEN

Bits 24-31: TrustZone enable configuration bits.

NSBOOTR_CUR

FLASH non-secure boot register

Offset: 0x80, 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
NSBOOTADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSBOOTADD
r
NSBOOT_LOCK
r
Toggle fields

NSBOOT_LOCK

Bits 0-7: Field locking the values of SWAP_BANK, and NSBOOTADD settings..

NSBOOTADD

Bits 8-31: Non secure unique boot entry address.

NSBOOTR_PRG

FLASH non-secure boot register

Offset: 0x84, 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
NSBOOTADD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSBOOTADD
rw
NSBOOT_LOCK
rw
Toggle fields

NSBOOT_LOCK

Bits 0-7: Field locking the values of SWAP_ BANK, and NSBOOTADD settings..

NSBOOTADD

Bits 8-31: Non secure unique boot entry address.

SECBOOTR_CUR

FLASH secure boot register

Offset: 0x88, 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
SECBOOTADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBOOTADD
r
SECBOOT_LOCK
r
Toggle fields

SECBOOT_LOCK

Bits 0-7: Field locking the values of UBE, SWAP_BANK, and SECBOOTADD settings..

SECBOOTADD

Bits 8-31: Unique boot entry secure address.

BOOTR_PRG

FLASH secure boot register

Offset: 0x8c, 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
SECBOOTADD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBOOTADD
rw
SECBOOT_LOCK
rw
Toggle fields

SECBOOT_LOCK

Bits 0-7: Field locking the values of UBE, SWAP_ BANK, and SECBOOTADD setting..

SECBOOTADD

Bits 8-31: Secure unique boot entry address..

OTPBLR_CUR

FLASH non-secure OTP block lock

Offset: 0x90, 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
LOCKBL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCKBL
r
Toggle fields

LOCKBL

Bits 0-31: OTP block lock.

OTPBLR_PRG

FLASH non-secure OTP block lock

Offset: 0x94, 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
LOCKBL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCKBL
rw
Toggle fields

LOCKBL

Bits 0-31: OTP block lock.

SECBB1R1

FLASH secure block based register for Bank1

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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

SECBB1R2

FLASH secure block based register for Bank1

Offset: 0xa4, 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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

SECBB1R3

FLASH secure block based register for Bank1

Offset: 0xa8, 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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

SECBB1R4

FLASH secure block based register for Bank1

Offset: 0xac, 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
SECBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB1
rw
Toggle fields

SECBB1

Bits 0-31: Secure/non-secure 8 Kbytes flash Bank1 sector attributes.

PRIVBB1R1

FLASH privilege block based register for Bank1

Offset: 0xc0, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

PRIVBB1R2

FLASH privilege block based register for Bank1

Offset: 0xc4, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

PRIVBB1R3

FLASH privilege block based register for Bank1

Offset: 0xc8, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

PRIVBB1R4

FLASH privilege block based register for Bank1

Offset: 0xcc, 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
PRIVBB1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB1
rw
Toggle fields

PRIVBB1

Bits 0-31: Privileged/unprivileged 8-Kbyte flash Bank1 sector attribute.

SECWM1R_CUR

FLASH security watermark for Bank1

Offset: 0xe0, 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
SECWM1_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM1_STRT
r
Toggle fields

SECWM1_STRT

Bits 0-6: Bank1 security WM area 1 start sector.

SECWM1_END

Bits 16-22: Bank1 security WM area 1 end sector.

SECWM1R_PRG

FLASH security watermark for Bank1

Offset: 0xe4, 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
SECWM1_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM1_STRT
rw
Toggle fields

SECWM1_STRT

Bits 0-6: Bank1 security WM area 1 start sector.

SECWM1_END

Bits 16-22: Bank1 security WM area 1 end sector.

WRP1R_CUR

FLASH write sector group protection for Bank1

Offset: 0xe8, 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
WRPSG1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG1
r
Toggle fields

WRPSG1

Bits 0-31: Bank1 sector group protection option status byte.

WRP1R_PRG

FLASH write sector group protection for Bank1

Offset: 0xec, 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
WRPSG1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG1
rw
Toggle fields

WRPSG1

Bits 0-31: Bank1 sector group protection option status byte.

EDATA1R_CUR

FLASH data sector configuration Bank1

Offset: 0xf0, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDATA1_EN
r
EDATA1_STRT
r
Toggle fields

EDATA1_STRT

Bits 0-2: EDATA1_STRT contains the start sectors of the flash high-cycle data area in Bank1 There is no hardware effect to those bits..

EDATA1_EN

Bit 15: Bank1 flash high-cycle data enable.

EDATA1R_PRG

FLASH data sector configuration Bank1

Offset: 0xf4, 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
EDATA1_EN
rw
EDATA1_STRT
rw
Toggle fields

EDATA1_STRT

Bits 0-2: EDATA1_STRT contains the start sectors of the flash high-cycle data area in Bank1 There is no hardware effect to those bits..

EDATA1_EN

Bit 15: Bank1 flash high-cycle data enable.

HDP1R_CUR

FLASH HDP Bank1 configuration

Offset: 0xf8, 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
HDP1_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP1_STRT
r
Toggle fields

HDP1_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP1_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

HDP1R_PRG

FLASH HDP Bank1 configuration

Offset: 0xfc, 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
HDP1_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP1_STRT
rw
Toggle fields

HDP1_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP1_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

ECCCORR

FLASH ECC correction register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

6/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCC
rw
ECCCIE
rw
OTP_ECC
r
SYSF_ECC
r
BK_ECC
r
EDATA_ECC
r
OBK_ECC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_ECC
r
Toggle fields

ADDR_ECC

Bits 0-15: ECC error address.

OBK_ECC

Bit 20: Single ECC error corrected in flash OB Keys storage area..

EDATA_ECC

Bit 21: ECC fail for corrected ECC error in flash high-cycle data area.

BK_ECC

Bit 22: ECC fail bank for corrected ECC error.

SYSF_ECC

Bit 23: ECC fail for corrected ECC error in system flash memory.

OTP_ECC

Bit 24: OTP ECC error bit.

ECCCIE

Bit 25: ECC single correction error interrupt enable bit.

ECCC

Bit 30: ECC correction set by hardware when single ECC error has been detected and corrected..

ECCDETR

FLASH ECC detection register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

6/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCD
rw
OTP_ECC
r
SYSF_ECC
r
BK_ECC
r
EDATA_ECC
r
OBK_ECC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_ECC
r
Toggle fields

ADDR_ECC

Bits 0-15: ECC error address.

OBK_ECC

Bit 20: ECC fail double ECC error in flash OB Keys storage area..

EDATA_ECC

Bit 21: ECC fail double ECC error in flash high-cycle data area.

BK_ECC

Bit 22: ECC fail bank for double ECC error.

SYSF_ECC

Bit 23: ECC fail for double ECC error in system flash memory.

OTP_ECC

Bit 24: OTP ECC error bit.

ECCD

Bit 31: ECC detection.

ECCDR

FLASH ECC data

Offset: 0x108, 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
DATA_ECC
r
Toggle fields

DATA_ECC

Bits 0-15: ECC error data.

SECBB2R1

FLASH secure block-based register for Bank2

Offset: 0x1a0, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

SECBB2R2

FLASH secure block-based register for Bank2

Offset: 0x1a4, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

SECBB2R3

FLASH secure block-based register for Bank2

Offset: 0x1a8, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

SECBB2R4

FLASH secure block-based register for Bank2

Offset: 0x1ac, 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
SECBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECBB2
rw
Toggle fields

SECBB2

Bits 0-31: Secure/non-secure flash Bank2 sector attribute.

PRIVBB2R1

FLASH privilege block-based register for Bank2

Offset: 0x1c0, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

PRIVBB2R2

FLASH privilege block-based register for Bank2

Offset: 0x1c4, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

PRIVBB2R3

FLASH privilege block-based register for Bank2

Offset: 0x1c8, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

PRIVBB2R4

FLASH privilege block-based register for Bank2

Offset: 0x1cc, 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
PRIVBB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVBB2
rw
Toggle fields

PRIVBB2

Bits 0-31: Privileged / non-privileged 8-Kbyte flash Bank2 sector attribute.

SECWM2R_CUR

FLASH security watermark for Bank2

Offset: 0x1e0, 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
SECWM2_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM2_STRT
r
Toggle fields

SECWM2_STRT

Bits 0-6: Bank2 security WM area start sector.

SECWM2_END

Bits 16-22: Bank2 security WM end sector.

SECWM2R_PRG

FLASH security watermark for Bank2

Offset: 0x1e4, 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
SECWM2_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SECWM2_STRT
rw
Toggle fields

SECWM2_STRT

Bits 0-6: Bank2 security WM area start sector.

SECWM2_END

Bits 16-22: Bank2 security WM area end sector.

WRP2R_CUR

FLASH write sector group protection for Bank2

Offset: 0x1e8, 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
WRPSG2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG2
r
Toggle fields

WRPSG2

Bits 0-31: Bank2 sector group protection option status byte.

WRP2R_PRG

FLASH write sector group protection for Bank2

Offset: 0x1ec, 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
WRPSG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSG2
rw
Toggle fields

WRPSG2

Bits 0-31: Bank2 sector group protection option status byte.

EDATA2R_CUR

FLASH data sectors configuration Bank2

Offset: 0x1f0, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDATA2_EN
r
EDATA2_STRT
r
Toggle fields

EDATA2_STRT

Bits 0-2: EDATA2_STRT contains the start sectors of the flash high-cycle data area in Bank2 There is no hardware effect to those bits..

EDATA2_EN

Bit 15: Bank2 flash high-cycle data enable.

EDATA2R_PRG

FLASH data sector configuration Bank2

Offset: 0x1f4, 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
EDATA2_EN
rw
EDATA2_STRT
rw
Toggle fields

EDATA2_STRT

Bits 0-2: EDATA2_STRT contains the start sectors of the flash high-cycle data area in Bank2 There is no hardware effect to those bits..

EDATA2_EN

Bit 15: Bank2 flash high-cycle data enable.

HDP2R_CUR

FLASH HDP Bank2 configuration

Offset: 0x1f8, 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
HDP2_END
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP2_STRT
r
Toggle fields

HDP2_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP2_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

HDP2R_PRG

FLASH HDP Bank2 configuration

Offset: 0x1fc, 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
HDP2_END
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDP2_STRT
rw
Toggle fields

HDP2_STRT

Bits 0-6: HDPL barrier start set in number of 8-Kbyte sectors.

HDP2_END

Bits 16-22: HDPL barrier end set in number of 8-Kbyte sectors.

FMC

0x47000400: FMC address block description

6/202 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 BCR1
0x4 BTR1
0x8 BCR2
0xc BTR2
0x10 BCR3
0x14 BTR3
0x18 BCR4
0x1c BTR4
0x20 PCSCNTR
0x80 PCR
0x84 SR
0x88 PMEM
0x8c PATT
0x94 ECCR
0x104 BWTR1
0x10c BWTR2
0x114 BWTR3
0x11c BWTR4
0x140 SDCR1
0x144 SDCR2
0x148 SDTR1
0x14c SDTR2
0x150 SDCMR
0x154 SDRTR
0x158 SDSR
Toggle registers

BCR1

SRAM/NOR-flash chip-select control register for bank 1

Offset: 0x0, size: 32, reset: 0x000030DB, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR1

SRAM/NOR-flash chip-select timing register for bank 1

Offset: 0x4, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

BCR2

SRAM/NOR-flash chip-select control register for bank 2

Offset: 0x8, size: 32, reset: 0x000030D2, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR2

SRAM/NOR-flash chip-select timing register for bank 2

Offset: 0xc, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

BCR3

SRAM/NOR-flash chip-select control register for bank 3

Offset: 0x10, size: 32, reset: 0x000030D2, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR3

SRAM/NOR-flash chip-select timing register for bank 3

Offset: 0x14, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

BCR4

SRAM/NOR-flash chip-select control register for bank 4

Offset: 0x18, size: 32, reset: 0x000030D2, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR4

SRAM/NOR-flash chip-select timing register for bank 4

Offset: 0x1c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

PCSCNTR

PSRAM chip select counter register

Offset: 0x20, 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
CNTB4EN
rw
CNTB3EN
rw
CNTB2EN
rw
CNTB1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSCOUNT
rw
Toggle fields

CSCOUNT

Bits 0-15: Chip select counter..

CNTB1EN

Bit 16: Counter Bank 1 enable.

CNTB2EN

Bit 17: Counter Bank 2 enable.

CNTB3EN

Bit 18: Counter Bank 3 enable.

CNTB4EN

Bit 19: Counter Bank 4 enable.

PCR

NAND flash control registers

Offset: 0x80, size: 32, reset: 0x00000018, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCPS
rw
TAR3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAR
rw
TCLR
rw
ECCEN
rw
PWID
rw
PTYP
rw
PBKEN
rw
PWAITEN
rw
Toggle fields

PWAITEN

Bit 1: Wait feature enable bit.

PBKEN

Bit 2: NAND flash memory bank enable bit.

PTYP

Bit 3: Memory type.

PWID

Bits 4-5: Data bus width.

ECCEN

Bit 6: ECC computation logic enable bit.

TCLR

Bits 9-12: CLE to RE delay.

TAR

Bits 13-15: ALE to RE delay.

TAR3

Bit 16: ALE to RE delay.

ECCPS

Bits 17-19: ECC page size.

SR

FIFO status and interrupt register

Offset: 0x84, size: 32, reset: 0x00000040, access: read-write

1/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEMPT
r
IFEN
rw
ILEN
rw
IREN
rw
IFS
rw
ILS
rw
IRS
rw
Toggle fields

IRS

Bit 0: Interrupt rising edge status.

ILS

Bit 1: Interrupt high-level status.

IFS

Bit 2: Interrupt falling edge status.

IREN

Bit 3: Interrupt rising edge detection enable bit.

ILEN

Bit 4: Interrupt high-level detection enable bit.

IFEN

Bit 5: Interrupt falling edge detection enable bit.

FEMPT

Bit 6: FIFO empty.

PMEM

Common memory space timing register

Offset: 0x88, size: 32, reset: 0xFCFCFCFC, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEMHIZ
rw
MEMHOLD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MEMWAIT
rw
MEMSET
rw
Toggle fields

MEMSET

Bits 0-7: Common memory x setup time.

MEMWAIT

Bits 8-15: Common memory wait time.

MEMHOLD

Bits 16-23: Common memory hold time.

MEMHIZ

Bits 24-31: Common memory x data bus Hi-Z time.

PATT

Attribute memory space timing register

Offset: 0x8c, size: 32, reset: 0xFCFCFCFC, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ATTHIZ
rw
ATTHOLD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATTWAIT
rw
ATTSET
rw
Toggle fields

ATTSET

Bits 0-7: Attribute memory setup time.

ATTWAIT

Bits 8-15: Attribute memory wait time.

ATTHOLD

Bits 16-23: Attribute memory hold time.

ATTHIZ

Bits 24-31: Attribute memory data bus Hi-Z time.

ECCR

ECC result registers

Offset: 0x94, 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
ECC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECC
r
Toggle fields

ECC

Bits 0-31: ECC result.

BWTR1

SRAM/NOR-flash write timing registers 1

Offset: 0x104, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

BWTR2

SRAM/NOR-flash write timing registers 2

Offset: 0x10c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

BWTR3

SRAM/NOR-flash write timing registers 3

Offset: 0x114, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

BWTR4

SRAM/NOR-flash write timing registers 4

Offset: 0x11c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

SDCR1

SDRAM control registers 1,2

Offset: 0x140, size: 32, reset: 0x000002D0, access: read-write

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIPE
rw
RBURST
rw
SDCLK
rw
WP
rw
CAS
rw
NB
rw
MWID
rw
NR
rw
NC
rw
Toggle fields

NC

Bits 0-1: Number of column address bits.

NR

Bits 2-3: Number of row address bits.

MWID

Bits 4-5: Memory data bus width..

NB

Bit 6: Number of internal banks.

CAS

Bits 7-8: CAS Latency.

WP

Bit 9: Write protection.

SDCLK

Bits 10-11: SDRAM clock configuration.

RBURST

Bit 12: Burst read.

RPIPE

Bits 13-14: Read pipe.

SDCR2

SDRAM control registers 1,2

Offset: 0x144, size: 32, reset: 0x000002D0, access: read-write

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIPE
rw
RBURST
rw
SDCLK
rw
WP
rw
CAS
rw
NB
rw
MWID
rw
NR
rw
NC
rw
Toggle fields

NC

Bits 0-1: Number of column address bits.

NR

Bits 2-3: Number of row address bits.

MWID

Bits 4-5: Memory data bus width..

NB

Bit 6: Number of internal banks.

CAS

Bits 7-8: CAS Latency.

WP

Bit 9: Write protection.

SDCLK

Bits 10-11: SDRAM clock configuration.

RBURST

Bit 12: Burst read.

RPIPE

Bits 13-14: Read pipe.

SDTR1

SDRAM timing registers 1,2

Offset: 0x148, size: 32, reset: 0x0FFFFFFF, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TRCD
rw
TRP
rw
TWR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRC
rw
TRAS
rw
TXSR
rw
TMRD
rw
Toggle fields

TMRD

Bits 0-3: Load Mode Register to Active.

TXSR

Bits 4-7: Exit Self-refresh delay.

TRAS

Bits 8-11: Self refresh time.

TRC

Bits 12-15: Row cycle delay.

TWR

Bits 16-19: Recovery delay.

TRP

Bits 20-23: Row precharge delay.

TRCD

Bits 24-27: Row to column delay.

SDTR2

SDRAM timing registers 1,2

Offset: 0x14c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TRCD
rw
TRP
rw
TWR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRC
rw
TRAS
rw
TXSR
rw
TMRD
rw
Toggle fields

TMRD

Bits 0-3: Load Mode Register to Active.

TXSR

Bits 4-7: Exit Self-refresh delay.

TRAS

Bits 8-11: Self refresh time.

TRC

Bits 12-15: Row cycle delay.

TWR

Bits 16-19: Recovery delay.

TRP

Bits 20-23: Row precharge delay.

TRCD

Bits 24-27: Row to column delay.

SDCMR

SDRAM Command Mode register

Offset: 0x150, 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
MRD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRD
rw
NRFS
rw
CTB1
rw
CTB2
rw
MODE
rw
Toggle fields

MODE

Bits 0-2: Command mode.

CTB2

Bit 3: Command Target Bank 2.

CTB1

Bit 4: Command Target Bank 1.

NRFS

Bits 5-8: Number of Auto-refresh.

MRD

Bits 9-21: Mode Register definition.

SDRTR

SDRAM refresh timer register

Offset: 0x154, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REIE
rw
COUNT
rw
CRE
w
Toggle fields

CRE

Bit 0: Clear Refresh error flag.

COUNT

Bits 1-13: Refresh Timer Count.

REIE

Bit 14: RES Interrupt Enable.

SDSR

SDRAM status register

Offset: 0x158, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
MODES2
r
MODES1
r
RE
r
Toggle fields

RE

Bit 0: Refresh error flag.

MODES1

Bits 1-2: Status Mode for Bank 1.

MODES2

Bits 3-4: Status Mode for Bank 2.

BUSY

Bit 5: Busy status.

FMC_S

0x57000400: FMC address block description

6/202 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 BCR1
0x4 BTR1
0x8 BCR2
0xc BTR2
0x10 BCR3
0x14 BTR3
0x18 BCR4
0x1c BTR4
0x20 PCSCNTR
0x80 PCR
0x84 SR
0x88 PMEM
0x8c PATT
0x94 ECCR
0x104 BWTR1
0x10c BWTR2
0x114 BWTR3
0x11c BWTR4
0x140 SDCR1
0x144 SDCR2
0x148 SDTR1
0x14c SDTR2
0x150 SDCMR
0x154 SDRTR
0x158 SDSR
Toggle registers

BCR1

SRAM/NOR-flash chip-select control register for bank 1

Offset: 0x0, size: 32, reset: 0x000030DB, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR1

SRAM/NOR-flash chip-select timing register for bank 1

Offset: 0x4, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

BCR2

SRAM/NOR-flash chip-select control register for bank 2

Offset: 0x8, size: 32, reset: 0x000030D2, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR2

SRAM/NOR-flash chip-select timing register for bank 2

Offset: 0xc, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

BCR3

SRAM/NOR-flash chip-select control register for bank 3

Offset: 0x10, size: 32, reset: 0x000030D2, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR3

SRAM/NOR-flash chip-select timing register for bank 3

Offset: 0x14, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

BCR4

SRAM/NOR-flash chip-select control register for bank 4

Offset: 0x18, size: 32, reset: 0x000030D2, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMCEN
rw
NBLSET
rw
WFDIS
rw
CCLKEN
rw
CBURSTRW
rw
CPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASYNCWAIT
rw
EXTMOD
rw
WAITEN
rw
WREN
rw
WAITCFG
rw
WAITPOL
rw
BURSTEN
rw
FACCEN
rw
MWID
rw
MTYP
rw
MUXEN
rw
MBKEN
rw
Toggle fields

MBKEN

Bit 0: Memory bank enable bit.

MUXEN

Bit 1: Address/data multiplexing enable bit.

MTYP

Bits 2-3: Memory type.

MWID

Bits 4-5: Memory data bus width.

FACCEN

Bit 6: Flash access enable.

BURSTEN

Bit 8: Burst enable bit.

WAITPOL

Bit 9: Wait signal polarity bit.

WAITCFG

Bit 11: Wait timing configuration.

WREN

Bit 12: Write enable bit.

WAITEN

Bit 13: Wait enable bit.

EXTMOD

Bit 14: Extended mode enable.

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers.

CPSIZE

Bits 16-18: CRAM page size.

CBURSTRW

Bit 19: Write burst enable.

CCLKEN

Bit 20: Continuous clock enable.

WFDIS

Bit 21: Write FIFO disable.

NBLSET

Bits 22-23: Byte lane (NBL) setup.

FMCEN

Bit 31: FMC controller enable.

BTR4

SRAM/NOR-flash chip-select timing register for bank 4

Offset: 0x1c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
DATLAT
rw
CLKDIV
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration.

ADDHLD

Bits 4-7: Address-hold phase duration.

DATAST

Bits 8-15: Data-phase duration.

BUSTURN

Bits 16-19: Bus turnaround phase duration.

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal).

DATLAT

Bits 24-27: (see note below bit descriptions): Data latency for synchronous memory.

ACCMOD

Bits 28-29: Access mode.

DATAHLD

Bits 30-31: Data hold phase duration.

PCSCNTR

PSRAM chip select counter register

Offset: 0x20, 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
CNTB4EN
rw
CNTB3EN
rw
CNTB2EN
rw
CNTB1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSCOUNT
rw
Toggle fields

CSCOUNT

Bits 0-15: Chip select counter..

CNTB1EN

Bit 16: Counter Bank 1 enable.

CNTB2EN

Bit 17: Counter Bank 2 enable.

CNTB3EN

Bit 18: Counter Bank 3 enable.

CNTB4EN

Bit 19: Counter Bank 4 enable.

PCR

NAND flash control registers

Offset: 0x80, size: 32, reset: 0x00000018, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCPS
rw
TAR3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAR
rw
TCLR
rw
ECCEN
rw
PWID
rw
PTYP
rw
PBKEN
rw
PWAITEN
rw
Toggle fields

PWAITEN

Bit 1: Wait feature enable bit.

PBKEN

Bit 2: NAND flash memory bank enable bit.

PTYP

Bit 3: Memory type.

PWID

Bits 4-5: Data bus width.

ECCEN

Bit 6: ECC computation logic enable bit.

TCLR

Bits 9-12: CLE to RE delay.

TAR

Bits 13-15: ALE to RE delay.

TAR3

Bit 16: ALE to RE delay.

ECCPS

Bits 17-19: ECC page size.

SR

FIFO status and interrupt register

Offset: 0x84, size: 32, reset: 0x00000040, access: read-write

1/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEMPT
r
IFEN
rw
ILEN
rw
IREN
rw
IFS
rw
ILS
rw
IRS
rw
Toggle fields

IRS

Bit 0: Interrupt rising edge status.

ILS

Bit 1: Interrupt high-level status.

IFS

Bit 2: Interrupt falling edge status.

IREN

Bit 3: Interrupt rising edge detection enable bit.

ILEN

Bit 4: Interrupt high-level detection enable bit.

IFEN

Bit 5: Interrupt falling edge detection enable bit.

FEMPT

Bit 6: FIFO empty.

PMEM

Common memory space timing register

Offset: 0x88, size: 32, reset: 0xFCFCFCFC, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEMHIZ
rw
MEMHOLD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MEMWAIT
rw
MEMSET
rw
Toggle fields

MEMSET

Bits 0-7: Common memory x setup time.

MEMWAIT

Bits 8-15: Common memory wait time.

MEMHOLD

Bits 16-23: Common memory hold time.

MEMHIZ

Bits 24-31: Common memory x data bus Hi-Z time.

PATT

Attribute memory space timing register

Offset: 0x8c, size: 32, reset: 0xFCFCFCFC, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ATTHIZ
rw
ATTHOLD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATTWAIT
rw
ATTSET
rw
Toggle fields

ATTSET

Bits 0-7: Attribute memory setup time.

ATTWAIT

Bits 8-15: Attribute memory wait time.

ATTHOLD

Bits 16-23: Attribute memory hold time.

ATTHIZ

Bits 24-31: Attribute memory data bus Hi-Z time.

ECCR

ECC result registers

Offset: 0x94, 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
ECC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECC
r
Toggle fields

ECC

Bits 0-31: ECC result.

BWTR1

SRAM/NOR-flash write timing registers 1

Offset: 0x104, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

BWTR2

SRAM/NOR-flash write timing registers 2

Offset: 0x10c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

BWTR3

SRAM/NOR-flash write timing registers 3

Offset: 0x114, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

BWTR4

SRAM/NOR-flash write timing registers 4

Offset: 0x11c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATAHLD
rw
ACCMOD
rw
BUSTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAST
rw
ADDHLD
rw
ADDSET
rw
Toggle fields

ADDSET

Bits 0-3: Address setup phase duration..

ADDHLD

Bits 4-7: Address-hold phase duration..

DATAST

Bits 8-15: Data-phase duration..

BUSTURN

Bits 16-19: Bus turnaround phase duration.

ACCMOD

Bits 28-29: Access mode..

DATAHLD

Bits 30-31: Data hold phase duration.

SDCR1

SDRAM control registers 1,2

Offset: 0x140, size: 32, reset: 0x000002D0, access: read-write

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIPE
rw
RBURST
rw
SDCLK
rw
WP
rw
CAS
rw
NB
rw
MWID
rw
NR
rw
NC
rw
Toggle fields

NC

Bits 0-1: Number of column address bits.

NR

Bits 2-3: Number of row address bits.

MWID

Bits 4-5: Memory data bus width..

NB

Bit 6: Number of internal banks.

CAS

Bits 7-8: CAS Latency.

WP

Bit 9: Write protection.

SDCLK

Bits 10-11: SDRAM clock configuration.

RBURST

Bit 12: Burst read.

RPIPE

Bits 13-14: Read pipe.

SDCR2

SDRAM control registers 1,2

Offset: 0x144, size: 32, reset: 0x000002D0, access: read-write

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RPIPE
rw
RBURST
rw
SDCLK
rw
WP
rw
CAS
rw
NB
rw
MWID
rw
NR
rw
NC
rw
Toggle fields

NC

Bits 0-1: Number of column address bits.

NR

Bits 2-3: Number of row address bits.

MWID

Bits 4-5: Memory data bus width..

NB

Bit 6: Number of internal banks.

CAS

Bits 7-8: CAS Latency.

WP

Bit 9: Write protection.

SDCLK

Bits 10-11: SDRAM clock configuration.

RBURST

Bit 12: Burst read.

RPIPE

Bits 13-14: Read pipe.

SDTR1

SDRAM timing registers 1,2

Offset: 0x148, size: 32, reset: 0x0FFFFFFF, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TRCD
rw
TRP
rw
TWR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRC
rw
TRAS
rw
TXSR
rw
TMRD
rw
Toggle fields

TMRD

Bits 0-3: Load Mode Register to Active.

TXSR

Bits 4-7: Exit Self-refresh delay.

TRAS

Bits 8-11: Self refresh time.

TRC

Bits 12-15: Row cycle delay.

TWR

Bits 16-19: Recovery delay.

TRP

Bits 20-23: Row precharge delay.

TRCD

Bits 24-27: Row to column delay.

SDTR2

SDRAM timing registers 1,2

Offset: 0x14c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TRCD
rw
TRP
rw
TWR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRC
rw
TRAS
rw
TXSR
rw
TMRD
rw
Toggle fields

TMRD

Bits 0-3: Load Mode Register to Active.

TXSR

Bits 4-7: Exit Self-refresh delay.

TRAS

Bits 8-11: Self refresh time.

TRC

Bits 12-15: Row cycle delay.

TWR

Bits 16-19: Recovery delay.

TRP

Bits 20-23: Row precharge delay.

TRCD

Bits 24-27: Row to column delay.

SDCMR

SDRAM Command Mode register

Offset: 0x150, 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
MRD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRD
rw
NRFS
rw
CTB1
rw
CTB2
rw
MODE
rw
Toggle fields

MODE

Bits 0-2: Command mode.

CTB2

Bit 3: Command Target Bank 2.

CTB1

Bit 4: Command Target Bank 1.

NRFS

Bits 5-8: Number of Auto-refresh.

MRD

Bits 9-21: Mode Register definition.

SDRTR

SDRAM refresh timer register

Offset: 0x154, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REIE
rw
COUNT
rw
CRE
w
Toggle fields

CRE

Bit 0: Clear Refresh error flag.

COUNT

Bits 1-13: Refresh Timer Count.

REIE

Bit 14: RES Interrupt Enable.

SDSR

SDRAM status register

Offset: 0x158, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
MODES2
r
MODES1
r
RE
r
Toggle fields

RE

Bit 0: Refresh error flag.

MODES1

Bits 1-2: Status Mode for Bank 1.

MODES2

Bits 3-4: Status Mode for Bank 2.

BUSY

Bit 5: Busy status.

GPDMA1

0x40020000: GPDMA register block

534/566 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 SECCFGR
0x4 PRIVCFGR
0x8 RCFGLOCKR
0xc MISR
0x10 SMISR
0x50 LBAR [0]
0x5c FCR [0]
0x60 SR [0]
0x64 CR [0]
0x90 TR1 [0]
0x94 TR2 [0]
0x98 BR1 [0]
0x9c SAR [0]
0xa0 DAR [0]
0xcc LLR [0]
0xd0 LBAR [1]
0xdc FCR [1]
0xe0 SR [1]
0xe4 CR [1]
0x110 TR1 [1]
0x114 TR2 [1]
0x118 BR1 [1]
0x11c SAR [1]
0x120 DAR [1]
0x14c LLR [1]
0x150 LBAR [2]
0x15c FCR [2]
0x160 SR [2]
0x164 CR [2]
0x190 TR1 [2]
0x194 TR2 [2]
0x198 BR1 [2]
0x19c SAR [2]
0x1a0 DAR [2]
0x1cc LLR [2]
0x1d0 LBAR [3]
0x1dc FCR [3]
0x1e0 SR [3]
0x1e4 CR [3]
0x210 TR1 [3]
0x214 TR2 [3]
0x218 BR1 [3]
0x21c SAR [3]
0x220 DAR [3]
0x24c LLR [3]
0x250 LBAR [4]
0x25c FCR [4]
0x260 SR [4]
0x264 CR [4]
0x290 TR1 [4]
0x294 TR2 [4]
0x298 BR1 [4]
0x29c SAR [4]
0x2a0 DAR [4]
0x2cc LLR [4]
0x2d0 LBAR [5]
0x2dc FCR [5]
0x2e0 SR [5]
0x2e4 CR [5]
0x310 TR1 [5]
0x314 TR2 [5]
0x318 BR1 [5]
0x31c SAR [5]
0x320 DAR [5]
0x34c LLR [5]
0x350 LBAR [6]
0x35c FCR [6]
0x360 SR [6]
0x364 CR [6]
0x390 TR1 [6]
0x394 TR2 [6]
0x398 BR1 [6]
0x39c SAR [6]
0x3a0 DAR [6]
0x3a4 TR3 [6]
0x3a8 BR2 [6]
0x3cc LLR [6]
0x3d0 LBAR [7]
0x3dc FCR [7]
0x3e0 SR [7]
0x3e4 CR [7]
0x410 TR1 [7]
0x414 TR2 [7]
0x418 BR1 [7]
0x41c SAR [7]
0x420 DAR [7]
0x424 TR3 [7]
0x428 BR2 [7]
0x44c LLR [7]
Toggle registers

SECCFGR

GPDMA secure configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC[7]
rw
SEC[6]
rw
SEC[5]
rw
SEC[4]
rw
SEC[3]
rw
SEC[2]
rw
SEC[1]
rw
SEC[0]
rw
Toggle fields

SEC[0]

Bit 0: secure state of channel x.

SEC[1]

Bit 1: secure state of channel x.

SEC[2]

Bit 2: secure state of channel x.

SEC[3]

Bit 3: secure state of channel x.

SEC[4]

Bit 4: secure state of channel x.

SEC[5]

Bit 5: secure state of channel x.

SEC[6]

Bit 6: secure state of channel x.

SEC[7]

Bit 7: secure state of channel x.

PRIVCFGR

GPDMA privileged configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV[7]
rw
PRIV[6]
rw
PRIV[5]
rw
PRIV[4]
rw
PRIV[3]
rw
PRIV[2]
rw
PRIV[1]
rw
PRIV[0]
rw
Toggle fields

PRIV[0]

Bit 0: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[1]

Bit 1: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[2]

Bit 2: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[3]

Bit 3: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[4]

Bit 4: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[5]

Bit 5: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[6]

Bit 6: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[7]

Bit 7: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

RCFGLOCKR

GPDMA configuration lock register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCK[7]
rw
LOCK[6]
rw
LOCK[5]
rw
LOCK[4]
rw
LOCK[3]
rw
LOCK[2]
rw
LOCK[1]
rw
LOCK[0]
rw
Toggle fields

LOCK[0]

Bit 0: lock the configuration of GPDMA_SECCFGR..

LOCK[1]

Bit 1: lock the configuration of GPDMA_SECCFGR..

LOCK[2]

Bit 2: lock the configuration of GPDMA_SECCFGR..

LOCK[3]

Bit 3: lock the configuration of GPDMA_SECCFGR..

LOCK[4]

Bit 4: lock the configuration of GPDMA_SECCFGR..

LOCK[5]

Bit 5: lock the configuration of GPDMA_SECCFGR..

LOCK[6]

Bit 6: lock the configuration of GPDMA_SECCFGR..

LOCK[7]

Bit 7: lock the configuration of GPDMA_SECCFGR..

MISR

GPDMA nonsecure masked interrupt status register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[1]

Bit 1: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[2]

Bit 2: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[3]

Bit 3: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[4]

Bit 4: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[5]

Bit 5: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[6]

Bit 6: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[7]

Bit 7: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

SMISR

GPDMA secure masked interrupt status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of the secure channel x.

MIS[1]

Bit 1: masked interrupt status of the secure channel x.

MIS[2]

Bit 2: masked interrupt status of the secure channel x.

MIS[3]

Bit 3: masked interrupt status of the secure channel x.

MIS[4]

Bit 4: masked interrupt status of the secure channel x.

MIS[5]

Bit 5: masked interrupt status of the secure channel x.

MIS[6]

Bit 6: masked interrupt status of the secure channel x.

MIS[7]

Bit 7: masked interrupt status of the secure channel x.

LBAR [0]

GPDMA channel 0 linked-list base address register

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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [0]

GPDMA channel 0 flag clear register

Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [0]

GPDMA channel 0 status register

Offset: 0x60, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [0]

GPDMA channel 0 control register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [0]

GPDMA channel 0 transfer register 1

Offset: 0x90, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [0]

GPDMA channel 0 transfer register 2

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [0]

GPDMA channel 0 block register 1

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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [0]

GPDMA channel 0 source address register

Offset: 0x9c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [0]

GPDMA channel 0 destination address register

Offset: 0xa0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [0]

GPDMA channel 0 linked-list address register

Offset: 0xcc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [1]

GPDMA channel 0 linked-list base address register

Offset: 0xd0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [1]

GPDMA channel 0 flag clear register

Offset: 0xdc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [1]

GPDMA channel 0 status register

Offset: 0xe0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [1]

GPDMA channel 0 control register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [1]

GPDMA channel 0 transfer register 1

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [1]

GPDMA channel 0 transfer register 2

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [1]

GPDMA channel 0 block register 1

Offset: 0x118, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [1]

GPDMA channel 0 source address register

Offset: 0x11c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [1]

GPDMA channel 0 destination address register

Offset: 0x120, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [1]

GPDMA channel 0 linked-list address register

Offset: 0x14c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [2]

GPDMA channel 0 linked-list base address register

Offset: 0x150, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [2]

GPDMA channel 0 flag clear register

Offset: 0x15c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [2]

GPDMA channel 0 status register

Offset: 0x160, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [2]

GPDMA channel 0 control register

Offset: 0x164, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [2]

GPDMA channel 0 transfer register 1

Offset: 0x190, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [2]

GPDMA channel 0 transfer register 2

Offset: 0x194, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [2]

GPDMA channel 0 block register 1

Offset: 0x198, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [2]

GPDMA channel 0 source address register

Offset: 0x19c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [2]

GPDMA channel 0 destination address register

Offset: 0x1a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [2]

GPDMA channel 0 linked-list address register

Offset: 0x1cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [3]

GPDMA channel 0 linked-list base address register

Offset: 0x1d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [3]

GPDMA channel 0 flag clear register

Offset: 0x1dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [3]

GPDMA channel 0 status register

Offset: 0x1e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [3]

GPDMA channel 0 control register

Offset: 0x1e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [3]

GPDMA channel 0 transfer register 1

Offset: 0x210, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [3]

GPDMA channel 0 transfer register 2

Offset: 0x214, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [3]

GPDMA channel 0 block register 1

Offset: 0x218, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [3]

GPDMA channel 0 source address register

Offset: 0x21c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [3]

GPDMA channel 0 destination address register

Offset: 0x220, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [3]

GPDMA channel 0 linked-list address register

Offset: 0x24c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [4]

GPDMA channel 0 linked-list base address register

Offset: 0x250, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [4]

GPDMA channel 0 flag clear register

Offset: 0x25c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [4]

GPDMA channel 0 status register

Offset: 0x260, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [4]

GPDMA channel 0 control register

Offset: 0x264, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [4]

GPDMA channel 0 transfer register 1

Offset: 0x290, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [4]

GPDMA channel 0 transfer register 2

Offset: 0x294, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [4]

GPDMA channel 0 block register 1

Offset: 0x298, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [4]

GPDMA channel 0 source address register

Offset: 0x29c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [4]

GPDMA channel 0 destination address register

Offset: 0x2a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [4]

GPDMA channel 0 linked-list address register

Offset: 0x2cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [5]

GPDMA channel 0 linked-list base address register

Offset: 0x2d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [5]

GPDMA channel 0 flag clear register

Offset: 0x2dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [5]

GPDMA channel 0 status register

Offset: 0x2e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [5]

GPDMA channel 0 control register

Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [5]

GPDMA channel 0 transfer register 1

Offset: 0x310, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [5]

GPDMA channel 0 transfer register 2

Offset: 0x314, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [5]

GPDMA channel 0 block register 1

Offset: 0x318, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [5]

GPDMA channel 0 source address register

Offset: 0x31c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [5]

GPDMA channel 0 destination address register

Offset: 0x320, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [5]

GPDMA channel 0 linked-list address register

Offset: 0x34c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [6]

GPDMA channel 6 linked-list base address register

Offset: 0x350, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [6]

GPDMA channel 6 flag clear register

Offset: 0x35c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [6]

GPDMA channel 6 status register

Offset: 0x360, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [6]

GPDMA channel 6 control register

Offset: 0x364, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [6]

GPDMA channel 6 transfer register 1

Offset: 0x390, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [6]

GPDMA channel 6 transfer register 2

Offset: 0x394, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [6]

GPDMA channel 6 alternate block register 1

Offset: 0x398, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [6]

GPDMA channel 6 source address register

Offset: 0x39c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [6]

GPDMA channel 6 destination address register

Offset: 0x3a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [6]

GPDMA channel 6 transfer register 3

Offset: 0x3a4, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [6]

GPDMA channel 6 block register 2

Offset: 0x3a8, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [6]

GPDMA channel 6 alternate linked-list address register

Offset: 0x3cc, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [7]

GPDMA channel 6 linked-list base address register

Offset: 0x3d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [7]

GPDMA channel 6 flag clear register

Offset: 0x3dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [7]

GPDMA channel 6 status register

Offset: 0x3e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [7]

GPDMA channel 6 control register

Offset: 0x3e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [7]

GPDMA channel 6 transfer register 1

Offset: 0x410, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [7]

GPDMA channel 6 transfer register 2

Offset: 0x414, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [7]

GPDMA channel 6 alternate block register 1

Offset: 0x418, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [7]

GPDMA channel 6 source address register

Offset: 0x41c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [7]

GPDMA channel 6 destination address register

Offset: 0x420, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [7]

GPDMA channel 6 transfer register 3

Offset: 0x424, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [7]

GPDMA channel 6 block register 2

Offset: 0x428, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [7]

GPDMA channel 6 alternate linked-list address register

Offset: 0x44c, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

GPDMA1_S

0x50020000: GPDMA register block

534/566 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 SECCFGR
0x4 PRIVCFGR
0x8 RCFGLOCKR
0xc MISR
0x10 SMISR
0x50 LBAR [0]
0x5c FCR [0]
0x60 SR [0]
0x64 CR [0]
0x90 TR1 [0]
0x94 TR2 [0]
0x98 BR1 [0]
0x9c SAR [0]
0xa0 DAR [0]
0xcc LLR [0]
0xd0 LBAR [1]
0xdc FCR [1]
0xe0 SR [1]
0xe4 CR [1]
0x110 TR1 [1]
0x114 TR2 [1]
0x118 BR1 [1]
0x11c SAR [1]
0x120 DAR [1]
0x14c LLR [1]
0x150 LBAR [2]
0x15c FCR [2]
0x160 SR [2]
0x164 CR [2]
0x190 TR1 [2]
0x194 TR2 [2]
0x198 BR1 [2]
0x19c SAR [2]
0x1a0 DAR [2]
0x1cc LLR [2]
0x1d0 LBAR [3]
0x1dc FCR [3]
0x1e0 SR [3]
0x1e4 CR [3]
0x210 TR1 [3]
0x214 TR2 [3]
0x218 BR1 [3]
0x21c SAR [3]
0x220 DAR [3]
0x24c LLR [3]
0x250 LBAR [4]
0x25c FCR [4]
0x260 SR [4]
0x264 CR [4]
0x290 TR1 [4]
0x294 TR2 [4]
0x298 BR1 [4]
0x29c SAR [4]
0x2a0 DAR [4]
0x2cc LLR [4]
0x2d0 LBAR [5]
0x2dc FCR [5]
0x2e0 SR [5]
0x2e4 CR [5]
0x310 TR1 [5]
0x314 TR2 [5]
0x318 BR1 [5]
0x31c SAR [5]
0x320 DAR [5]
0x34c LLR [5]
0x350 LBAR [6]
0x35c FCR [6]
0x360 SR [6]
0x364 CR [6]
0x390 TR1 [6]
0x394 TR2 [6]
0x398 BR1 [6]
0x39c SAR [6]
0x3a0 DAR [6]
0x3a4 TR3 [6]
0x3a8 BR2 [6]
0x3cc LLR [6]
0x3d0 LBAR [7]
0x3dc FCR [7]
0x3e0 SR [7]
0x3e4 CR [7]
0x410 TR1 [7]
0x414 TR2 [7]
0x418 BR1 [7]
0x41c SAR [7]
0x420 DAR [7]
0x424 TR3 [7]
0x428 BR2 [7]
0x44c LLR [7]
Toggle registers

SECCFGR

GPDMA secure configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC[7]
rw
SEC[6]
rw
SEC[5]
rw
SEC[4]
rw
SEC[3]
rw
SEC[2]
rw
SEC[1]
rw
SEC[0]
rw
Toggle fields

SEC[0]

Bit 0: secure state of channel x.

SEC[1]

Bit 1: secure state of channel x.

SEC[2]

Bit 2: secure state of channel x.

SEC[3]

Bit 3: secure state of channel x.

SEC[4]

Bit 4: secure state of channel x.

SEC[5]

Bit 5: secure state of channel x.

SEC[6]

Bit 6: secure state of channel x.

SEC[7]

Bit 7: secure state of channel x.

PRIVCFGR

GPDMA privileged configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV[7]
rw
PRIV[6]
rw
PRIV[5]
rw
PRIV[4]
rw
PRIV[3]
rw
PRIV[2]
rw
PRIV[1]
rw
PRIV[0]
rw
Toggle fields

PRIV[0]

Bit 0: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[1]

Bit 1: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[2]

Bit 2: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[3]

Bit 3: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[4]

Bit 4: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[5]

Bit 5: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[6]

Bit 6: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[7]

Bit 7: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

RCFGLOCKR

GPDMA configuration lock register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCK[7]
rw
LOCK[6]
rw
LOCK[5]
rw
LOCK[4]
rw
LOCK[3]
rw
LOCK[2]
rw
LOCK[1]
rw
LOCK[0]
rw
Toggle fields

LOCK[0]

Bit 0: lock the configuration of GPDMA_SECCFGR..

LOCK[1]

Bit 1: lock the configuration of GPDMA_SECCFGR..

LOCK[2]

Bit 2: lock the configuration of GPDMA_SECCFGR..

LOCK[3]

Bit 3: lock the configuration of GPDMA_SECCFGR..

LOCK[4]

Bit 4: lock the configuration of GPDMA_SECCFGR..

LOCK[5]

Bit 5: lock the configuration of GPDMA_SECCFGR..

LOCK[6]

Bit 6: lock the configuration of GPDMA_SECCFGR..

LOCK[7]

Bit 7: lock the configuration of GPDMA_SECCFGR..

MISR

GPDMA nonsecure masked interrupt status register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[1]

Bit 1: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[2]

Bit 2: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[3]

Bit 3: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[4]

Bit 4: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[5]

Bit 5: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[6]

Bit 6: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[7]

Bit 7: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

SMISR

GPDMA secure masked interrupt status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of the secure channel x.

MIS[1]

Bit 1: masked interrupt status of the secure channel x.

MIS[2]

Bit 2: masked interrupt status of the secure channel x.

MIS[3]

Bit 3: masked interrupt status of the secure channel x.

MIS[4]

Bit 4: masked interrupt status of the secure channel x.

MIS[5]

Bit 5: masked interrupt status of the secure channel x.

MIS[6]

Bit 6: masked interrupt status of the secure channel x.

MIS[7]

Bit 7: masked interrupt status of the secure channel x.

LBAR [0]

GPDMA channel 0 linked-list base address register

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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [0]

GPDMA channel 0 flag clear register

Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [0]

GPDMA channel 0 status register

Offset: 0x60, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [0]

GPDMA channel 0 control register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [0]

GPDMA channel 0 transfer register 1

Offset: 0x90, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [0]

GPDMA channel 0 transfer register 2

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [0]

GPDMA channel 0 block register 1

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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [0]

GPDMA channel 0 source address register

Offset: 0x9c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [0]

GPDMA channel 0 destination address register

Offset: 0xa0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [0]

GPDMA channel 0 linked-list address register

Offset: 0xcc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [1]

GPDMA channel 0 linked-list base address register

Offset: 0xd0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [1]

GPDMA channel 0 flag clear register

Offset: 0xdc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [1]

GPDMA channel 0 status register

Offset: 0xe0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [1]

GPDMA channel 0 control register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [1]

GPDMA channel 0 transfer register 1

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [1]

GPDMA channel 0 transfer register 2

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [1]

GPDMA channel 0 block register 1

Offset: 0x118, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [1]

GPDMA channel 0 source address register

Offset: 0x11c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [1]

GPDMA channel 0 destination address register

Offset: 0x120, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [1]

GPDMA channel 0 linked-list address register

Offset: 0x14c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [2]

GPDMA channel 0 linked-list base address register

Offset: 0x150, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [2]

GPDMA channel 0 flag clear register

Offset: 0x15c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [2]

GPDMA channel 0 status register

Offset: 0x160, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [2]

GPDMA channel 0 control register

Offset: 0x164, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [2]

GPDMA channel 0 transfer register 1

Offset: 0x190, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [2]

GPDMA channel 0 transfer register 2

Offset: 0x194, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [2]

GPDMA channel 0 block register 1

Offset: 0x198, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [2]

GPDMA channel 0 source address register

Offset: 0x19c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [2]

GPDMA channel 0 destination address register

Offset: 0x1a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [2]

GPDMA channel 0 linked-list address register

Offset: 0x1cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [3]

GPDMA channel 0 linked-list base address register

Offset: 0x1d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [3]

GPDMA channel 0 flag clear register

Offset: 0x1dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [3]

GPDMA channel 0 status register

Offset: 0x1e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [3]

GPDMA channel 0 control register

Offset: 0x1e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [3]

GPDMA channel 0 transfer register 1

Offset: 0x210, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [3]

GPDMA channel 0 transfer register 2

Offset: 0x214, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [3]

GPDMA channel 0 block register 1

Offset: 0x218, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [3]

GPDMA channel 0 source address register

Offset: 0x21c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [3]

GPDMA channel 0 destination address register

Offset: 0x220, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [3]

GPDMA channel 0 linked-list address register

Offset: 0x24c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [4]

GPDMA channel 0 linked-list base address register

Offset: 0x250, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [4]

GPDMA channel 0 flag clear register

Offset: 0x25c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [4]

GPDMA channel 0 status register

Offset: 0x260, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [4]

GPDMA channel 0 control register

Offset: 0x264, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [4]

GPDMA channel 0 transfer register 1

Offset: 0x290, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [4]

GPDMA channel 0 transfer register 2

Offset: 0x294, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [4]

GPDMA channel 0 block register 1

Offset: 0x298, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [4]

GPDMA channel 0 source address register

Offset: 0x29c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [4]

GPDMA channel 0 destination address register

Offset: 0x2a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [4]

GPDMA channel 0 linked-list address register

Offset: 0x2cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [5]

GPDMA channel 0 linked-list base address register

Offset: 0x2d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [5]

GPDMA channel 0 flag clear register

Offset: 0x2dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [5]

GPDMA channel 0 status register

Offset: 0x2e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [5]

GPDMA channel 0 control register

Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [5]

GPDMA channel 0 transfer register 1

Offset: 0x310, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [5]

GPDMA channel 0 transfer register 2

Offset: 0x314, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [5]

GPDMA channel 0 block register 1

Offset: 0x318, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [5]

GPDMA channel 0 source address register

Offset: 0x31c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [5]

GPDMA channel 0 destination address register

Offset: 0x320, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [5]

GPDMA channel 0 linked-list address register

Offset: 0x34c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [6]

GPDMA channel 6 linked-list base address register

Offset: 0x350, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [6]

GPDMA channel 6 flag clear register

Offset: 0x35c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [6]

GPDMA channel 6 status register

Offset: 0x360, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [6]

GPDMA channel 6 control register

Offset: 0x364, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [6]

GPDMA channel 6 transfer register 1

Offset: 0x390, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [6]

GPDMA channel 6 transfer register 2

Offset: 0x394, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [6]

GPDMA channel 6 alternate block register 1

Offset: 0x398, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [6]

GPDMA channel 6 source address register

Offset: 0x39c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [6]

GPDMA channel 6 destination address register

Offset: 0x3a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [6]

GPDMA channel 6 transfer register 3

Offset: 0x3a4, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [6]

GPDMA channel 6 block register 2

Offset: 0x3a8, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [6]

GPDMA channel 6 alternate linked-list address register

Offset: 0x3cc, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [7]

GPDMA channel 6 linked-list base address register

Offset: 0x3d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [7]

GPDMA channel 6 flag clear register

Offset: 0x3dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [7]

GPDMA channel 6 status register

Offset: 0x3e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [7]

GPDMA channel 6 control register

Offset: 0x3e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [7]

GPDMA channel 6 transfer register 1

Offset: 0x410, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [7]

GPDMA channel 6 transfer register 2

Offset: 0x414, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [7]

GPDMA channel 6 alternate block register 1

Offset: 0x418, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [7]

GPDMA channel 6 source address register

Offset: 0x41c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [7]

GPDMA channel 6 destination address register

Offset: 0x420, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [7]

GPDMA channel 6 transfer register 3

Offset: 0x424, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [7]

GPDMA channel 6 block register 2

Offset: 0x428, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [7]

GPDMA channel 6 alternate linked-list address register

Offset: 0x44c, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

GPDMA2

0x40021000: GPDMA register block

534/566 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 SECCFGR
0x4 PRIVCFGR
0x8 RCFGLOCKR
0xc MISR
0x10 SMISR
0x50 LBAR [0]
0x5c FCR [0]
0x60 SR [0]
0x64 CR [0]
0x90 TR1 [0]
0x94 TR2 [0]
0x98 BR1 [0]
0x9c SAR [0]
0xa0 DAR [0]
0xcc LLR [0]
0xd0 LBAR [1]
0xdc FCR [1]
0xe0 SR [1]
0xe4 CR [1]
0x110 TR1 [1]
0x114 TR2 [1]
0x118 BR1 [1]
0x11c SAR [1]
0x120 DAR [1]
0x14c LLR [1]
0x150 LBAR [2]
0x15c FCR [2]
0x160 SR [2]
0x164 CR [2]
0x190 TR1 [2]
0x194 TR2 [2]
0x198 BR1 [2]
0x19c SAR [2]
0x1a0 DAR [2]
0x1cc LLR [2]
0x1d0 LBAR [3]
0x1dc FCR [3]
0x1e0 SR [3]
0x1e4 CR [3]
0x210 TR1 [3]
0x214 TR2 [3]
0x218 BR1 [3]
0x21c SAR [3]
0x220 DAR [3]
0x24c LLR [3]
0x250 LBAR [4]
0x25c FCR [4]
0x260 SR [4]
0x264 CR [4]
0x290 TR1 [4]
0x294 TR2 [4]
0x298 BR1 [4]
0x29c SAR [4]
0x2a0 DAR [4]
0x2cc LLR [4]
0x2d0 LBAR [5]
0x2dc FCR [5]
0x2e0 SR [5]
0x2e4 CR [5]
0x310 TR1 [5]
0x314 TR2 [5]
0x318 BR1 [5]
0x31c SAR [5]
0x320 DAR [5]
0x34c LLR [5]
0x350 LBAR [6]
0x35c FCR [6]
0x360 SR [6]
0x364 CR [6]
0x390 TR1 [6]
0x394 TR2 [6]
0x398 BR1 [6]
0x39c SAR [6]
0x3a0 DAR [6]
0x3a4 TR3 [6]
0x3a8 BR2 [6]
0x3cc LLR [6]
0x3d0 LBAR [7]
0x3dc FCR [7]
0x3e0 SR [7]
0x3e4 CR [7]
0x410 TR1 [7]
0x414 TR2 [7]
0x418 BR1 [7]
0x41c SAR [7]
0x420 DAR [7]
0x424 TR3 [7]
0x428 BR2 [7]
0x44c LLR [7]
Toggle registers

SECCFGR

GPDMA secure configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC[7]
rw
SEC[6]
rw
SEC[5]
rw
SEC[4]
rw
SEC[3]
rw
SEC[2]
rw
SEC[1]
rw
SEC[0]
rw
Toggle fields

SEC[0]

Bit 0: secure state of channel x.

SEC[1]

Bit 1: secure state of channel x.

SEC[2]

Bit 2: secure state of channel x.

SEC[3]

Bit 3: secure state of channel x.

SEC[4]

Bit 4: secure state of channel x.

SEC[5]

Bit 5: secure state of channel x.

SEC[6]

Bit 6: secure state of channel x.

SEC[7]

Bit 7: secure state of channel x.

PRIVCFGR

GPDMA privileged configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV[7]
rw
PRIV[6]
rw
PRIV[5]
rw
PRIV[4]
rw
PRIV[3]
rw
PRIV[2]
rw
PRIV[1]
rw
PRIV[0]
rw
Toggle fields

PRIV[0]

Bit 0: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[1]

Bit 1: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[2]

Bit 2: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[3]

Bit 3: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[4]

Bit 4: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[5]

Bit 5: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[6]

Bit 6: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[7]

Bit 7: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

RCFGLOCKR

GPDMA configuration lock register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCK[7]
rw
LOCK[6]
rw
LOCK[5]
rw
LOCK[4]
rw
LOCK[3]
rw
LOCK[2]
rw
LOCK[1]
rw
LOCK[0]
rw
Toggle fields

LOCK[0]

Bit 0: lock the configuration of GPDMA_SECCFGR..

LOCK[1]

Bit 1: lock the configuration of GPDMA_SECCFGR..

LOCK[2]

Bit 2: lock the configuration of GPDMA_SECCFGR..

LOCK[3]

Bit 3: lock the configuration of GPDMA_SECCFGR..

LOCK[4]

Bit 4: lock the configuration of GPDMA_SECCFGR..

LOCK[5]

Bit 5: lock the configuration of GPDMA_SECCFGR..

LOCK[6]

Bit 6: lock the configuration of GPDMA_SECCFGR..

LOCK[7]

Bit 7: lock the configuration of GPDMA_SECCFGR..

MISR

GPDMA nonsecure masked interrupt status register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[1]

Bit 1: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[2]

Bit 2: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[3]

Bit 3: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[4]

Bit 4: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[5]

Bit 5: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[6]

Bit 6: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[7]

Bit 7: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

SMISR

GPDMA secure masked interrupt status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of the secure channel x.

MIS[1]

Bit 1: masked interrupt status of the secure channel x.

MIS[2]

Bit 2: masked interrupt status of the secure channel x.

MIS[3]

Bit 3: masked interrupt status of the secure channel x.

MIS[4]

Bit 4: masked interrupt status of the secure channel x.

MIS[5]

Bit 5: masked interrupt status of the secure channel x.

MIS[6]

Bit 6: masked interrupt status of the secure channel x.

MIS[7]

Bit 7: masked interrupt status of the secure channel x.

LBAR [0]

GPDMA channel 0 linked-list base address register

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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [0]

GPDMA channel 0 flag clear register

Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [0]

GPDMA channel 0 status register

Offset: 0x60, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [0]

GPDMA channel 0 control register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [0]

GPDMA channel 0 transfer register 1

Offset: 0x90, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [0]

GPDMA channel 0 transfer register 2

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [0]

GPDMA channel 0 block register 1

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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [0]

GPDMA channel 0 source address register

Offset: 0x9c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [0]

GPDMA channel 0 destination address register

Offset: 0xa0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [0]

GPDMA channel 0 linked-list address register

Offset: 0xcc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [1]

GPDMA channel 0 linked-list base address register

Offset: 0xd0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [1]

GPDMA channel 0 flag clear register

Offset: 0xdc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [1]

GPDMA channel 0 status register

Offset: 0xe0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [1]

GPDMA channel 0 control register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [1]

GPDMA channel 0 transfer register 1

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [1]

GPDMA channel 0 transfer register 2

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [1]

GPDMA channel 0 block register 1

Offset: 0x118, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [1]

GPDMA channel 0 source address register

Offset: 0x11c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [1]

GPDMA channel 0 destination address register

Offset: 0x120, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [1]

GPDMA channel 0 linked-list address register

Offset: 0x14c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [2]

GPDMA channel 0 linked-list base address register

Offset: 0x150, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [2]

GPDMA channel 0 flag clear register

Offset: 0x15c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [2]

GPDMA channel 0 status register

Offset: 0x160, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [2]

GPDMA channel 0 control register

Offset: 0x164, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [2]

GPDMA channel 0 transfer register 1

Offset: 0x190, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [2]

GPDMA channel 0 transfer register 2

Offset: 0x194, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [2]

GPDMA channel 0 block register 1

Offset: 0x198, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [2]

GPDMA channel 0 source address register

Offset: 0x19c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [2]

GPDMA channel 0 destination address register

Offset: 0x1a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [2]

GPDMA channel 0 linked-list address register

Offset: 0x1cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [3]

GPDMA channel 0 linked-list base address register

Offset: 0x1d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [3]

GPDMA channel 0 flag clear register

Offset: 0x1dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [3]

GPDMA channel 0 status register

Offset: 0x1e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [3]

GPDMA channel 0 control register

Offset: 0x1e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [3]

GPDMA channel 0 transfer register 1

Offset: 0x210, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [3]

GPDMA channel 0 transfer register 2

Offset: 0x214, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [3]

GPDMA channel 0 block register 1

Offset: 0x218, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [3]

GPDMA channel 0 source address register

Offset: 0x21c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [3]

GPDMA channel 0 destination address register

Offset: 0x220, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [3]

GPDMA channel 0 linked-list address register

Offset: 0x24c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [4]

GPDMA channel 0 linked-list base address register

Offset: 0x250, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [4]

GPDMA channel 0 flag clear register

Offset: 0x25c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [4]

GPDMA channel 0 status register

Offset: 0x260, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [4]

GPDMA channel 0 control register

Offset: 0x264, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [4]

GPDMA channel 0 transfer register 1

Offset: 0x290, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [4]

GPDMA channel 0 transfer register 2

Offset: 0x294, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [4]

GPDMA channel 0 block register 1

Offset: 0x298, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [4]

GPDMA channel 0 source address register

Offset: 0x29c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [4]

GPDMA channel 0 destination address register

Offset: 0x2a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [4]

GPDMA channel 0 linked-list address register

Offset: 0x2cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [5]

GPDMA channel 0 linked-list base address register

Offset: 0x2d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [5]

GPDMA channel 0 flag clear register

Offset: 0x2dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [5]

GPDMA channel 0 status register

Offset: 0x2e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [5]

GPDMA channel 0 control register

Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [5]

GPDMA channel 0 transfer register 1

Offset: 0x310, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [5]

GPDMA channel 0 transfer register 2

Offset: 0x314, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [5]

GPDMA channel 0 block register 1

Offset: 0x318, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [5]

GPDMA channel 0 source address register

Offset: 0x31c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [5]

GPDMA channel 0 destination address register

Offset: 0x320, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [5]

GPDMA channel 0 linked-list address register

Offset: 0x34c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [6]

GPDMA channel 6 linked-list base address register

Offset: 0x350, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [6]

GPDMA channel 6 flag clear register

Offset: 0x35c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [6]

GPDMA channel 6 status register

Offset: 0x360, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [6]

GPDMA channel 6 control register

Offset: 0x364, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [6]

GPDMA channel 6 transfer register 1

Offset: 0x390, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [6]

GPDMA channel 6 transfer register 2

Offset: 0x394, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [6]

GPDMA channel 6 alternate block register 1

Offset: 0x398, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [6]

GPDMA channel 6 source address register

Offset: 0x39c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [6]

GPDMA channel 6 destination address register

Offset: 0x3a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [6]

GPDMA channel 6 transfer register 3

Offset: 0x3a4, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [6]

GPDMA channel 6 block register 2

Offset: 0x3a8, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [6]

GPDMA channel 6 alternate linked-list address register

Offset: 0x3cc, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [7]

GPDMA channel 6 linked-list base address register

Offset: 0x3d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [7]

GPDMA channel 6 flag clear register

Offset: 0x3dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [7]

GPDMA channel 6 status register

Offset: 0x3e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [7]

GPDMA channel 6 control register

Offset: 0x3e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [7]

GPDMA channel 6 transfer register 1

Offset: 0x410, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [7]

GPDMA channel 6 transfer register 2

Offset: 0x414, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [7]

GPDMA channel 6 alternate block register 1

Offset: 0x418, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [7]

GPDMA channel 6 source address register

Offset: 0x41c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [7]

GPDMA channel 6 destination address register

Offset: 0x420, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [7]

GPDMA channel 6 transfer register 3

Offset: 0x424, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [7]

GPDMA channel 6 block register 2

Offset: 0x428, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [7]

GPDMA channel 6 alternate linked-list address register

Offset: 0x44c, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

GPDMA2_S

0x50021000: GPDMA register block

534/566 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 SECCFGR
0x4 PRIVCFGR
0x8 RCFGLOCKR
0xc MISR
0x10 SMISR
0x50 LBAR [0]
0x5c FCR [0]
0x60 SR [0]
0x64 CR [0]
0x90 TR1 [0]
0x94 TR2 [0]
0x98 BR1 [0]
0x9c SAR [0]
0xa0 DAR [0]
0xcc LLR [0]
0xd0 LBAR [1]
0xdc FCR [1]
0xe0 SR [1]
0xe4 CR [1]
0x110 TR1 [1]
0x114 TR2 [1]
0x118 BR1 [1]
0x11c SAR [1]
0x120 DAR [1]
0x14c LLR [1]
0x150 LBAR [2]
0x15c FCR [2]
0x160 SR [2]
0x164 CR [2]
0x190 TR1 [2]
0x194 TR2 [2]
0x198 BR1 [2]
0x19c SAR [2]
0x1a0 DAR [2]
0x1cc LLR [2]
0x1d0 LBAR [3]
0x1dc FCR [3]
0x1e0 SR [3]
0x1e4 CR [3]
0x210 TR1 [3]
0x214 TR2 [3]
0x218 BR1 [3]
0x21c SAR [3]
0x220 DAR [3]
0x24c LLR [3]
0x250 LBAR [4]
0x25c FCR [4]
0x260 SR [4]
0x264 CR [4]
0x290 TR1 [4]
0x294 TR2 [4]
0x298 BR1 [4]
0x29c SAR [4]
0x2a0 DAR [4]
0x2cc LLR [4]
0x2d0 LBAR [5]
0x2dc FCR [5]
0x2e0 SR [5]
0x2e4 CR [5]
0x310 TR1 [5]
0x314 TR2 [5]
0x318 BR1 [5]
0x31c SAR [5]
0x320 DAR [5]
0x34c LLR [5]
0x350 LBAR [6]
0x35c FCR [6]
0x360 SR [6]
0x364 CR [6]
0x390 TR1 [6]
0x394 TR2 [6]
0x398 BR1 [6]
0x39c SAR [6]
0x3a0 DAR [6]
0x3a4 TR3 [6]
0x3a8 BR2 [6]
0x3cc LLR [6]
0x3d0 LBAR [7]
0x3dc FCR [7]
0x3e0 SR [7]
0x3e4 CR [7]
0x410 TR1 [7]
0x414 TR2 [7]
0x418 BR1 [7]
0x41c SAR [7]
0x420 DAR [7]
0x424 TR3 [7]
0x428 BR2 [7]
0x44c LLR [7]
Toggle registers

SECCFGR

GPDMA secure configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC[7]
rw
SEC[6]
rw
SEC[5]
rw
SEC[4]
rw
SEC[3]
rw
SEC[2]
rw
SEC[1]
rw
SEC[0]
rw
Toggle fields

SEC[0]

Bit 0: secure state of channel x.

SEC[1]

Bit 1: secure state of channel x.

SEC[2]

Bit 2: secure state of channel x.

SEC[3]

Bit 3: secure state of channel x.

SEC[4]

Bit 4: secure state of channel x.

SEC[5]

Bit 5: secure state of channel x.

SEC[6]

Bit 6: secure state of channel x.

SEC[7]

Bit 7: secure state of channel x.

PRIVCFGR

GPDMA privileged configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV[7]
rw
PRIV[6]
rw
PRIV[5]
rw
PRIV[4]
rw
PRIV[3]
rw
PRIV[2]
rw
PRIV[1]
rw
PRIV[0]
rw
Toggle fields

PRIV[0]

Bit 0: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[1]

Bit 1: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[2]

Bit 2: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[3]

Bit 3: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[4]

Bit 4: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[5]

Bit 5: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[6]

Bit 6: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

PRIV[7]

Bit 7: privileged state of channel x.

Allowed values:
0: Unprivileged: Channel is unprivileged
1: Privileged: Channel is privileged

RCFGLOCKR

GPDMA configuration lock register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCK[7]
rw
LOCK[6]
rw
LOCK[5]
rw
LOCK[4]
rw
LOCK[3]
rw
LOCK[2]
rw
LOCK[1]
rw
LOCK[0]
rw
Toggle fields

LOCK[0]

Bit 0: lock the configuration of GPDMA_SECCFGR..

LOCK[1]

Bit 1: lock the configuration of GPDMA_SECCFGR..

LOCK[2]

Bit 2: lock the configuration of GPDMA_SECCFGR..

LOCK[3]

Bit 3: lock the configuration of GPDMA_SECCFGR..

LOCK[4]

Bit 4: lock the configuration of GPDMA_SECCFGR..

LOCK[5]

Bit 5: lock the configuration of GPDMA_SECCFGR..

LOCK[6]

Bit 6: lock the configuration of GPDMA_SECCFGR..

LOCK[7]

Bit 7: lock the configuration of GPDMA_SECCFGR..

MISR

GPDMA nonsecure masked interrupt status register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[1]

Bit 1: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[2]

Bit 2: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[3]

Bit 3: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[4]

Bit 4: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[5]

Bit 5: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[6]

Bit 6: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

MIS[7]

Bit 7: masked interrupt status of channel x.

Allowed values:
0: NoTrigger: No interrupt has occurred on channel
1: Trigger: An interrupt has occurred on channel

SMISR

GPDMA secure masked interrupt status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIS[7]
r
MIS[6]
r
MIS[5]
r
MIS[4]
r
MIS[3]
r
MIS[2]
r
MIS[1]
r
MIS[0]
r
Toggle fields

MIS[0]

Bit 0: masked interrupt status of the secure channel x.

MIS[1]

Bit 1: masked interrupt status of the secure channel x.

MIS[2]

Bit 2: masked interrupt status of the secure channel x.

MIS[3]

Bit 3: masked interrupt status of the secure channel x.

MIS[4]

Bit 4: masked interrupt status of the secure channel x.

MIS[5]

Bit 5: masked interrupt status of the secure channel x.

MIS[6]

Bit 6: masked interrupt status of the secure channel x.

MIS[7]

Bit 7: masked interrupt status of the secure channel x.

LBAR [0]

GPDMA channel 0 linked-list base address register

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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [0]

GPDMA channel 0 flag clear register

Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [0]

GPDMA channel 0 status register

Offset: 0x60, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [0]

GPDMA channel 0 control register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [0]

GPDMA channel 0 transfer register 1

Offset: 0x90, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [0]

GPDMA channel 0 transfer register 2

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [0]

GPDMA channel 0 block register 1

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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [0]

GPDMA channel 0 source address register

Offset: 0x9c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [0]

GPDMA channel 0 destination address register

Offset: 0xa0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [0]

GPDMA channel 0 linked-list address register

Offset: 0xcc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [1]

GPDMA channel 0 linked-list base address register

Offset: 0xd0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [1]

GPDMA channel 0 flag clear register

Offset: 0xdc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [1]

GPDMA channel 0 status register

Offset: 0xe0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [1]

GPDMA channel 0 control register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [1]

GPDMA channel 0 transfer register 1

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [1]

GPDMA channel 0 transfer register 2

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [1]

GPDMA channel 0 block register 1

Offset: 0x118, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [1]

GPDMA channel 0 source address register

Offset: 0x11c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [1]

GPDMA channel 0 destination address register

Offset: 0x120, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [1]

GPDMA channel 0 linked-list address register

Offset: 0x14c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [2]

GPDMA channel 0 linked-list base address register

Offset: 0x150, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [2]

GPDMA channel 0 flag clear register

Offset: 0x15c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [2]

GPDMA channel 0 status register

Offset: 0x160, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [2]

GPDMA channel 0 control register

Offset: 0x164, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [2]

GPDMA channel 0 transfer register 1

Offset: 0x190, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [2]

GPDMA channel 0 transfer register 2

Offset: 0x194, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [2]

GPDMA channel 0 block register 1

Offset: 0x198, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [2]

GPDMA channel 0 source address register

Offset: 0x19c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [2]

GPDMA channel 0 destination address register

Offset: 0x1a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [2]

GPDMA channel 0 linked-list address register

Offset: 0x1cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [3]

GPDMA channel 0 linked-list base address register

Offset: 0x1d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [3]

GPDMA channel 0 flag clear register

Offset: 0x1dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [3]

GPDMA channel 0 status register

Offset: 0x1e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [3]

GPDMA channel 0 control register

Offset: 0x1e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [3]

GPDMA channel 0 transfer register 1

Offset: 0x210, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [3]

GPDMA channel 0 transfer register 2

Offset: 0x214, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [3]

GPDMA channel 0 block register 1

Offset: 0x218, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [3]

GPDMA channel 0 source address register

Offset: 0x21c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [3]

GPDMA channel 0 destination address register

Offset: 0x220, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [3]

GPDMA channel 0 linked-list address register

Offset: 0x24c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [4]

GPDMA channel 0 linked-list base address register

Offset: 0x250, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [4]

GPDMA channel 0 flag clear register

Offset: 0x25c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [4]

GPDMA channel 0 status register

Offset: 0x260, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [4]

GPDMA channel 0 control register

Offset: 0x264, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [4]

GPDMA channel 0 transfer register 1

Offset: 0x290, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [4]

GPDMA channel 0 transfer register 2

Offset: 0x294, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [4]

GPDMA channel 0 block register 1

Offset: 0x298, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [4]

GPDMA channel 0 source address register

Offset: 0x29c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [4]

GPDMA channel 0 destination address register

Offset: 0x2a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [4]

GPDMA channel 0 linked-list address register

Offset: 0x2cc, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [5]

GPDMA channel 0 linked-list base address register

Offset: 0x2d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [5]

GPDMA channel 0 flag clear register

Offset: 0x2dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [5]

GPDMA channel 0 status register

Offset: 0x2e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [5]

GPDMA channel 0 control register

Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [5]

GPDMA channel 0 transfer register 1

Offset: 0x310, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [5]

GPDMA channel 0 transfer register 2

Offset: 0x314, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [5]

GPDMA channel 0 block register 1

Offset: 0x318, 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
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

SAR [5]

GPDMA channel 0 source address register

Offset: 0x31c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [5]

GPDMA channel 0 destination address register

Offset: 0x320, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

LLR [5]

GPDMA channel 0 linked-list address register

Offset: 0x34c, 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
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [6]

GPDMA channel 6 linked-list base address register

Offset: 0x350, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [6]

GPDMA channel 6 flag clear register

Offset: 0x35c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [6]

GPDMA channel 6 status register

Offset: 0x360, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [6]

GPDMA channel 6 control register

Offset: 0x364, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [6]

GPDMA channel 6 transfer register 1

Offset: 0x390, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [6]

GPDMA channel 6 transfer register 2

Offset: 0x394, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [6]

GPDMA channel 6 alternate block register 1

Offset: 0x398, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [6]

GPDMA channel 6 source address register

Offset: 0x39c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [6]

GPDMA channel 6 destination address register

Offset: 0x3a0, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [6]

GPDMA channel 6 transfer register 3

Offset: 0x3a4, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [6]

GPDMA channel 6 block register 2

Offset: 0x3a8, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [6]

GPDMA channel 6 alternate linked-list address register

Offset: 0x3cc, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

LBAR [7]

GPDMA channel 6 linked-list base address register

Offset: 0x3d0, 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
LBA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

LBA

Bits 16-31: linked-list base address of GPDMA channel x.

Allowed values: 0x0-0xffff

FCR [7]

GPDMA channel 6 flag clear register

Offset: 0x3dc, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
w
SUSPF
w
USEF
w
ULEF
w
DTEF
w
HTF
w
TCF
w
Toggle fields

TCF

Bit 8: transfer complete flag clear.

Allowed values:
1: Clear: Clear flag

HTF

Bit 9: half transfer flag clear.

Allowed values:
1: Clear: Clear flag

DTEF

Bit 10: data transfer error flag clear.

Allowed values:
1: Clear: Clear flag

ULEF

Bit 11: update link transfer error flag clear.

Allowed values:
1: Clear: Clear flag

USEF

Bit 12: user setting error flag clear.

Allowed values:
1: Clear: Clear flag

SUSPF

Bit 13: completed suspension flag clear.

Allowed values:
1: Clear: Clear flag

TOF

Bit 14: trigger overrun flag clear.

Allowed values:
1: Clear: Clear flag

SR [7]

GPDMA channel 6 status register

Offset: 0x3e0, size: 32, reset: 0x00000001, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIFOL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOF
r
SUSPF
r
USEF
r
ULEF
r
DTEF
r
HTF
r
TCF
r
IDLEF
r
Toggle fields

IDLEF

Bit 0: idle flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TCF

Bit 8: transfer complete flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

HTF

Bit 9: half transfer flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

DTEF

Bit 10: data transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

ULEF

Bit 11: update link transfer error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

USEF

Bit 12: user setting error flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

SUSPF

Bit 13: completed suspension flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

TOF

Bit 14: trigger overrun flag.

Allowed values:
0: NoTrigger: Event not triggered
1: Trigger: Event triggered

FIFOL

Bits 16-23: monitored FIFO level.

Allowed values: 0x0-0xff

CR [7]

GPDMA channel 6 control register

Offset: 0x3e4, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRIO
rw
LAP
rw
LSM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOIE
rw
SUSPIE
rw
USEIE
rw
ULEIE
rw
DTEIE
rw
HTIE
rw
TCIE
rw
SUSP
rw
RESET
w
EN
rw
Toggle fields

EN

Bit 0: enable.

Allowed values:
0: Disabled: Channel disabled
1: Enabled: Channel enabled

RESET

Bit 1: reset.

Allowed values:
1: Reset: Reset channel

SUSP

Bit 2: suspend.

Allowed values:
0: NotSuspended: Channel operation not suspended
1: Suspended: Channel operation suspended

TCIE

Bit 8: transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HTIE

Bit 9: half transfer complete interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

DTEIE

Bit 10: data transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

ULEIE

Bit 11: update link transfer error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

USEIE

Bit 12: user setting error interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

SUSPIE

Bit 13: completed suspension interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

TOIE

Bit 14: trigger overrun interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSM

Bit 16: Link step mode.

Allowed values:
0: FullLinkedList: Channel executed for full linked list
1: Once: Channel executed once for current linked list

LAP

Bit 17: linked-list allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

PRIO

Bits 22-23: priority level of the channel x GPDMA transfer versus others.

Allowed values:
0: LowPrioLowWeight: Low priority, low weight
1: LowPrioMidWeight: Low priority, mid weight
2: LowPrioHighWeight: Low priority, high weight
3: HighPrio: High priority

TR1 [7]

GPDMA channel 6 transfer register 1

Offset: 0x410, size: 32, reset: 0x00000000, access: read-write

12/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSEC
rw
DAP
rw
DHX
rw
DBX
rw
DBL_1
rw
DINC
rw
DDW_LOG2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSEC
rw
SAP
rw
SBX
rw
PAM
rw
SBL_1
rw
SINC
rw
SDW_LOG2
rw
Toggle fields

SDW_LOG2

Bits 0-1: binary logarithm of the source data width of a burst in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

SINC

Bit 3: source incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

SBL_1

Bits 4-9: source burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

PAM

Bits 11-12: padding/alignment mode.

Allowed values: 0x0-0x3

SBX

Bit 13: source byte exchange within the unaligned half-word of each source word.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

SAP

Bit 14: source allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

SSEC

Bit 15: security attribute of the GPDMA transfer from the source.

DDW_LOG2

Bits 16-17: binary logarithm of the destination data width of a burst, in bytes.

Allowed values:
0: Byte: Byte
1: HalfWord: Half-word (2 bytes)
2: Word: Word (4 bytes)
3: Error: User setting error

DINC

Bit 19: destination incrementing burst.

Allowed values:
0: FixedBurst: Fixed burst
1: Contiguous: Contiguously incremented burst

DBL_1

Bits 20-25: destination burst length minus 1, between 0 and 63.

Allowed values: 0x0-0x3f

DBX

Bit 26: destination byte exchange.

Allowed values:
0: NotExchanged: No byte-based exchanged within word
1: Exchanged: The two consecutive (post PAM) bytes are exchanged in each destination half-word

DHX

Bit 27: destination half-word exchange.

Allowed values:
0: NotExchanged: No halfword-based exchange within word
1: Exchanged: The two consecutive (post PAM) half-words are exchanged in each destination word

DAP

Bit 30: destination allocated port.

Allowed values:
0: Port0: Port 0 (AHB) allocated
1: Port1: Port 1 (AHB) allocated

DSEC

Bit 31: security attribute of the GPDMA transfer to the destination.

TR2 [7]

GPDMA channel 6 transfer register 2

Offset: 0x414, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCEM
rw
TRIGPOL
rw
TRIGSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGM
rw
PFREQ
rw
BREQ
rw
DREQ
rw
SWREQ
rw
REQSEL
rw
Toggle fields

REQSEL

Bits 0-7: GPDMA hardware request selection.

Allowed values:
0: ADC1_DMA: adc1_dma selected
2: DAC1_CH1_DMA: dac1_ch1_dma selected
3: DAC1_CH2_DMA: dac1_ch2_dma selected
4: TIM6_UPD_DMA: tim6_upd_dma selected
5: TIM7_UPD_DMA: tim7_upd_dma selected
6: SPI1_RX_DMA: spi1_rx_dma selected
7: SPI1_TX_DMA: spi1_tx_dma selected
8: SPI2_RX_DMA: spi2_rx_dma selected
9: SPI2_TX_DMA: spi2_tx_dma selected
10: SPI3_RX_DMA: spi3_rx_dma selected
11: SPI3_TX_DMA: spi3_tx_dma selected
12: I2C1_RX_DMA: i2c1_rx_dma selected
13: I2C1_TX_DMA: i2c1_tx_dma selected
15: I2C2_RX_DMA: i2c2_rx_dma selected
16: I2C2_TX_DMA: i2c2_tx_dma selected
18: I2C3_RX_DMA: i2c3_rx_dma selected
19: I2C3_TX_DMA: i2c3_tx_dma selected
21: USART1_RX_DMA: usart1_rx_dma selected
22: USART1_TX_DMA: usart1_tx_dma selected
23: USART2_RX_DMA: usart2_rx_dma selected
24: USART2_TX_DMA: usart2_tx_dma selected
25: USART3_RX_DMA: usart3_rx_dma selected
26: USART3_TX_DMA: usart3_tx_dma selected
27: UART4_RX_DMA: uart4_rx_dma selected
28: UART4_TX_DMA: uart4_tx_dma selected
29: UART5_RX_DMA: uart5_rx_dma selected
30: UART5_TX_DMA: uart5_tx_dma selected
31: USART6_RX_DMA: usart6_rx_dma selected
32: USART6_TX_DMA: usart6_tx_dma selected
33: UART7_RX_DMA: uart7_rx_dma selected
34: UART7_TX_DMA: uart7_tx_dma selected
35: UART8_RX_DMA: uart8_rx_dma selected
36: UART8_TX_DMA: uart8_tx_dma selected
37: UART9_RX_DMA: uart9_rx_dma selected
38: UART9_TX_DMA: uart9_tx_dma selected
39: UART10_RX_DMA: uart10_rx_dma selected
40: UART10_TX_DMA: uart10_tx_dma selected
41: UART11_RX_DMA: uart11_rx_dma selected
42: UART11_TX_DMA: uart11_tx_dma selected
43: UART12_RX_DMA: uart12_rx_dma selected
44: UART12_TX_DMA: uart12_tx_dma selected
45: LPUART1_RX_DMA: lpuart1_rx_dma selected
46: LPUART1_TX_DMA: lpuart1_tx_dma selected
47: SPI4_RX_DMA: spi4_rx_dma selected
48: SPI4_TX_DMA: spi4_tx_dma selected
49: SPI5_RX_DMA: spi5_rx_dma selected
50: SPI5_TX_DMA: spi5_tx_dma selected
51: SPI6_RX_DMA: spi6_rx_dma selected
52: SPI6_TX_DMA: spi6_tx_dma selected
53: SAI1_A_DMA: sai1_a_dma selected
54: SAI1_B_DMA: sai1_b_dma selected
55: SAI2_A_DMA: sai2_a_dma selected
56: SAI2_B_DMA: sai2_b_dma selected
57: OSPI1_DMA: ospi1_dma selected
58: TIM1_CC1_DMA: tim1_cc1_dma selected
59: TIM1_CC2_DMA: tim1_cc2_dma selected
60: TIM1_CC3_DMA: tim1_cc3_dma selected
61: TIM1_CC4_DMA: tim1_cc4_dma selected
62: TIM1_UPD_DMA: tim1_upd_dma selected
63: TIM1_TRG_DMA: tim1_trg_dma selected
64: TIM1_COM_DMA: tim1_com_dma selected
65: TIM8_CC1_DMA: tim8_cc1_dma selected
66: TIM8_CC2_DMA: tim8_cc2_dma selected
67: TIM8_CC3_DMA: tim8_cc3_dma selected
68: TIM8_CC4_DMA: tim8_cc4_dma selected
69: TIM8_UPD_DMA: tim8_upd_dma selected
70: TIM8_TIG_DMA: tim8_tig_dma selected
71: TIM8_COM_DMA: tim8_com_dma selected
72: TIM2_CC1_DMA: tim2_cc1_dma selected
73: TIM2_CC2_DMA: tim2_cc2_dma selected
74: TIM2_CC3_DMA: tim2_cc3_dma selected
75: TIM2_CC4_DMA: tim2_cc4_dma selected
76: TIM2_UPD_DMA: tim2_upd_dma selected
77: TIM3_CC1_DMA: tim3_cc1_dma selected
78: TIM3_CC2_DMA: tim3_cc2_dma selected
79: TIM3_CC3_DMA: tim3_cc3_dma selected
80: TIM3_CC4_DMA: tim3_cc4_dma selected
81: TIM3_UPD_DMA: tim3_upd_dma selected
82: TIM3_TRG_DMA: tim3_trg_dma selected
83: TIM4_CC1_DMA: tim4_cc1_dma selected
84: TIM4_CC2_DMA: tim4_cc2_dma selected
85: TIM4_CC3_DMA: tim4_cc3_dma selected
86: TIM4_CC4_DMA: tim4_cc4_dma selected
87: TIM4_UPD_DMA: tim4_upd_dma selected
88: TIM5_CC1_DMA: tim5_cc1_dma selected
89: TIM5_CC2_DMA: tim5_cc2_dma selected
90: TIM5_CC3_DMA: tim5_cc3_dma selected
91: TIM5_CC4_DMA: tim5_cc4_dma selected
92: TIM5_UPD_DMA: tim5_upd_dma selected
93: TIM5_TRG_DMA: tim5_trg_dma selected
94: TIM15_CC1_DMA: tim15_cc1_dma selected
95: TIM15_UPD_DMA: tim15_upd_dma selected
96: TIM15_TRG_DMA: tim15_trg_dma selected
97: TIM15_COM_DMA: tim15_com_dma selected
98: TIM16_CC1_DMA: tim16_cc1_dma selected
99: TIM16_UPD_DMA: tim16_upd_dma selected
100: TIM17_CC1_DMA: tim17_cc1_dma selected
101: TIM17_UPD_DMA: tim17_upd_dma selected
102: LPTIM1_IC1_DMA: lptim1_ic1_dma selected
103: LPTIM1_IC2_DMA: lptim1_ic2_dma selected
104: LPTIM1_UE_DMA: lptim1_ue_dma selected
105: LPTIM2_IC1_DMA: lptim2_ic1_dma selected
106: LPTIM2_IC2_DMA: lptim2_ic2_dma selected
107: LPTIM2_UE_DMA: lptim2_ue_dma selected
108: DCMI_PSSI_DMA: dcmi_dma or pssi_dma(1) selected
109: AES_OUT_DMA: aes_out_dma selected
110: AES_IN_DMA: aes_in_dma selected
111: HASH_IN_DMA: hash_in_dma selected
112: UCPD1_RX_DMA: ucpd1_rx_dma selected
113: UCPD1_TX_DMA: ucpd1_tx_dma selected
114: CORDIC_READ_DMA: cordic_read_dma selected
115: CORDIC_WRITE_DMA: cordic_write_dma selected
116: FMAC_READ_DMA: fmac_read_dma selected
117: FMAC_WRITE_DMA: fmac_write_dma selected
118: SAES_OUT_DMA: saes_out_dma selected
119: SAES_IN_DMA: saes_in_dma selected
120: I3C1_RX_DMA: i3c1_rx_dma selected
121: I3C1_TX_DMA: i3c1_tx_dma selected
122: I3C1_TC_DMA: i3c1_tc_dma selected
123: I3C1_RS_DMA: i3c1_rs_dma selected
124: I2C4_RX_DMA: i2c4_rx_dma selected
125: I2C4_TX_DMA: i2c4_tx_dma selected
127: LPTIM3_IC1_DMA: lptim3_ic1_dma selected
128: LPTIM3_IC2_DMA: lptim3_ic2_dma selected
129: LPTIM3_UE_DMA: lptim3_ue_dma selected
130: LPTIM5_IC1_DMA: lptim5_ic1_dma selected
131: LPTIM5_IC2_DMA: lptim5_ic2_dma selected
132: LPTIM5_UE_DMA: lptim5_ue_dma selected
133: LPTIM6_IC1_DMA: lptim6_ic1_dma selected
134: LPTIM6_IC2_DMA: lptim6_ic2_dma selected
135: LPTIM6_UE_DMA: lptim6_ue_dma selected
136: I3C2_RX: i3c2_rx selected
137: I3C2_TX: i3c2_tx selected
138: I3C2_TC: i3c2_tc selected
139: I3C2_RS: i3c2_rs selected

SWREQ

Bit 9: software request.

Allowed values:
0: Hardware: No software request. The selected hardware request REQSEL[7:0] is taken into account
1: Software: Software request for memory-to-memory transfer

DREQ

Bit 10: destination hardware request.

Allowed values:
0: Source: Selected hardware request driven by a source peripheral
1: Destination: Selected hardware request driven by a destination peripheral

BREQ

Bit 11: Block hardware request.

Allowed values:
0: Burst: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a burst level
1: Block: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol at a block level

PFREQ

Bit 12: Hardware request in peripheral flow control mode.

Allowed values:
0: GpdmaControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in GPDMA control mode
1: PeripheralControlMode: The selected hardware request is driven by a peripheral with a hardware request/acknowledge protocol in peripheral control mode.

TRIGM

Bits 14-15: trigger mode.

Allowed values:
0: BlockLevel: At block level: the first burst read of each block transfer is conditioned by one hit trigger
2: LinkLevel: At link level: a LLI link transfer is conditioned by one hit trigger
3: ProgrammedBurstLevel: At programmed burst level: programmed burst read is conditioned by one hit trigger.

TRIGSEL

Bits 16-21: trigger event input selection.

Allowed values:
0: EXTI0: exti0 is trigger input
1: EXTI1: exti1 is trigger input
2: EXTI2: exti2 is trigger input
3: EXTI3: exti3 is trigger input
4: EXTI4: exti4 is trigger input
5: EXTI5: exti5 is trigger input
6: EXTI6: exti6 is trigger input
7: EXTI7: exti7 is trigger input
8: TAMP_TRG1: tamp_trg1 is trigger input
9: TAMP_TRG2: tamp_trg2 is trigger input
11: LPTIM1_CH1: lptim1_ch1 is trigger input
12: LPTIM1_CH2: lptim1_ch2 is trigger input
13: LPTIM2_CH1: lptim2_ch1 is trigger input
14: LPTIM2_CH2: lptim2_ch2 is trigger input
15: RTC_ALRA_TRG: rtc_alra_trg is trigger input
16: RTC_ALRB_TRG: rtc_alrb_trg is trigger input
17: RTC_WUT_TRG: rtc_wut_trg is trigger input
18: GPDMA1_CH0_TC: gpdma1_ch0_tc is trigger input
19: GPDMA1_CH1_TC: gpdma1_ch1_tc is trigger input
20: GPDMA1_CH2_TC: gpdma1_ch2_tc is trigger input
21: GPDMA1_CH3_TC: gpdma1_ch3_tc is trigger input
22: GPDMA1_CH4_TC: gpdma1_ch4_tc is trigger input
23: GPDMA1_CH5_TC: gpdma1_ch5_tc is trigger input
24: GPDMA1_CH6_TC: gpdma1_ch6_tc is trigger input
25: GPDMA1_CH7_TC: gpdma1_ch7_tc is trigger input
26: GPDMA2_CH0_TC: gpdma2_ch0_tc is trigger input
27: GPDMA2_CH1_TC: gpdma2_ch1_tc is trigger input
28: GPDMA2_CH2_TC: gpdma2_ch2_tc is trigger input
29: GPDMA2_CH3_TC: gpdma2_ch3_tc is trigger input
30: GPDMA2_CH4_TC: gpdma2_ch4_tc is trigger input
31: GPDMA2_CH5_TC: gpdma2_ch5_tc is trigger input
32: GPDMA2_CH6_TC: gpdma2_ch6_tc is trigger input
33: GPDMA2_CH7_TC: gpdma2_ch7_tc is trigger input
34: TIM2_TRG0: tim2_trgo is trigger input
44: COMP1_OUT: comp1_out is trigger input

TRIGPOL

Bits 24-25: trigger event polarity.

Allowed values:
0: NoTrigger: No trigger
1: RisingEdge: Trigger on rising edge
2: FallingEdge: Trigger on falling edge

TCEM

Bits 30-31: transfer complete event mode.

Allowed values:
0: BlockLevel: At block level: the complete (and the half) transfer event is generated at the (respectively half of the) end of a block
2: LliLevel: At LLI level: the complete transfer event is generated at the end of the LLI transfer. The half transfer event is generated at the half of the LLI data transfer
3: ChannelLevel: At channel level: the complete transfer event is generated at the end of the last LLI transfer. The half transfer event is generated at the half of the data transfer of the last LLI

BR1 [7]

GPDMA channel 6 alternate block register 1

Offset: 0x418, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BRDDEC
rw
BRSDEC
rw
DDEC
rw
SDEC
rw
BRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-15: block number of data bytes to transfer from the source.

Allowed values: 0x0-0xffff

BRC

Bits 16-26: Block repeat counter.

Allowed values: 0x0-0x7ff

SDEC

Bit 28: source address decrement.

Allowed values:
0: Increment: Source address incremented
1: Decrement: Source address decremented

DDEC

Bit 29: destination address decrement.

Allowed values:
0: Increment: Destination address incremented
1: Decrement: Destination address decremented

BRSDEC

Bit 30: Block repeat source address decrement.

Allowed values:
0: Increment: Block repeat source address incremented
1: Decrement: Block repeat source address decremented

BRDDEC

Bit 31: Block repeat destination address decrement.

Allowed values:
0: Increment: Block repeat destination address incremented
1: Decrement: Block repeat destination address decremented

SAR [7]

GPDMA channel 6 source address register

Offset: 0x41c, 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
SA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA
rw
Toggle fields

SA

Bits 0-31: source address.

Allowed values: 0x0-0xffffffff

DAR [7]

GPDMA channel 6 destination address register

Offset: 0x420, 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
DA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 0-31: destination address.

Allowed values: 0x0-0xffffffff

TR3 [7]

GPDMA channel 6 transfer register 3

Offset: 0x424, 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
DAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAO
rw
Toggle fields

SAO

Bits 0-12: source address offset increment.

Allowed values: 0x0-0xfff

DAO

Bits 16-28: destination address offset increment.

Allowed values: 0x0-0xfff

BR2 [7]

GPDMA channel 6 block register 2

Offset: 0x428, 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
BRDAO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRSAO
rw
Toggle fields

BRSAO

Bits 0-15: Block repeated source address offset.

Allowed values: 0x0-0xffff

BRDAO

Bits 16-31: Block repeated destination address offset.

Allowed values: 0x0-0xffff

LLR [7]

GPDMA channel 6 alternate linked-list address register

Offset: 0x44c, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UT1
rw
UT2
rw
UB1
rw
USA
rw
UDA
rw
UT3
rw
UB2
rw
ULL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LA
rw
Toggle fields

LA

Bits 2-15: pointer (16-bit low-significant address) to the next linked-list data structure.

Allowed values: 0x0-0x3fff

ULL

Bit 16: Update GPDMA_CxLLR register from memory.

Allowed values:
0: NoUpdate: No CxLLR update
1: Update: CxLLR updated from memory during link transfer

UB2

Bit 25: Update GPDMA_CxBR2 from memory.

Allowed values:
0: NoUpdate: No CxBR2 update
1: Update: CxBR2 updated from memory during link transfer

UT3

Bit 26: Update GPDMA_CxTR3 from memory.

Allowed values:
0: NoUpdate: No CxTR3 update
1: Update: CxTR3 updated from memory during link transfer

UDA

Bit 27: Update GPDMA_CxDAR register from memory.

Allowed values:
0: NoUpdate: No CxDAR update
1: Update: CxDAR updated from memory during link transfer

USA

Bit 28: update GPDMA_CxSAR from memory.

Allowed values:
0: NoUpdate: No CxSAR update
1: Update: CxSAR updated from memory during link transfer

UB1

Bit 29: Update GPDMA_CxBR1 from memory.

Allowed values:
0: NoUpdate: No CxBR1 update
1: Update: CxBR1 updated from memory during link transfer

UT2

Bit 30: Update GPDMA_CxTR2 from memory.

Allowed values:
0: NoUpdate: No CxTR2 update
1: Update: CxTR2 updated from memory during link transfer

UT1

Bit 31: Update GPDMA_CxTR1 from memory.

Allowed values:
0: NoUpdate: No CxTR1 update
1: Update: CxTR1 updated from memory during link transfer

GPIOA

0x42020000: GPIOA address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOA_S

0x52020000: GPIOA address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOB

0x42020400: GPIOB address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOB_S

0x52020400: GPIOB address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOC

0x42020800: GPIOC address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOC_S

0x52020800: GPIOC address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOD

0x42020c00: GPIOD address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOD_S

0x52020c00: GPIOD address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOE

0x42021000: GPIOE address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOE_S

0x52021000: GPIOE address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOF

0x42021400: GPIOF address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOF_S

0x52021400: GPIOF address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOG

0x42021800: GPIOG address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOG_S

0x52021800: GPIOG address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOH

0x42021c00: GPIOH address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOH_S

0x52021c00: GPIOH address block description

209/209 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x24 AFRH
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

AFRH

GPIO alternate function high register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL15]
rw
AFR[EL14]
rw
AFR[EL13]
rw
AFR[EL12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL11]
rw
AFR[EL10]
rw
AFR[EL9]
rw
AFR[EL8]
rw
Toggle fields

AFR[EL8]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL9]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL10]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL11]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL12]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL13]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL14]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL15]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOI

0x000001a0: GPIOI address block description

201/201 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GPIOI_S

0x100001a0: GPIOI address block description

201/201 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 MODER
0x4 OTYPER
0x8 OSPEEDR
0xc PUPDR
0x10 IDR
0x14 ODR
0x18 BSRR
0x1c LCKR
0x20 AFRL
0x28 BRR
0x2c HSLVR
0x30 SECCFGR
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0x00FFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODE[15]
rw
MODE[14]
rw
MODE[13]
rw
MODE[12]
rw
MODE[11]
rw
MODE[10]
rw
MODE[9]
rw
MODE[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODE[7]
rw
MODE[6]
rw
MODE[5]
rw
MODE[4]
rw
MODE[3]
rw
MODE[2]
rw
MODE[1]
rw
MODE[0]
rw
Toggle fields

MODE[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODE[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

OTYPER

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

OT[1]

Bit 1: Port x configuration pin 1.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[2]

Bit 2: Port x configuration pin 2.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[3]

Bit 3: Port x configuration pin 3.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[4]

Bit 4: Port x configuration pin 4.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[5]

Bit 5: Port x configuration pin 5.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[6]

Bit 6: Port x configuration pin 6.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[7]

Bit 7: Port x configuration pin 7.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[8]

Bit 8: Port x configuration pin 8.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[9]

Bit 9: Port x configuration pin 9.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[10]

Bit 10: Port x configuration pin 10.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[11]

Bit 11: Port x configuration pin 11.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[12]

Bit 12: Port x configuration pin 12.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[13]

Bit 13: Port x configuration pin 13.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[14]

Bit 14: Port x configuration pin 14.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OT[15]

Bit 15: Port x configuration pin 15.

Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain

OSPEEDR

GPIO port output speed register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEED[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

OSPEED[1]

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

OSPEED[2]

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

OSPEED[3]

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

OSPEED[4]

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

OSPEED[5]

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

OSPEED[6]

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

OSPEED[7]

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

OSPEED[8]

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

OSPEED[9]

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

OSPEED[10]

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

OSPEED[11]

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

OSPEED[12]

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

OSPEED[13]

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

OSPEED[14]

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

OSPEED[15]

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

PUPDR

GPIO port pull-up/pull-down register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPD[15]
rw
PUPD[14]
rw
PUPD[13]
rw
PUPD[12]
rw
PUPD[11]
rw
PUPD[10]
rw
PUPD[9]
rw
PUPD[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPD[7]
rw
PUPD[6]
rw
PUPD[5]
rw
PUPD[4]
rw
PUPD[3]
rw
PUPD[2]
rw
PUPD[1]
rw
PUPD[0]
rw
Toggle fields

PUPD[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

PUPD[1]

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

PUPD[2]

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

PUPD[3]

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

PUPD[4]

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

PUPD[5]

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

PUPD[6]

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

PUPD[7]

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

PUPD[8]

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

PUPD[9]

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

PUPD[10]

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

PUPD[11]

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

PUPD[12]

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

PUPD[13]

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

PUPD[14]

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

PUPD[15]

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

IDR

GPIO port input data register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

ID[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ID[15]

Bit 15: Port input data pin 15.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

ODR

GPIO port output data register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

OD[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

OD[15]

Bit 15: Port output data pin 15.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

BSRR

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 ODx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODx bit

LCKR

GPIO port configuration lock register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LCKK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK[15]
rw
LCK[14]
rw
LCK[13]
rw
LCK[12]
rw
LCK[11]
rw
LCK[10]
rw
LCK[9]
rw
LCK[8]
rw
LCK[7]
rw
LCK[6]
rw
LCK[5]
rw
LCK[4]
rw
LCK[3]
rw
LCK[2]
rw
LCK[1]
rw
LCK[0]
rw
Toggle fields

LCK[0]

Bit 0: Port x lock pin 0.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[1]

Bit 1: Port x lock pin 1.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[2]

Bit 2: Port x lock pin 2.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[3]

Bit 3: Port x lock pin 3.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[4]

Bit 4: Port x lock pin 4.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[5]

Bit 5: Port x lock pin 5.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[6]

Bit 6: Port x lock pin 6.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[7]

Bit 7: Port x lock pin 7.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[8]

Bit 8: Port x lock pin 8.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[9]

Bit 9: Port x lock pin 9.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[10]

Bit 10: Port x lock pin 10.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[11]

Bit 11: Port x lock pin 11.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[12]

Bit 12: Port x lock pin 12.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[13]

Bit 13: Port x lock pin 13.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[14]

Bit 14: Port x lock pin 14.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCK[15]

Bit 15: Port x lock pin 15.

Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked

LCKK

Bit 16: Lock key.

Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active

AFRL

GPIO alternate function low register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFR[EL7]
rw
AFR[EL6]
rw
AFR[EL5]
rw
AFR[EL4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[EL3]
rw
AFR[EL2]
rw
AFR[EL1]
rw
AFR[EL0]
rw
Toggle fields

AFR[EL0]

Bits 0-3: Alternate function selection for port x I/O pin y.

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

AFR[EL1]

Bits 4-7: Alternate function selection for port x I/O pin y.

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

AFR[EL2]

Bits 8-11: Alternate function selection for port x I/O pin y.

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

AFR[EL3]

Bits 12-15: Alternate function selection for port x I/O pin y.

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

AFR[EL4]

Bits 16-19: Alternate function selection for port x I/O pin y.

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

AFR[EL5]

Bits 20-23: Alternate function selection for port x I/O pin y.

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

AFR[EL6]

Bits 24-27: Alternate function selection for port x I/O pin y.

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

AFR[EL7]

Bits 28-31: Alternate function selection for port x I/O pin y.

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

BRR

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

BR[1]

Bit 1: Port x reset pin 1.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[2]

Bit 2: Port x reset pin 2.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[3]

Bit 3: Port x reset pin 3.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[4]

Bit 4: Port x reset pin 4.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[5]

Bit 5: Port x reset pin 5.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[6]

Bit 6: Port x reset pin 6.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[7]

Bit 7: Port x reset pin 7.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[8]

Bit 8: Port x reset pin 8.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[9]

Bit 9: Port x reset pin 9.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[10]

Bit 10: Port x reset pin 10.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[11]

Bit 11: Port x reset pin 11.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[12]

Bit 12: Port x reset pin 12.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[13]

Bit 13: Port x reset pin 13.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[14]

Bit 14: Port x reset pin 14.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

BR[15]

Bit 15: Port x reset pin 15.

Allowed values:
0: NoAction: No action on the corresponding ODx bit
1: Reset: Reset the ODx bit

HSLVR

GPIO high-speed low-voltage register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

Toggle fields

HSLV[0]

Bit 0: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[1]

Bit 1: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[2]

Bit 2: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[3]

Bit 3: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[4]

Bit 4: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[5]

Bit 5: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[6]

Bit 6: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[7]

Bit 7: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[8]

Bit 8: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[9]

Bit 9: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[10]

Bit 10: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[11]

Bit 11: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[12]

Bit 12: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[13]

Bit 13: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[14]

Bit 14: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

HSLV[15]

Bit 15: Port x high-speed low-voltage configuration.

Allowed values:
0: Disabled: I/O speed optimization disabled
1: Enabled: I/O speed optimization enabled

SECCFGR

GPIO secure configuration register

Offset: 0x30, size: 32, reset: 0x00000FFF, access: read-write

16/16 fields covered.

Toggle fields

SEC[0]

Bit 0: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[1]

Bit 1: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[2]

Bit 2: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[3]

Bit 3: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[4]

Bit 4: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[5]

Bit 5: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[6]

Bit 6: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[7]

Bit 7: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[8]

Bit 8: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[9]

Bit 9: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[10]

Bit 10: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[11]

Bit 11: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[12]

Bit 12: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[13]

Bit 13: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[14]

Bit 14: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

SEC[15]

Bit 15: I/O pin of Port x secure bit enable y.

Allowed values:
0: NonSecure: The I/O pin is non-secure
1: Secure: The I/O pin is secure

GTZC1_TZIC

0x40032400: GTZC1_MPCBBz register block

91/280 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 IER1
0x4 IER2
0x8 IER3
0xc IER4
0x10 SR1
0x14 SR2
0x18 SR3
0x1c SR4
0x20 FCR1
0x24 FCR2
0x28 FCR3
0x2c FCR4
Toggle registers

IER1

GTZC1 TZIC interrupt enable register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

TIM2IE

Bit 0: illegal access interrupt enable for TIM2.

TIM3IE

Bit 1: illegal access interrupt enable for TIM3.

TIM4IE

Bit 2: illegal access interrupt enable for TIM4.

TIM5IE

Bit 3: illegal access interrupt enable for TIM5.

TIM6IE

Bit 4: illegal access interrupt enable for TIM6.

TIM7IE

Bit 5: illegal access interrupt enable for TIM7.

TIM12IE

Bit 6: illegal access interrupt enable for TIM12.

WWDGIE

Bit 9: illegal access interrupt enable for WWDG.

IWDGIE

Bit 10: illegal access interrupt enable for IWDG.

SPI2IE

Bit 11: illegal access interrupt enable for SPI2.

SPI3IE

Bit 12: illegal access interrupt enable for SPI3.

USART2IE

Bit 13: illegal access interrupt enable for USART2.

USART3IE

Bit 14: illegal access interrupt enable for USART3.

UART4IE

Bit 15: illegal access interrupt enable for UART4.

UART5IE

Bit 16: illegal access interrupt enable for UART5.

I2C1IE

Bit 17: illegal access interrupt enable for I2C1.

I2C2IE

Bit 18: illegal access interrupt enable for I2C2.

I3C1IE

Bit 19: illegal access interrupt enable for I3C1.

CRSIE

Bit 20: illegal access interrupt enable for CRS.

USART6IE

Bit 21: illegal access interrupt enable for USART6.

USART10IE

Bit 22: illegal access interrupt enable for USART10.

USART11IE

Bit 23: illegal access interrupt enable for USART11.

HDMICECIE

Bit 24: illegal access interrupt enable for HDMICEC.

DAC1IE

Bit 25: illegal access interrupt enable for DAC1.

UART7IE

Bit 26: illegal access interrupt enable for UART7.

UART8IE

Bit 27: illegal access interrupt enable for UART8.

UART9IE

Bit 28: illegal access interrupt enable for UART9.

UART12IE

Bit 29: illegal access interrupt enable for UART12.

DTSIE

Bit 30: illegal access interrupt enable for DTS.

LPTIM2IE

Bit 31: illegal access interrupt enable for LPTIM2.

IER2

GTZC1 TZIC interrupt enable register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPTIM5IE
rw
LPTIM4IE
rw
LPTIM3IE
rw
LPTIM1IE
rw
I2C3IE
rw
LPUART1IE
rw
USBIE
rw
SAI2IE
rw
SAI1IE
rw
SPI6IE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4IE
rw
TIM15IE
rw
USART1IE
rw
TIM8IE
rw
SPI1IE
rw
TIM1IE
rw
UCPDIE
rw
FDCAN2IE
rw
FDCAN1IE
rw
Toggle fields

FDCAN1IE

Bit 0: illegal access interrupt enable for FDCAN1.

FDCAN2IE

Bit 1: illegal access interrupt enable for FDCAN2.

UCPDIE

Bit 2: illegal access interrupt enable for UCPD.

TIM1IE

Bit 8: illegal access interrupt enable for TIM1.

SPI1IE

Bit 9: illegal access interrupt enable for SPI1.

TIM8IE

Bit 10: illegal access interrupt enable for TIM8.

USART1IE

Bit 11: illegal access interrupt enable for USART1.

TIM15IE

Bit 12: illegal access interrupt enable for TIM15.

SPI4IE

Bit 15: illegal access interrupt enable for SPI4.

SPI6IE

Bit 16: illegal access interrupt enable for SPI6.

SAI1IE

Bit 17: illegal access interrupt enable for SAI1.

SAI2IE

Bit 18: illegal access interrupt enable for SAI2.

USBIE

Bit 19: illegal access interrupt enable for USB.

LPUART1IE

Bit 25: illegal access interrupt enable for LPUART.

I2C3IE

Bit 26: illegal access interrupt enable for I2C3.

LPTIM1IE

Bit 28: illegal access interrupt enable for LPTIM1.

LPTIM3IE

Bit 29: illegal access interrupt enable for LPTIM3.

LPTIM4IE

Bit 30: illegal access interrupt enable for LPTIM4.

LPTIM5IE

Bit 31: illegal access interrupt enable for LPTIM5.

IER3

GTZC1 TZIC interrupt enable register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RAMCFGIE
rw
OCTOSPI1IE
rw
FMCIE
rw
SDMMC1IE
rw
PKAIE
rw
SAESIE
rw
RNGIE
rw
HASHIE
rw
AESIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMIIE
rw
ADC12IE
rw
DCACHEIE
rw
ICACHEIE
rw
ETHIE
rw
FMACIE
rw
CORDICIE
rw
CRCIE
rw
I3C2IE
rw
VREFBUFIE
rw
LPTIM6IE
rw
Toggle fields

LPTIM6IE

Bit 0: illegal access interrupt enable for LPTIM6.

VREFBUFIE

Bit 1: illegal access interrupt enable for VREFBUF.

I3C2IE

Bit 2: illegal access interrupt enable for I3C2.

CRCIE

Bit 8: illegal access interrupt enable for CRC.

CORDICIE

Bit 9: illegal access interrupt enable for CORDIC.

FMACIE

Bit 10: illegal access interrupt enable for FMAC.

ETHIE

Bit 11: illegal access interrupt enable for register of ETH.

ICACHEIE

Bit 12: illegal access interrupt enable for ICACHE.

DCACHEIE

Bit 13: illegal access interrupt enable for DCACHE.

ADC12IE

Bit 14: illegal access interrupt enable for ADC1 and ADC2.

DCMIIE

Bit 15: illegal access interrupt enable for DCMI.

AESIE

Bit 16: illegal access interrupt enable for AES.

HASHIE

Bit 17: illegal access interrupt enable for HASH.

RNGIE

Bit 18: illegal access interrupt enable for RNG.

SAESIE

Bit 19: illegal access interrupt enable for SAES.

PKAIE

Bit 20: illegal access interrupt enable for PKA.

SDMMC1IE

Bit 21: illegal access interrupt enable for SDMMC1.

FMCIE

Bit 23: illegal access interrupt enable for FMC.

OCTOSPI1IE

Bit 24: illegal access interrupt enable for OCTOSPI1.

RAMCFGIE

Bit 26: illegal access interrupt enable for RAMSCFG.

IER4

GTZC1 TZIC interrupt enable register 4

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/22 fields covered.

Toggle fields

GPDMA1IE

Bit 0: illegal access interrupt enable for GPDMA1.

GPDMA2IE

Bit 1: illegal access interrupt enable for GPDMA2.

FLASH_REGIE

Bit 2: illegal access interrupt enable for FLASH registers.

FLASHIE

Bit 3: illegal access interrupt enable for FLASH memory.

OTFDEC1IE

Bit 4: illegal access interrupt enable for OTFDEC1.

SBSIE

Bit 6: illegal access interrupt enable for SBS.

RTCIE

Bit 7: illegal access interrupt enable for RTC.

TAMPIE

Bit 8: illegal access interrupt enable for TAMP.

PWRIE

Bit 9: illegal access interrupt enable for PWR.

RCCIE

Bit 10: illegal access interrupt enable for RCC.

EXTIIE

Bit 11: illegal access interrupt enable for EXTI.

TZSC1IE

Bit 16: illegal access interrupt enable for GTZC1 TZSC registers.

TZIC1IE

Bit 17: illegal access interrupt enable for GTZC1 TZIC registers.

OCTOSPI1_MEMIE

Bit 18: illegal access interrupt enable for MPCWM1 (OCTOSPI1) memory bank.

FMC_MEMIE

Bit 19: illegal access interrupt enable for MPCWM2 (FMC_NOR bank), MPCWM3 (FMC_NAND bank and FMC_SDRAM bank 1), and MPCWM4 (FMC_SDRAM bank 2).

BKPSRAMIE

Bit 20: illegal access interrupt enable for MPCWM4 (BKPSRAM) memory bank.

SRAM1IE

Bit 24: illegal access interrupt enable for SRAM1.

MPCBB1_REGIE

Bit 25: illegal access interrupt enable for MPCBB1 registers.

SRAM2IE

Bit 26: illegal access interrupt enable for SRAM2.

MPCBB2_REGIE

Bit 27: illegal access interrupt enable for MPCBB2 registers.

SRAM3IE

Bit 28: illegal access interrupt enable for SRAM3.

MPCBB3_REGIE

Bit 29: illegal access interrupt enable for MPCBB3 registers.

SR1

GTZC1 TZIC status register 1

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

30/30 fields covered.

Toggle fields

TIM2F

Bit 0: illegal access flag for TIM2.

TIM3F

Bit 1: illegal access flag for TIM3.

TIM4F

Bit 2: illegal access flag for TIM4.

TIM5F

Bit 3: illegal access flag for TIM5.

TIM6F

Bit 4: illegal access flag for TIM6.

TIM7F

Bit 5: illegal access flag for TIM7.

TIM12F

Bit 6: illegal access flag for TIM12.

WWDGF

Bit 9: illegal access flag for WWDG.

IWDGF

Bit 10: illegal access flag for IWDG.

SPI2F

Bit 11: illegal access flag for SPI2.

SPI3F

Bit 12: illegal access flag for SPI3.

USART2F

Bit 13: illegal access flag for USART2.

USART3F

Bit 14: illegal access flag for USART3.

UART4F

Bit 15: illegal access flag for UART4.

UART5F

Bit 16: illegal access flag for UART5.

I2C1F

Bit 17: illegal access flag for I2C1.

I2C2F

Bit 18: illegal access flag for I2C2.

I3C1F

Bit 19: illegal access flag for I3C1.

CRSF

Bit 20: illegal access flag for CRS.

USART6F

Bit 21: illegal access flag for USART6.

USART10F

Bit 22: illegal access flag for USART10.

USART11F

Bit 23: illegal access flag for USART11.

HDMICECF

Bit 24: illegal access flag for HDMICEC.

DAC1F

Bit 25: illegal access flag for DAC1.

UART7F

Bit 26: illegal access flag for UART7.

UART8F

Bit 27: illegal access flag for UART8.

UART9F

Bit 28: illegal access flag for UART9.

UART12F

Bit 29: illegal access flag for UART12.

DTSF

Bit 30: illegal access flag for DTS.

LPTIM2F

Bit 31: illegal access flag for LPTIM2.

SR2

GTZC1 TZIC status register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPTIM5F
r
LPTIM4F
r
LPTIM3F
r
LPTIM1F
r
I2C3F
r
LPUART1F
r
USBF
r
SAI2F
r
SAI1F
r
SPI6F
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4F
r
TIM15F
r
USART1F
r
TIM8F
r
SPI1F
r
TIM1F
r
UCPDF
r
FDCAN2F
r
FDCAN1F
r
Toggle fields

FDCAN1F

Bit 0: illegal access flag for FDCAN1.

FDCAN2F

Bit 1: illegal access flag for FDCAN2.

UCPDF

Bit 2: illegal access flag for UCPD.

TIM1F

Bit 8: illegal access flag for TIM1.

SPI1F

Bit 9: illegal access flag for SPI1.

TIM8F

Bit 10: illegal access flag for TIM8.

USART1F

Bit 11: illegal access flag for USART1.

TIM15F

Bit 12: illegal access flag for TIM15.

SPI4F

Bit 15: illegal access flag for SPI4.

SPI6F

Bit 16: illegal access flag for SPI6.

SAI1F

Bit 17: illegal access flag for SAI1.

SAI2F

Bit 18: illegal access flag for SAI2.

USBF

Bit 19: illegal access flag for USB.

LPUART1F

Bit 25: illegal access flag for LPUART.

I2C3F

Bit 26: illegal access flag for I2C3.

LPTIM1F

Bit 28: illegal access flag for LPTIM1.

LPTIM3F

Bit 29: illegal access flag for LPTIM3.

LPTIM4F

Bit 30: illegal access flag for LPTIM4.

LPTIM5F

Bit 31: illegal access flag for LPTIM5.

SR3

GTZC1 TZIC status register 3

Offset: 0x18, size: 32, reset: 0x00000000, access: read-only

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RAMCFGF
r
OCTOSPI1F
r
FMCF
r
SDMMC1F
r
PKAF
r
SAESF
r
RNGF
r
HASHF
r
AESF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMIF
r
ADC12F
r
DCACHEF
r
ICACHEF
r
ETHF
r
FMACF
r
CORDICF
r
CRCF
r
I3C2F
r
VREFBUFF
r
LPTIM6F
r
Toggle fields

LPTIM6F

Bit 0: illegal access flag for LPTIM6.

VREFBUFF

Bit 1: illegal access flag for VREFBUF.

I3C2F

Bit 2: illegal access flag for I3C2.

CRCF

Bit 8: illegal access flag for CRC.

CORDICF

Bit 9: illegal access flag for CORDIC.

FMACF

Bit 10: illegal access flag for FMAC.

ETHF

Bit 11: illegal access flag for register of ETH.

ICACHEF

Bit 12: illegal access flag for ICACHE.

DCACHEF

Bit 13: illegal access flag for DCACHE.

ADC12F

Bit 14: illegal access flag for ADC1 and ADC2.

DCMIF

Bit 15: illegal access flag for DCMI.

AESF

Bit 16: illegal access flag for AES.

HASHF

Bit 17: illegal access flag for HASH.

RNGF

Bit 18: illegal access flag for RNG.

SAESF

Bit 19: illegal access flag for SAES.

PKAF

Bit 20: illegal access flag for PKA.

SDMMC1F

Bit 21: illegal access flag for SDMMC1.

FMCF

Bit 23: illegal access flag for FMC.

OCTOSPI1F

Bit 24: illegal access flag for OCTOSPI1.

RAMCFGF

Bit 26: illegal access flag for RAMSCFG.

SR4

GTZC1 TZIC status register 4

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

22/22 fields covered.

Toggle fields

GPDMA1F

Bit 0: illegal access flag for GPDMA1.

GPDMA2F

Bit 1: illegal access flag for GPDMA2.

FLASH_REGF

Bit 2: illegal access flag for FLASH registers.

FLASHF

Bit 3: illegal access flag for FLASH memory.

OTFDEC1F

Bit 4: illegal access flag for OTFDEC1.

SBSF

Bit 6: illegal access flag for SBS.

RTCF

Bit 7: illegal access flag for RTC.

TAMPF

Bit 8: illegal access flag for TAMP.

PWRF

Bit 9: illegal access flag for PWR.

RCCF

Bit 10: illegal access flag for RCC.

EXTIF

Bit 11: illegal access flag for EXTI.

TZSC1F

Bit 16: illegal access flag for GTZC1 TZSC registers.

TZIC1F

Bit 17: illegal access flag for GTZC1 TZIC registers.

OCTOSPI1_MEMF

Bit 18: illegal access flag for MPCWM1 (OCTOSPI1) memory bank.

FMC_MEMF

Bit 19: illegal access flag for MPCWM2 (FMC_NOR bank), MPCWM3 (FMC_NAND bank and FMC_SDRAM bank 1), and MPCWM4 (FMC_SDRAM bank 2).

BKPSRAMF

Bit 20: illegal access flag for MPCWM4 (BKPSRAM) memory bank.

SRAM1F

Bit 24: illegal access flag for SRAM1.

MPCBB1_REGF

Bit 25: illegal access flag for MPCBB1 registers.

SRAM2F

Bit 26: illegal access flag for SRAM2.

MPCBB2_REGF

Bit 27: illegal access flag for MPCBB2 registers.

SRAM3F

Bit 28: illegal access flag for SRAM3.

MPCBB3_REGF

Bit 29: illegal access flag for MPCBB3 registers.

FCR1

GTZC1 TZIC flag clear register 1

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

0/32 fields covered.

Toggle fields

CTIM2F

Bit 0: clear the illegal access flag for TIM2.

CTIM3F

Bit 1: clear the illegal access flag for TIM3.

CTIM4F

Bit 2: clear the illegal access flag for TIM4.

CTIM5F

Bit 3: clear the illegal access flag for TIM5.

CTIM6F

Bit 4: clear the illegal access flag for TIM6.

CTIM7F

Bit 5: clear the illegal access flag for TIM7.

CTIM12F

Bit 6: clear the illegal access flag for TIM12.

CTIM13F

Bit 7: clear the illegal access flag for TIM13.

CTIM14F

Bit 8: clear the illegal access flag for TIM14.

CWWDGF

Bit 9: clear the illegal access flag for WWDG.

CIWDGF

Bit 10: clear the illegal access flag for IWDG.

CSPI2F

Bit 11: clear the illegal access flag for SPI2.

CSPI3F

Bit 12: clear the illegal access flag for SPI3.

CUSART2F

Bit 13: clear the illegal access flag for USART2.

CUSART3F

Bit 14: clear the illegal access flag for USART3.

CUART4F

Bit 15: clear the illegal access flag for UART4.

CUART5F

Bit 16: clear the illegal access flag for UART5.

CI2C1F

Bit 17: clear the illegal access flag for I2C1.

CI2C2F

Bit 18: clear the illegal access flag for I2C2.

CI3C1F

Bit 19: clear the illegal access flag for I3C1.

CCRSF

Bit 20: clear the illegal access flag for CRS.

CUSART6F

Bit 21: clear the illegal access flag for USART6.

CUSART10F

Bit 22: clear the illegal access flag for USART10.

CUSART11F

Bit 23: clear the illegal access flag for USART11.

CHDMICECF

Bit 24: clear the illegal access flag for HDMICEC.

CDAC1F

Bit 25: clear the illegal access flag for DAC1.

CUART7F

Bit 26: clear the illegal access flag for UART7.

CUART8F

Bit 27: clear the illegal access flag for UART8.

CUART9F

Bit 28: clear the illegal access flag for UART9.

CUART12F

Bit 29: clear the illegal access flag for UART12.

CDTSF

Bit 30: clear the illegal access flag for DTS.

CLPTIM2F

Bit 31: clear the illegal access flag for LPTIM2.

FCR2

GTZC1 TZIC flag clear register 2

Offset: 0x24, size: 32, reset: 0x00000000, access: write-only

0/23 fields covered.

Toggle fields

CFDCAN1F

Bit 0: clear the illegal access flag for FDCAN1.

CFDCAN2F

Bit 1: clear the illegal access flag for FDCAN2.

CUCPDF

Bit 2: clear the illegal access flag for UCPD.

CTIM1F

Bit 8: clear the illegal access flag for TIM1.

CSPI1F

Bit 9: clear the illegal access flag for SPI1.

CTIM8F

Bit 10: clear the illegal access flag for TIM8.

CUSART1F

Bit 11: clear the illegal access flag for USART1.

CTIM15F

Bit 12: clear the illegal access flag for TIM15.

CTIM16F

Bit 13: clear the illegal access flag for TIM16.

CTIM17F

Bit 14: clear the illegal access flag for TIM17.

CSPI4F

Bit 15: clear the illegal access flag for SPI4.

CSPI6F

Bit 16: clear the illegal access flag for SPI6.

CSAI1F

Bit 17: clear the illegal access flag for SAI1.

CSAI2F

Bit 18: clear the illegal access flag for SAI2.

CUSBF

Bit 19: clear the illegal access flag for USB.

CSPI5F

Bit 24: clear the illegal access flag for SPI5.

CLPUART1F

Bit 25: clear the illegal access flag for LPUART.

CI2C3F

Bit 26: clear the illegal access flag for I2C3.

CI2C4F

Bit 27: clear the illegal access flag for I2C4.

CLPTIM1F

Bit 28: clear the illegal access flag for LPTIM1.

CLPTIM3F

Bit 29: clear the illegal access flag for LPTIM3.

CLPTIM4F

Bit 30: clear the illegal access flag for LPTIM4.

CLPTIM5F

Bit 31: clear the illegal access flag for LPTIM5.

FCR3

GTZC1 TZIC flag clear register 3

Offset: 0x28, size: 32, reset: 0x00000000, access: write-only

0/21 fields covered.

Toggle fields

CLPTIM6F

Bit 0: clear illegal access flag for LPTIM6.

CVREFBUFF

Bit 1: clear illegal access flag for VREFBUF.

CI3C2F

Bit 2: clear illegal access flag for I3C2.

CCRCF

Bit 8: clear illegal access flag for CRC.

CCORDICF

Bit 9: clear illegal access flag for CORDIC.

CFMACF

Bit 10: clear illegal access flag for FMAC.

CETHF

Bit 11: clear illegal access flag for register of ETH.

CICACHEF

Bit 12: clear illegal access flag for ICACHE.

CDCACHEF

Bit 13: clear illegal access flag for DCACHE.

CADC12F

Bit 14: clear illegal access flag for ADC1 and ADC2.

CDCMIF

Bit 15: clear illegal access flag for DCMI.

CAESF

Bit 16: clear illegal access flag for AES.

CHASHF

Bit 17: clear illegal access flag for HASH.

CRNGF

Bit 18: clear illegal access flag for RNG.

CSAESF

Bit 19: clear illegal access flag for SAES.

CPKAF

Bit 20: clear illegal access flag for PKA.

CSDMMC1F

Bit 21: clear illegal access flag for SDMMC1.

CSDMMC2F

Bit 22: clear illegal access flag for SDMMC2.

CFMCF

Bit 23: clear illegal access flag for FMC.

COCTOSPI1F

Bit 24: clear illegal access flag for OCTOSPI1.

CRAMCFGF

Bit 26: clear illegal access flag for RAMSCFG.

FCR4

GTZC1 TZIC flag clear register 4

Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only

0/22 fields covered.

Toggle fields

CGPDMA1F

Bit 0: clear the illegal access flag for GPDMA1.

CGPDMA2F

Bit 1: clear the illegal access flag for GPDMA2.

CFLASH_REGF

Bit 2: clear the illegal access flag for FLASH registers.

CFLASHF

Bit 3: clear the illegal access flag for FLASH memory.

COTFDEC1F

Bit 4: clear the illegal access flag for OTFDEC1.

CSBSF

Bit 6: clear the illegal access flag for SBS.

CRTCF

Bit 7: clear the illegal access flag for RTC.

CTAMPF

Bit 8: clear the illegal access flag for TAMP.

CPWRF

Bit 9: clear the illegal access flag for PWR.

CRCCF

Bit 10: clear the illegal access flag for RCC.

CEXTIF

Bit 11: clear the illegal access flag for EXTI.

CTZSC1F

Bit 16: clear the illegal access flag for GTZC1 TZSC registers.

CTZIC1F

Bit 17: clear the illegal access flag for GTZC1 TZIC registers.

COCTOSPI1_MEMF

Bit 18: clear the illegal access flag for MPCWM1 (OCTOSPI1) memory bank.

CFMC_MEMF

Bit 19: clear the illegal access flag for MPCWM2 (FMC_NOR bank), MPCWM3 (FMC_NAND bank and FMC_SDRAM bank 1), and MPCWM4 (FMC_SDRAM bank 2).

CBKPSRAMF

Bit 20: clear the illegal access flag for MPCWM4 (BKPSRAM) memory bank.

CSRAM1F

Bit 24: clear the illegal access flag for SRAM1.

CMPCBB1_REGF

Bit 25: clear the illegal access flag for MPCBB1 registers.

CSRAM2F

Bit 26: clear the illegal access flag for SRAM2.

CMPCBB2_REGF

Bit 27: clear the illegal access flag for MPCBB2 registers.

CSRAM3F

Bit 28: clear the illegal access flag for SRAM3.

CMPCBB3_REGF

Bit 29: clear the illegal access flag for MPCBB3 registers.

GTZC1_TZIC_S

0x50032400: GTZC1_MPCBBz register block

91/280 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 IER1
0x4 IER2
0x8 IER3
0xc IER4
0x10 SR1
0x14 SR2
0x18 SR3
0x1c SR4
0x20 FCR1
0x24 FCR2
0x28 FCR3
0x2c FCR4
Toggle registers

IER1

GTZC1 TZIC interrupt enable register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

TIM2IE

Bit 0: illegal access interrupt enable for TIM2.

TIM3IE

Bit 1: illegal access interrupt enable for TIM3.

TIM4IE

Bit 2: illegal access interrupt enable for TIM4.

TIM5IE

Bit 3: illegal access interrupt enable for TIM5.

TIM6IE

Bit 4: illegal access interrupt enable for TIM6.

TIM7IE

Bit 5: illegal access interrupt enable for TIM7.

TIM12IE

Bit 6: illegal access interrupt enable for TIM12.

WWDGIE

Bit 9: illegal access interrupt enable for WWDG.

IWDGIE

Bit 10: illegal access interrupt enable for IWDG.

SPI2IE

Bit 11: illegal access interrupt enable for SPI2.

SPI3IE

Bit 12: illegal access interrupt enable for SPI3.

USART2IE

Bit 13: illegal access interrupt enable for USART2.

USART3IE

Bit 14: illegal access interrupt enable for USART3.

UART4IE

Bit 15: illegal access interrupt enable for UART4.

UART5IE

Bit 16: illegal access interrupt enable for UART5.

I2C1IE

Bit 17: illegal access interrupt enable for I2C1.

I2C2IE

Bit 18: illegal access interrupt enable for I2C2.

I3C1IE

Bit 19: illegal access interrupt enable for I3C1.

CRSIE

Bit 20: illegal access interrupt enable for CRS.

USART6IE

Bit 21: illegal access interrupt enable for USART6.

USART10IE

Bit 22: illegal access interrupt enable for USART10.

USART11IE

Bit 23: illegal access interrupt enable for USART11.

HDMICECIE

Bit 24: illegal access interrupt enable for HDMICEC.

DAC1IE

Bit 25: illegal access interrupt enable for DAC1.

UART7IE

Bit 26: illegal access interrupt enable for UART7.

UART8IE

Bit 27: illegal access interrupt enable for UART8.

UART9IE

Bit 28: illegal access interrupt enable for UART9.

UART12IE

Bit 29: illegal access interrupt enable for UART12.

DTSIE

Bit 30: illegal access interrupt enable for DTS.

LPTIM2IE

Bit 31: illegal access interrupt enable for LPTIM2.

IER2

GTZC1 TZIC interrupt enable register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPTIM5IE
rw
LPTIM4IE
rw
LPTIM3IE
rw
LPTIM1IE
rw
I2C3IE
rw
LPUART1IE
rw
USBIE
rw
SAI2IE
rw
SAI1IE
rw
SPI6IE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4IE
rw
TIM15IE
rw
USART1IE
rw
TIM8IE
rw
SPI1IE
rw
TIM1IE
rw
UCPDIE
rw
FDCAN2IE
rw
FDCAN1IE
rw
Toggle fields

FDCAN1IE

Bit 0: illegal access interrupt enable for FDCAN1.

FDCAN2IE

Bit 1: illegal access interrupt enable for FDCAN2.

UCPDIE

Bit 2: illegal access interrupt enable for UCPD.

TIM1IE

Bit 8: illegal access interrupt enable for TIM1.

SPI1IE

Bit 9: illegal access interrupt enable for SPI1.

TIM8IE

Bit 10: illegal access interrupt enable for TIM8.

USART1IE

Bit 11: illegal access interrupt enable for USART1.

TIM15IE

Bit 12: illegal access interrupt enable for TIM15.

SPI4IE

Bit 15: illegal access interrupt enable for SPI4.

SPI6IE

Bit 16: illegal access interrupt enable for SPI6.

SAI1IE

Bit 17: illegal access interrupt enable for SAI1.

SAI2IE

Bit 18: illegal access interrupt enable for SAI2.

USBIE

Bit 19: illegal access interrupt enable for USB.

LPUART1IE

Bit 25: illegal access interrupt enable for LPUART.

I2C3IE

Bit 26: illegal access interrupt enable for I2C3.

LPTIM1IE

Bit 28: illegal access interrupt enable for LPTIM1.

LPTIM3IE

Bit 29: illegal access interrupt enable for LPTIM3.

LPTIM4IE

Bit 30: illegal access interrupt enable for LPTIM4.

LPTIM5IE

Bit 31: illegal access interrupt enable for LPTIM5.

IER3

GTZC1 TZIC interrupt enable register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RAMCFGIE
rw
OCTOSPI1IE
rw
FMCIE
rw
SDMMC1IE
rw
PKAIE
rw
SAESIE
rw
RNGIE
rw
HASHIE
rw
AESIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMIIE
rw
ADC12IE
rw
DCACHEIE
rw
ICACHEIE
rw
ETHIE
rw
FMACIE
rw
CORDICIE
rw
CRCIE
rw
I3C2IE
rw
VREFBUFIE
rw
LPTIM6IE
rw
Toggle fields

LPTIM6IE

Bit 0: illegal access interrupt enable for LPTIM6.

VREFBUFIE

Bit 1: illegal access interrupt enable for VREFBUF.

I3C2IE

Bit 2: illegal access interrupt enable for I3C2.

CRCIE

Bit 8: illegal access interrupt enable for CRC.

CORDICIE

Bit 9: illegal access interrupt enable for CORDIC.

FMACIE

Bit 10: illegal access interrupt enable for FMAC.

ETHIE

Bit 11: illegal access interrupt enable for register of ETH.

ICACHEIE

Bit 12: illegal access interrupt enable for ICACHE.

DCACHEIE

Bit 13: illegal access interrupt enable for DCACHE.

ADC12IE

Bit 14: illegal access interrupt enable for ADC1 and ADC2.

DCMIIE

Bit 15: illegal access interrupt enable for DCMI.

AESIE

Bit 16: illegal access interrupt enable for AES.

HASHIE

Bit 17: illegal access interrupt enable for HASH.

RNGIE

Bit 18: illegal access interrupt enable for RNG.

SAESIE

Bit 19: illegal access interrupt enable for SAES.

PKAIE

Bit 20: illegal access interrupt enable for PKA.

SDMMC1IE

Bit 21: illegal access interrupt enable for SDMMC1.

FMCIE

Bit 23: illegal access interrupt enable for FMC.

OCTOSPI1IE

Bit 24: illegal access interrupt enable for OCTOSPI1.

RAMCFGIE

Bit 26: illegal access interrupt enable for RAMSCFG.

IER4

GTZC1 TZIC interrupt enable register 4

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/22 fields covered.

Toggle fields

GPDMA1IE

Bit 0: illegal access interrupt enable for GPDMA1.

GPDMA2IE

Bit 1: illegal access interrupt enable for GPDMA2.

FLASH_REGIE

Bit 2: illegal access interrupt enable for FLASH registers.

FLASHIE

Bit 3: illegal access interrupt enable for FLASH memory.

OTFDEC1IE

Bit 4: illegal access interrupt enable for OTFDEC1.

SBSIE

Bit 6: illegal access interrupt enable for SBS.

RTCIE

Bit 7: illegal access interrupt enable for RTC.

TAMPIE

Bit 8: illegal access interrupt enable for TAMP.

PWRIE

Bit 9: illegal access interrupt enable for PWR.

RCCIE

Bit 10: illegal access interrupt enable for RCC.

EXTIIE

Bit 11: illegal access interrupt enable for EXTI.

TZSC1IE

Bit 16: illegal access interrupt enable for GTZC1 TZSC registers.

TZIC1IE

Bit 17: illegal access interrupt enable for GTZC1 TZIC registers.

OCTOSPI1_MEMIE

Bit 18: illegal access interrupt enable for MPCWM1 (OCTOSPI1) memory bank.

FMC_MEMIE

Bit 19: illegal access interrupt enable for MPCWM2 (FMC_NOR bank), MPCWM3 (FMC_NAND bank and FMC_SDRAM bank 1), and MPCWM4 (FMC_SDRAM bank 2).

BKPSRAMIE

Bit 20: illegal access interrupt enable for MPCWM4 (BKPSRAM) memory bank.

SRAM1IE

Bit 24: illegal access interrupt enable for SRAM1.

MPCBB1_REGIE

Bit 25: illegal access interrupt enable for MPCBB1 registers.

SRAM2IE

Bit 26: illegal access interrupt enable for SRAM2.

MPCBB2_REGIE

Bit 27: illegal access interrupt enable for MPCBB2 registers.

SRAM3IE

Bit 28: illegal access interrupt enable for SRAM3.

MPCBB3_REGIE

Bit 29: illegal access interrupt enable for MPCBB3 registers.

SR1

GTZC1 TZIC status register 1

Offset: 0x10, size: 32, reset: 0x00000000, access: read-only

30/30 fields covered.

Toggle fields

TIM2F

Bit 0: illegal access flag for TIM2.

TIM3F

Bit 1: illegal access flag for TIM3.

TIM4F

Bit 2: illegal access flag for TIM4.

TIM5F

Bit 3: illegal access flag for TIM5.

TIM6F

Bit 4: illegal access flag for TIM6.

TIM7F

Bit 5: illegal access flag for TIM7.

TIM12F

Bit 6: illegal access flag for TIM12.

WWDGF

Bit 9: illegal access flag for WWDG.

IWDGF

Bit 10: illegal access flag for IWDG.

SPI2F

Bit 11: illegal access flag for SPI2.

SPI3F

Bit 12: illegal access flag for SPI3.

USART2F

Bit 13: illegal access flag for USART2.

USART3F

Bit 14: illegal access flag for USART3.

UART4F

Bit 15: illegal access flag for UART4.

UART5F

Bit 16: illegal access flag for UART5.

I2C1F

Bit 17: illegal access flag for I2C1.

I2C2F

Bit 18: illegal access flag for I2C2.

I3C1F

Bit 19: illegal access flag for I3C1.

CRSF

Bit 20: illegal access flag for CRS.

USART6F

Bit 21: illegal access flag for USART6.

USART10F

Bit 22: illegal access flag for USART10.

USART11F

Bit 23: illegal access flag for USART11.

HDMICECF

Bit 24: illegal access flag for HDMICEC.

DAC1F

Bit 25: illegal access flag for DAC1.

UART7F

Bit 26: illegal access flag for UART7.

UART8F

Bit 27: illegal access flag for UART8.

UART9F

Bit 28: illegal access flag for UART9.

UART12F

Bit 29: illegal access flag for UART12.

DTSF

Bit 30: illegal access flag for DTS.

LPTIM2F

Bit 31: illegal access flag for LPTIM2.

SR2

GTZC1 TZIC status register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPTIM5F
r
LPTIM4F
r
LPTIM3F
r
LPTIM1F
r
I2C3F
r
LPUART1F
r
USBF
r
SAI2F
r
SAI1F
r
SPI6F
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4F
r
TIM15F
r
USART1F
r
TIM8F
r
SPI1F
r
TIM1F
r
UCPDF
r
FDCAN2F
r
FDCAN1F
r
Toggle fields

FDCAN1F

Bit 0: illegal access flag for FDCAN1.

FDCAN2F

Bit 1: illegal access flag for FDCAN2.

UCPDF

Bit 2: illegal access flag for UCPD.

TIM1F

Bit 8: illegal access flag for TIM1.

SPI1F

Bit 9: illegal access flag for SPI1.

TIM8F

Bit 10: illegal access flag for TIM8.

USART1F

Bit 11: illegal access flag for USART1.

TIM15F

Bit 12: illegal access flag for TIM15.

SPI4F

Bit 15: illegal access flag for SPI4.

SPI6F

Bit 16: illegal access flag for SPI6.

SAI1F

Bit 17: illegal access flag for SAI1.

SAI2F

Bit 18: illegal access flag for SAI2.

USBF

Bit 19: illegal access flag for USB.

LPUART1F

Bit 25: illegal access flag for LPUART.

I2C3F

Bit 26: illegal access flag for I2C3.

LPTIM1F

Bit 28: illegal access flag for LPTIM1.

LPTIM3F

Bit 29: illegal access flag for LPTIM3.

LPTIM4F

Bit 30: illegal access flag for LPTIM4.

LPTIM5F

Bit 31: illegal access flag for LPTIM5.

SR3

GTZC1 TZIC status register 3

Offset: 0x18, size: 32, reset: 0x00000000, access: read-only

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RAMCFGF
r
OCTOSPI1F
r
FMCF
r
SDMMC1F
r
PKAF
r
SAESF
r
RNGF
r
HASHF
r
AESF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMIF
r
ADC12F
r
DCACHEF
r
ICACHEF
r
ETHF
r
FMACF
r
CORDICF
r
CRCF
r
I3C2F
r
VREFBUFF
r
LPTIM6F
r
Toggle fields

LPTIM6F

Bit 0: illegal access flag for LPTIM6.

VREFBUFF

Bit 1: illegal access flag for VREFBUF.

I3C2F

Bit 2: illegal access flag for I3C2.

CRCF

Bit 8: illegal access flag for CRC.

CORDICF

Bit 9: illegal access flag for CORDIC.

FMACF

Bit 10: illegal access flag for FMAC.

ETHF

Bit 11: illegal access flag for register of ETH.

ICACHEF

Bit 12: illegal access flag for ICACHE.

DCACHEF

Bit 13: illegal access flag for DCACHE.

ADC12F

Bit 14: illegal access flag for ADC1 and ADC2.

DCMIF

Bit 15: illegal access flag for DCMI.

AESF

Bit 16: illegal access flag for AES.

HASHF

Bit 17: illegal access flag for HASH.

RNGF

Bit 18: illegal access flag for RNG.

SAESF

Bit 19: illegal access flag for SAES.

PKAF

Bit 20: illegal access flag for PKA.

SDMMC1F

Bit 21: illegal access flag for SDMMC1.

FMCF

Bit 23: illegal access flag for FMC.

OCTOSPI1F

Bit 24: illegal access flag for OCTOSPI1.

RAMCFGF

Bit 26: illegal access flag for RAMSCFG.

SR4

GTZC1 TZIC status register 4

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

22/22 fields covered.

Toggle fields

GPDMA1F

Bit 0: illegal access flag for GPDMA1.

GPDMA2F

Bit 1: illegal access flag for GPDMA2.

FLASH_REGF

Bit 2: illegal access flag for FLASH registers.

FLASHF

Bit 3: illegal access flag for FLASH memory.

OTFDEC1F

Bit 4: illegal access flag for OTFDEC1.

SBSF

Bit 6: illegal access flag for SBS.

RTCF

Bit 7: illegal access flag for RTC.

TAMPF

Bit 8: illegal access flag for TAMP.

PWRF

Bit 9: illegal access flag for PWR.

RCCF

Bit 10: illegal access flag for RCC.

EXTIF

Bit 11: illegal access flag for EXTI.

TZSC1F

Bit 16: illegal access flag for GTZC1 TZSC registers.

TZIC1F

Bit 17: illegal access flag for GTZC1 TZIC registers.

OCTOSPI1_MEMF

Bit 18: illegal access flag for MPCWM1 (OCTOSPI1) memory bank.

FMC_MEMF

Bit 19: illegal access flag for MPCWM2 (FMC_NOR bank), MPCWM3 (FMC_NAND bank and FMC_SDRAM bank 1), and MPCWM4 (FMC_SDRAM bank 2).

BKPSRAMF

Bit 20: illegal access flag for MPCWM4 (BKPSRAM) memory bank.

SRAM1F

Bit 24: illegal access flag for SRAM1.

MPCBB1_REGF

Bit 25: illegal access flag for MPCBB1 registers.

SRAM2F

Bit 26: illegal access flag for SRAM2.

MPCBB2_REGF

Bit 27: illegal access flag for MPCBB2 registers.

SRAM3F

Bit 28: illegal access flag for SRAM3.

MPCBB3_REGF

Bit 29: illegal access flag for MPCBB3 registers.

FCR1

GTZC1 TZIC flag clear register 1

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

0/32 fields covered.

Toggle fields

CTIM2F

Bit 0: clear the illegal access flag for TIM2.

CTIM3F

Bit 1: clear the illegal access flag for TIM3.

CTIM4F

Bit 2: clear the illegal access flag for TIM4.

CTIM5F

Bit 3: clear the illegal access flag for TIM5.

CTIM6F

Bit 4: clear the illegal access flag for TIM6.

CTIM7F

Bit 5: clear the illegal access flag for TIM7.

CTIM12F

Bit 6: clear the illegal access flag for TIM12.

CTIM13F

Bit 7: clear the illegal access flag for TIM13.

CTIM14F

Bit 8: clear the illegal access flag for TIM14.

CWWDGF

Bit 9: clear the illegal access flag for WWDG.

CIWDGF

Bit 10: clear the illegal access flag for IWDG.

CSPI2F

Bit 11: clear the illegal access flag for SPI2.

CSPI3F

Bit 12: clear the illegal access flag for SPI3.

CUSART2F

Bit 13: clear the illegal access flag for USART2.

CUSART3F

Bit 14: clear the illegal access flag for USART3.

CUART4F

Bit 15: clear the illegal access flag for UART4.

CUART5F

Bit 16: clear the illegal access flag for UART5.

CI2C1F

Bit 17: clear the illegal access flag for I2C1.

CI2C2F

Bit 18: clear the illegal access flag for I2C2.

CI3C1F

Bit 19: clear the illegal access flag for I3C1.

CCRSF

Bit 20: clear the illegal access flag for CRS.

CUSART6F

Bit 21: clear the illegal access flag for USART6.

CUSART10F

Bit 22: clear the illegal access flag for USART10.

CUSART11F

Bit 23: clear the illegal access flag for USART11.

CHDMICECF

Bit 24: clear the illegal access flag for HDMICEC.

CDAC1F

Bit 25: clear the illegal access flag for DAC1.

CUART7F

Bit 26: clear the illegal access flag for UART7.

CUART8F

Bit 27: clear the illegal access flag for UART8.

CUART9F

Bit 28: clear the illegal access flag for UART9.

CUART12F

Bit 29: clear the illegal access flag for UART12.

CDTSF

Bit 30: clear the illegal access flag for DTS.

CLPTIM2F

Bit 31: clear the illegal access flag for LPTIM2.

FCR2

GTZC1 TZIC flag clear register 2

Offset: 0x24, size: 32, reset: 0x00000000, access: write-only

0/23 fields covered.

Toggle fields

CFDCAN1F

Bit 0: clear the illegal access flag for FDCAN1.

CFDCAN2F

Bit 1: clear the illegal access flag for FDCAN2.

CUCPDF

Bit 2: clear the illegal access flag for UCPD.

CTIM1F

Bit 8: clear the illegal access flag for TIM1.

CSPI1F

Bit 9: clear the illegal access flag for SPI1.

CTIM8F

Bit 10: clear the illegal access flag for TIM8.

CUSART1F

Bit 11: clear the illegal access flag for USART1.

CTIM15F

Bit 12: clear the illegal access flag for TIM15.

CTIM16F

Bit 13: clear the illegal access flag for TIM16.

CTIM17F

Bit 14: clear the illegal access flag for TIM17.

CSPI4F

Bit 15: clear the illegal access flag for SPI4.

CSPI6F

Bit 16: clear the illegal access flag for SPI6.

CSAI1F

Bit 17: clear the illegal access flag for SAI1.

CSAI2F

Bit 18: clear the illegal access flag for SAI2.

CUSBF

Bit 19: clear the illegal access flag for USB.

CSPI5F

Bit 24: clear the illegal access flag for SPI5.

CLPUART1F

Bit 25: clear the illegal access flag for LPUART.

CI2C3F

Bit 26: clear the illegal access flag for I2C3.

CI2C4F

Bit 27: clear the illegal access flag for I2C4.

CLPTIM1F

Bit 28: clear the illegal access flag for LPTIM1.

CLPTIM3F

Bit 29: clear the illegal access flag for LPTIM3.

CLPTIM4F

Bit 30: clear the illegal access flag for LPTIM4.

CLPTIM5F

Bit 31: clear the illegal access flag for LPTIM5.

FCR3

GTZC1 TZIC flag clear register 3

Offset: 0x28, size: 32, reset: 0x00000000, access: write-only

0/21 fields covered.

Toggle fields

CLPTIM6F

Bit 0: clear illegal access flag for LPTIM6.

CVREFBUFF

Bit 1: clear illegal access flag for VREFBUF.

CI3C2F

Bit 2: clear illegal access flag for I3C2.

CCRCF

Bit 8: clear illegal access flag for CRC.

CCORDICF

Bit 9: clear illegal access flag for CORDIC.

CFMACF

Bit 10: clear illegal access flag for FMAC.

CETHF

Bit 11: clear illegal access flag for register of ETH.

CICACHEF

Bit 12: clear illegal access flag for ICACHE.

CDCACHEF

Bit 13: clear illegal access flag for DCACHE.

CADC12F

Bit 14: clear illegal access flag for ADC1 and ADC2.

CDCMIF

Bit 15: clear illegal access flag for DCMI.

CAESF

Bit 16: clear illegal access flag for AES.

CHASHF

Bit 17: clear illegal access flag for HASH.

CRNGF

Bit 18: clear illegal access flag for RNG.

CSAESF

Bit 19: clear illegal access flag for SAES.

CPKAF

Bit 20: clear illegal access flag for PKA.

CSDMMC1F

Bit 21: clear illegal access flag for SDMMC1.

CSDMMC2F

Bit 22: clear illegal access flag for SDMMC2.

CFMCF

Bit 23: clear illegal access flag for FMC.

COCTOSPI1F

Bit 24: clear illegal access flag for OCTOSPI1.

CRAMCFGF

Bit 26: clear illegal access flag for RAMSCFG.

FCR4

GTZC1 TZIC flag clear register 4

Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only

0/22 fields covered.

Toggle fields

CGPDMA1F

Bit 0: clear the illegal access flag for GPDMA1.

CGPDMA2F

Bit 1: clear the illegal access flag for GPDMA2.

CFLASH_REGF

Bit 2: clear the illegal access flag for FLASH registers.

CFLASHF

Bit 3: clear the illegal access flag for FLASH memory.

COTFDEC1F

Bit 4: clear the illegal access flag for OTFDEC1.

CSBSF

Bit 6: clear the illegal access flag for SBS.

CRTCF

Bit 7: clear the illegal access flag for RTC.

CTAMPF

Bit 8: clear the illegal access flag for TAMP.

CPWRF

Bit 9: clear the illegal access flag for PWR.

CRCCF

Bit 10: clear the illegal access flag for RCC.

CEXTIF

Bit 11: clear the illegal access flag for EXTI.

CTZSC1F

Bit 16: clear the illegal access flag for GTZC1 TZSC registers.

CTZIC1F

Bit 17: clear the illegal access flag for GTZC1 TZIC registers.

COCTOSPI1_MEMF

Bit 18: clear the illegal access flag for MPCWM1 (OCTOSPI1) memory bank.

CFMC_MEMF

Bit 19: clear the illegal access flag for MPCWM2 (FMC_NOR bank), MPCWM3 (FMC_NAND bank and FMC_SDRAM bank 1), and MPCWM4 (FMC_SDRAM bank 2).

CBKPSRAMF

Bit 20: clear the illegal access flag for MPCWM4 (BKPSRAM) memory bank.

CSRAM1F

Bit 24: clear the illegal access flag for SRAM1.

CMPCBB1_REGF

Bit 25: clear the illegal access flag for MPCBB1 registers.

CSRAM2F

Bit 26: clear the illegal access flag for SRAM2.

CMPCBB2_REGF

Bit 27: clear the illegal access flag for MPCBB2 registers.

CSRAM3F

Bit 28: clear the illegal access flag for SRAM3.

CMPCBB3_REGF

Bit 29: clear the illegal access flag for MPCBB3 registers.

GTZC1_TZSC

0x40036400: GTZC1_MPCBBz register block

0/187 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x10 SECCFGR1
0x14 SECCFGR2
0x18 SECCFGR3
0x20 PRIVCFGR1
0x24 PRIVCFGR2
0x28 PRIVCFGR3
0x40 MPCWM1ACFGR
0x44 MPCWM1AR
0x48 MPCWM1BCFGR
0x4c MPCWM1BR
0x50 MPCWM2ACFGR
0x54 MPCWM2AR
0x58 MPCWM2BCFGR
0x5c MPCWM2BR
0x60 MPCWM3ACFGR
0x64 MPCWM3AR
0x68 MPCWM3BCFGR
0x6c MPCWM3BR
0x70 MPCWM4ACFGR
0x74 MPCWM4AR
0x78 MPCWM4BCFGR
0x7c MPCWM4BR
Toggle registers

CR

GTZC1 TZSC control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK
rw
Toggle fields

LCK

Bit 0: lock the configuration of GTZC1_TZSC_SECCFGRx and GTZC1_TZSC_PRIVCFGRx until next reset.

SECCFGR1

GTZC1 TZSC secure configuration register 1

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

TIM2SEC

Bit 0: secure access mode for TIM2.

TIM3SEC

Bit 1: secure access mode for TIM3.

TIM4SEC

Bit 2: secure access mode for TIM4.

TIM5SEC

Bit 3: secure access mode for TIM5.

TIM6SEC

Bit 4: secure access mode for TIM6.

TIM7SEC

Bit 5: secure access mode for TIM7.

TIM12SEC

Bit 6: secure access mode for TIM12.

WWDGSEC

Bit 9: secure access mode for WWDG.

IWDGSEC

Bit 10: secure access mode for IWDG.

SPI2SEC

Bit 11: secure access mode for SPI2.

SPI3SEC

Bit 12: secure access mode for SPI3.

USART2SEC

Bit 13: secure access mode for USART2.

USART3SEC

Bit 14: secure access mode for USART3.

UART4SEC

Bit 15: secure access mode for UART4.

UART5SEC

Bit 16: secure access mode for UART5.

I2C1SEC

Bit 17: secure access mode for I2C1.

I2C2SEC

Bit 18: secure access mode for I2C2.

I3C1SEC

Bit 19: secure access mode for I3C1.

CRSSEC

Bit 20: secure access mode for CRS.

USART6SEC

Bit 21: secure access mode for USART6.

USART10SEC

Bit 22: secure access mode for USART10.

USART11SEC

Bit 23: secure access mode for USART11.

HDMICECSEC

Bit 24: secure access mode for HDMICEC.

DAC1SEC

Bit 25: secure access mode for DAC1.

UART7SEC

Bit 26: secure access mode for UART7.

UART8SEC

Bit 27: secure access mode for UART8.

UART9SEC

Bit 28: secure access mode for UART9.

UART12SEC

Bit 29: secure access mode for UART12.

DTSSEC

Bit 30: secure access mode for DTS.

LPTIM2SEC

Bit 31: secure access mode for LPTIM2.

SECCFGR2

GTZC1 TZSC secure configuration register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/19 fields covered.

Toggle fields

FDCAN1SEC

Bit 0: secure access mode for FDCAN1.

FDCAN2SEC

Bit 1: secure access mode for FDCAN2.

UCPDSEC

Bit 2: secure access mode for UCPD.

TIM1SEC

Bit 8: secure access mode for TIM1.

SPI1SEC

Bit 9: secure access mode for SPI1.

TIM8SEC

Bit 10: secure access mode for TIM8.

USART1SEC

Bit 11: secure access mode for USART1.

TIM15SEC

Bit 12: secure access mode for TIM15.

SPI4SEC

Bit 15: secure access mode for SPI4.

SPI6SEC

Bit 16: secure access mode for SPI6.

SAI1SEC

Bit 17: secure access mode for SAI1.

SAI2SEC

Bit 18: secure access mode for SAI2.

USBSEC

Bit 19: secure access mode for USB.

LPUART1SEC

Bit 25: secure access mode for LPUART.

I2C3SEC

Bit 26: secure access mode for I2C3.

LPTIM1SEC

Bit 28: secure access mode for LPTIM1.

LPTIM3SEC

Bit 29: secure access mode for LPTIM3.

LPTIM4SEC

Bit 30: secure access mode for LPTIM4.

LPTIM5SEC

Bit 31: secure access mode for LPTIM5.

SECCFGR3

GTZC1 TZSC secure configuration register 3

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

LPTIM6SEC

Bit 0: secure access mode for LPTIM6.

VREFBUFSEC

Bit 1: secure access mode for VREFBUF.

I3C2SEC

Bit 2: secure access mode for I3C2.

CRCSEC

Bit 8: secure access mode for CRC.

CORDICSEC

Bit 9: secure access mode for CORDIC.

FMACSEC

Bit 10: secure access mode for FMAC.

ETHSEC

Bit 11: secure access mode for register of ETH.

ICACHESEC

Bit 12: secure access mode for ICACHE.

DCACHESEC

Bit 13: secure access mode for DCACHE.

ADC12SEC

Bit 14: secure access mode for ADC1 and ADC2.

DCMISEC

Bit 15: secure access mode for DCMI.

AESSEC

Bit 16: secure access mode for AES.

HASHSEC

Bit 17: secure access mode for HASH.

RNGSEC

Bit 18: secure access mode for RNG.

SAESSEC

Bit 19: secure access mode for SAES.

PKASEC

Bit 20: secure access mode for PKA.

SDMMC1SEC

Bit 21: secure access mode for SDMMC1.

FMCSEC

Bit 23: secure access mode for FMC.

OCTOSPI1SEC

Bit 24: secure access mode for OCTOSPI1.

RAMCFGSEC

Bit 26: secure access mode for RAMSCFG.

PRIVCFGR1

GTZC1 TZSC privilege configuration register 1

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

TIM2PRIV

Bit 0: privileged access mode for TIM2.

TIM3PRIV

Bit 1: privileged access mode for TIM3.

TIM4PRIV

Bit 2: privileged access mode for TIM4.

TIM5PRIV

Bit 3: privileged access mode for TIM5.

TIM6PRIV

Bit 4: privileged access mode for TIM6.

TIM7PRIV

Bit 5: privileged access mode for TIM7.

TIM12PRIV

Bit 6: privileged access mode for TIM12.

WWDGPRIV

Bit 9: privileged access mode for WWDG.

IWDGPRIV

Bit 10: privileged access mode for IWDG.

SPI2PRIV

Bit 11: privileged access mode for SPI2.

SPI3PRIV

Bit 12: privileged access mode for SPI3.

USART2PRIV

Bit 13: privileged access mode for USART2.

USART3PRIV

Bit 14: privileged access mode for USART3.

UART4PRIV

Bit 15: privileged access mode for UART4.

UART5PRIV

Bit 16: privileged access mode for UART5.

I2C1PRIV

Bit 17: privileged access mode for I2C1.

I2C2PRIV

Bit 18: privileged access mode for I2C2.

I3C1PRIV

Bit 19: privileged access mode for I3C1.

CRSPRIV

Bit 20: privileged access mode for CRS.

USART6PRIV

Bit 21: privileged access mode for USART6.

USART10PRIV

Bit 22: privileged access mode for USART10.

USART11PRIV

Bit 23: privileged access mode for USART11.

HDMICECPRIV

Bit 24: privileged access mode for HDMICEC.

DAC1PRIV

Bit 25: privileged access mode for DAC1.

UART7PRIV

Bit 26: privileged access mode for UART7.

UART8PRIV

Bit 27: privileged access mode for UART8.

UART9PRIV

Bit 28: privileged access mode for UART9.

UART12PRIV

Bit 29: privileged access mode for UART12.

DTSPRIV

Bit 30: privileged access mode for DTS.

LPTIM2PRIV

Bit 31: privileged access mode for LPTIM2.

PRIVCFGR2

GTZC1 TZSC privilege configuration register 2

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/19 fields covered.

Toggle fields

FDCAN1PRIV

Bit 0: privileged access mode for FDCAN1.

FDCAN2PRIV

Bit 1: privileged access mode for FDCAN2.

UCPDPRIV

Bit 2: privileged access mode for UCPD.

TIM1PRIV

Bit 8: privileged access mode for TIM1.

SPI1PRIV

Bit 9: privileged access mode for SPI1.

TIM8PRIV

Bit 10: privileged access mode for TIM8.

USART1PRIV

Bit 11: privileged access mode for USART1.

TIM15PRIV

Bit 12: privileged access mode for TIM15.

SPI4PRIV

Bit 15: privileged access mode for SPI4.

SPI6PRIV

Bit 16: privileged access mode for SPI6.

SAI1PRIV

Bit 17: privileged access mode for SAI1.

SAI2PRIV

Bit 18: privileged access mode for SAI2.

USBPRIV

Bit 19: privileged access mode for USB.

LPUART1PRIV

Bit 25: privileged access mode for LPUART.

I2C3PRIV

Bit 26: privileged access mode for I2C3.

LPTIM1PRIV

Bit 28: privileged access mode for LPTIM1.

LPTIM3PRIV

Bit 29: privileged access mode for LPTIM3.

LPTIM4PRIV

Bit 30: privileged access mode for LPTIM4.

LPTIM5PRIV

Bit 31: privileged access mode for LPTIM5.

PRIVCFGR3

GTZC1 TZSC privilege configuration register 3

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

LPTIM6PRIV

Bit 0: privileged access mode for LPTIM6.

VREFBUFPRIV

Bit 1: privileged access mode for VREFBUF.

I3C2PRIV

Bit 2: privileged access mode for I3C2.

CRCPRIV

Bit 8: privileged access mode for CRC.

CORDICPRIV

Bit 9: privileged access mode for CORDIC.

FMACPRIV

Bit 10: privileged access mode for FMAC.

ETHPRIV

Bit 11: privileged access mode for register of ETH.

ICACHEPRIV

Bit 12: privileged access mode for ICACHE.

DCACHEPRIV

Bit 13: privileged access mode for DCACHE.

ADC12PRIV

Bit 14: privileged access mode for ADC1 and ADC2.

DCMIPRIV

Bit 15: privileged access mode for DCMI.

AESPRIV

Bit 16: privileged access mode for AES.

HASHPRIV

Bit 17: privileged access mode for HASH.

RNGPRIV

Bit 18: privileged access mode for RNG.

SAESPRIV

Bit 19: privileged access mode for SAES.

PKAPRIV

Bit 20: privileged access mode for PKA.

SDMMC1PRIV

Bit 21: privileged access mode for SDMMC1.

FMCPRIV

Bit 23: privileged access mode for FMC.

OCTOSPI1PRIV

Bit 24: privileged access mode for OCTOSPI1.

RAMCFGPRIV

Bit 26: privileged access mode for RAMSCFG.

MPCWM1ACFGR

GTZC1 TZSC memory 1 subregion A watermark configuration register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM1AR

GTZC1 TZSC memory 1 subregion A watermark register

Offset: 0x44, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM1BCFGR

GTZC1 TZSC memory 1 subregion B watermark configuration register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM1BR

GTZC1 TZSC memory 1 subregion B watermark register

Offset: 0x4c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

MPCWM2ACFGR

GTZC1 TZSC memory 2 subregion A watermark configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM2AR

GTZC1 TZSC memory 2 subregion A watermark register

Offset: 0x54, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM2BCFGR

GTZC1 TZSC memory 2 subregion B watermark configuration register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM2BR

GTZC1 TZSC memory 2 subregion B watermark register

Offset: 0x5c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

MPCWM3ACFGR

GTZC1 TZSC memory 3 subregion A watermark configuration register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM3AR

GTZC1 TZSC memory 3 subregion A watermark register

Offset: 0x64, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM3BCFGR

GTZC1 TZSC memory 3 subregion B watermark configuration register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM3BR

GTZC1 TZSC memory 3 subregion B watermark register

Offset: 0x6c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

MPCWM4ACFGR

GTZC1 TZSC memory 4 subregion A watermark configuration register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM4AR

GTZC1 TZSC memory 4 subregion A watermark register

Offset: 0x74, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM4BCFGR

GTZC1 TZSC memory 4 subregion B watermark configuration register

Offset: 0x78, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM4BR

GTZC1 TZSC memory 4 subregion B watermark register

Offset: 0x7c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

GTZC1_TZSC_S

0x50036400: GTZC1_MPCBBz register block

0/187 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x10 SECCFGR1
0x14 SECCFGR2
0x18 SECCFGR3
0x20 PRIVCFGR1
0x24 PRIVCFGR2
0x28 PRIVCFGR3
0x40 MPCWM1ACFGR
0x44 MPCWM1AR
0x48 MPCWM1BCFGR
0x4c MPCWM1BR
0x50 MPCWM2ACFGR
0x54 MPCWM2AR
0x58 MPCWM2BCFGR
0x5c MPCWM2BR
0x60 MPCWM3ACFGR
0x64 MPCWM3AR
0x68 MPCWM3BCFGR
0x6c MPCWM3BR
0x70 MPCWM4ACFGR
0x74 MPCWM4AR
0x78 MPCWM4BCFGR
0x7c MPCWM4BR
Toggle registers

CR

GTZC1 TZSC control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCK
rw
Toggle fields

LCK

Bit 0: lock the configuration of GTZC1_TZSC_SECCFGRx and GTZC1_TZSC_PRIVCFGRx until next reset.

SECCFGR1

GTZC1 TZSC secure configuration register 1

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

TIM2SEC

Bit 0: secure access mode for TIM2.

TIM3SEC

Bit 1: secure access mode for TIM3.

TIM4SEC

Bit 2: secure access mode for TIM4.

TIM5SEC

Bit 3: secure access mode for TIM5.

TIM6SEC

Bit 4: secure access mode for TIM6.

TIM7SEC

Bit 5: secure access mode for TIM7.

TIM12SEC

Bit 6: secure access mode for TIM12.

WWDGSEC

Bit 9: secure access mode for WWDG.

IWDGSEC

Bit 10: secure access mode for IWDG.

SPI2SEC

Bit 11: secure access mode for SPI2.

SPI3SEC

Bit 12: secure access mode for SPI3.

USART2SEC

Bit 13: secure access mode for USART2.

USART3SEC

Bit 14: secure access mode for USART3.

UART4SEC

Bit 15: secure access mode for UART4.

UART5SEC

Bit 16: secure access mode for UART5.

I2C1SEC

Bit 17: secure access mode for I2C1.

I2C2SEC

Bit 18: secure access mode for I2C2.

I3C1SEC

Bit 19: secure access mode for I3C1.

CRSSEC

Bit 20: secure access mode for CRS.

USART6SEC

Bit 21: secure access mode for USART6.

USART10SEC

Bit 22: secure access mode for USART10.

USART11SEC

Bit 23: secure access mode for USART11.

HDMICECSEC

Bit 24: secure access mode for HDMICEC.

DAC1SEC

Bit 25: secure access mode for DAC1.

UART7SEC

Bit 26: secure access mode for UART7.

UART8SEC

Bit 27: secure access mode for UART8.

UART9SEC

Bit 28: secure access mode for UART9.

UART12SEC

Bit 29: secure access mode for UART12.

DTSSEC

Bit 30: secure access mode for DTS.

LPTIM2SEC

Bit 31: secure access mode for LPTIM2.

SECCFGR2

GTZC1 TZSC secure configuration register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/19 fields covered.

Toggle fields

FDCAN1SEC

Bit 0: secure access mode for FDCAN1.

FDCAN2SEC

Bit 1: secure access mode for FDCAN2.

UCPDSEC

Bit 2: secure access mode for UCPD.

TIM1SEC

Bit 8: secure access mode for TIM1.

SPI1SEC

Bit 9: secure access mode for SPI1.

TIM8SEC

Bit 10: secure access mode for TIM8.

USART1SEC

Bit 11: secure access mode for USART1.

TIM15SEC

Bit 12: secure access mode for TIM15.

SPI4SEC

Bit 15: secure access mode for SPI4.

SPI6SEC

Bit 16: secure access mode for SPI6.

SAI1SEC

Bit 17: secure access mode for SAI1.

SAI2SEC

Bit 18: secure access mode for SAI2.

USBSEC

Bit 19: secure access mode for USB.

LPUART1SEC

Bit 25: secure access mode for LPUART.

I2C3SEC

Bit 26: secure access mode for I2C3.

LPTIM1SEC

Bit 28: secure access mode for LPTIM1.

LPTIM3SEC

Bit 29: secure access mode for LPTIM3.

LPTIM4SEC

Bit 30: secure access mode for LPTIM4.

LPTIM5SEC

Bit 31: secure access mode for LPTIM5.

SECCFGR3

GTZC1 TZSC secure configuration register 3

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

LPTIM6SEC

Bit 0: secure access mode for LPTIM6.

VREFBUFSEC

Bit 1: secure access mode for VREFBUF.

I3C2SEC

Bit 2: secure access mode for I3C2.

CRCSEC

Bit 8: secure access mode for CRC.

CORDICSEC

Bit 9: secure access mode for CORDIC.

FMACSEC

Bit 10: secure access mode for FMAC.

ETHSEC

Bit 11: secure access mode for register of ETH.

ICACHESEC

Bit 12: secure access mode for ICACHE.

DCACHESEC

Bit 13: secure access mode for DCACHE.

ADC12SEC

Bit 14: secure access mode for ADC1 and ADC2.

DCMISEC

Bit 15: secure access mode for DCMI.

AESSEC

Bit 16: secure access mode for AES.

HASHSEC

Bit 17: secure access mode for HASH.

RNGSEC

Bit 18: secure access mode for RNG.

SAESSEC

Bit 19: secure access mode for SAES.

PKASEC

Bit 20: secure access mode for PKA.

SDMMC1SEC

Bit 21: secure access mode for SDMMC1.

FMCSEC

Bit 23: secure access mode for FMC.

OCTOSPI1SEC

Bit 24: secure access mode for OCTOSPI1.

RAMCFGSEC

Bit 26: secure access mode for RAMSCFG.

PRIVCFGR1

GTZC1 TZSC privilege configuration register 1

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

TIM2PRIV

Bit 0: privileged access mode for TIM2.

TIM3PRIV

Bit 1: privileged access mode for TIM3.

TIM4PRIV

Bit 2: privileged access mode for TIM4.

TIM5PRIV

Bit 3: privileged access mode for TIM5.

TIM6PRIV

Bit 4: privileged access mode for TIM6.

TIM7PRIV

Bit 5: privileged access mode for TIM7.

TIM12PRIV

Bit 6: privileged access mode for TIM12.

WWDGPRIV

Bit 9: privileged access mode for WWDG.

IWDGPRIV

Bit 10: privileged access mode for IWDG.

SPI2PRIV

Bit 11: privileged access mode for SPI2.

SPI3PRIV

Bit 12: privileged access mode for SPI3.

USART2PRIV

Bit 13: privileged access mode for USART2.

USART3PRIV

Bit 14: privileged access mode for USART3.

UART4PRIV

Bit 15: privileged access mode for UART4.

UART5PRIV

Bit 16: privileged access mode for UART5.

I2C1PRIV

Bit 17: privileged access mode for I2C1.

I2C2PRIV

Bit 18: privileged access mode for I2C2.

I3C1PRIV

Bit 19: privileged access mode for I3C1.

CRSPRIV

Bit 20: privileged access mode for CRS.

USART6PRIV

Bit 21: privileged access mode for USART6.

USART10PRIV

Bit 22: privileged access mode for USART10.

USART11PRIV

Bit 23: privileged access mode for USART11.

HDMICECPRIV

Bit 24: privileged access mode for HDMICEC.

DAC1PRIV

Bit 25: privileged access mode for DAC1.

UART7PRIV

Bit 26: privileged access mode for UART7.

UART8PRIV

Bit 27: privileged access mode for UART8.

UART9PRIV

Bit 28: privileged access mode for UART9.

UART12PRIV

Bit 29: privileged access mode for UART12.

DTSPRIV

Bit 30: privileged access mode for DTS.

LPTIM2PRIV

Bit 31: privileged access mode for LPTIM2.

PRIVCFGR2

GTZC1 TZSC privilege configuration register 2

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/19 fields covered.

Toggle fields

FDCAN1PRIV

Bit 0: privileged access mode for FDCAN1.

FDCAN2PRIV

Bit 1: privileged access mode for FDCAN2.

UCPDPRIV

Bit 2: privileged access mode for UCPD.

TIM1PRIV

Bit 8: privileged access mode for TIM1.

SPI1PRIV

Bit 9: privileged access mode for SPI1.

TIM8PRIV

Bit 10: privileged access mode for TIM8.

USART1PRIV

Bit 11: privileged access mode for USART1.

TIM15PRIV

Bit 12: privileged access mode for TIM15.

SPI4PRIV

Bit 15: privileged access mode for SPI4.

SPI6PRIV

Bit 16: privileged access mode for SPI6.

SAI1PRIV

Bit 17: privileged access mode for SAI1.

SAI2PRIV

Bit 18: privileged access mode for SAI2.

USBPRIV

Bit 19: privileged access mode for USB.

LPUART1PRIV

Bit 25: privileged access mode for LPUART.

I2C3PRIV

Bit 26: privileged access mode for I2C3.

LPTIM1PRIV

Bit 28: privileged access mode for LPTIM1.

LPTIM3PRIV

Bit 29: privileged access mode for LPTIM3.

LPTIM4PRIV

Bit 30: privileged access mode for LPTIM4.

LPTIM5PRIV

Bit 31: privileged access mode for LPTIM5.

PRIVCFGR3

GTZC1 TZSC privilege configuration register 3

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

LPTIM6PRIV

Bit 0: privileged access mode for LPTIM6.

VREFBUFPRIV

Bit 1: privileged access mode for VREFBUF.

I3C2PRIV

Bit 2: privileged access mode for I3C2.

CRCPRIV

Bit 8: privileged access mode for CRC.

CORDICPRIV

Bit 9: privileged access mode for CORDIC.

FMACPRIV

Bit 10: privileged access mode for FMAC.

ETHPRIV

Bit 11: privileged access mode for register of ETH.

ICACHEPRIV

Bit 12: privileged access mode for ICACHE.

DCACHEPRIV

Bit 13: privileged access mode for DCACHE.

ADC12PRIV

Bit 14: privileged access mode for ADC1 and ADC2.

DCMIPRIV

Bit 15: privileged access mode for DCMI.

AESPRIV

Bit 16: privileged access mode for AES.

HASHPRIV

Bit 17: privileged access mode for HASH.

RNGPRIV

Bit 18: privileged access mode for RNG.

SAESPRIV

Bit 19: privileged access mode for SAES.

PKAPRIV

Bit 20: privileged access mode for PKA.

SDMMC1PRIV

Bit 21: privileged access mode for SDMMC1.

FMCPRIV

Bit 23: privileged access mode for FMC.

OCTOSPI1PRIV

Bit 24: privileged access mode for OCTOSPI1.

RAMCFGPRIV

Bit 26: privileged access mode for RAMSCFG.

MPCWM1ACFGR

GTZC1 TZSC memory 1 subregion A watermark configuration register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM1AR

GTZC1 TZSC memory 1 subregion A watermark register

Offset: 0x44, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM1BCFGR

GTZC1 TZSC memory 1 subregion B watermark configuration register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM1BR

GTZC1 TZSC memory 1 subregion B watermark register

Offset: 0x4c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

MPCWM2ACFGR

GTZC1 TZSC memory 2 subregion A watermark configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM2AR

GTZC1 TZSC memory 2 subregion A watermark register

Offset: 0x54, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM2BCFGR

GTZC1 TZSC memory 2 subregion B watermark configuration register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM2BR

GTZC1 TZSC memory 2 subregion B watermark register

Offset: 0x5c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

MPCWM3ACFGR

GTZC1 TZSC memory 3 subregion A watermark configuration register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM3AR

GTZC1 TZSC memory 3 subregion A watermark register

Offset: 0x64, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM3BCFGR

GTZC1 TZSC memory 3 subregion B watermark configuration register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM3BR

GTZC1 TZSC memory 3 subregion B watermark register

Offset: 0x6c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

MPCWM4ACFGR

GTZC1 TZSC memory 4 subregion A watermark configuration register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion A enable.

SRLOCK

Bit 1: subregion A lock.

SEC

Bit 8: Secure subregion A of base region x.

PRIV

Bit 9: Privileged subregion A of base region x.

MPCWM4AR

GTZC1 TZSC memory 4 subregion A watermark register

Offset: 0x74, 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
SUBA_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBA_START
rw
Toggle fields

SUBA_START

Bits 0-10: Start of subregion A in region x.

SUBA_LENGTH

Bits 16-27: Length of subregion A in region x.

MPCWM4BCFGR

GTZC1 TZSC memory 4 subregion B watermark configuration register

Offset: 0x78, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
SEC
rw
SRLOCK
rw
SREN
rw
Toggle fields

SREN

Bit 0: subregion B enable.

SRLOCK

Bit 1: subregion B lock.

SEC

Bit 8: Secure subregion B of base region x.

PRIV

Bit 9: Privileged subregion B of base region x.

MPCWM4BR

GTZC1 TZSC memory 4 subregion B watermark register

Offset: 0x7c, 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
SUBB_LENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBB_START
rw
Toggle fields

SUBB_START

Bits 0-10: Start of subregion B in region x.

SUBB_LENGTH

Bits 16-27: Length of subregion B in region x.

HASH

0x420c0400: HASH register bank

28/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 DIN
0x8 STR
0xc HRA0
0x10 HRA1
0x14 HRA2
0x18 HRA3
0x1c HRA4
0x20 IMR
0x24 SR
0xf8 CSR0
0xfc CSR1
0x100 CSR2
0x104 CSR3
0x108 CSR4
0x10c CSR5
0x110 CSR6
0x114 CSR7
0x118 CSR8
0x11c CSR9
0x120 CSR10
0x124 CSR11
0x128 CSR12
0x12c CSR13
0x130 CSR14
0x134 CSR15
0x138 CSR16
0x13c CSR17
0x140 CSR18
0x144 CSR19
0x148 CSR20
0x14c CSR21
0x150 CSR22
0x154 CSR23
0x158 CSR24
0x15c CSR25
0x160 CSR26
0x164 CSR27
0x168 CSR28
0x16c CSR29
0x170 CSR30
0x174 CSR31
0x178 CSR32
0x17c CSR33
0x180 CSR34
0x184 CSR35
0x188 CSR36
0x18c CSR37
0x190 CSR38
0x194 CSR39
0x198 CSR40
0x19c CSR41
0x1a0 CSR42
0x1a4 CSR43
0x1a8 CSR44
0x1ac CSR45
0x1b0 CSR46
0x1b4 CSR47
0x1b8 CSR48
0x1bc CSR49
0x1c0 CSR50
0x1c4 CSR51
0x1c8 CSR52
0x1cc CSR53
0x1d0 CSR54
0x1d4 CSR55
0x1d8 CSR56
0x1dc CSR57
0x1e0 CSR58
0x1e4 CSR59
0x1e8 CSR60
0x1ec CSR61
0x1f0 CSR62
0x1f4 CSR63
0x1f8 CSR64
0x1fc CSR65
0x200 CSR66
0x204 CSR67
0x208 CSR68
0x20c CSR69
0x210 CSR70
0x214 CSR71
0x218 CSR72
0x21c CSR73
0x220 CSR74
0x224 CSR75
0x228 CSR76
0x22c CSR77
0x230 CSR78
0x234 CSR79
0x238 CSR80
0x23c CSR81
0x240 CSR82
0x244 CSR83
0x248 CSR84
0x24c CSR85
0x250 CSR86
0x254 CSR87
0x258 CSR88
0x25c CSR89
0x260 CSR90
0x264 CSR91
0x268 CSR92
0x26c CSR93
0x270 CSR94
0x274 CSR95
0x278 CSR96
0x27c CSR97
0x280 CSR98
0x284 CSR99
0x288 CSR100
0x28c CSR101
0x290 CSR102
0x310 HR0
0x314 HR1
0x318 HR2
0x31c HR3
0x320 HR4
0x324 HR5
0x328 HR6
0x32c HR7
0x330 HR8
0x334 HR9
0x338 HR10
0x33c HR11
0x340 HR12
0x344 HR13
0x348 HR14
0x34c HR15
Toggle registers

CR

HASH control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

2/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALGO
rw
LKEY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDMAT
rw
DINNE
r
NBW
r
MODE
rw
DATATYPE
rw
DMAE
rw
INIT
rw
Toggle fields

INIT

Bit 2: Initialize message digest calculation.

DMAE

Bit 3: DMA enable.

DATATYPE

Bits 4-5: Data type selection.

MODE

Bit 6: Mode selection.

NBW

Bits 8-11: Number of words already pushed.

DINNE

Bit 12: DIN not empty.

MDMAT

Bit 13: Multiple DMA transfers.

LKEY

Bit 16: Long key selection.

ALGO

Bits 17-20: Algorithm selection.

DIN

HASH data input 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
DATAIN
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAIN
w
Toggle fields

DATAIN

Bits 0-31: Data input.

STR

HASH start register

Offset: 0x8, 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
DCAL
rw
NBLW
rw
Toggle fields

NBLW

Bits 0-4: Number of valid bits in the last word.

DCAL

Bit 8: Digest calculation.

HRA0

HASH aliased digest register 0

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
H0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H0
r
Toggle fields

H0

Bits 0-31: Hash data x.

HRA1

HASH aliased digest register 1

Offset: 0x10, 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
H1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H1
r
Toggle fields

H1

Bits 0-31: Hash data x.

HRA2

HASH aliased digest register 2

Offset: 0x14, 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
H2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H2
r
Toggle fields

H2

Bits 0-31: Hash data x.

HRA3

HASH aliased digest register 3

Offset: 0x18, 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
H3
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H3
r
Toggle fields

H3

Bits 0-31: Hash data x.

HRA4

HASH aliased digest register 4

Offset: 0x1c, 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
H4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H4
r
Toggle fields

H4

Bits 0-31: Hash data x.

IMR

HASH interrupt enable register

Offset: 0x20, 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
DCIE
rw
DINIE
rw
Toggle fields

DINIE

Bit 0: Data input interrupt enable.

DCIE

Bit 1: Digest calculation completion interrupt enable.

SR

HASH status register

Offset: 0x24, size: 32, reset: 0x00110001, access: read-write

5/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NBWE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DINNE
r
NBWP
r
BUSY
r
DMAS
r
DCIS
rw
DINIS
rw
Toggle fields

DINIS

Bit 0: Data input interrupt status.

DCIS

Bit 1: Digest calculation completion interrupt status.

DMAS

Bit 2: DMA Status.

BUSY

Bit 3: Busy bit.

NBWP

Bits 9-13: Number of words already pushed.

DINNE

Bit 15: DIN not empty.

NBWE

Bits 16-20: Number of words expected.

CSR0

HASH context swap register 0

Offset: 0xf8, 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
CS0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS0
rw
Toggle fields

CS0

Bits 0-31: Context swap x.

CSR1

HASH context swap register 1

Offset: 0xfc, 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
CS1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS1
rw
Toggle fields

CS1

Bits 0-31: Context swap x.

CSR2

HASH context swap register 2

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
CS2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS2
rw
Toggle fields

CS2

Bits 0-31: Context swap x.

CSR3

HASH context swap register 3

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
CS3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS3
rw
Toggle fields

CS3

Bits 0-31: Context swap x.

CSR4

HASH context swap register 4

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
CS4
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS4
rw
Toggle fields

CS4

Bits 0-31: Context swap x.

CSR5

HASH context swap register 5

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
CS5
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS5
rw
Toggle fields

CS5

Bits 0-31: Context swap x.

CSR6

HASH context swap register 6

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
CS6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS6
rw
Toggle fields

CS6

Bits 0-31: Context swap x.

CSR7

HASH context swap register 7

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
CS7
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS7
rw
Toggle fields

CS7

Bits 0-31: Context swap x.

CSR8

HASH context swap register 8

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
CS8
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS8
rw
Toggle fields

CS8

Bits 0-31: Context swap x.

CSR9

HASH context swap register 9

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
CS9
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS9
rw
Toggle fields

CS9

Bits 0-31: Context swap x.

CSR10

HASH context swap register 10

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
CS10
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS10
rw
Toggle fields

CS10

Bits 0-31: Context swap x.

CSR11

HASH context swap register 11

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
CS11
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS11
rw
Toggle fields

CS11

Bits 0-31: Context swap x.

CSR12

HASH context swap register 12

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
CS12
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS12
rw
Toggle fields

CS12

Bits 0-31: Context swap x.

CSR13

HASH context swap register 13

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
CS13
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS13
rw
Toggle fields

CS13

Bits 0-31: Context swap x.

CSR14

HASH context swap register 14

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
CS14
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS14
rw
Toggle fields

CS14

Bits 0-31: Context swap x.

CSR15

HASH context swap register 15

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
CS15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS15
rw
Toggle fields

CS15

Bits 0-31: Context swap x.

CSR16

HASH context swap register 16

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
CS16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS16
rw
Toggle fields

CS16

Bits 0-31: Context swap x.

CSR17

HASH context swap register 17

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
CS17
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS17
rw
Toggle fields

CS17

Bits 0-31: Context swap x.

CSR18

HASH context swap register 18

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
CS18
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS18
rw
Toggle fields

CS18

Bits 0-31: Context swap x.

CSR19

HASH context swap register 19

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
CS19
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS19
rw
Toggle fields

CS19

Bits 0-31: Context swap x.

CSR20

HASH context swap register 20

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
CS20
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS20
rw
Toggle fields

CS20

Bits 0-31: Context swap x.

CSR21

HASH context swap register 21

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
CS21
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS21
rw
Toggle fields

CS21

Bits 0-31: Context swap x.

CSR22

HASH context swap register 22

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
CS22
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS22
rw
Toggle fields

CS22

Bits 0-31: Context swap x.

CSR23

HASH context swap register 23

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
CS23
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS23
rw
Toggle fields

CS23

Bits 0-31: Context swap x.

CSR24

HASH context swap register 24

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
CS24
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS24
rw
Toggle fields

CS24

Bits 0-31: Context swap x.

CSR25

HASH context swap register 25

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
CS25
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS25
rw
Toggle fields

CS25

Bits 0-31: Context swap x.

CSR26

HASH context swap register 26

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
CS26
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS26
rw
Toggle fields

CS26

Bits 0-31: Context swap x.

CSR27

HASH context swap register 27

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
CS27
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS27
rw
Toggle fields

CS27

Bits 0-31: Context swap x.

CSR28

HASH context swap register 28

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
CS28
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS28
rw
Toggle fields

CS28

Bits 0-31: Context swap x.

CSR29

HASH context swap register 29

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
CS29
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS29
rw
Toggle fields

CS29

Bits 0-31: Context swap x.

CSR30

HASH context swap register 30

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
CS30
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS30
rw
Toggle fields

CS30

Bits 0-31: Context swap x.

CSR31

HASH context swap register 31

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
CS31
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS31
rw
Toggle fields

CS31

Bits 0-31: Context swap x.

CSR32

HASH context swap register 32

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
CS32
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS32
rw
Toggle fields

CS32

Bits 0-31: Context swap x.

CSR33

HASH context swap register 33

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
CS33
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS33
rw
Toggle fields

CS33

Bits 0-31: Context swap x.

CSR34

HASH context swap register 34

Offset: 0x180, 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
CS34
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS34
rw
Toggle fields

CS34

Bits 0-31: Context swap x.

CSR35

HASH context swap register 35

Offset: 0x184, 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
CS35
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS35
rw
Toggle fields

CS35

Bits 0-31: Context swap x.

CSR36

HASH context swap register 36

Offset: 0x188, 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
CS36
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS36
rw
Toggle fields

CS36

Bits 0-31: Context swap x.

CSR37

HASH context swap register 37

Offset: 0x18c, 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
CS37
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS37
rw
Toggle fields

CS37

Bits 0-31: Context swap x.

CSR38

HASH context swap register 38

Offset: 0x190, 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
CS38
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS38
rw
Toggle fields

CS38

Bits 0-31: Context swap x.

CSR39

HASH context swap register 39

Offset: 0x194, 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
CS39
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS39
rw
Toggle fields

CS39

Bits 0-31: Context swap x.

CSR40

HASH context swap register 40

Offset: 0x198, 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
CS40
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS40
rw
Toggle fields

CS40

Bits 0-31: Context swap x.

CSR41

HASH context swap register 41

Offset: 0x19c, 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
CS41
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS41
rw
Toggle fields

CS41

Bits 0-31: Context swap x.

CSR42

HASH context swap register 42

Offset: 0x1a0, 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
CS42
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS42
rw
Toggle fields

CS42

Bits 0-31: Context swap x.

CSR43

HASH context swap register 43

Offset: 0x1a4, 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
CS43
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS43
rw
Toggle fields

CS43

Bits 0-31: Context swap x.

CSR44

HASH context swap register 44

Offset: 0x1a8, 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
CS44
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS44
rw
Toggle fields

CS44

Bits 0-31: Context swap x.

CSR45

HASH context swap register 45

Offset: 0x1ac, 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
CS45
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS45
rw
Toggle fields

CS45

Bits 0-31: Context swap x.

CSR46

HASH context swap register 46

Offset: 0x1b0, 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
CS46
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS46
rw
Toggle fields

CS46

Bits 0-31: Context swap x.

CSR47

HASH context swap register 47

Offset: 0x1b4, 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
CS47
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS47
rw
Toggle fields

CS47

Bits 0-31: Context swap x.

CSR48

HASH context swap register 48

Offset: 0x1b8, 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
CS48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS48
rw
Toggle fields

CS48

Bits 0-31: Context swap x.

CSR49

HASH context swap register 49

Offset: 0x1bc, 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
CS49
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS49
rw
Toggle fields

CS49

Bits 0-31: Context swap x.

CSR50

HASH context swap register 50

Offset: 0x1c0, 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
CS50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS50
rw
Toggle fields

CS50

Bits 0-31: Context swap x.

CSR51

HASH context swap register 51

Offset: 0x1c4, 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
CS51
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS51
rw
Toggle fields

CS51

Bits 0-31: Context swap x.

CSR52

HASH context swap register 52

Offset: 0x1c8, 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
CS52
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS52
rw
Toggle fields

CS52

Bits 0-31: Context swap x.

CSR53

HASH context swap register 53

Offset: 0x1cc, 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
CS53
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS53
rw
Toggle fields

CS53

Bits 0-31: Context swap x.

CSR54

HASH context swap register 54

Offset: 0x1d0, 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
CS54
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS54
rw
Toggle fields

CS54

Bits 0-31: Context swap x.

CSR55

HASH context swap register 55

Offset: 0x1d4, 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
CS55
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS55
rw
Toggle fields

CS55

Bits 0-31: Context swap x.

CSR56

HASH context swap register 56

Offset: 0x1d8, 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
CS56
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS56
rw
Toggle fields

CS56

Bits 0-31: Context swap x.

CSR57

HASH context swap register 57

Offset: 0x1dc, 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
CS57
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS57
rw
Toggle fields

CS57

Bits 0-31: Context swap x.

CSR58

HASH context swap register 58

Offset: 0x1e0, 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
CS58
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS58
rw
Toggle fields

CS58

Bits 0-31: Context swap x.

CSR59

HASH context swap register 59

Offset: 0x1e4, 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
CS59
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS59
rw
Toggle fields

CS59

Bits 0-31: Context swap x.

CSR60

HASH context swap register 60

Offset: 0x1e8, 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
CS60
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS60
rw
Toggle fields

CS60

Bits 0-31: Context swap x.

CSR61

HASH context swap register 61

Offset: 0x1ec, 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
CS61
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS61
rw
Toggle fields

CS61

Bits 0-31: Context swap x.

CSR62

HASH context swap register 62

Offset: 0x1f0, 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
CS62
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS62
rw
Toggle fields

CS62

Bits 0-31: Context swap x.

CSR63

HASH context swap register 63

Offset: 0x1f4, 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
CS63
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS63
rw
Toggle fields

CS63

Bits 0-31: Context swap x.

CSR64

HASH context swap register 64

Offset: 0x1f8, 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
CS64
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS64
rw
Toggle fields

CS64

Bits 0-31: Context swap x.

CSR65

HASH context swap register 65

Offset: 0x1fc, 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
CS65
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS65
rw
Toggle fields

CS65

Bits 0-31: Context swap x.

CSR66

HASH context swap register 66

Offset: 0x200, 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
CS66
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS66
rw
Toggle fields

CS66

Bits 0-31: Context swap x.

CSR67

HASH context swap register 67

Offset: 0x204, 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
CS67
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS67
rw
Toggle fields

CS67

Bits 0-31: Context swap x.

CSR68

HASH context swap register 68

Offset: 0x208, 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
CS68
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS68
rw
Toggle fields

CS68

Bits 0-31: Context swap x.

CSR69

HASH context swap register 69

Offset: 0x20c, 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
CS69
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS69
rw
Toggle fields

CS69

Bits 0-31: Context swap x.

CSR70

HASH context swap register 70

Offset: 0x210, 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
CS70
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS70
rw
Toggle fields

CS70

Bits 0-31: Context swap x.

CSR71

HASH context swap register 71

Offset: 0x214, 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
CS71
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS71
rw
Toggle fields

CS71

Bits 0-31: Context swap x.

CSR72

HASH context swap register 72

Offset: 0x218, 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
CS72
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS72
rw
Toggle fields

CS72

Bits 0-31: Context swap x.

CSR73

HASH context swap register 73

Offset: 0x21c, 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
CS73
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS73
rw
Toggle fields

CS73

Bits 0-31: Context swap x.

CSR74

HASH context swap register 74

Offset: 0x220, 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
CS74
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS74
rw
Toggle fields

CS74

Bits 0-31: Context swap x.

CSR75

HASH context swap register 75

Offset: 0x224, 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
CS75
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS75
rw
Toggle fields

CS75

Bits 0-31: Context swap x.

CSR76

HASH context swap register 76

Offset: 0x228, 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
CS76
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS76
rw
Toggle fields

CS76

Bits 0-31: Context swap x.

CSR77

HASH context swap register 77

Offset: 0x22c, 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
CS77
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS77
rw
Toggle fields

CS77

Bits 0-31: Context swap x.

CSR78

HASH context swap register 78

Offset: 0x230, 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
CS78
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS78
rw
Toggle fields

CS78

Bits 0-31: Context swap x.

CSR79

HASH context swap register 79

Offset: 0x234, 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
CS79
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS79
rw
Toggle fields

CS79

Bits 0-31: Context swap x.

CSR80

HASH context swap register 80

Offset: 0x238, 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
CS80
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS80
rw
Toggle fields

CS80

Bits 0-31: Context swap x.

CSR81

HASH context swap register 81

Offset: 0x23c, 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
CS81
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS81
rw
Toggle fields

CS81

Bits 0-31: Context swap x.

CSR82

HASH context swap register 82

Offset: 0x240, 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
CS82
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS82
rw
Toggle fields

CS82

Bits 0-31: Context swap x.

CSR83

HASH context swap register 83

Offset: 0x244, 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
CS83
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS83
rw
Toggle fields

CS83

Bits 0-31: Context swap x.

CSR84

HASH context swap register 84

Offset: 0x248, 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
CS84
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS84
rw
Toggle fields

CS84

Bits 0-31: Context swap x.

CSR85

HASH context swap register 85

Offset: 0x24c, 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
CS85
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS85
rw
Toggle fields

CS85

Bits 0-31: Context swap x.

CSR86

HASH context swap register 86

Offset: 0x250, 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
CS86
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS86
rw
Toggle fields

CS86

Bits 0-31: Context swap x.

CSR87

HASH context swap register 87

Offset: 0x254, 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
CS87
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS87
rw
Toggle fields

CS87

Bits 0-31: Context swap x.

CSR88

HASH context swap register 88

Offset: 0x258, 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
CS88
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS88
rw
Toggle fields

CS88

Bits 0-31: Context swap x.

CSR89

HASH context swap register 89

Offset: 0x25c, 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
CS89
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS89
rw
Toggle fields

CS89

Bits 0-31: Context swap x.

CSR90

HASH context swap register 90

Offset: 0x260, 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
CS90
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS90
rw
Toggle fields

CS90

Bits 0-31: Context swap x.

CSR91

HASH context swap register 91

Offset: 0x264, 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
CS91
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS91
rw
Toggle fields

CS91

Bits 0-31: Context swap x.

CSR92

HASH context swap register 92

Offset: 0x268, 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
CS92
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS92
rw
Toggle fields

CS92

Bits 0-31: Context swap x.

CSR93

HASH context swap register 93

Offset: 0x26c, 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
CS93
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS93
rw
Toggle fields

CS93

Bits 0-31: Context swap x.

CSR94

HASH context swap register 94

Offset: 0x270, 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
CS94
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS94
rw
Toggle fields

CS94

Bits 0-31: Context swap x.

CSR95

HASH context swap register 95

Offset: 0x274, 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
CS95
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS95
rw
Toggle fields

CS95

Bits 0-31: Context swap x.

CSR96

HASH context swap register 96

Offset: 0x278, 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
CS96
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS96
rw
Toggle fields

CS96

Bits 0-31: Context swap x.

CSR97

HASH context swap register 97

Offset: 0x27c, 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
CS97
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS97
rw
Toggle fields

CS97

Bits 0-31: Context swap x.

CSR98

HASH context swap register 98

Offset: 0x280, 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
CS98
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS98
rw
Toggle fields

CS98

Bits 0-31: Context swap x.

CSR99

HASH context swap register 99

Offset: 0x284, 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
CS99
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS99
rw
Toggle fields

CS99

Bits 0-31: Context swap x.

CSR100

HASH context swap register 100

Offset: 0x288, 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
CS100
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS100
rw
Toggle fields

CS100

Bits 0-31: Context swap x.

CSR101

HASH context swap register 101

Offset: 0x28c, 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
CS101
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS101
rw
Toggle fields

CS101

Bits 0-31: Context swap x.

CSR102

HASH context swap register 102

Offset: 0x290, 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
CS102
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS102
rw
Toggle fields

CS102

Bits 0-31: Context swap x.

HR0

HASH digest register 0

Offset: 0x310, 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
H0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H0
r
Toggle fields

H0

Bits 0-31: Hash data x.

HR1

HASH digest register 1

Offset: 0x314, 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
H1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H1
r
Toggle fields

H1

Bits 0-31: Hash data x.

HR2

HASH digest register 2

Offset: 0x318, 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
H2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H2
r
Toggle fields

H2

Bits 0-31: Hash data x.

HR3

HASH digest register 3

Offset: 0x31c, 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
H3
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H3
r
Toggle fields

H3

Bits 0-31: Hash data x.

HR4

HASH digest register 4

Offset: 0x320, 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
H4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H4
r
Toggle fields

H4

Bits 0-31: Hash data x.

HR5

HASH supplementary digest register 5

Offset: 0x324, 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
H5
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H5
r
Toggle fields

H5

Bits 0-31: Hash data x.

HR6

HASH supplementary digest register 6

Offset: 0x328, 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
H6
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H6
r
Toggle fields

H6

Bits 0-31: Hash data x.

HR7

HASH supplementary digest register 7

Offset: 0x32c, 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
H7
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H7
r
Toggle fields

H7

Bits 0-31: Hash data x.

HR8

HASH supplementary digest register 8

Offset: 0x330, 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
H8
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H8
r
Toggle fields

H8

Bits 0-31: Hash data x.

HR9

HASH supplementary digest register 9

Offset: 0x334, 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
H9
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H9
r
Toggle fields

H9

Bits 0-31: Hash data x.

HR10

HASH supplementary digest register 10

Offset: 0x338, 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
H10
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H10
r
Toggle fields

H10

Bits 0-31: Hash data x.

HR11

HASH supplementary digest register 11

Offset: 0x33c, 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
H11
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H11
r
Toggle fields

H11

Bits 0-31: Hash data x.

HR12

HASH supplementary digest register 12

Offset: 0x340, 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
H12
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H12
r
Toggle fields

H12

Bits 0-31: Hash data x.

HR13

HASH supplementary digest register 13

Offset: 0x344, 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
H13
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H13
r
Toggle fields

H13

Bits 0-31: Hash data x.

HR14

HASH supplementary digest register 14

Offset: 0x348, 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
H14
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H14
r
Toggle fields

H14

Bits 0-31: Hash data x.

HR15

HASH supplementary digest register 15

Offset: 0x34c, 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
H15
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H15
r
Toggle fields

H15

Bits 0-31: Hash data x.

HASH_S

0x520c0400: HASH register bank

28/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 DIN
0x8 STR
0xc HRA0
0x10 HRA1
0x14 HRA2
0x18 HRA3
0x1c HRA4
0x20 IMR
0x24 SR
0xf8 CSR0
0xfc CSR1
0x100 CSR2
0x104 CSR3
0x108 CSR4
0x10c CSR5
0x110 CSR6
0x114 CSR7
0x118 CSR8
0x11c CSR9
0x120 CSR10
0x124 CSR11
0x128 CSR12
0x12c CSR13
0x130 CSR14
0x134 CSR15
0x138 CSR16
0x13c CSR17
0x140 CSR18
0x144 CSR19
0x148 CSR20
0x14c CSR21
0x150 CSR22
0x154 CSR23
0x158 CSR24
0x15c CSR25
0x160 CSR26
0x164 CSR27
0x168 CSR28
0x16c CSR29
0x170 CSR30
0x174 CSR31
0x178 CSR32
0x17c CSR33
0x180 CSR34
0x184 CSR35
0x188 CSR36
0x18c CSR37
0x190 CSR38
0x194 CSR39
0x198 CSR40
0x19c CSR41
0x1a0 CSR42
0x1a4 CSR43
0x1a8 CSR44
0x1ac CSR45
0x1b0 CSR46
0x1b4 CSR47
0x1b8 CSR48
0x1bc CSR49
0x1c0 CSR50
0x1c4 CSR51
0x1c8 CSR52
0x1cc CSR53
0x1d0 CSR54
0x1d4 CSR55
0x1d8 CSR56
0x1dc CSR57
0x1e0 CSR58
0x1e4 CSR59
0x1e8 CSR60
0x1ec CSR61
0x1f0 CSR62
0x1f4 CSR63
0x1f8 CSR64
0x1fc CSR65
0x200 CSR66
0x204 CSR67
0x208 CSR68
0x20c CSR69
0x210 CSR70
0x214 CSR71
0x218 CSR72
0x21c CSR73
0x220 CSR74
0x224 CSR75
0x228 CSR76
0x22c CSR77
0x230 CSR78
0x234 CSR79
0x238 CSR80
0x23c CSR81
0x240 CSR82
0x244 CSR83
0x248 CSR84
0x24c CSR85
0x250 CSR86
0x254 CSR87
0x258 CSR88
0x25c CSR89
0x260 CSR90
0x264 CSR91
0x268 CSR92
0x26c CSR93
0x270 CSR94
0x274 CSR95
0x278 CSR96
0x27c CSR97
0x280 CSR98
0x284 CSR99
0x288 CSR100
0x28c CSR101
0x290 CSR102
0x310 HR0
0x314 HR1
0x318 HR2
0x31c HR3
0x320 HR4
0x324 HR5
0x328 HR6
0x32c HR7
0x330 HR8
0x334 HR9
0x338 HR10
0x33c HR11
0x340 HR12
0x344 HR13
0x348 HR14
0x34c HR15
Toggle registers

CR

HASH control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

2/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALGO
rw
LKEY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDMAT
rw
DINNE
r
NBW
r
MODE
rw
DATATYPE
rw
DMAE
rw
INIT
rw
Toggle fields

INIT

Bit 2: Initialize message digest calculation.

DMAE

Bit 3: DMA enable.

DATATYPE

Bits 4-5: Data type selection.

MODE

Bit 6: Mode selection.

NBW

Bits 8-11: Number of words already pushed.

DINNE

Bit 12: DIN not empty.

MDMAT

Bit 13: Multiple DMA transfers.

LKEY

Bit 16: Long key selection.

ALGO

Bits 17-20: Algorithm selection.

DIN

HASH data input 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
DATAIN
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAIN
w
Toggle fields

DATAIN

Bits 0-31: Data input.

STR

HASH start register

Offset: 0x8, 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
DCAL
rw
NBLW
rw
Toggle fields

NBLW

Bits 0-4: Number of valid bits in the last word.

DCAL

Bit 8: Digest calculation.

HRA0

HASH aliased digest register 0

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
H0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H0
r
Toggle fields

H0

Bits 0-31: Hash data x.

HRA1

HASH aliased digest register 1

Offset: 0x10, 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
H1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H1
r
Toggle fields

H1

Bits 0-31: Hash data x.

HRA2

HASH aliased digest register 2

Offset: 0x14, 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
H2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H2
r
Toggle fields

H2

Bits 0-31: Hash data x.

HRA3

HASH aliased digest register 3

Offset: 0x18, 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
H3
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H3
r
Toggle fields

H3

Bits 0-31: Hash data x.

HRA4

HASH aliased digest register 4

Offset: 0x1c, 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
H4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H4
r
Toggle fields

H4

Bits 0-31: Hash data x.

IMR

HASH interrupt enable register

Offset: 0x20, 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
DCIE
rw
DINIE
rw
Toggle fields

DINIE

Bit 0: Data input interrupt enable.

DCIE

Bit 1: Digest calculation completion interrupt enable.

SR

HASH status register

Offset: 0x24, size: 32, reset: 0x00110001, access: read-write

5/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NBWE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DINNE
r
NBWP
r
BUSY
r
DMAS
r
DCIS
rw
DINIS
rw
Toggle fields

DINIS

Bit 0: Data input interrupt status.

DCIS

Bit 1: Digest calculation completion interrupt status.

DMAS

Bit 2: DMA Status.

BUSY

Bit 3: Busy bit.

NBWP

Bits 9-13: Number of words already pushed.

DINNE

Bit 15: DIN not empty.

NBWE

Bits 16-20: Number of words expected.

CSR0

HASH context swap register 0

Offset: 0xf8, 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
CS0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS0
rw
Toggle fields

CS0

Bits 0-31: Context swap x.

CSR1

HASH context swap register 1

Offset: 0xfc, 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
CS1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS1
rw
Toggle fields

CS1

Bits 0-31: Context swap x.

CSR2

HASH context swap register 2

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
CS2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS2
rw
Toggle fields

CS2

Bits 0-31: Context swap x.

CSR3

HASH context swap register 3

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
CS3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS3
rw
Toggle fields

CS3

Bits 0-31: Context swap x.

CSR4

HASH context swap register 4

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
CS4
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS4
rw
Toggle fields

CS4

Bits 0-31: Context swap x.

CSR5

HASH context swap register 5

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
CS5
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS5
rw
Toggle fields

CS5

Bits 0-31: Context swap x.

CSR6

HASH context swap register 6

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
CS6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS6
rw
Toggle fields

CS6

Bits 0-31: Context swap x.

CSR7

HASH context swap register 7

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
CS7
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS7
rw
Toggle fields

CS7

Bits 0-31: Context swap x.

CSR8

HASH context swap register 8

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
CS8
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS8
rw
Toggle fields

CS8

Bits 0-31: Context swap x.

CSR9

HASH context swap register 9

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
CS9
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS9
rw
Toggle fields

CS9

Bits 0-31: Context swap x.

CSR10

HASH context swap register 10

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
CS10
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS10
rw
Toggle fields

CS10

Bits 0-31: Context swap x.

CSR11

HASH context swap register 11

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
CS11
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS11
rw
Toggle fields

CS11

Bits 0-31: Context swap x.

CSR12

HASH context swap register 12

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
CS12
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS12
rw
Toggle fields

CS12

Bits 0-31: Context swap x.

CSR13

HASH context swap register 13

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
CS13
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS13
rw
Toggle fields

CS13

Bits 0-31: Context swap x.

CSR14

HASH context swap register 14

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
CS14
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS14
rw
Toggle fields

CS14

Bits 0-31: Context swap x.

CSR15

HASH context swap register 15

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
CS15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS15
rw
Toggle fields

CS15

Bits 0-31: Context swap x.

CSR16

HASH context swap register 16

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
CS16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS16
rw
Toggle fields

CS16

Bits 0-31: Context swap x.

CSR17

HASH context swap register 17

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
CS17
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS17
rw
Toggle fields

CS17

Bits 0-31: Context swap x.

CSR18

HASH context swap register 18

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
CS18
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS18
rw
Toggle fields

CS18

Bits 0-31: Context swap x.

CSR19

HASH context swap register 19

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
CS19
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS19
rw
Toggle fields

CS19

Bits 0-31: Context swap x.

CSR20

HASH context swap register 20

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
CS20
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS20
rw
Toggle fields

CS20

Bits 0-31: Context swap x.

CSR21

HASH context swap register 21

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
CS21
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS21
rw
Toggle fields

CS21

Bits 0-31: Context swap x.

CSR22

HASH context swap register 22

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
CS22
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS22
rw
Toggle fields

CS22

Bits 0-31: Context swap x.

CSR23

HASH context swap register 23

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
CS23
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS23
rw
Toggle fields

CS23

Bits 0-31: Context swap x.

CSR24

HASH context swap register 24

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
CS24
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS24
rw
Toggle fields

CS24

Bits 0-31: Context swap x.

CSR25

HASH context swap register 25

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
CS25
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS25
rw
Toggle fields

CS25

Bits 0-31: Context swap x.

CSR26

HASH context swap register 26

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
CS26
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS26
rw
Toggle fields

CS26

Bits 0-31: Context swap x.

CSR27

HASH context swap register 27

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
CS27
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS27
rw
Toggle fields

CS27

Bits 0-31: Context swap x.

CSR28

HASH context swap register 28

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
CS28
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS28
rw
Toggle fields

CS28

Bits 0-31: Context swap x.

CSR29

HASH context swap register 29

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
CS29
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS29
rw
Toggle fields

CS29

Bits 0-31: Context swap x.

CSR30

HASH context swap register 30

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
CS30
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS30
rw
Toggle fields

CS30

Bits 0-31: Context swap x.

CSR31

HASH context swap register 31

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
CS31
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS31
rw
Toggle fields

CS31

Bits 0-31: Context swap x.

CSR32

HASH context swap register 32

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
CS32
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS32
rw
Toggle fields

CS32

Bits 0-31: Context swap x.

CSR33

HASH context swap register 33

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
CS33
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS33
rw
Toggle fields

CS33

Bits 0-31: Context swap x.

CSR34

HASH context swap register 34

Offset: 0x180, 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
CS34
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS34
rw
Toggle fields

CS34

Bits 0-31: Context swap x.

CSR35

HASH context swap register 35

Offset: 0x184, 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
CS35
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS35
rw
Toggle fields

CS35

Bits 0-31: Context swap x.

CSR36

HASH context swap register 36

Offset: 0x188, 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
CS36
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS36
rw
Toggle fields

CS36

Bits 0-31: Context swap x.

CSR37

HASH context swap register 37

Offset: 0x18c, 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
CS37
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS37
rw
Toggle fields

CS37

Bits 0-31: Context swap x.

CSR38

HASH context swap register 38

Offset: 0x190, 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
CS38
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS38
rw
Toggle fields

CS38

Bits 0-31: Context swap x.

CSR39

HASH context swap register 39

Offset: 0x194, 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
CS39
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS39
rw
Toggle fields

CS39

Bits 0-31: Context swap x.

CSR40

HASH context swap register 40

Offset: 0x198, 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
CS40
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS40
rw
Toggle fields

CS40

Bits 0-31: Context swap x.

CSR41

HASH context swap register 41

Offset: 0x19c, 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
CS41
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS41
rw
Toggle fields

CS41

Bits 0-31: Context swap x.

CSR42

HASH context swap register 42

Offset: 0x1a0, 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
CS42
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS42
rw
Toggle fields

CS42

Bits 0-31: Context swap x.

CSR43

HASH context swap register 43

Offset: 0x1a4, 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
CS43
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS43
rw
Toggle fields

CS43

Bits 0-31: Context swap x.

CSR44

HASH context swap register 44

Offset: 0x1a8, 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
CS44
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS44
rw
Toggle fields

CS44

Bits 0-31: Context swap x.

CSR45

HASH context swap register 45

Offset: 0x1ac, 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
CS45
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS45
rw
Toggle fields

CS45

Bits 0-31: Context swap x.

CSR46

HASH context swap register 46

Offset: 0x1b0, 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
CS46
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS46
rw
Toggle fields

CS46

Bits 0-31: Context swap x.

CSR47

HASH context swap register 47

Offset: 0x1b4, 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
CS47
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS47
rw
Toggle fields

CS47

Bits 0-31: Context swap x.

CSR48

HASH context swap register 48

Offset: 0x1b8, 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
CS48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS48
rw
Toggle fields

CS48

Bits 0-31: Context swap x.

CSR49

HASH context swap register 49

Offset: 0x1bc, 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
CS49
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS49
rw
Toggle fields

CS49

Bits 0-31: Context swap x.

CSR50

HASH context swap register 50

Offset: 0x1c0, 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
CS50
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS50
rw
Toggle fields

CS50

Bits 0-31: Context swap x.

CSR51

HASH context swap register 51

Offset: 0x1c4, 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
CS51
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS51
rw
Toggle fields

CS51

Bits 0-31: Context swap x.

CSR52

HASH context swap register 52

Offset: 0x1c8, 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
CS52
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS52
rw
Toggle fields

CS52

Bits 0-31: Context swap x.

CSR53

HASH context swap register 53

Offset: 0x1cc, 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
CS53
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS53
rw
Toggle fields

CS53

Bits 0-31: Context swap x.

CSR54

HASH context swap register 54

Offset: 0x1d0, 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
CS54
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS54
rw
Toggle fields

CS54

Bits 0-31: Context swap x.

CSR55

HASH context swap register 55

Offset: 0x1d4, 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
CS55
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS55
rw
Toggle fields

CS55

Bits 0-31: Context swap x.

CSR56

HASH context swap register 56

Offset: 0x1d8, 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
CS56
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS56
rw
Toggle fields

CS56

Bits 0-31: Context swap x.

CSR57

HASH context swap register 57

Offset: 0x1dc, 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
CS57
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS57
rw
Toggle fields

CS57

Bits 0-31: Context swap x.

CSR58

HASH context swap register 58

Offset: 0x1e0, 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
CS58
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS58
rw
Toggle fields

CS58

Bits 0-31: Context swap x.

CSR59

HASH context swap register 59

Offset: 0x1e4, 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
CS59
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS59
rw
Toggle fields

CS59

Bits 0-31: Context swap x.

CSR60

HASH context swap register 60

Offset: 0x1e8, 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
CS60
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS60
rw
Toggle fields

CS60

Bits 0-31: Context swap x.

CSR61

HASH context swap register 61

Offset: 0x1ec, 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
CS61
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS61
rw
Toggle fields

CS61

Bits 0-31: Context swap x.

CSR62

HASH context swap register 62

Offset: 0x1f0, 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
CS62
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS62
rw
Toggle fields

CS62

Bits 0-31: Context swap x.

CSR63

HASH context swap register 63

Offset: 0x1f4, 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
CS63
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS63
rw
Toggle fields

CS63

Bits 0-31: Context swap x.

CSR64

HASH context swap register 64

Offset: 0x1f8, 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
CS64
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS64
rw
Toggle fields

CS64

Bits 0-31: Context swap x.

CSR65

HASH context swap register 65

Offset: 0x1fc, 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
CS65
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS65
rw
Toggle fields

CS65

Bits 0-31: Context swap x.

CSR66

HASH context swap register 66

Offset: 0x200, 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
CS66
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS66
rw
Toggle fields

CS66

Bits 0-31: Context swap x.

CSR67

HASH context swap register 67

Offset: 0x204, 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
CS67
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS67
rw
Toggle fields

CS67

Bits 0-31: Context swap x.

CSR68

HASH context swap register 68

Offset: 0x208, 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
CS68
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS68
rw
Toggle fields

CS68

Bits 0-31: Context swap x.

CSR69

HASH context swap register 69

Offset: 0x20c, 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
CS69
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS69
rw
Toggle fields

CS69

Bits 0-31: Context swap x.

CSR70

HASH context swap register 70

Offset: 0x210, 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
CS70
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS70
rw
Toggle fields

CS70

Bits 0-31: Context swap x.

CSR71

HASH context swap register 71

Offset: 0x214, 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
CS71
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS71
rw
Toggle fields

CS71

Bits 0-31: Context swap x.

CSR72

HASH context swap register 72

Offset: 0x218, 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
CS72
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS72
rw
Toggle fields

CS72

Bits 0-31: Context swap x.

CSR73

HASH context swap register 73

Offset: 0x21c, 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
CS73
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS73
rw
Toggle fields

CS73

Bits 0-31: Context swap x.

CSR74

HASH context swap register 74

Offset: 0x220, 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
CS74
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS74
rw
Toggle fields

CS74

Bits 0-31: Context swap x.

CSR75

HASH context swap register 75

Offset: 0x224, 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
CS75
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS75
rw
Toggle fields

CS75

Bits 0-31: Context swap x.

CSR76

HASH context swap register 76

Offset: 0x228, 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
CS76
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS76
rw
Toggle fields

CS76

Bits 0-31: Context swap x.

CSR77

HASH context swap register 77

Offset: 0x22c, 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
CS77
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS77
rw
Toggle fields

CS77

Bits 0-31: Context swap x.

CSR78

HASH context swap register 78

Offset: 0x230, 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
CS78
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS78
rw
Toggle fields

CS78

Bits 0-31: Context swap x.

CSR79

HASH context swap register 79

Offset: 0x234, 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
CS79
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS79
rw
Toggle fields

CS79

Bits 0-31: Context swap x.

CSR80

HASH context swap register 80

Offset: 0x238, 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
CS80
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS80
rw
Toggle fields

CS80

Bits 0-31: Context swap x.

CSR81

HASH context swap register 81

Offset: 0x23c, 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
CS81
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS81
rw
Toggle fields

CS81

Bits 0-31: Context swap x.

CSR82

HASH context swap register 82

Offset: 0x240, 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
CS82
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS82
rw
Toggle fields

CS82

Bits 0-31: Context swap x.

CSR83

HASH context swap register 83

Offset: 0x244, 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
CS83
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS83
rw
Toggle fields

CS83

Bits 0-31: Context swap x.

CSR84

HASH context swap register 84

Offset: 0x248, 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
CS84
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS84
rw
Toggle fields

CS84

Bits 0-31: Context swap x.

CSR85

HASH context swap register 85

Offset: 0x24c, 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
CS85
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS85
rw
Toggle fields

CS85

Bits 0-31: Context swap x.

CSR86

HASH context swap register 86

Offset: 0x250, 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
CS86
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS86
rw
Toggle fields

CS86

Bits 0-31: Context swap x.

CSR87

HASH context swap register 87

Offset: 0x254, 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
CS87
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS87
rw
Toggle fields

CS87

Bits 0-31: Context swap x.

CSR88

HASH context swap register 88

Offset: 0x258, 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
CS88
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS88
rw
Toggle fields

CS88

Bits 0-31: Context swap x.

CSR89

HASH context swap register 89

Offset: 0x25c, 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
CS89
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS89
rw
Toggle fields

CS89

Bits 0-31: Context swap x.

CSR90

HASH context swap register 90

Offset: 0x260, 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
CS90
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS90
rw
Toggle fields

CS90

Bits 0-31: Context swap x.

CSR91

HASH context swap register 91

Offset: 0x264, 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
CS91
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS91
rw
Toggle fields

CS91

Bits 0-31: Context swap x.

CSR92

HASH context swap register 92

Offset: 0x268, 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
CS92
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS92
rw
Toggle fields

CS92

Bits 0-31: Context swap x.

CSR93

HASH context swap register 93

Offset: 0x26c, 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
CS93
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS93
rw
Toggle fields

CS93

Bits 0-31: Context swap x.

CSR94

HASH context swap register 94

Offset: 0x270, 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
CS94
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS94
rw
Toggle fields

CS94

Bits 0-31: Context swap x.

CSR95

HASH context swap register 95

Offset: 0x274, 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
CS95
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS95
rw
Toggle fields

CS95

Bits 0-31: Context swap x.

CSR96

HASH context swap register 96

Offset: 0x278, 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
CS96
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS96
rw
Toggle fields

CS96

Bits 0-31: Context swap x.

CSR97

HASH context swap register 97

Offset: 0x27c, 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
CS97
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS97
rw
Toggle fields

CS97

Bits 0-31: Context swap x.

CSR98

HASH context swap register 98

Offset: 0x280, 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
CS98
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS98
rw
Toggle fields

CS98

Bits 0-31: Context swap x.

CSR99

HASH context swap register 99

Offset: 0x284, 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
CS99
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS99
rw
Toggle fields

CS99

Bits 0-31: Context swap x.

CSR100

HASH context swap register 100

Offset: 0x288, 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
CS100
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS100
rw
Toggle fields

CS100

Bits 0-31: Context swap x.

CSR101

HASH context swap register 101

Offset: 0x28c, 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
CS101
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS101
rw
Toggle fields

CS101

Bits 0-31: Context swap x.

CSR102

HASH context swap register 102

Offset: 0x290, 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
CS102
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS102
rw
Toggle fields

CS102

Bits 0-31: Context swap x.

HR0

HASH digest register 0

Offset: 0x310, 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
H0
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H0
r
Toggle fields

H0

Bits 0-31: Hash data x.

HR1

HASH digest register 1

Offset: 0x314, 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
H1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H1
r
Toggle fields

H1

Bits 0-31: Hash data x.

HR2

HASH digest register 2

Offset: 0x318, 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
H2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H2
r
Toggle fields

H2

Bits 0-31: Hash data x.

HR3

HASH digest register 3

Offset: 0x31c, 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
H3
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H3
r
Toggle fields

H3

Bits 0-31: Hash data x.

HR4

HASH digest register 4

Offset: 0x320, 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
H4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H4
r
Toggle fields

H4

Bits 0-31: Hash data x.

HR5

HASH supplementary digest register 5

Offset: 0x324, 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
H5
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H5
r
Toggle fields

H5

Bits 0-31: Hash data x.

HR6

HASH supplementary digest register 6

Offset: 0x328, 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
H6
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H6
r
Toggle fields

H6

Bits 0-31: Hash data x.

HR7

HASH supplementary digest register 7

Offset: 0x32c, 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
H7
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H7
r
Toggle fields

H7

Bits 0-31: Hash data x.

HR8

HASH supplementary digest register 8

Offset: 0x330, 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
H8
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H8
r
Toggle fields

H8

Bits 0-31: Hash data x.

HR9

HASH supplementary digest register 9

Offset: 0x334, 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
H9
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H9
r
Toggle fields

H9

Bits 0-31: Hash data x.

HR10

HASH supplementary digest register 10

Offset: 0x338, 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
H10
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H10
r
Toggle fields

H10

Bits 0-31: Hash data x.

HR11

HASH supplementary digest register 11

Offset: 0x33c, 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
H11
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H11
r
Toggle fields

H11

Bits 0-31: Hash data x.

HR12

HASH supplementary digest register 12

Offset: 0x340, 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
H12
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H12
r
Toggle fields

H12

Bits 0-31: Hash data x.

HR13

HASH supplementary digest register 13

Offset: 0x344, 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
H13
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H13
r
Toggle fields

H13

Bits 0-31: Hash data x.

HR14

HASH supplementary digest register 14

Offset: 0x348, 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
H14
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H14
r
Toggle fields

H14

Bits 0-31: Hash data x.

HR15

HASH supplementary digest register 15

Offset: 0x34c, 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
H15
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H15
r
Toggle fields

H15

Bits 0-31: Hash data x.

I2C1

0x40005400: I2C address block description

79/79 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 OAR1
0xc OAR2
0x10 TIMINGR
0x14 TIMEOUTR
0x18 ISR
0x1c ICR
0x20 PECR
0x24 RXDR
0x28 TXDR
Toggle registers

CR1

I2C control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STOPFACLR
rw
ADDRACLR
rw
FMP
rw
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

TXIE

Bit 1: TX interrupt enable.

Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled

RXIE

Bit 2: RX interrupt enable.

Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled

ADDRIE

Bit 3: Address match interrupt enable (slave only).

Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled

NACKIE

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

STOPIE

Bit 5: Stop detection interrupt enable.

Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled

TCIE

Bit 6: Transfer complete interrupt enable.

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable.

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

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

ANFOFF

Bit 12: Analog noise filter OFF.

Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled

TXDMAEN

Bit 14: DMA transmission requests enable.

Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission

RXDMAEN

Bit 15: DMA reception requests enable.

Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception

SBC

Bit 16: Slave byte control.

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable.

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wake-up from Stop mode enable.

Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled

GCEN

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

SMBHEN

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

SMBDEN

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

ALERTEN

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

PECEN

Bit 23: PEC enable.

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

FMP

Bit 24: Fast-mode Plus 20 mA drive enable.

Allowed values:
0: Disabled: 20 mA I/O drive disabled
1: Enabled: 20 mA I/O drive enabled

ADDRACLR

Bit 30: Address match flag (ADDR) automatic clear.

Allowed values:
0: Disabled: ADDR flag is set by hardware, cleared by software
1: Enabled: ADDR flag remains cleared by hardware

STOPFACLR

Bit 31: STOP detection flag (STOPF) automatic clear.

Allowed values:
0: Disabled: STOPF flag is set by hardware, cleared by software
1: Enabled: STOPF flag remains cleared by hardware

CR2

I2C control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
r/w1s
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
r/w1s
STOP
r/w1s
START
r/w1s
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address (master mode).

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode).

Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer

ADD10

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

HEAD10R

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

START

Bit 13: Start generation.

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode).

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

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

NBYTES

Bits 16-23: Number of bytes.

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode.

Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)

AUTOEND

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

PECBYTE

Bit 26: Packet error checking byte.

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

I2C own address 1 register

Offset: 0x8, 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
OA1EN
rw
OA1MODE
rw
OA1
rw
Toggle fields

OA1

Bits 0-9: Interface own slave address.

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own address 1 10-bit mode.

Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address

OA1EN

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

OAR2

I2C own address 2 register

Offset: 0xc, 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
OA2EN
rw
OA2MSK
rw
OA2
rw
Toggle fields

OA2

Bits 1-7: Interface address.

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own address 2 masks.

Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

OA2EN

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

TIMINGR

I2C timing register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESC
rw
SCLDEL
rw
SDADEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH
rw
SCLL
rw
Toggle fields

SCLL

Bits 0-7: SCL low period (master mode).

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode).

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time.

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time.

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler.

Allowed values: 0x0-0xf

TIMEOUTR

I2C timeout register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEXTEN
rw
TIMEOUTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMOUTEN
rw
TIDLE
rw
TIMEOUTA
rw
Toggle fields

TIMEOUTA

Bits 0-11: Bus timeout A.

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection.

Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Bit 15: Clock timeout enable.

Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled

TIMEOUTB

Bits 16-27: Bus timeout B.

Allowed values: 0x0-0xfff

TEXTEN

Bit 31: Extended clock timeout enable.

Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled

ISR

I2C interrupt and status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
r/w1s
TXE
r/w1s
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters).

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

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

RXNE

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

ADDR

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

NACKF

Bit 4: Not acknowledge received flag.

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag.

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer complete (master mode).

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer complete reload.

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error.

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost.

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

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

PECERR

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

TIMEOUT

Bit 12: Timeout or tless thansub>LOWless than/sub> detection flag.

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert.

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

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

DIR

Bit 16: Transfer direction (slave mode).

Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode

ADDCODE

Bits 17-23: Address match code (slave mode).

Allowed values: 0x0-0x7f

ICR

I2C interrupt clear register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALERTCF
w1c
TIMOUTCF
w1c
PECCF
w1c
OVRCF
w1c
ARLOCF
w1c
BERRCF
w1c
STOPCF
w1c
NACKCF
w1c
ADDRCF
w1c
Toggle fields

ADDRCF

Bit 3: Address matched flag clear.

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not acknowledge flag clear.

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: STOP detection flag clear.

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear.

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration lost flag clear.

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/underrun flag clear.

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC error flag clear.

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear.

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear.

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

I2C PEC register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PEC
r
Toggle fields

PEC

Bits 0-7: Packet error checking register.

Allowed values: 0x0-0xff

RXDR

I2C receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: 8-bit receive data.

Allowed values: 0x0-0xff

TXDR

I2C transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: 8-bit transmit data.

Allowed values: 0x0-0xff

I2C1_S

0x50005400: I2C address block description

79/79 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 OAR1
0xc OAR2
0x10 TIMINGR
0x14 TIMEOUTR
0x18 ISR
0x1c ICR
0x20 PECR
0x24 RXDR
0x28 TXDR
Toggle registers

CR1

I2C control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STOPFACLR
rw
ADDRACLR
rw
FMP
rw
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

TXIE

Bit 1: TX interrupt enable.

Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled

RXIE

Bit 2: RX interrupt enable.

Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled

ADDRIE

Bit 3: Address match interrupt enable (slave only).

Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled

NACKIE

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

STOPIE

Bit 5: Stop detection interrupt enable.

Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled

TCIE

Bit 6: Transfer complete interrupt enable.

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable.

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

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

ANFOFF

Bit 12: Analog noise filter OFF.

Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled

TXDMAEN

Bit 14: DMA transmission requests enable.

Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission

RXDMAEN

Bit 15: DMA reception requests enable.

Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception

SBC

Bit 16: Slave byte control.

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable.

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wake-up from Stop mode enable.

Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled

GCEN

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

SMBHEN

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

SMBDEN

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

ALERTEN

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

PECEN

Bit 23: PEC enable.

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

FMP

Bit 24: Fast-mode Plus 20 mA drive enable.

Allowed values:
0: Disabled: 20 mA I/O drive disabled
1: Enabled: 20 mA I/O drive enabled

ADDRACLR

Bit 30: Address match flag (ADDR) automatic clear.

Allowed values:
0: Disabled: ADDR flag is set by hardware, cleared by software
1: Enabled: ADDR flag remains cleared by hardware

STOPFACLR

Bit 31: STOP detection flag (STOPF) automatic clear.

Allowed values:
0: Disabled: STOPF flag is set by hardware, cleared by software
1: Enabled: STOPF flag remains cleared by hardware

CR2

I2C control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
r/w1s
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
r/w1s
STOP
r/w1s
START
r/w1s
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address (master mode).

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode).

Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer

ADD10

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

HEAD10R

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

START

Bit 13: Start generation.

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode).

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

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

NBYTES

Bits 16-23: Number of bytes.

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode.

Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)

AUTOEND

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

PECBYTE

Bit 26: Packet error checking byte.

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

I2C own address 1 register

Offset: 0x8, 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
OA1EN
rw
OA1MODE
rw
OA1
rw
Toggle fields

OA1

Bits 0-9: Interface own slave address.

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own address 1 10-bit mode.

Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address

OA1EN

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

OAR2

I2C own address 2 register

Offset: 0xc, 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
OA2EN
rw
OA2MSK
rw
OA2
rw
Toggle fields

OA2

Bits 1-7: Interface address.

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own address 2 masks.

Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

OA2EN

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

TIMINGR

I2C timing register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESC
rw
SCLDEL
rw
SDADEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH
rw
SCLL
rw
Toggle fields

SCLL

Bits 0-7: SCL low period (master mode).

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode).

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time.

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time.

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler.

Allowed values: 0x0-0xf

TIMEOUTR

I2C timeout register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEXTEN
rw
TIMEOUTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMOUTEN
rw
TIDLE
rw
TIMEOUTA
rw
Toggle fields

TIMEOUTA

Bits 0-11: Bus timeout A.

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection.

Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Bit 15: Clock timeout enable.

Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled

TIMEOUTB

Bits 16-27: Bus timeout B.

Allowed values: 0x0-0xfff

TEXTEN

Bit 31: Extended clock timeout enable.

Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled

ISR

I2C interrupt and status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
r/w1s
TXE
r/w1s
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters).

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

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

RXNE

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

ADDR

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

NACKF

Bit 4: Not acknowledge received flag.

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag.

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer complete (master mode).

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer complete reload.

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error.

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost.

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

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

PECERR

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

TIMEOUT

Bit 12: Timeout or tless thansub>LOWless than/sub> detection flag.

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert.

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

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

DIR

Bit 16: Transfer direction (slave mode).

Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode

ADDCODE

Bits 17-23: Address match code (slave mode).

Allowed values: 0x0-0x7f

ICR

I2C interrupt clear register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALERTCF
w1c
TIMOUTCF
w1c
PECCF
w1c
OVRCF
w1c
ARLOCF
w1c
BERRCF
w1c
STOPCF
w1c
NACKCF
w1c
ADDRCF
w1c
Toggle fields

ADDRCF

Bit 3: Address matched flag clear.

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not acknowledge flag clear.

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: STOP detection flag clear.

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear.

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration lost flag clear.

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/underrun flag clear.

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC error flag clear.

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear.

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear.

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

I2C PEC register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PEC
r
Toggle fields

PEC

Bits 0-7: Packet error checking register.

Allowed values: 0x0-0xff

RXDR

I2C receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: 8-bit receive data.

Allowed values: 0x0-0xff

TXDR

I2C transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: 8-bit transmit data.

Allowed values: 0x0-0xff

I2C2

0x40005800: I2C address block description

79/79 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 OAR1
0xc OAR2
0x10 TIMINGR
0x14 TIMEOUTR
0x18 ISR
0x1c ICR
0x20 PECR
0x24 RXDR
0x28 TXDR
Toggle registers

CR1

I2C control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STOPFACLR
rw
ADDRACLR
rw
FMP
rw
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

TXIE

Bit 1: TX interrupt enable.

Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled

RXIE

Bit 2: RX interrupt enable.

Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled

ADDRIE

Bit 3: Address match interrupt enable (slave only).

Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled

NACKIE

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

STOPIE

Bit 5: Stop detection interrupt enable.

Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled

TCIE

Bit 6: Transfer complete interrupt enable.

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable.

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

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

ANFOFF

Bit 12: Analog noise filter OFF.

Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled

TXDMAEN

Bit 14: DMA transmission requests enable.

Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission

RXDMAEN

Bit 15: DMA reception requests enable.

Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception

SBC

Bit 16: Slave byte control.

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable.

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wake-up from Stop mode enable.

Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled

GCEN

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

SMBHEN

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

SMBDEN

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

ALERTEN

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

PECEN

Bit 23: PEC enable.

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

FMP

Bit 24: Fast-mode Plus 20 mA drive enable.

Allowed values:
0: Disabled: 20 mA I/O drive disabled
1: Enabled: 20 mA I/O drive enabled

ADDRACLR

Bit 30: Address match flag (ADDR) automatic clear.

Allowed values:
0: Disabled: ADDR flag is set by hardware, cleared by software
1: Enabled: ADDR flag remains cleared by hardware

STOPFACLR

Bit 31: STOP detection flag (STOPF) automatic clear.

Allowed values:
0: Disabled: STOPF flag is set by hardware, cleared by software
1: Enabled: STOPF flag remains cleared by hardware

CR2

I2C control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
r/w1s
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
r/w1s
STOP
r/w1s
START
r/w1s
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address (master mode).

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode).

Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer

ADD10

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

HEAD10R

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

START

Bit 13: Start generation.

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode).

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

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

NBYTES

Bits 16-23: Number of bytes.

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode.

Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)

AUTOEND

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

PECBYTE

Bit 26: Packet error checking byte.

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

I2C own address 1 register

Offset: 0x8, 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
OA1EN
rw
OA1MODE
rw
OA1
rw
Toggle fields

OA1

Bits 0-9: Interface own slave address.

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own address 1 10-bit mode.

Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address

OA1EN

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

OAR2

I2C own address 2 register

Offset: 0xc, 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
OA2EN
rw
OA2MSK
rw
OA2
rw
Toggle fields

OA2

Bits 1-7: Interface address.

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own address 2 masks.

Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

OA2EN

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

TIMINGR

I2C timing register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESC
rw
SCLDEL
rw
SDADEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH
rw
SCLL
rw
Toggle fields

SCLL

Bits 0-7: SCL low period (master mode).

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode).

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time.

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time.

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler.

Allowed values: 0x0-0xf

TIMEOUTR

I2C timeout register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEXTEN
rw
TIMEOUTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMOUTEN
rw
TIDLE
rw
TIMEOUTA
rw
Toggle fields

TIMEOUTA

Bits 0-11: Bus timeout A.

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection.

Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Bit 15: Clock timeout enable.

Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled

TIMEOUTB

Bits 16-27: Bus timeout B.

Allowed values: 0x0-0xfff

TEXTEN

Bit 31: Extended clock timeout enable.

Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled

ISR

I2C interrupt and status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
r/w1s
TXE
r/w1s
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters).

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

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

RXNE

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

ADDR

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

NACKF

Bit 4: Not acknowledge received flag.

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag.

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer complete (master mode).

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer complete reload.

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error.

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost.

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

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

PECERR

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

TIMEOUT

Bit 12: Timeout or tless thansub>LOWless than/sub> detection flag.

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert.

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

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

DIR

Bit 16: Transfer direction (slave mode).

Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode

ADDCODE

Bits 17-23: Address match code (slave mode).

Allowed values: 0x0-0x7f

ICR

I2C interrupt clear register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALERTCF
w1c
TIMOUTCF
w1c
PECCF
w1c
OVRCF
w1c
ARLOCF
w1c
BERRCF
w1c
STOPCF
w1c
NACKCF
w1c
ADDRCF
w1c
Toggle fields

ADDRCF

Bit 3: Address matched flag clear.

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not acknowledge flag clear.

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: STOP detection flag clear.

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear.

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration lost flag clear.

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/underrun flag clear.

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC error flag clear.

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear.

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear.

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

I2C PEC register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PEC
r
Toggle fields

PEC

Bits 0-7: Packet error checking register.

Allowed values: 0x0-0xff

RXDR

I2C receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: 8-bit receive data.

Allowed values: 0x0-0xff

TXDR

I2C transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: 8-bit transmit data.

Allowed values: 0x0-0xff

I2C2_S

0x50005800: I2C address block description

79/79 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 OAR1
0xc OAR2
0x10 TIMINGR
0x14 TIMEOUTR
0x18 ISR
0x1c ICR
0x20 PECR
0x24 RXDR
0x28 TXDR
Toggle registers

CR1

I2C control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STOPFACLR
rw
ADDRACLR
rw
FMP
rw
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

TXIE

Bit 1: TX interrupt enable.

Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled

RXIE

Bit 2: RX interrupt enable.

Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled

ADDRIE

Bit 3: Address match interrupt enable (slave only).

Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled

NACKIE

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

STOPIE

Bit 5: Stop detection interrupt enable.

Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled

TCIE

Bit 6: Transfer complete interrupt enable.

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable.

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

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

ANFOFF

Bit 12: Analog noise filter OFF.

Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled

TXDMAEN

Bit 14: DMA transmission requests enable.

Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission

RXDMAEN

Bit 15: DMA reception requests enable.

Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception

SBC

Bit 16: Slave byte control.

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable.

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wake-up from Stop mode enable.

Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled

GCEN

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

SMBHEN

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

SMBDEN

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

ALERTEN

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

PECEN

Bit 23: PEC enable.

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

FMP

Bit 24: Fast-mode Plus 20 mA drive enable.

Allowed values:
0: Disabled: 20 mA I/O drive disabled
1: Enabled: 20 mA I/O drive enabled

ADDRACLR

Bit 30: Address match flag (ADDR) automatic clear.

Allowed values:
0: Disabled: ADDR flag is set by hardware, cleared by software
1: Enabled: ADDR flag remains cleared by hardware

STOPFACLR

Bit 31: STOP detection flag (STOPF) automatic clear.

Allowed values:
0: Disabled: STOPF flag is set by hardware, cleared by software
1: Enabled: STOPF flag remains cleared by hardware

CR2

I2C control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
r/w1s
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
r/w1s
STOP
r/w1s
START
r/w1s
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address (master mode).

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode).

Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer

ADD10

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

HEAD10R

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

START

Bit 13: Start generation.

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode).

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

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

NBYTES

Bits 16-23: Number of bytes.

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode.

Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)

AUTOEND

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

PECBYTE

Bit 26: Packet error checking byte.

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

I2C own address 1 register

Offset: 0x8, 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
OA1EN
rw
OA1MODE
rw
OA1
rw
Toggle fields

OA1

Bits 0-9: Interface own slave address.

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own address 1 10-bit mode.

Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address

OA1EN

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

OAR2

I2C own address 2 register

Offset: 0xc, 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
OA2EN
rw
OA2MSK
rw
OA2
rw
Toggle fields

OA2

Bits 1-7: Interface address.

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own address 2 masks.

Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

OA2EN

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

TIMINGR

I2C timing register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESC
rw
SCLDEL
rw
SDADEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH
rw
SCLL
rw
Toggle fields

SCLL

Bits 0-7: SCL low period (master mode).

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode).

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time.

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time.

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler.

Allowed values: 0x0-0xf

TIMEOUTR

I2C timeout register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEXTEN
rw
TIMEOUTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMOUTEN
rw
TIDLE
rw
TIMEOUTA
rw
Toggle fields

TIMEOUTA

Bits 0-11: Bus timeout A.

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection.

Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Bit 15: Clock timeout enable.

Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled

TIMEOUTB

Bits 16-27: Bus timeout B.

Allowed values: 0x0-0xfff

TEXTEN

Bit 31: Extended clock timeout enable.

Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled

ISR

I2C interrupt and status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
r/w1s
TXE
r/w1s
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters).

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

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

RXNE

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

ADDR

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

NACKF

Bit 4: Not acknowledge received flag.

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag.

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer complete (master mode).

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer complete reload.

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error.

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost.

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

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

PECERR

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

TIMEOUT

Bit 12: Timeout or tless thansub>LOWless than/sub> detection flag.

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert.

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

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

DIR

Bit 16: Transfer direction (slave mode).

Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode

ADDCODE

Bits 17-23: Address match code (slave mode).

Allowed values: 0x0-0x7f

ICR

I2C interrupt clear register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALERTCF
w1c
TIMOUTCF
w1c
PECCF
w1c
OVRCF
w1c
ARLOCF
w1c
BERRCF
w1c
STOPCF
w1c
NACKCF
w1c
ADDRCF
w1c
Toggle fields

ADDRCF

Bit 3: Address matched flag clear.

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not acknowledge flag clear.

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: STOP detection flag clear.

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear.

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration lost flag clear.

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/underrun flag clear.

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC error flag clear.

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear.

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear.

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

I2C PEC register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PEC
r
Toggle fields

PEC

Bits 0-7: Packet error checking register.

Allowed values: 0x0-0xff

RXDR

I2C receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: 8-bit receive data.

Allowed values: 0x0-0xff

TXDR

I2C transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: 8-bit transmit data.

Allowed values: 0x0-0xff

I2C3

0x44002800: I2C address block description

79/79 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 OAR1
0xc OAR2
0x10 TIMINGR
0x14 TIMEOUTR
0x18 ISR
0x1c ICR
0x20 PECR
0x24 RXDR
0x28 TXDR
Toggle registers

CR1

I2C control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STOPFACLR
rw
ADDRACLR
rw
FMP
rw
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

TXIE

Bit 1: TX interrupt enable.

Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled

RXIE

Bit 2: RX interrupt enable.

Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled

ADDRIE

Bit 3: Address match interrupt enable (slave only).

Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled

NACKIE

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

STOPIE

Bit 5: Stop detection interrupt enable.

Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled

TCIE

Bit 6: Transfer complete interrupt enable.

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable.

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

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

ANFOFF

Bit 12: Analog noise filter OFF.

Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled

TXDMAEN

Bit 14: DMA transmission requests enable.

Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission

RXDMAEN

Bit 15: DMA reception requests enable.

Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception

SBC

Bit 16: Slave byte control.

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable.

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wake-up from Stop mode enable.

Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled

GCEN

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

SMBHEN

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

SMBDEN

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

ALERTEN

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

PECEN

Bit 23: PEC enable.

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

FMP

Bit 24: Fast-mode Plus 20 mA drive enable.

Allowed values:
0: Disabled: 20 mA I/O drive disabled
1: Enabled: 20 mA I/O drive enabled

ADDRACLR

Bit 30: Address match flag (ADDR) automatic clear.

Allowed values:
0: Disabled: ADDR flag is set by hardware, cleared by software
1: Enabled: ADDR flag remains cleared by hardware

STOPFACLR

Bit 31: STOP detection flag (STOPF) automatic clear.

Allowed values:
0: Disabled: STOPF flag is set by hardware, cleared by software
1: Enabled: STOPF flag remains cleared by hardware

CR2

I2C control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
r/w1s
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
r/w1s
STOP
r/w1s
START
r/w1s
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address (master mode).

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode).

Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer

ADD10

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

HEAD10R

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

START

Bit 13: Start generation.

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode).

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

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

NBYTES

Bits 16-23: Number of bytes.

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode.

Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)

AUTOEND

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

PECBYTE

Bit 26: Packet error checking byte.

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

I2C own address 1 register

Offset: 0x8, 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
OA1EN
rw
OA1MODE
rw
OA1
rw
Toggle fields

OA1

Bits 0-9: Interface own slave address.

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own address 1 10-bit mode.

Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address

OA1EN

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

OAR2

I2C own address 2 register

Offset: 0xc, 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
OA2EN
rw
OA2MSK
rw
OA2
rw
Toggle fields

OA2

Bits 1-7: Interface address.

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own address 2 masks.

Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

OA2EN

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

TIMINGR

I2C timing register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESC
rw
SCLDEL
rw
SDADEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH
rw
SCLL
rw
Toggle fields

SCLL

Bits 0-7: SCL low period (master mode).

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode).

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time.

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time.

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler.

Allowed values: 0x0-0xf

TIMEOUTR

I2C timeout register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEXTEN
rw
TIMEOUTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMOUTEN
rw
TIDLE
rw
TIMEOUTA
rw
Toggle fields

TIMEOUTA

Bits 0-11: Bus timeout A.

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection.

Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Bit 15: Clock timeout enable.

Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled

TIMEOUTB

Bits 16-27: Bus timeout B.

Allowed values: 0x0-0xfff

TEXTEN

Bit 31: Extended clock timeout enable.

Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled

ISR

I2C interrupt and status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
r/w1s
TXE
r/w1s
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters).

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

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

RXNE

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

ADDR

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

NACKF

Bit 4: Not acknowledge received flag.

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag.

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer complete (master mode).

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer complete reload.

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error.

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost.

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

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

PECERR

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

TIMEOUT

Bit 12: Timeout or tless thansub>LOWless than/sub> detection flag.

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert.

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

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

DIR

Bit 16: Transfer direction (slave mode).

Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode

ADDCODE

Bits 17-23: Address match code (slave mode).

Allowed values: 0x0-0x7f

ICR

I2C interrupt clear register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALERTCF
w1c
TIMOUTCF
w1c
PECCF
w1c
OVRCF
w1c
ARLOCF
w1c
BERRCF
w1c
STOPCF
w1c
NACKCF
w1c
ADDRCF
w1c
Toggle fields

ADDRCF

Bit 3: Address matched flag clear.

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not acknowledge flag clear.

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: STOP detection flag clear.

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear.

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration lost flag clear.

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/underrun flag clear.

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC error flag clear.

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear.

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear.

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

I2C PEC register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PEC
r
Toggle fields

PEC

Bits 0-7: Packet error checking register.

Allowed values: 0x0-0xff

RXDR

I2C receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: 8-bit receive data.

Allowed values: 0x0-0xff

TXDR

I2C transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: 8-bit transmit data.

Allowed values: 0x0-0xff

I2C3_S

0x54002800: I2C address block description

79/79 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 OAR1
0xc OAR2
0x10 TIMINGR
0x14 TIMEOUTR
0x18 ISR
0x1c ICR
0x20 PECR
0x24 RXDR
0x28 TXDR
Toggle registers

CR1

I2C control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STOPFACLR
rw
ADDRACLR
rw
FMP
rw
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

TXIE

Bit 1: TX interrupt enable.

Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled

RXIE

Bit 2: RX interrupt enable.

Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled

ADDRIE

Bit 3: Address match interrupt enable (slave only).

Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled

NACKIE

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

STOPIE

Bit 5: Stop detection interrupt enable.

Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled

TCIE

Bit 6: Transfer complete interrupt enable.

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable.

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

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

ANFOFF

Bit 12: Analog noise filter OFF.

Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled

TXDMAEN

Bit 14: DMA transmission requests enable.

Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission

RXDMAEN

Bit 15: DMA reception requests enable.

Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception

SBC

Bit 16: Slave byte control.

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable.

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wake-up from Stop mode enable.

Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled

GCEN

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

SMBHEN

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

SMBDEN

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

ALERTEN

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

PECEN

Bit 23: PEC enable.

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

FMP

Bit 24: Fast-mode Plus 20 mA drive enable.

Allowed values:
0: Disabled: 20 mA I/O drive disabled
1: Enabled: 20 mA I/O drive enabled

ADDRACLR

Bit 30: Address match flag (ADDR) automatic clear.

Allowed values:
0: Disabled: ADDR flag is set by hardware, cleared by software
1: Enabled: ADDR flag remains cleared by hardware

STOPFACLR

Bit 31: STOP detection flag (STOPF) automatic clear.

Allowed values:
0: Disabled: STOPF flag is set by hardware, cleared by software
1: Enabled: STOPF flag remains cleared by hardware

CR2

I2C control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
r/w1s
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
r/w1s
STOP
r/w1s
START
r/w1s
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address (master mode).

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode).

Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer

ADD10

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

HEAD10R

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

START

Bit 13: Start generation.

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode).

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

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

NBYTES

Bits 16-23: Number of bytes.

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode.

Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)

AUTOEND

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

PECBYTE

Bit 26: Packet error checking byte.

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

I2C own address 1 register

Offset: 0x8, 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
OA1EN
rw
OA1MODE
rw
OA1
rw
Toggle fields

OA1

Bits 0-9: Interface own slave address.

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own address 1 10-bit mode.

Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address

OA1EN

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

OAR2

I2C own address 2 register

Offset: 0xc, 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
OA2EN
rw
OA2MSK
rw
OA2
rw
Toggle fields

OA2

Bits 1-7: Interface address.

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own address 2 masks.

Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

OA2EN

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

TIMINGR

I2C timing register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESC
rw
SCLDEL
rw
SDADEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH
rw
SCLL
rw
Toggle fields

SCLL

Bits 0-7: SCL low period (master mode).

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode).

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time.

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time.

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler.

Allowed values: 0x0-0xf

TIMEOUTR

I2C timeout register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEXTEN
rw
TIMEOUTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMOUTEN
rw
TIDLE
rw
TIMEOUTA
rw
Toggle fields

TIMEOUTA

Bits 0-11: Bus timeout A.

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection.

Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Bit 15: Clock timeout enable.

Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled

TIMEOUTB

Bits 16-27: Bus timeout B.

Allowed values: 0x0-0xfff

TEXTEN

Bit 31: Extended clock timeout enable.

Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled

ISR

I2C interrupt and status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
r/w1s
TXE
r/w1s
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters).

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

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

RXNE

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

ADDR

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

NACKF

Bit 4: Not acknowledge received flag.

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag.

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer complete (master mode).

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer complete reload.

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error.

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost.

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

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

PECERR

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

TIMEOUT

Bit 12: Timeout or tless thansub>LOWless than/sub> detection flag.

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert.

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

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

DIR

Bit 16: Transfer direction (slave mode).

Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode

ADDCODE

Bits 17-23: Address match code (slave mode).

Allowed values: 0x0-0x7f

ICR

I2C interrupt clear register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALERTCF
w1c
TIMOUTCF
w1c
PECCF
w1c
OVRCF
w1c
ARLOCF
w1c
BERRCF
w1c
STOPCF
w1c
NACKCF
w1c
ADDRCF
w1c
Toggle fields

ADDRCF

Bit 3: Address matched flag clear.

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not acknowledge flag clear.

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: STOP detection flag clear.

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear.

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration lost flag clear.

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/underrun flag clear.

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC error flag clear.

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear.

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear.

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

I2C PEC register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PEC
r
Toggle fields

PEC

Bits 0-7: Packet error checking register.

Allowed values: 0x0-0xff

RXDR

I2C receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: 8-bit receive data.

Allowed values: 0x0-0xff

TXDR

I2C transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: 8-bit transmit data.

Allowed values: 0x0-0xff

I3C1

0x40005c00: I3C register block

79/191 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x0 CR_ALTERNATE1
0x4 CFGR
0x10 RDR
0x14 RDWR
0x18 TDR
0x1c TDWR
0x20 IBIDR
0x24 TGTTDR
0x30 SR
0x34 SER
0x40 RMR
0x50 EVR
0x54 IER
0x58 CEVR
0x60 DEVR0
0x64 DEVR1
0x68 DEVR2
0x6c DEVR3
0x70 DEVR4
0x90 MAXRLR
0x94 MAXWLR
0xa0 TIMINGR0
0xa4 TIMINGR1
0xa8 TIMINGR2
0xc0 BCR
0xc4 DCR
0xc8 GETCAPR
0xcc CRCAPR
0xd0 GETMXDSR
0xd4 EPIDR
Toggle registers

CR

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
ADD
w
RNW
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of data to transfer during a read or write message, in bytes (whatever I3C acts as controller/target).

RNW

Bit 16: Read / non-write message (when I3C acts as controller).

ADD

Bits 17-23: 7-bit I3C dynamic / Iless thansup>2less than/sup>C static target address (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (whatever I3C acts as controller/target).

MEND

Bit 31: Message end type/last message of a frame (when the I3C acts as controller).

CR_ALTERNATE1

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
CCC
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of related data to the CCC command to transfer as CCC defining bytes, or CCC sub-command bytes, or CCC data bytes, in bytes.

CCC

Bits 16-23: 8-bit CCC code (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (when I3C acts as controller).

MEND

Bit 31: Message end type/last message of a frame (when I3C acts as controller).

CFGR

I3C configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSFSET
w
CFLUSH
w
CDMAEN
rw
TMODE
rw
SMODE
rw
SFLUSH
w
SDMAEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTHRES
rw
TXFLUSH
w
TXDMAEN
rw
RXTHRES
rw
RXFLUSH
w
RXDMAEN
rw
HJACK
rw
HKSDAEN
rw
EXITPTRN
rw
RSTPTRN
rw
NOARBH
rw
CRINIT
rw
EN
rw
Toggle fields

EN

Bit 0: I3C enable (whatever I3C acts as controller/target).

CRINIT

Bit 1: Initial controller/target role.

NOARBH

Bit 2: No arbitrable header after a start (when I3C acts as a controller).

RSTPTRN

Bit 3: HDR reset pattern enable (when I3C acts as a controller).

EXITPTRN

Bit 4: HDR exit pattern enable (when I3C acts as a controller).

HKSDAEN

Bit 5: High-keeper enable on SDA line (when I3C acts as a controller).

HJACK

Bit 7: Hot-join request acknowledge (when I3C acts as a controller).

RXDMAEN

Bit 8: RX-FIFO DMA request enable (whatever I3C acts as controller/target).

RXFLUSH

Bit 9: RX-FIFO flush (whatever I3C acts as controller/target).

RXTHRES

Bit 10: RX-FIFO threshold (whatever I3C acts as controller/target).

TXDMAEN

Bit 12: TX-FIFO DMA request enable (whatever I3C acts as controller/target).

TXFLUSH

Bit 13: TX-FIFO flush (whatever I3C acts as controller/target).

TXTHRES

Bit 14: TX-FIFO threshold (whatever I3C acts as controller/target).

SDMAEN

Bit 16: S-FIFO DMA request enable (when I3C acts as controller).

SFLUSH

Bit 17: S-FIFO flush (when I3C acts as controller).

SMODE

Bit 18: S-FIFO enable / status receive mode (when I3C acts as controller).

TMODE

Bit 19: Transmit mode (when I3C acts as controller).

CDMAEN

Bit 20: C-FIFO DMA request enable (when I3C acts as controller).

CFLUSH

Bit 21: C-FIFO flush (when I3C acts as controller).

TSFSET

Bit 30: Frame transfer set (software trigger) (when I3C acts as controller).

RDR

I3C receive data byte register

Offset: 0x10, 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
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data on I3C bus..

RDWR

I3C receive data word register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDB3
r
RDB2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDB1
r
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data (earliest byte on I3C bus)..

RDB1

Bits 8-15: 8-bit received data (next byte after RDB0 on I3C bus)..

RDB2

Bits 16-23: 8-bit received data (next byte after RDB1 on I3C bus)..

RDB3

Bits 24-31: 8-bit received data (latest byte on I3C bus)..

TDR

I3C transmit data byte 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
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit data to transmit on I3C bus..

TDWR

I3C transmit data word register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDB3
w
TDB2
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDB1
w
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit transmit data (earliest byte on I3C bus).

TDB1

Bits 8-15: 8-bit transmit data (next byte after TDB0[7:0] on I3C bus)..

TDB2

Bits 16-23: 8-bit transmit data (next byte after TDB1[7:0] on I3C bus)..

TDB3

Bits 24-31: 8-bit transmit data (latest byte on I3C bus)..

IBIDR

I3C IBI payload data register

Offset: 0x20, 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
IBIDB3
rw
IBIDB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IBIDB1
rw
IBIDB0
rw
Toggle fields

IBIDB0

Bits 0-7: 8-bit IBI payload data (earliest byte on I3C bus, MDB[7:0] mandatory data byte)..

IBIDB1

Bits 8-15: 8-bit IBI payload data (next byte on I3C bus after IBIDB0[7:0])..

IBIDB2

Bits 16-23: 8-bit IBI payload data (next byte on I3C bus after IBIDB1[7:0])..

IBIDB3

Bits 24-31: 8-bit IBI payload data (latest byte on I3C bus)..

TGTTDR

I3C target transmit configuration register

Offset: 0x24, 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
PRELOAD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TGTTDCNT
rw
Toggle fields

TGTTDCNT

Bits 0-15: Transmit data counter, in bytes (when I3C is configured as target).

PRELOAD

Bit 16: Preload of the TX-FIFO (when I3C is configured as target).

SR

I3C status register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MID
r
DIR
r
ABT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XDCNT
r
Toggle fields

XDCNT

Bits 0-15: Data counter.

ABT

Bit 17: A private read message is ended prematurely by the target (when the I3C acts as controller).

DIR

Bit 18: Message direction.

MID

Bits 24-31: Message identifier/counter of a given frame (when the I3C acts as controller).

SER

I3C status error register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DERR
r
DNACK
r
ANACK
r
COVR
r
DOVR
r
STALL
r
PERR
r
CODERR
r
Toggle fields

CODERR

Bits 0-3: Protocol error code/type.

PERR

Bit 4: Protocol error.

STALL

Bit 5: SCL stall error (when the I3C acts as target).

DOVR

Bit 6: RX-FIFO overrun or TX-FIFO underrun.

COVR

Bit 7: C-FIFO underrun or S-FIFO overrun (when the I3C acts as controller).

ANACK

Bit 8: Address not acknowledged (when the I3C is configured as controller).

DNACK

Bit 9: Data not acknowledged (when the I3C acts as controller).

DERR

Bit 10: Data error (when the I3C acts as controller).

RMR

I3C received message register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCODE
r
IBIRDCNT
r
Toggle fields

IBIRDCNT

Bits 0-2: IBI received payload data count (when the I3C is configured as controller).

RCODE

Bits 8-15: Received CCC code (when the I3C is configured as target).

RADD

Bits 17-23: Received target address (when the I3C is configured as controller).

EVR

I3C event register

Offset: 0x50, size: 32, reset: 0x00000003, access: read-only

27/27 fields covered.

Toggle fields

CFEF

Bit 0: C-FIFO empty flag (whatever the I3C acts as controller).

TXFEF

Bit 1: TX-FIFO empty flag (whatever the I3C acts as controller/target).

CFNFF

Bit 2: C-FIFO not full flag (when the I3C acts as controller).

SFNEF

Bit 3: S-FIFO not empty flag (when the I3C acts as controller).

TXFNFF

Bit 4: TX-FIFO not full flag (whatever the I3C acts as controller/target).

RXFNEF

Bit 5: RX-FIFO not empty flag (whatever the I3C acts as controller/target).

TXLASTF

Bit 6: Last written data byte/word flag (whatever the I3C acts as controller/target).

RXLASTF

Bit 7: Last read data byte/word flag (when the I3C acts as controller).

FCF

Bit 9: Frame complete flag (whatever the I3C acts as controller/target).

RXTGTENDF

Bit 10: Target-initiated read end flag (when the I3C acts as controller).

ERRF

Bit 11: Flag (whatever the I3C acts as controller/target).

IBIF

Bit 15: IBI flag (when the I3C acts as controller).

IBIENDF

Bit 16: IBI end flag (when the I3C acts as target).

CRF

Bit 17: Controller-role request flag (when the I3C acts as controller).

CRUPDF

Bit 18: Controller-role update flag (when the I3C acts as target).

HJF

Bit 19: Hot-join flag (when the I3C acts as controller).

WKPF

Bit 21: Wake-up/missed start flag (when the I3C acts as target).

GETF

Bit 22: Get flag (when the I3C acts as target).

STAF

Bit 23: Get status flag (when the I3C acts as target).

DAUPDF

Bit 24: Dynamic address update flag (when the I3C acts as target).

MWLUPDF

Bit 25: Maximum write length update flag (when the I3C acts as target).

MRLUPDF

Bit 26: Maximum read length update flag (when the I3C acts as target).

RSTF

Bit 27: Reset pattern flag (when the I3C acts as target).

ASUPDF

Bit 28: Activity state update flag (when the I3C acts as target).

INTUPDF

Bit 29: Interrupt/controller-role/hot-join update flag (when the I3C acts as target).

DEFF

Bit 30: DEFTGTS flag (when the I3C acts as target).

GRPF

Bit 31: Group addressing flag (when the I3C acts as target).

IER

I3C interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

23/23 fields covered.

Toggle fields

CFNFIE

Bit 2: C-FIFO not full interrupt enable when the I3C acts as controller.

SFNEIE

Bit 3: S-FIFO not empty interrupt enable when the I3C acts as controller.

TXFNFIE

Bit 4: TX-FIFO not full interrupt enable (whatever the I3C acts as controller/target).

RXFNEIE

Bit 5: RX-FIFO not empty interrupt enable (whatever the I3C acts as controller/target).

FCIE

Bit 9: frame complete interrupt enable (whatever the I3C acts as controller/target).

RXTGTENDIE

Bit 10: target-initiated read end interrupt enable (when the I3C acts as controller).

ERRIE

Bit 11: error interrupt enable (whatever the I3C acts as controller/target).

IBIIE

Bit 15: IBI request interrupt enable (when the I3C acts as controller).

IBIENDIE

Bit 16: IBI end interrupt enable (when the I3C acts as target).

CRIE

Bit 17: Controller-role request interrupt enable (when the I3C acts as controller).

CRUPDIE

Bit 18: Controller-role update interrupt enable (when the I3C acts as target).

HJIE

Bit 19: Hot-join interrupt enable (when the I3C acts as controller).

WKPIE

Bit 21: Wake-up interrupt enable (when the I3C acts as target).

GETIE

Bit 22: GETxxx CCC interrupt enable (except GETSTATUS of format 1) (when the I3C acts as target).

STAIE

Bit 23: format 1 GETSTATUS CCC interrupt enable (when the I3C acts as target).

DAUPDIE

Bit 24: ENTDAA/RSTDAA/SETNEWDA CCC interrupt enable (when the I3C acts as target).

MWLUPDIE

Bit 25: SETMWL CCC interrupt enable (when the I3C acts as target).

MRLUPDIE

Bit 26: SETMRL CCC interrupt enable (when the I3C acts as target).

RSTIE

Bit 27: reset pattern interrupt enable (when the I3C acts as target).

ASUPDIE

Bit 28: ENTASx CCC interrupt enable (when the I3C acts as target).

INTUPDIE

Bit 29: ENEC/DISEC CCC interrupt enable (when the I3C acts as target).

DEFIE

Bit 30: DEFTGTS CCC interrupt enable (when the I3C acts as target).

GRPIE

Bit 31: DEFGRPA CCC interrupt enable (when the I3C acts as target).

CEVR

I3C clear event register

Offset: 0x58, size: 32, reset: 0x00000000, access: write-only

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CGRPF
w
CDEFF
w
CINTUPDF
w
CASUPDF
w
CRSTF
w
CMRLUPDF
w
CMWLUPDF
w
CDAUPDF
w
CSTAF
w
CGETF
w
CWKPF
w
CHJF
w
CCRUPDF
w
CCRF
w
CIBIENDF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIBIF
w
CERRF
w
CRXTGTENDF
w
CFCF
w
Toggle fields

CFCF

Bit 9: Clear frame complete flag (whatever the I3C acts as controller/target).

CRXTGTENDF

Bit 10: Clear target-initiated read end flag (when the I3C acts as controller).

CERRF

Bit 11: Clear error flag (whatever the I3C acts as controller/target).

CIBIF

Bit 15: Clear IBI request flag (when the I3C acts as controller).

CIBIENDF

Bit 16: Clear IBI end flag (when the I3C acts as target).

CCRF

Bit 17: Clear controller-role request flag (when the I3C acts as controller).

CCRUPDF

Bit 18: Clear controller-role update flag (when the I3C acts as target).

CHJF

Bit 19: Clear hot-join flag (when the I3C acts as controller).

CWKPF

Bit 21: Clear wake-up flag (when the I3C acts as target).

CGETF

Bit 22: Clear GETxxx CCC flag (except GETSTATUS of format 1) (when the I3C acts as target).

CSTAF

Bit 23: Clear format 1 GETSTATUS CCC flag (when the I3C acts as target).

CDAUPDF

Bit 24: Clear ENTDAA/RSTDAA/SETNEWDA CCC flag (when the I3C acts as target).

CMWLUPDF

Bit 25: Clear SETMWL CCC flag (when the I3C acts as target).

CMRLUPDF

Bit 26: Clear SETMRL CCC flag (when the I3C acts as target).

CRSTF

Bit 27: Clear reset pattern flag (when the I3C acts as target).

CASUPDF

Bit 28: Clear ENTASx CCC flag (when the I3C acts as target).

CINTUPDF

Bit 29: Clear ENEC/DISEC CCC flag (when the I3C acts as target).

CDEFF

Bit 30: Clear DEFTGTS CCC flag (when the I3C acts as target).

CGRPF

Bit 31: Clear DEFGRPA CCC flag (when the I3C acts as target).

DEVR0

I3C own device characteristics register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSTVAL
r
RSTACT
r
AS
r
HJEN
rw
CREN
rw
IBIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
DAVAL
rw
Toggle fields

DAVAL

Bit 0: Dynamic address is valid (when the I3C acts as target).

DA

Bits 1-7: 7-bit dynamic address.

IBIEN

Bit 16: IBI request enable (when the I3C acts as target).

CREN

Bit 17: Controller-role request enable (when the I3C acts as target).

HJEN

Bit 19: Hot-join request enable (when the I3C acts as target).

AS

Bits 20-21: Activity state (when the I3C acts as target).

RSTACT

Bits 22-23: Reset action/level on received reset pattern (when the I3C acts as target).

RSTVAL

Bit 24: Reset action is valid (when the I3C acts as target).

DEVR1

I3C device 1 characteristics register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR2

I3C device 2 characteristics register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR3

I3C device 3 characteristics register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR4

I3C device 4 characteristics register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

MAXRLR

I3C maximum read length register

Offset: 0x90, 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
IBIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRL
rw
Toggle fields

MRL

Bits 0-15: Maximum data read length (when I3C acts as target).

IBIP

Bits 16-18: IBI payload data maximum size, in bytes (when I3C acts as target).

MAXWLR

I3C maximum write length register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MWL
rw
Toggle fields

MWL

Bits 0-15: Maximum data write length (when I3C acts as target).

TIMINGR0

I3C timing register 0

Offset: 0xa0, 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
SCLH_I2C
rw
SCLL_OD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH_I3C
rw
SCLL_PP
rw
Toggle fields

SCLL_PP

Bits 0-7: SCL low duration in I3C push-pull phases, in number of kernel clocks cycles:.

SCLH_I3C

Bits 8-15: SCL high duration, used for I3C messages (both in push-pull and open-drain phases), in number of kernel clocks cycles:.

SCLL_OD

Bits 16-23: SCL low duration in open-drain phases, used for legacy Iless thansup>2less than/sup>C messages and for I3C open-drain phases (address phase following a start, ACK phase during controller-initiated messages, and T bit phase during direct/private/IBI payload), in number of kernel clocks cycles:.

SCLH_I2C

Bits 24-31: SCL high duration, used for legacy Iless thansup>2less than/sup>C messages, in number of kernel clocks cycles:.

TIMINGR1

I3C timing register 1

Offset: 0xa4, 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
SDA_HD
rw
FREE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASNCR
rw
AVAL
rw
Toggle fields

AVAL

Bits 0-7: Number of kernel clock cycles to set a time unit of 1 s, whatever I3C acts as controller or target..

ASNCR

Bits 8-9: Activity state of the new controller (when I3C acts as active controller).

FREE

Bits 16-22: Number of kernel clocks cycles that is used to set some MIPI timings like bus free condition time (when the I3C acts as controller).

SDA_HD

Bit 28: SDA hold time (when the I3C acts as controller), in number of kernel clocks cycles (refer to MIPI timing SDA hold time in push-pull tless thansub>HD_PPless than/sub>):.

TIMINGR2

I3C timing register 2

Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STALL
rw
STALLA
rw
STALLC
rw
STALLD
rw
STALLT
rw
Toggle fields

STALLT

Bit 0: Controller clock stall enable on T-bit phase of data (and on the ACK/NACK phase of data byte of a legacy Iless thansup>2less than/sup>C read).

STALLD

Bit 1: Controller clock stall enable on PAR phase of Data.

STALLC

Bit 2: Controller clock stall enable on PAR phase of CCC.

STALLA

Bit 3: Controller clock stall enable on ACK phase.

STALL

Bits 8-15: Controller clock stall time, in number of kernel clock cycles.

BCR

I3C bus characteristics register

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCR6
rw
BCR2
rw
BCR0
rw
Toggle fields

BCR0

Bit 0: max data speed limitation.

BCR2

Bit 2: in-band interrupt (IBI) payload.

BCR6

Bit 6: Controller capable.

DCR

I3C device characteristics register

Offset: 0xc4, 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
DCR
rw
Toggle fields

DCR

Bits 0-7: device characteristics ID.

GETCAPR

I3C get capability register

Offset: 0xc8, 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
CAPPEND
rw
Toggle fields

CAPPEND

Bit 14: IBI MDB support for pending read notification.

CRCAPR

I3C controller-role capability register

Offset: 0xcc, 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
CAPGRP
rw
CAPDHOFF
rw
Toggle fields

CAPDHOFF

Bit 3: delayed controller-role hand-off.

CAPGRP

Bit 9: group management support (when acting as controller).

GETMXDSR

I3C get max data speed register

Offset: 0xd0, 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
TSCO
rw
RDTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMT
rw
HOFFAS
rw
Toggle fields

HOFFAS

Bits 0-1: Controller hand-off activity state.

FMT

Bits 8-9: GETMXDS CCC format.

RDTURN

Bits 16-23: programmed byte of the 3-byte MaxRdTurn (maximum read turnaround byte).

TSCO

Bit 24: clock-to-data turnaround time (tless thansub>SCOless than/sub>).

EPIDR

I3C extended provisioned ID register

Offset: 0xd4, size: 32, reset: 0x02080000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MIPIMID
r
IDTSEL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIPIID
rw
Toggle fields

MIPIID

Bits 12-15: 4-bit MIPI Instance ID.

IDTSEL

Bit 16: provisioned ID type selector.

MIPIMID

Bits 17-31: 15-bit MIPI manufacturer ID.

I3C1_S

0x50005c00: I3C register block

79/191 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x0 CR_ALTERNATE1
0x4 CFGR
0x10 RDR
0x14 RDWR
0x18 TDR
0x1c TDWR
0x20 IBIDR
0x24 TGTTDR
0x30 SR
0x34 SER
0x40 RMR
0x50 EVR
0x54 IER
0x58 CEVR
0x60 DEVR0
0x64 DEVR1
0x68 DEVR2
0x6c DEVR3
0x70 DEVR4
0x90 MAXRLR
0x94 MAXWLR
0xa0 TIMINGR0
0xa4 TIMINGR1
0xa8 TIMINGR2
0xc0 BCR
0xc4 DCR
0xc8 GETCAPR
0xcc CRCAPR
0xd0 GETMXDSR
0xd4 EPIDR
Toggle registers

CR

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
ADD
w
RNW
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of data to transfer during a read or write message, in bytes (whatever I3C acts as controller/target).

RNW

Bit 16: Read / non-write message (when I3C acts as controller).

ADD

Bits 17-23: 7-bit I3C dynamic / Iless thansup>2less than/sup>C static target address (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (whatever I3C acts as controller/target).

MEND

Bit 31: Message end type/last message of a frame (when the I3C acts as controller).

CR_ALTERNATE1

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
CCC
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of related data to the CCC command to transfer as CCC defining bytes, or CCC sub-command bytes, or CCC data bytes, in bytes.

CCC

Bits 16-23: 8-bit CCC code (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (when I3C acts as controller).

MEND

Bit 31: Message end type/last message of a frame (when I3C acts as controller).

CFGR

I3C configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSFSET
w
CFLUSH
w
CDMAEN
rw
TMODE
rw
SMODE
rw
SFLUSH
w
SDMAEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTHRES
rw
TXFLUSH
w
TXDMAEN
rw
RXTHRES
rw
RXFLUSH
w
RXDMAEN
rw
HJACK
rw
HKSDAEN
rw
EXITPTRN
rw
RSTPTRN
rw
NOARBH
rw
CRINIT
rw
EN
rw
Toggle fields

EN

Bit 0: I3C enable (whatever I3C acts as controller/target).

CRINIT

Bit 1: Initial controller/target role.

NOARBH

Bit 2: No arbitrable header after a start (when I3C acts as a controller).

RSTPTRN

Bit 3: HDR reset pattern enable (when I3C acts as a controller).

EXITPTRN

Bit 4: HDR exit pattern enable (when I3C acts as a controller).

HKSDAEN

Bit 5: High-keeper enable on SDA line (when I3C acts as a controller).

HJACK

Bit 7: Hot-join request acknowledge (when I3C acts as a controller).

RXDMAEN

Bit 8: RX-FIFO DMA request enable (whatever I3C acts as controller/target).

RXFLUSH

Bit 9: RX-FIFO flush (whatever I3C acts as controller/target).

RXTHRES

Bit 10: RX-FIFO threshold (whatever I3C acts as controller/target).

TXDMAEN

Bit 12: TX-FIFO DMA request enable (whatever I3C acts as controller/target).

TXFLUSH

Bit 13: TX-FIFO flush (whatever I3C acts as controller/target).

TXTHRES

Bit 14: TX-FIFO threshold (whatever I3C acts as controller/target).

SDMAEN

Bit 16: S-FIFO DMA request enable (when I3C acts as controller).

SFLUSH

Bit 17: S-FIFO flush (when I3C acts as controller).

SMODE

Bit 18: S-FIFO enable / status receive mode (when I3C acts as controller).

TMODE

Bit 19: Transmit mode (when I3C acts as controller).

CDMAEN

Bit 20: C-FIFO DMA request enable (when I3C acts as controller).

CFLUSH

Bit 21: C-FIFO flush (when I3C acts as controller).

TSFSET

Bit 30: Frame transfer set (software trigger) (when I3C acts as controller).

RDR

I3C receive data byte register

Offset: 0x10, 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
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data on I3C bus..

RDWR

I3C receive data word register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDB3
r
RDB2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDB1
r
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data (earliest byte on I3C bus)..

RDB1

Bits 8-15: 8-bit received data (next byte after RDB0 on I3C bus)..

RDB2

Bits 16-23: 8-bit received data (next byte after RDB1 on I3C bus)..

RDB3

Bits 24-31: 8-bit received data (latest byte on I3C bus)..

TDR

I3C transmit data byte 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
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit data to transmit on I3C bus..

TDWR

I3C transmit data word register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDB3
w
TDB2
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDB1
w
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit transmit data (earliest byte on I3C bus).

TDB1

Bits 8-15: 8-bit transmit data (next byte after TDB0[7:0] on I3C bus)..

TDB2

Bits 16-23: 8-bit transmit data (next byte after TDB1[7:0] on I3C bus)..

TDB3

Bits 24-31: 8-bit transmit data (latest byte on I3C bus)..

IBIDR

I3C IBI payload data register

Offset: 0x20, 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
IBIDB3
rw
IBIDB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IBIDB1
rw
IBIDB0
rw
Toggle fields

IBIDB0

Bits 0-7: 8-bit IBI payload data (earliest byte on I3C bus, MDB[7:0] mandatory data byte)..

IBIDB1

Bits 8-15: 8-bit IBI payload data (next byte on I3C bus after IBIDB0[7:0])..

IBIDB2

Bits 16-23: 8-bit IBI payload data (next byte on I3C bus after IBIDB1[7:0])..

IBIDB3

Bits 24-31: 8-bit IBI payload data (latest byte on I3C bus)..

TGTTDR

I3C target transmit configuration register

Offset: 0x24, 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
PRELOAD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TGTTDCNT
rw
Toggle fields

TGTTDCNT

Bits 0-15: Transmit data counter, in bytes (when I3C is configured as target).

PRELOAD

Bit 16: Preload of the TX-FIFO (when I3C is configured as target).

SR

I3C status register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MID
r
DIR
r
ABT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XDCNT
r
Toggle fields

XDCNT

Bits 0-15: Data counter.

ABT

Bit 17: A private read message is ended prematurely by the target (when the I3C acts as controller).

DIR

Bit 18: Message direction.

MID

Bits 24-31: Message identifier/counter of a given frame (when the I3C acts as controller).

SER

I3C status error register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DERR
r
DNACK
r
ANACK
r
COVR
r
DOVR
r
STALL
r
PERR
r
CODERR
r
Toggle fields

CODERR

Bits 0-3: Protocol error code/type.

PERR

Bit 4: Protocol error.

STALL

Bit 5: SCL stall error (when the I3C acts as target).

DOVR

Bit 6: RX-FIFO overrun or TX-FIFO underrun.

COVR

Bit 7: C-FIFO underrun or S-FIFO overrun (when the I3C acts as controller).

ANACK

Bit 8: Address not acknowledged (when the I3C is configured as controller).

DNACK

Bit 9: Data not acknowledged (when the I3C acts as controller).

DERR

Bit 10: Data error (when the I3C acts as controller).

RMR

I3C received message register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCODE
r
IBIRDCNT
r
Toggle fields

IBIRDCNT

Bits 0-2: IBI received payload data count (when the I3C is configured as controller).

RCODE

Bits 8-15: Received CCC code (when the I3C is configured as target).

RADD

Bits 17-23: Received target address (when the I3C is configured as controller).

EVR

I3C event register

Offset: 0x50, size: 32, reset: 0x00000003, access: read-only

27/27 fields covered.

Toggle fields

CFEF

Bit 0: C-FIFO empty flag (whatever the I3C acts as controller).

TXFEF

Bit 1: TX-FIFO empty flag (whatever the I3C acts as controller/target).

CFNFF

Bit 2: C-FIFO not full flag (when the I3C acts as controller).

SFNEF

Bit 3: S-FIFO not empty flag (when the I3C acts as controller).

TXFNFF

Bit 4: TX-FIFO not full flag (whatever the I3C acts as controller/target).

RXFNEF

Bit 5: RX-FIFO not empty flag (whatever the I3C acts as controller/target).

TXLASTF

Bit 6: Last written data byte/word flag (whatever the I3C acts as controller/target).

RXLASTF

Bit 7: Last read data byte/word flag (when the I3C acts as controller).

FCF

Bit 9: Frame complete flag (whatever the I3C acts as controller/target).

RXTGTENDF

Bit 10: Target-initiated read end flag (when the I3C acts as controller).

ERRF

Bit 11: Flag (whatever the I3C acts as controller/target).

IBIF

Bit 15: IBI flag (when the I3C acts as controller).

IBIENDF

Bit 16: IBI end flag (when the I3C acts as target).

CRF

Bit 17: Controller-role request flag (when the I3C acts as controller).

CRUPDF

Bit 18: Controller-role update flag (when the I3C acts as target).

HJF

Bit 19: Hot-join flag (when the I3C acts as controller).

WKPF

Bit 21: Wake-up/missed start flag (when the I3C acts as target).

GETF

Bit 22: Get flag (when the I3C acts as target).

STAF

Bit 23: Get status flag (when the I3C acts as target).

DAUPDF

Bit 24: Dynamic address update flag (when the I3C acts as target).

MWLUPDF

Bit 25: Maximum write length update flag (when the I3C acts as target).

MRLUPDF

Bit 26: Maximum read length update flag (when the I3C acts as target).

RSTF

Bit 27: Reset pattern flag (when the I3C acts as target).

ASUPDF

Bit 28: Activity state update flag (when the I3C acts as target).

INTUPDF

Bit 29: Interrupt/controller-role/hot-join update flag (when the I3C acts as target).

DEFF

Bit 30: DEFTGTS flag (when the I3C acts as target).

GRPF

Bit 31: Group addressing flag (when the I3C acts as target).

IER

I3C interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

23/23 fields covered.

Toggle fields

CFNFIE

Bit 2: C-FIFO not full interrupt enable when the I3C acts as controller.

SFNEIE

Bit 3: S-FIFO not empty interrupt enable when the I3C acts as controller.

TXFNFIE

Bit 4: TX-FIFO not full interrupt enable (whatever the I3C acts as controller/target).

RXFNEIE

Bit 5: RX-FIFO not empty interrupt enable (whatever the I3C acts as controller/target).

FCIE

Bit 9: frame complete interrupt enable (whatever the I3C acts as controller/target).

RXTGTENDIE

Bit 10: target-initiated read end interrupt enable (when the I3C acts as controller).

ERRIE

Bit 11: error interrupt enable (whatever the I3C acts as controller/target).

IBIIE

Bit 15: IBI request interrupt enable (when the I3C acts as controller).

IBIENDIE

Bit 16: IBI end interrupt enable (when the I3C acts as target).

CRIE

Bit 17: Controller-role request interrupt enable (when the I3C acts as controller).

CRUPDIE

Bit 18: Controller-role update interrupt enable (when the I3C acts as target).

HJIE

Bit 19: Hot-join interrupt enable (when the I3C acts as controller).

WKPIE

Bit 21: Wake-up interrupt enable (when the I3C acts as target).

GETIE

Bit 22: GETxxx CCC interrupt enable (except GETSTATUS of format 1) (when the I3C acts as target).

STAIE

Bit 23: format 1 GETSTATUS CCC interrupt enable (when the I3C acts as target).

DAUPDIE

Bit 24: ENTDAA/RSTDAA/SETNEWDA CCC interrupt enable (when the I3C acts as target).

MWLUPDIE

Bit 25: SETMWL CCC interrupt enable (when the I3C acts as target).

MRLUPDIE

Bit 26: SETMRL CCC interrupt enable (when the I3C acts as target).

RSTIE

Bit 27: reset pattern interrupt enable (when the I3C acts as target).

ASUPDIE

Bit 28: ENTASx CCC interrupt enable (when the I3C acts as target).

INTUPDIE

Bit 29: ENEC/DISEC CCC interrupt enable (when the I3C acts as target).

DEFIE

Bit 30: DEFTGTS CCC interrupt enable (when the I3C acts as target).

GRPIE

Bit 31: DEFGRPA CCC interrupt enable (when the I3C acts as target).

CEVR

I3C clear event register

Offset: 0x58, size: 32, reset: 0x00000000, access: write-only

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CGRPF
w
CDEFF
w
CINTUPDF
w
CASUPDF
w
CRSTF
w
CMRLUPDF
w
CMWLUPDF
w
CDAUPDF
w
CSTAF
w
CGETF
w
CWKPF
w
CHJF
w
CCRUPDF
w
CCRF
w
CIBIENDF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIBIF
w
CERRF
w
CRXTGTENDF
w
CFCF
w
Toggle fields

CFCF

Bit 9: Clear frame complete flag (whatever the I3C acts as controller/target).

CRXTGTENDF

Bit 10: Clear target-initiated read end flag (when the I3C acts as controller).

CERRF

Bit 11: Clear error flag (whatever the I3C acts as controller/target).

CIBIF

Bit 15: Clear IBI request flag (when the I3C acts as controller).

CIBIENDF

Bit 16: Clear IBI end flag (when the I3C acts as target).

CCRF

Bit 17: Clear controller-role request flag (when the I3C acts as controller).

CCRUPDF

Bit 18: Clear controller-role update flag (when the I3C acts as target).

CHJF

Bit 19: Clear hot-join flag (when the I3C acts as controller).

CWKPF

Bit 21: Clear wake-up flag (when the I3C acts as target).

CGETF

Bit 22: Clear GETxxx CCC flag (except GETSTATUS of format 1) (when the I3C acts as target).

CSTAF

Bit 23: Clear format 1 GETSTATUS CCC flag (when the I3C acts as target).

CDAUPDF

Bit 24: Clear ENTDAA/RSTDAA/SETNEWDA CCC flag (when the I3C acts as target).

CMWLUPDF

Bit 25: Clear SETMWL CCC flag (when the I3C acts as target).

CMRLUPDF

Bit 26: Clear SETMRL CCC flag (when the I3C acts as target).

CRSTF

Bit 27: Clear reset pattern flag (when the I3C acts as target).

CASUPDF

Bit 28: Clear ENTASx CCC flag (when the I3C acts as target).

CINTUPDF

Bit 29: Clear ENEC/DISEC CCC flag (when the I3C acts as target).

CDEFF

Bit 30: Clear DEFTGTS CCC flag (when the I3C acts as target).

CGRPF

Bit 31: Clear DEFGRPA CCC flag (when the I3C acts as target).

DEVR0

I3C own device characteristics register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSTVAL
r
RSTACT
r
AS
r
HJEN
rw
CREN
rw
IBIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
DAVAL
rw
Toggle fields

DAVAL

Bit 0: Dynamic address is valid (when the I3C acts as target).

DA

Bits 1-7: 7-bit dynamic address.

IBIEN

Bit 16: IBI request enable (when the I3C acts as target).

CREN

Bit 17: Controller-role request enable (when the I3C acts as target).

HJEN

Bit 19: Hot-join request enable (when the I3C acts as target).

AS

Bits 20-21: Activity state (when the I3C acts as target).

RSTACT

Bits 22-23: Reset action/level on received reset pattern (when the I3C acts as target).

RSTVAL

Bit 24: Reset action is valid (when the I3C acts as target).

DEVR1

I3C device 1 characteristics register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR2

I3C device 2 characteristics register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR3

I3C device 3 characteristics register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR4

I3C device 4 characteristics register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

MAXRLR

I3C maximum read length register

Offset: 0x90, 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
IBIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRL
rw
Toggle fields

MRL

Bits 0-15: Maximum data read length (when I3C acts as target).

IBIP

Bits 16-18: IBI payload data maximum size, in bytes (when I3C acts as target).

MAXWLR

I3C maximum write length register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MWL
rw
Toggle fields

MWL

Bits 0-15: Maximum data write length (when I3C acts as target).

TIMINGR0

I3C timing register 0

Offset: 0xa0, 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
SCLH_I2C
rw
SCLL_OD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH_I3C
rw
SCLL_PP
rw
Toggle fields

SCLL_PP

Bits 0-7: SCL low duration in I3C push-pull phases, in number of kernel clocks cycles:.

SCLH_I3C

Bits 8-15: SCL high duration, used for I3C messages (both in push-pull and open-drain phases), in number of kernel clocks cycles:.

SCLL_OD

Bits 16-23: SCL low duration in open-drain phases, used for legacy Iless thansup>2less than/sup>C messages and for I3C open-drain phases (address phase following a start, ACK phase during controller-initiated messages, and T bit phase during direct/private/IBI payload), in number of kernel clocks cycles:.

SCLH_I2C

Bits 24-31: SCL high duration, used for legacy Iless thansup>2less than/sup>C messages, in number of kernel clocks cycles:.

TIMINGR1

I3C timing register 1

Offset: 0xa4, 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
SDA_HD
rw
FREE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASNCR
rw
AVAL
rw
Toggle fields

AVAL

Bits 0-7: Number of kernel clock cycles to set a time unit of 1 s, whatever I3C acts as controller or target..

ASNCR

Bits 8-9: Activity state of the new controller (when I3C acts as active controller).

FREE

Bits 16-22: Number of kernel clocks cycles that is used to set some MIPI timings like bus free condition time (when the I3C acts as controller).

SDA_HD

Bit 28: SDA hold time (when the I3C acts as controller), in number of kernel clocks cycles (refer to MIPI timing SDA hold time in push-pull tless thansub>HD_PPless than/sub>):.

TIMINGR2

I3C timing register 2

Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STALL
rw
STALLA
rw
STALLC
rw
STALLD
rw
STALLT
rw
Toggle fields

STALLT

Bit 0: Controller clock stall enable on T-bit phase of data (and on the ACK/NACK phase of data byte of a legacy Iless thansup>2less than/sup>C read).

STALLD

Bit 1: Controller clock stall enable on PAR phase of Data.

STALLC

Bit 2: Controller clock stall enable on PAR phase of CCC.

STALLA

Bit 3: Controller clock stall enable on ACK phase.

STALL

Bits 8-15: Controller clock stall time, in number of kernel clock cycles.

BCR

I3C bus characteristics register

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCR6
rw
BCR2
rw
BCR0
rw
Toggle fields

BCR0

Bit 0: max data speed limitation.

BCR2

Bit 2: in-band interrupt (IBI) payload.

BCR6

Bit 6: Controller capable.

DCR

I3C device characteristics register

Offset: 0xc4, 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
DCR
rw
Toggle fields

DCR

Bits 0-7: device characteristics ID.

GETCAPR

I3C get capability register

Offset: 0xc8, 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
CAPPEND
rw
Toggle fields

CAPPEND

Bit 14: IBI MDB support for pending read notification.

CRCAPR

I3C controller-role capability register

Offset: 0xcc, 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
CAPGRP
rw
CAPDHOFF
rw
Toggle fields

CAPDHOFF

Bit 3: delayed controller-role hand-off.

CAPGRP

Bit 9: group management support (when acting as controller).

GETMXDSR

I3C get max data speed register

Offset: 0xd0, 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
TSCO
rw
RDTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMT
rw
HOFFAS
rw
Toggle fields

HOFFAS

Bits 0-1: Controller hand-off activity state.

FMT

Bits 8-9: GETMXDS CCC format.

RDTURN

Bits 16-23: programmed byte of the 3-byte MaxRdTurn (maximum read turnaround byte).

TSCO

Bit 24: clock-to-data turnaround time (tless thansub>SCOless than/sub>).

EPIDR

I3C extended provisioned ID register

Offset: 0xd4, size: 32, reset: 0x02080000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MIPIMID
r
IDTSEL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIPIID
rw
Toggle fields

MIPIID

Bits 12-15: 4-bit MIPI Instance ID.

IDTSEL

Bit 16: provisioned ID type selector.

MIPIMID

Bits 17-31: 15-bit MIPI manufacturer ID.

I3C2

0x44003000: I3C register block

79/191 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x0 CR_ALTERNATE1
0x4 CFGR
0x10 RDR
0x14 RDWR
0x18 TDR
0x1c TDWR
0x20 IBIDR
0x24 TGTTDR
0x30 SR
0x34 SER
0x40 RMR
0x50 EVR
0x54 IER
0x58 CEVR
0x60 DEVR0
0x64 DEVR1
0x68 DEVR2
0x6c DEVR3
0x70 DEVR4
0x90 MAXRLR
0x94 MAXWLR
0xa0 TIMINGR0
0xa4 TIMINGR1
0xa8 TIMINGR2
0xc0 BCR
0xc4 DCR
0xc8 GETCAPR
0xcc CRCAPR
0xd0 GETMXDSR
0xd4 EPIDR
Toggle registers

CR

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
ADD
w
RNW
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of data to transfer during a read or write message, in bytes (whatever I3C acts as controller/target).

RNW

Bit 16: Read / non-write message (when I3C acts as controller).

ADD

Bits 17-23: 7-bit I3C dynamic / Iless thansup>2less than/sup>C static target address (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (whatever I3C acts as controller/target).

MEND

Bit 31: Message end type/last message of a frame (when the I3C acts as controller).

CR_ALTERNATE1

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
CCC
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of related data to the CCC command to transfer as CCC defining bytes, or CCC sub-command bytes, or CCC data bytes, in bytes.

CCC

Bits 16-23: 8-bit CCC code (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (when I3C acts as controller).

MEND

Bit 31: Message end type/last message of a frame (when I3C acts as controller).

CFGR

I3C configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSFSET
w
CFLUSH
w
CDMAEN
rw
TMODE
rw
SMODE
rw
SFLUSH
w
SDMAEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTHRES
rw
TXFLUSH
w
TXDMAEN
rw
RXTHRES
rw
RXFLUSH
w
RXDMAEN
rw
HJACK
rw
HKSDAEN
rw
EXITPTRN
rw
RSTPTRN
rw
NOARBH
rw
CRINIT
rw
EN
rw
Toggle fields

EN

Bit 0: I3C enable (whatever I3C acts as controller/target).

CRINIT

Bit 1: Initial controller/target role.

NOARBH

Bit 2: No arbitrable header after a start (when I3C acts as a controller).

RSTPTRN

Bit 3: HDR reset pattern enable (when I3C acts as a controller).

EXITPTRN

Bit 4: HDR exit pattern enable (when I3C acts as a controller).

HKSDAEN

Bit 5: High-keeper enable on SDA line (when I3C acts as a controller).

HJACK

Bit 7: Hot-join request acknowledge (when I3C acts as a controller).

RXDMAEN

Bit 8: RX-FIFO DMA request enable (whatever I3C acts as controller/target).

RXFLUSH

Bit 9: RX-FIFO flush (whatever I3C acts as controller/target).

RXTHRES

Bit 10: RX-FIFO threshold (whatever I3C acts as controller/target).

TXDMAEN

Bit 12: TX-FIFO DMA request enable (whatever I3C acts as controller/target).

TXFLUSH

Bit 13: TX-FIFO flush (whatever I3C acts as controller/target).

TXTHRES

Bit 14: TX-FIFO threshold (whatever I3C acts as controller/target).

SDMAEN

Bit 16: S-FIFO DMA request enable (when I3C acts as controller).

SFLUSH

Bit 17: S-FIFO flush (when I3C acts as controller).

SMODE

Bit 18: S-FIFO enable / status receive mode (when I3C acts as controller).

TMODE

Bit 19: Transmit mode (when I3C acts as controller).

CDMAEN

Bit 20: C-FIFO DMA request enable (when I3C acts as controller).

CFLUSH

Bit 21: C-FIFO flush (when I3C acts as controller).

TSFSET

Bit 30: Frame transfer set (software trigger) (when I3C acts as controller).

RDR

I3C receive data byte register

Offset: 0x10, 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
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data on I3C bus..

RDWR

I3C receive data word register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDB3
r
RDB2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDB1
r
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data (earliest byte on I3C bus)..

RDB1

Bits 8-15: 8-bit received data (next byte after RDB0 on I3C bus)..

RDB2

Bits 16-23: 8-bit received data (next byte after RDB1 on I3C bus)..

RDB3

Bits 24-31: 8-bit received data (latest byte on I3C bus)..

TDR

I3C transmit data byte 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
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit data to transmit on I3C bus..

TDWR

I3C transmit data word register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDB3
w
TDB2
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDB1
w
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit transmit data (earliest byte on I3C bus).

TDB1

Bits 8-15: 8-bit transmit data (next byte after TDB0[7:0] on I3C bus)..

TDB2

Bits 16-23: 8-bit transmit data (next byte after TDB1[7:0] on I3C bus)..

TDB3

Bits 24-31: 8-bit transmit data (latest byte on I3C bus)..

IBIDR

I3C IBI payload data register

Offset: 0x20, 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
IBIDB3
rw
IBIDB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IBIDB1
rw
IBIDB0
rw
Toggle fields

IBIDB0

Bits 0-7: 8-bit IBI payload data (earliest byte on I3C bus, MDB[7:0] mandatory data byte)..

IBIDB1

Bits 8-15: 8-bit IBI payload data (next byte on I3C bus after IBIDB0[7:0])..

IBIDB2

Bits 16-23: 8-bit IBI payload data (next byte on I3C bus after IBIDB1[7:0])..

IBIDB3

Bits 24-31: 8-bit IBI payload data (latest byte on I3C bus)..

TGTTDR

I3C target transmit configuration register

Offset: 0x24, 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
PRELOAD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TGTTDCNT
rw
Toggle fields

TGTTDCNT

Bits 0-15: Transmit data counter, in bytes (when I3C is configured as target).

PRELOAD

Bit 16: Preload of the TX-FIFO (when I3C is configured as target).

SR

I3C status register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MID
r
DIR
r
ABT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XDCNT
r
Toggle fields

XDCNT

Bits 0-15: Data counter.

ABT

Bit 17: A private read message is ended prematurely by the target (when the I3C acts as controller).

DIR

Bit 18: Message direction.

MID

Bits 24-31: Message identifier/counter of a given frame (when the I3C acts as controller).

SER

I3C status error register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DERR
r
DNACK
r
ANACK
r
COVR
r
DOVR
r
STALL
r
PERR
r
CODERR
r
Toggle fields

CODERR

Bits 0-3: Protocol error code/type.

PERR

Bit 4: Protocol error.

STALL

Bit 5: SCL stall error (when the I3C acts as target).

DOVR

Bit 6: RX-FIFO overrun or TX-FIFO underrun.

COVR

Bit 7: C-FIFO underrun or S-FIFO overrun (when the I3C acts as controller).

ANACK

Bit 8: Address not acknowledged (when the I3C is configured as controller).

DNACK

Bit 9: Data not acknowledged (when the I3C acts as controller).

DERR

Bit 10: Data error (when the I3C acts as controller).

RMR

I3C received message register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCODE
r
IBIRDCNT
r
Toggle fields

IBIRDCNT

Bits 0-2: IBI received payload data count (when the I3C is configured as controller).

RCODE

Bits 8-15: Received CCC code (when the I3C is configured as target).

RADD

Bits 17-23: Received target address (when the I3C is configured as controller).

EVR

I3C event register

Offset: 0x50, size: 32, reset: 0x00000003, access: read-only

27/27 fields covered.

Toggle fields

CFEF

Bit 0: C-FIFO empty flag (whatever the I3C acts as controller).

TXFEF

Bit 1: TX-FIFO empty flag (whatever the I3C acts as controller/target).

CFNFF

Bit 2: C-FIFO not full flag (when the I3C acts as controller).

SFNEF

Bit 3: S-FIFO not empty flag (when the I3C acts as controller).

TXFNFF

Bit 4: TX-FIFO not full flag (whatever the I3C acts as controller/target).

RXFNEF

Bit 5: RX-FIFO not empty flag (whatever the I3C acts as controller/target).

TXLASTF

Bit 6: Last written data byte/word flag (whatever the I3C acts as controller/target).

RXLASTF

Bit 7: Last read data byte/word flag (when the I3C acts as controller).

FCF

Bit 9: Frame complete flag (whatever the I3C acts as controller/target).

RXTGTENDF

Bit 10: Target-initiated read end flag (when the I3C acts as controller).

ERRF

Bit 11: Flag (whatever the I3C acts as controller/target).

IBIF

Bit 15: IBI flag (when the I3C acts as controller).

IBIENDF

Bit 16: IBI end flag (when the I3C acts as target).

CRF

Bit 17: Controller-role request flag (when the I3C acts as controller).

CRUPDF

Bit 18: Controller-role update flag (when the I3C acts as target).

HJF

Bit 19: Hot-join flag (when the I3C acts as controller).

WKPF

Bit 21: Wake-up/missed start flag (when the I3C acts as target).

GETF

Bit 22: Get flag (when the I3C acts as target).

STAF

Bit 23: Get status flag (when the I3C acts as target).

DAUPDF

Bit 24: Dynamic address update flag (when the I3C acts as target).

MWLUPDF

Bit 25: Maximum write length update flag (when the I3C acts as target).

MRLUPDF

Bit 26: Maximum read length update flag (when the I3C acts as target).

RSTF

Bit 27: Reset pattern flag (when the I3C acts as target).

ASUPDF

Bit 28: Activity state update flag (when the I3C acts as target).

INTUPDF

Bit 29: Interrupt/controller-role/hot-join update flag (when the I3C acts as target).

DEFF

Bit 30: DEFTGTS flag (when the I3C acts as target).

GRPF

Bit 31: Group addressing flag (when the I3C acts as target).

IER

I3C interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

23/23 fields covered.

Toggle fields

CFNFIE

Bit 2: C-FIFO not full interrupt enable when the I3C acts as controller.

SFNEIE

Bit 3: S-FIFO not empty interrupt enable when the I3C acts as controller.

TXFNFIE

Bit 4: TX-FIFO not full interrupt enable (whatever the I3C acts as controller/target).

RXFNEIE

Bit 5: RX-FIFO not empty interrupt enable (whatever the I3C acts as controller/target).

FCIE

Bit 9: frame complete interrupt enable (whatever the I3C acts as controller/target).

RXTGTENDIE

Bit 10: target-initiated read end interrupt enable (when the I3C acts as controller).

ERRIE

Bit 11: error interrupt enable (whatever the I3C acts as controller/target).

IBIIE

Bit 15: IBI request interrupt enable (when the I3C acts as controller).

IBIENDIE

Bit 16: IBI end interrupt enable (when the I3C acts as target).

CRIE

Bit 17: Controller-role request interrupt enable (when the I3C acts as controller).

CRUPDIE

Bit 18: Controller-role update interrupt enable (when the I3C acts as target).

HJIE

Bit 19: Hot-join interrupt enable (when the I3C acts as controller).

WKPIE

Bit 21: Wake-up interrupt enable (when the I3C acts as target).

GETIE

Bit 22: GETxxx CCC interrupt enable (except GETSTATUS of format 1) (when the I3C acts as target).

STAIE

Bit 23: format 1 GETSTATUS CCC interrupt enable (when the I3C acts as target).

DAUPDIE

Bit 24: ENTDAA/RSTDAA/SETNEWDA CCC interrupt enable (when the I3C acts as target).

MWLUPDIE

Bit 25: SETMWL CCC interrupt enable (when the I3C acts as target).

MRLUPDIE

Bit 26: SETMRL CCC interrupt enable (when the I3C acts as target).

RSTIE

Bit 27: reset pattern interrupt enable (when the I3C acts as target).

ASUPDIE

Bit 28: ENTASx CCC interrupt enable (when the I3C acts as target).

INTUPDIE

Bit 29: ENEC/DISEC CCC interrupt enable (when the I3C acts as target).

DEFIE

Bit 30: DEFTGTS CCC interrupt enable (when the I3C acts as target).

GRPIE

Bit 31: DEFGRPA CCC interrupt enable (when the I3C acts as target).

CEVR

I3C clear event register

Offset: 0x58, size: 32, reset: 0x00000000, access: write-only

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CGRPF
w
CDEFF
w
CINTUPDF
w
CASUPDF
w
CRSTF
w
CMRLUPDF
w
CMWLUPDF
w
CDAUPDF
w
CSTAF
w
CGETF
w
CWKPF
w
CHJF
w
CCRUPDF
w
CCRF
w
CIBIENDF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIBIF
w
CERRF
w
CRXTGTENDF
w
CFCF
w
Toggle fields

CFCF

Bit 9: Clear frame complete flag (whatever the I3C acts as controller/target).

CRXTGTENDF

Bit 10: Clear target-initiated read end flag (when the I3C acts as controller).

CERRF

Bit 11: Clear error flag (whatever the I3C acts as controller/target).

CIBIF

Bit 15: Clear IBI request flag (when the I3C acts as controller).

CIBIENDF

Bit 16: Clear IBI end flag (when the I3C acts as target).

CCRF

Bit 17: Clear controller-role request flag (when the I3C acts as controller).

CCRUPDF

Bit 18: Clear controller-role update flag (when the I3C acts as target).

CHJF

Bit 19: Clear hot-join flag (when the I3C acts as controller).

CWKPF

Bit 21: Clear wake-up flag (when the I3C acts as target).

CGETF

Bit 22: Clear GETxxx CCC flag (except GETSTATUS of format 1) (when the I3C acts as target).

CSTAF

Bit 23: Clear format 1 GETSTATUS CCC flag (when the I3C acts as target).

CDAUPDF

Bit 24: Clear ENTDAA/RSTDAA/SETNEWDA CCC flag (when the I3C acts as target).

CMWLUPDF

Bit 25: Clear SETMWL CCC flag (when the I3C acts as target).

CMRLUPDF

Bit 26: Clear SETMRL CCC flag (when the I3C acts as target).

CRSTF

Bit 27: Clear reset pattern flag (when the I3C acts as target).

CASUPDF

Bit 28: Clear ENTASx CCC flag (when the I3C acts as target).

CINTUPDF

Bit 29: Clear ENEC/DISEC CCC flag (when the I3C acts as target).

CDEFF

Bit 30: Clear DEFTGTS CCC flag (when the I3C acts as target).

CGRPF

Bit 31: Clear DEFGRPA CCC flag (when the I3C acts as target).

DEVR0

I3C own device characteristics register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSTVAL
r
RSTACT
r
AS
r
HJEN
rw
CREN
rw
IBIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
DAVAL
rw
Toggle fields

DAVAL

Bit 0: Dynamic address is valid (when the I3C acts as target).

DA

Bits 1-7: 7-bit dynamic address.

IBIEN

Bit 16: IBI request enable (when the I3C acts as target).

CREN

Bit 17: Controller-role request enable (when the I3C acts as target).

HJEN

Bit 19: Hot-join request enable (when the I3C acts as target).

AS

Bits 20-21: Activity state (when the I3C acts as target).

RSTACT

Bits 22-23: Reset action/level on received reset pattern (when the I3C acts as target).

RSTVAL

Bit 24: Reset action is valid (when the I3C acts as target).

DEVR1

I3C device 1 characteristics register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR2

I3C device 2 characteristics register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR3

I3C device 3 characteristics register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR4

I3C device 4 characteristics register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

MAXRLR

I3C maximum read length register

Offset: 0x90, 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
IBIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRL
rw
Toggle fields

MRL

Bits 0-15: Maximum data read length (when I3C acts as target).

IBIP

Bits 16-18: IBI payload data maximum size, in bytes (when I3C acts as target).

MAXWLR

I3C maximum write length register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MWL
rw
Toggle fields

MWL

Bits 0-15: Maximum data write length (when I3C acts as target).

TIMINGR0

I3C timing register 0

Offset: 0xa0, 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
SCLH_I2C
rw
SCLL_OD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH_I3C
rw
SCLL_PP
rw
Toggle fields

SCLL_PP

Bits 0-7: SCL low duration in I3C push-pull phases, in number of kernel clocks cycles:.

SCLH_I3C

Bits 8-15: SCL high duration, used for I3C messages (both in push-pull and open-drain phases), in number of kernel clocks cycles:.

SCLL_OD

Bits 16-23: SCL low duration in open-drain phases, used for legacy Iless thansup>2less than/sup>C messages and for I3C open-drain phases (address phase following a start, ACK phase during controller-initiated messages, and T bit phase during direct/private/IBI payload), in number of kernel clocks cycles:.

SCLH_I2C

Bits 24-31: SCL high duration, used for legacy Iless thansup>2less than/sup>C messages, in number of kernel clocks cycles:.

TIMINGR1

I3C timing register 1

Offset: 0xa4, 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
SDA_HD
rw
FREE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASNCR
rw
AVAL
rw
Toggle fields

AVAL

Bits 0-7: Number of kernel clock cycles to set a time unit of 1 s, whatever I3C acts as controller or target..

ASNCR

Bits 8-9: Activity state of the new controller (when I3C acts as active controller).

FREE

Bits 16-22: Number of kernel clocks cycles that is used to set some MIPI timings like bus free condition time (when the I3C acts as controller).

SDA_HD

Bit 28: SDA hold time (when the I3C acts as controller), in number of kernel clocks cycles (refer to MIPI timing SDA hold time in push-pull tless thansub>HD_PPless than/sub>):.

TIMINGR2

I3C timing register 2

Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STALL
rw
STALLA
rw
STALLC
rw
STALLD
rw
STALLT
rw
Toggle fields

STALLT

Bit 0: Controller clock stall enable on T-bit phase of data (and on the ACK/NACK phase of data byte of a legacy Iless thansup>2less than/sup>C read).

STALLD

Bit 1: Controller clock stall enable on PAR phase of Data.

STALLC

Bit 2: Controller clock stall enable on PAR phase of CCC.

STALLA

Bit 3: Controller clock stall enable on ACK phase.

STALL

Bits 8-15: Controller clock stall time, in number of kernel clock cycles.

BCR

I3C bus characteristics register

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCR6
rw
BCR2
rw
BCR0
rw
Toggle fields

BCR0

Bit 0: max data speed limitation.

BCR2

Bit 2: in-band interrupt (IBI) payload.

BCR6

Bit 6: Controller capable.

DCR

I3C device characteristics register

Offset: 0xc4, 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
DCR
rw
Toggle fields

DCR

Bits 0-7: device characteristics ID.

GETCAPR

I3C get capability register

Offset: 0xc8, 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
CAPPEND
rw
Toggle fields

CAPPEND

Bit 14: IBI MDB support for pending read notification.

CRCAPR

I3C controller-role capability register

Offset: 0xcc, 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
CAPGRP
rw
CAPDHOFF
rw
Toggle fields

CAPDHOFF

Bit 3: delayed controller-role hand-off.

CAPGRP

Bit 9: group management support (when acting as controller).

GETMXDSR

I3C get max data speed register

Offset: 0xd0, 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
TSCO
rw
RDTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMT
rw
HOFFAS
rw
Toggle fields

HOFFAS

Bits 0-1: Controller hand-off activity state.

FMT

Bits 8-9: GETMXDS CCC format.

RDTURN

Bits 16-23: programmed byte of the 3-byte MaxRdTurn (maximum read turnaround byte).

TSCO

Bit 24: clock-to-data turnaround time (tless thansub>SCOless than/sub>).

EPIDR

I3C extended provisioned ID register

Offset: 0xd4, size: 32, reset: 0x02080000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MIPIMID
r
IDTSEL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIPIID
rw
Toggle fields

MIPIID

Bits 12-15: 4-bit MIPI Instance ID.

IDTSEL

Bit 16: provisioned ID type selector.

MIPIMID

Bits 17-31: 15-bit MIPI manufacturer ID.

I3C2_S

0x54003000: I3C register block

79/191 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x0 CR_ALTERNATE1
0x4 CFGR
0x10 RDR
0x14 RDWR
0x18 TDR
0x1c TDWR
0x20 IBIDR
0x24 TGTTDR
0x30 SR
0x34 SER
0x40 RMR
0x50 EVR
0x54 IER
0x58 CEVR
0x60 DEVR0
0x64 DEVR1
0x68 DEVR2
0x6c DEVR3
0x70 DEVR4
0x90 MAXRLR
0x94 MAXWLR
0xa0 TIMINGR0
0xa4 TIMINGR1
0xa8 TIMINGR2
0xc0 BCR
0xc4 DCR
0xc8 GETCAPR
0xcc CRCAPR
0xd0 GETMXDSR
0xd4 EPIDR
Toggle registers

CR

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
ADD
w
RNW
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of data to transfer during a read or write message, in bytes (whatever I3C acts as controller/target).

RNW

Bit 16: Read / non-write message (when I3C acts as controller).

ADD

Bits 17-23: 7-bit I3C dynamic / Iless thansup>2less than/sup>C static target address (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (whatever I3C acts as controller/target).

MEND

Bit 31: Message end type/last message of a frame (when the I3C acts as controller).

CR_ALTERNATE1

I3C message control register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEND
w
MTYPE
w
CCC
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCNT
w
Toggle fields

DCNT

Bits 0-15: Count of related data to the CCC command to transfer as CCC defining bytes, or CCC sub-command bytes, or CCC data bytes, in bytes.

CCC

Bits 16-23: 8-bit CCC code (when I3C acts as controller).

MTYPE

Bits 27-30: Message type (when I3C acts as controller).

MEND

Bit 31: Message end type/last message of a frame (when I3C acts as controller).

CFGR

I3C configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSFSET
w
CFLUSH
w
CDMAEN
rw
TMODE
rw
SMODE
rw
SFLUSH
w
SDMAEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTHRES
rw
TXFLUSH
w
TXDMAEN
rw
RXTHRES
rw
RXFLUSH
w
RXDMAEN
rw
HJACK
rw
HKSDAEN
rw
EXITPTRN
rw
RSTPTRN
rw
NOARBH
rw
CRINIT
rw
EN
rw
Toggle fields

EN

Bit 0: I3C enable (whatever I3C acts as controller/target).

CRINIT

Bit 1: Initial controller/target role.

NOARBH

Bit 2: No arbitrable header after a start (when I3C acts as a controller).

RSTPTRN

Bit 3: HDR reset pattern enable (when I3C acts as a controller).

EXITPTRN

Bit 4: HDR exit pattern enable (when I3C acts as a controller).

HKSDAEN

Bit 5: High-keeper enable on SDA line (when I3C acts as a controller).

HJACK

Bit 7: Hot-join request acknowledge (when I3C acts as a controller).

RXDMAEN

Bit 8: RX-FIFO DMA request enable (whatever I3C acts as controller/target).

RXFLUSH

Bit 9: RX-FIFO flush (whatever I3C acts as controller/target).

RXTHRES

Bit 10: RX-FIFO threshold (whatever I3C acts as controller/target).

TXDMAEN

Bit 12: TX-FIFO DMA request enable (whatever I3C acts as controller/target).

TXFLUSH

Bit 13: TX-FIFO flush (whatever I3C acts as controller/target).

TXTHRES

Bit 14: TX-FIFO threshold (whatever I3C acts as controller/target).

SDMAEN

Bit 16: S-FIFO DMA request enable (when I3C acts as controller).

SFLUSH

Bit 17: S-FIFO flush (when I3C acts as controller).

SMODE

Bit 18: S-FIFO enable / status receive mode (when I3C acts as controller).

TMODE

Bit 19: Transmit mode (when I3C acts as controller).

CDMAEN

Bit 20: C-FIFO DMA request enable (when I3C acts as controller).

CFLUSH

Bit 21: C-FIFO flush (when I3C acts as controller).

TSFSET

Bit 30: Frame transfer set (software trigger) (when I3C acts as controller).

RDR

I3C receive data byte register

Offset: 0x10, 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
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data on I3C bus..

RDWR

I3C receive data word register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDB3
r
RDB2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDB1
r
RDB0
r
Toggle fields

RDB0

Bits 0-7: 8-bit received data (earliest byte on I3C bus)..

RDB1

Bits 8-15: 8-bit received data (next byte after RDB0 on I3C bus)..

RDB2

Bits 16-23: 8-bit received data (next byte after RDB1 on I3C bus)..

RDB3

Bits 24-31: 8-bit received data (latest byte on I3C bus)..

TDR

I3C transmit data byte 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
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit data to transmit on I3C bus..

TDWR

I3C transmit data word register

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDB3
w
TDB2
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDB1
w
TDB0
w
Toggle fields

TDB0

Bits 0-7: 8-bit transmit data (earliest byte on I3C bus).

TDB1

Bits 8-15: 8-bit transmit data (next byte after TDB0[7:0] on I3C bus)..

TDB2

Bits 16-23: 8-bit transmit data (next byte after TDB1[7:0] on I3C bus)..

TDB3

Bits 24-31: 8-bit transmit data (latest byte on I3C bus)..

IBIDR

I3C IBI payload data register

Offset: 0x20, 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
IBIDB3
rw
IBIDB2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IBIDB1
rw
IBIDB0
rw
Toggle fields

IBIDB0

Bits 0-7: 8-bit IBI payload data (earliest byte on I3C bus, MDB[7:0] mandatory data byte)..

IBIDB1

Bits 8-15: 8-bit IBI payload data (next byte on I3C bus after IBIDB0[7:0])..

IBIDB2

Bits 16-23: 8-bit IBI payload data (next byte on I3C bus after IBIDB1[7:0])..

IBIDB3

Bits 24-31: 8-bit IBI payload data (latest byte on I3C bus)..

TGTTDR

I3C target transmit configuration register

Offset: 0x24, 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
PRELOAD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TGTTDCNT
rw
Toggle fields

TGTTDCNT

Bits 0-15: Transmit data counter, in bytes (when I3C is configured as target).

PRELOAD

Bit 16: Preload of the TX-FIFO (when I3C is configured as target).

SR

I3C status register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MID
r
DIR
r
ABT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XDCNT
r
Toggle fields

XDCNT

Bits 0-15: Data counter.

ABT

Bit 17: A private read message is ended prematurely by the target (when the I3C acts as controller).

DIR

Bit 18: Message direction.

MID

Bits 24-31: Message identifier/counter of a given frame (when the I3C acts as controller).

SER

I3C status error register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DERR
r
DNACK
r
ANACK
r
COVR
r
DOVR
r
STALL
r
PERR
r
CODERR
r
Toggle fields

CODERR

Bits 0-3: Protocol error code/type.

PERR

Bit 4: Protocol error.

STALL

Bit 5: SCL stall error (when the I3C acts as target).

DOVR

Bit 6: RX-FIFO overrun or TX-FIFO underrun.

COVR

Bit 7: C-FIFO underrun or S-FIFO overrun (when the I3C acts as controller).

ANACK

Bit 8: Address not acknowledged (when the I3C is configured as controller).

DNACK

Bit 9: Data not acknowledged (when the I3C acts as controller).

DERR

Bit 10: Data error (when the I3C acts as controller).

RMR

I3C received message register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCODE
r
IBIRDCNT
r
Toggle fields

IBIRDCNT

Bits 0-2: IBI received payload data count (when the I3C is configured as controller).

RCODE

Bits 8-15: Received CCC code (when the I3C is configured as target).

RADD

Bits 17-23: Received target address (when the I3C is configured as controller).

EVR

I3C event register

Offset: 0x50, size: 32, reset: 0x00000003, access: read-only

27/27 fields covered.

Toggle fields

CFEF

Bit 0: C-FIFO empty flag (whatever the I3C acts as controller).

TXFEF

Bit 1: TX-FIFO empty flag (whatever the I3C acts as controller/target).

CFNFF

Bit 2: C-FIFO not full flag (when the I3C acts as controller).

SFNEF

Bit 3: S-FIFO not empty flag (when the I3C acts as controller).

TXFNFF

Bit 4: TX-FIFO not full flag (whatever the I3C acts as controller/target).

RXFNEF

Bit 5: RX-FIFO not empty flag (whatever the I3C acts as controller/target).

TXLASTF

Bit 6: Last written data byte/word flag (whatever the I3C acts as controller/target).

RXLASTF

Bit 7: Last read data byte/word flag (when the I3C acts as controller).

FCF

Bit 9: Frame complete flag (whatever the I3C acts as controller/target).

RXTGTENDF

Bit 10: Target-initiated read end flag (when the I3C acts as controller).

ERRF

Bit 11: Flag (whatever the I3C acts as controller/target).

IBIF

Bit 15: IBI flag (when the I3C acts as controller).

IBIENDF

Bit 16: IBI end flag (when the I3C acts as target).

CRF

Bit 17: Controller-role request flag (when the I3C acts as controller).

CRUPDF

Bit 18: Controller-role update flag (when the I3C acts as target).

HJF

Bit 19: Hot-join flag (when the I3C acts as controller).

WKPF

Bit 21: Wake-up/missed start flag (when the I3C acts as target).

GETF

Bit 22: Get flag (when the I3C acts as target).

STAF

Bit 23: Get status flag (when the I3C acts as target).

DAUPDF

Bit 24: Dynamic address update flag (when the I3C acts as target).

MWLUPDF

Bit 25: Maximum write length update flag (when the I3C acts as target).

MRLUPDF

Bit 26: Maximum read length update flag (when the I3C acts as target).

RSTF

Bit 27: Reset pattern flag (when the I3C acts as target).

ASUPDF

Bit 28: Activity state update flag (when the I3C acts as target).

INTUPDF

Bit 29: Interrupt/controller-role/hot-join update flag (when the I3C acts as target).

DEFF

Bit 30: DEFTGTS flag (when the I3C acts as target).

GRPF

Bit 31: Group addressing flag (when the I3C acts as target).

IER

I3C interrupt enable register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

23/23 fields covered.

Toggle fields

CFNFIE

Bit 2: C-FIFO not full interrupt enable when the I3C acts as controller.

SFNEIE

Bit 3: S-FIFO not empty interrupt enable when the I3C acts as controller.

TXFNFIE

Bit 4: TX-FIFO not full interrupt enable (whatever the I3C acts as controller/target).

RXFNEIE

Bit 5: RX-FIFO not empty interrupt enable (whatever the I3C acts as controller/target).

FCIE

Bit 9: frame complete interrupt enable (whatever the I3C acts as controller/target).

RXTGTENDIE

Bit 10: target-initiated read end interrupt enable (when the I3C acts as controller).

ERRIE

Bit 11: error interrupt enable (whatever the I3C acts as controller/target).

IBIIE

Bit 15: IBI request interrupt enable (when the I3C acts as controller).

IBIENDIE

Bit 16: IBI end interrupt enable (when the I3C acts as target).

CRIE

Bit 17: Controller-role request interrupt enable (when the I3C acts as controller).

CRUPDIE

Bit 18: Controller-role update interrupt enable (when the I3C acts as target).

HJIE

Bit 19: Hot-join interrupt enable (when the I3C acts as controller).

WKPIE

Bit 21: Wake-up interrupt enable (when the I3C acts as target).

GETIE

Bit 22: GETxxx CCC interrupt enable (except GETSTATUS of format 1) (when the I3C acts as target).

STAIE

Bit 23: format 1 GETSTATUS CCC interrupt enable (when the I3C acts as target).

DAUPDIE

Bit 24: ENTDAA/RSTDAA/SETNEWDA CCC interrupt enable (when the I3C acts as target).

MWLUPDIE

Bit 25: SETMWL CCC interrupt enable (when the I3C acts as target).

MRLUPDIE

Bit 26: SETMRL CCC interrupt enable (when the I3C acts as target).

RSTIE

Bit 27: reset pattern interrupt enable (when the I3C acts as target).

ASUPDIE

Bit 28: ENTASx CCC interrupt enable (when the I3C acts as target).

INTUPDIE

Bit 29: ENEC/DISEC CCC interrupt enable (when the I3C acts as target).

DEFIE

Bit 30: DEFTGTS CCC interrupt enable (when the I3C acts as target).

GRPIE

Bit 31: DEFGRPA CCC interrupt enable (when the I3C acts as target).

CEVR

I3C clear event register

Offset: 0x58, size: 32, reset: 0x00000000, access: write-only

0/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CGRPF
w
CDEFF
w
CINTUPDF
w
CASUPDF
w
CRSTF
w
CMRLUPDF
w
CMWLUPDF
w
CDAUPDF
w
CSTAF
w
CGETF
w
CWKPF
w
CHJF
w
CCRUPDF
w
CCRF
w
CIBIENDF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CIBIF
w
CERRF
w
CRXTGTENDF
w
CFCF
w
Toggle fields

CFCF

Bit 9: Clear frame complete flag (whatever the I3C acts as controller/target).

CRXTGTENDF

Bit 10: Clear target-initiated read end flag (when the I3C acts as controller).

CERRF

Bit 11: Clear error flag (whatever the I3C acts as controller/target).

CIBIF

Bit 15: Clear IBI request flag (when the I3C acts as controller).

CIBIENDF

Bit 16: Clear IBI end flag (when the I3C acts as target).

CCRF

Bit 17: Clear controller-role request flag (when the I3C acts as controller).

CCRUPDF

Bit 18: Clear controller-role update flag (when the I3C acts as target).

CHJF

Bit 19: Clear hot-join flag (when the I3C acts as controller).

CWKPF

Bit 21: Clear wake-up flag (when the I3C acts as target).

CGETF

Bit 22: Clear GETxxx CCC flag (except GETSTATUS of format 1) (when the I3C acts as target).

CSTAF

Bit 23: Clear format 1 GETSTATUS CCC flag (when the I3C acts as target).

CDAUPDF

Bit 24: Clear ENTDAA/RSTDAA/SETNEWDA CCC flag (when the I3C acts as target).

CMWLUPDF

Bit 25: Clear SETMWL CCC flag (when the I3C acts as target).

CMRLUPDF

Bit 26: Clear SETMRL CCC flag (when the I3C acts as target).

CRSTF

Bit 27: Clear reset pattern flag (when the I3C acts as target).

CASUPDF

Bit 28: Clear ENTASx CCC flag (when the I3C acts as target).

CINTUPDF

Bit 29: Clear ENEC/DISEC CCC flag (when the I3C acts as target).

CDEFF

Bit 30: Clear DEFTGTS CCC flag (when the I3C acts as target).

CGRPF

Bit 31: Clear DEFGRPA CCC flag (when the I3C acts as target).

DEVR0

I3C own device characteristics register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

3/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSTVAL
r
RSTACT
r
AS
r
HJEN
rw
CREN
rw
IBIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
DAVAL
rw
Toggle fields

DAVAL

Bit 0: Dynamic address is valid (when the I3C acts as target).

DA

Bits 1-7: 7-bit dynamic address.

IBIEN

Bit 16: IBI request enable (when the I3C acts as target).

CREN

Bit 17: Controller-role request enable (when the I3C acts as target).

HJEN

Bit 19: Hot-join request enable (when the I3C acts as target).

AS

Bits 20-21: Activity state (when the I3C acts as target).

RSTACT

Bits 22-23: Reset action/level on received reset pattern (when the I3C acts as target).

RSTVAL

Bit 24: Reset action is valid (when the I3C acts as target).

DEVR1

I3C device 1 characteristics register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR2

I3C device 2 characteristics register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR3

I3C device 3 characteristics register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

DEVR4

I3C device 4 characteristics register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

1/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIS
r
SUSP
rw
IBIDEN
rw
CRACK
rw
IBIACK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DA
rw
Toggle fields

DA

Bits 1-7: Assigned I3C dynamic address to target x (when the I3C acts as controller).

IBIACK

Bit 16: IBI request acknowledge (when the I3C acts as controller).

CRACK

Bit 17: Controller-role request acknowledge (when the I3C acts as controller).

IBIDEN

Bit 18: IBI data enable (when the I3C acts as controller).

SUSP

Bit 19: Suspend/stop I3C transfer on received IBI (when the I3C acts as controller).

DIS

Bit 31: DA[6:0] write disabled (when the I3C acts as controller).

MAXRLR

I3C maximum read length register

Offset: 0x90, 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
IBIP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRL
rw
Toggle fields

MRL

Bits 0-15: Maximum data read length (when I3C acts as target).

IBIP

Bits 16-18: IBI payload data maximum size, in bytes (when I3C acts as target).

MAXWLR

I3C maximum write length register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MWL
rw
Toggle fields

MWL

Bits 0-15: Maximum data write length (when I3C acts as target).

TIMINGR0

I3C timing register 0

Offset: 0xa0, 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
SCLH_I2C
rw
SCLL_OD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCLH_I3C
rw
SCLL_PP
rw
Toggle fields

SCLL_PP

Bits 0-7: SCL low duration in I3C push-pull phases, in number of kernel clocks cycles:.

SCLH_I3C

Bits 8-15: SCL high duration, used for I3C messages (both in push-pull and open-drain phases), in number of kernel clocks cycles:.

SCLL_OD

Bits 16-23: SCL low duration in open-drain phases, used for legacy Iless thansup>2less than/sup>C messages and for I3C open-drain phases (address phase following a start, ACK phase during controller-initiated messages, and T bit phase during direct/private/IBI payload), in number of kernel clocks cycles:.

SCLH_I2C

Bits 24-31: SCL high duration, used for legacy Iless thansup>2less than/sup>C messages, in number of kernel clocks cycles:.

TIMINGR1

I3C timing register 1

Offset: 0xa4, 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
SDA_HD
rw
FREE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ASNCR
rw
AVAL
rw
Toggle fields

AVAL

Bits 0-7: Number of kernel clock cycles to set a time unit of 1 s, whatever I3C acts as controller or target..

ASNCR

Bits 8-9: Activity state of the new controller (when I3C acts as active controller).

FREE

Bits 16-22: Number of kernel clocks cycles that is used to set some MIPI timings like bus free condition time (when the I3C acts as controller).

SDA_HD

Bit 28: SDA hold time (when the I3C acts as controller), in number of kernel clocks cycles (refer to MIPI timing SDA hold time in push-pull tless thansub>HD_PPless than/sub>):.

TIMINGR2

I3C timing register 2

Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STALL
rw
STALLA
rw
STALLC
rw
STALLD
rw
STALLT
rw
Toggle fields

STALLT

Bit 0: Controller clock stall enable on T-bit phase of data (and on the ACK/NACK phase of data byte of a legacy Iless thansup>2less than/sup>C read).

STALLD

Bit 1: Controller clock stall enable on PAR phase of Data.

STALLC

Bit 2: Controller clock stall enable on PAR phase of CCC.

STALLA

Bit 3: Controller clock stall enable on ACK phase.

STALL

Bits 8-15: Controller clock stall time, in number of kernel clock cycles.

BCR

I3C bus characteristics register

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCR6
rw
BCR2
rw
BCR0
rw
Toggle fields

BCR0

Bit 0: max data speed limitation.

BCR2

Bit 2: in-band interrupt (IBI) payload.

BCR6

Bit 6: Controller capable.

DCR

I3C device characteristics register

Offset: 0xc4, 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
DCR
rw
Toggle fields

DCR

Bits 0-7: device characteristics ID.

GETCAPR

I3C get capability register

Offset: 0xc8, 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
CAPPEND
rw
Toggle fields

CAPPEND

Bit 14: IBI MDB support for pending read notification.

CRCAPR

I3C controller-role capability register

Offset: 0xcc, 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
CAPGRP
rw
CAPDHOFF
rw
Toggle fields

CAPDHOFF

Bit 3: delayed controller-role hand-off.

CAPGRP

Bit 9: group management support (when acting as controller).

GETMXDSR

I3C get max data speed register

Offset: 0xd0, 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
TSCO
rw
RDTURN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMT
rw
HOFFAS
rw
Toggle fields

HOFFAS

Bits 0-1: Controller hand-off activity state.

FMT

Bits 8-9: GETMXDS CCC format.

RDTURN

Bits 16-23: programmed byte of the 3-byte MaxRdTurn (maximum read turnaround byte).

TSCO

Bit 24: clock-to-data turnaround time (tless thansub>SCOless than/sub>).

EPIDR

I3C extended provisioned ID register

Offset: 0xd4, size: 32, reset: 0x02080000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MIPIMID
r
IDTSEL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIPIID
rw
Toggle fields

MIPIID

Bits 12-15: 4-bit MIPI Instance ID.

IDTSEL

Bit 16: provisioned ID type selector.

MIPIMID

Bits 17-31: 15-bit MIPI manufacturer ID.

ICACHE

0x40030400: ICACHE register block

5/40 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 IER
0xc FCR
0x10 HMONR
0x14 MMONR
0x20 CRR0
0x24 CRR1
0x28 CRR2
0x2c CRR3
Toggle registers

CR

ICACHE control register

Offset: 0x0, size: 32, reset: 0x00000004, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MISSMRST
rw
HITMRST
rw
MISSMEN
rw
HITMEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAYSEL
rw
CACHEINV
w
EN
rw
Toggle fields

EN

Bit 0: enable.

CACHEINV

Bit 1: cache invalidation.

WAYSEL

Bit 2: cache associativity mode selection.

HITMEN

Bit 16: hit monitor enable.

MISSMEN

Bit 17: miss monitor enable.

HITMRST

Bit 18: hit monitor reset.

MISSMRST

Bit 19: miss monitor reset.

SR

ICACHE status register

Offset: 0x4, size: 32, reset: 0x00000001, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ERRF
r
BSYENDF
r
BUSYF
r
Toggle fields

BUSYF

Bit 0: busy flag.

BSYENDF

Bit 1: busy end flag.

ERRF

Bit 2: cache error flag.

IER

ICACHE interrupt enable register

Offset: 0x8, 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
ERRIE
rw
BSYENDIE
rw
Toggle fields

BSYENDIE

Bit 1: interrupt enable on busy end.

ERRIE

Bit 2: interrupt enable on cache error.

FCR

ICACHE flag clear register

Offset: 0xc, size: 32, reset: 0x00000000, access: write-only

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CERRF
w
CBSYENDF
w
Toggle fields

CBSYENDF

Bit 1: clear busy end flag.

CERRF

Bit 2: clear cache error flag.

HMONR

ICACHE hit monitor register

Offset: 0x10, 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
HITMON
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HITMON
r
Toggle fields

HITMON

Bits 0-31: cache hit monitor counter.

MMONR

ICACHE miss monitor register

Offset: 0x14, 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
MISSMON
r
Toggle fields

MISSMON

Bits 0-15: cache miss monitor counter.

CRR0

ICACHE region 0 configuration register

Offset: 0x20, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

CRR1

ICACHE region 1 configuration register

Offset: 0x24, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

CRR2

ICACHE region 2 configuration register

Offset: 0x28, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

CRR3

ICACHE region 3 configuration register

Offset: 0x2c, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

ICACHE_S

0x50030400: ICACHE register block

5/40 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 IER
0xc FCR
0x10 HMONR
0x14 MMONR
0x20 CRR0
0x24 CRR1
0x28 CRR2
0x2c CRR3
Toggle registers

CR

ICACHE control register

Offset: 0x0, size: 32, reset: 0x00000004, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MISSMRST
rw
HITMRST
rw
MISSMEN
rw
HITMEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WAYSEL
rw
CACHEINV
w
EN
rw
Toggle fields

EN

Bit 0: enable.

CACHEINV

Bit 1: cache invalidation.

WAYSEL

Bit 2: cache associativity mode selection.

HITMEN

Bit 16: hit monitor enable.

MISSMEN

Bit 17: miss monitor enable.

HITMRST

Bit 18: hit monitor reset.

MISSMRST

Bit 19: miss monitor reset.

SR

ICACHE status register

Offset: 0x4, size: 32, reset: 0x00000001, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ERRF
r
BSYENDF
r
BUSYF
r
Toggle fields

BUSYF

Bit 0: busy flag.

BSYENDF

Bit 1: busy end flag.

ERRF

Bit 2: cache error flag.

IER

ICACHE interrupt enable register

Offset: 0x8, 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
ERRIE
rw
BSYENDIE
rw
Toggle fields

BSYENDIE

Bit 1: interrupt enable on busy end.

ERRIE

Bit 2: interrupt enable on cache error.

FCR

ICACHE flag clear register

Offset: 0xc, size: 32, reset: 0x00000000, access: write-only

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CERRF
w
CBSYENDF
w
Toggle fields

CBSYENDF

Bit 1: clear busy end flag.

CERRF

Bit 2: clear cache error flag.

HMONR

ICACHE hit monitor register

Offset: 0x10, 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
HITMON
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HITMON
r
Toggle fields

HITMON

Bits 0-31: cache hit monitor counter.

MMONR

ICACHE miss monitor register

Offset: 0x14, 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
MISSMON
r
Toggle fields

MISSMON

Bits 0-15: cache miss monitor counter.

CRR0

ICACHE region 0 configuration register

Offset: 0x20, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

CRR1

ICACHE region 1 configuration register

Offset: 0x24, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

CRR2

ICACHE region 2 configuration register

Offset: 0x28, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

CRR3

ICACHE region 3 configuration register

Offset: 0x2c, size: 32, reset: 0x00000200, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HBURST
rw
MSTSEL
rw
REMAPADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REN
rw
RSIZE
rw
BASEADDR
rw
Toggle fields

BASEADDR

Bits 0-7: base address for region x.

RSIZE

Bits 9-11: size for region x.

REN

Bit 15: enable for region x.

REMAPADDR

Bits 16-26: remapped address for region x.

MSTSEL

Bit 28: AHB cache master selection for region x.

HBURST

Bit 31: output burst type for region x.

IWDG

0x40003000: IWDG address block description

10/13 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) KR
0x4 (16-bit) PR
0x8 (16-bit) RLR
0xc (16-bit) SR
0x10 (16-bit) WINR
0x14 (16-bit) EWCR
Toggle registers

KR

IWDG key 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
KEY
w
Toggle fields

KEY

Bits 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

PR

IWDG 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
PR
rw
Toggle fields

PR

Bits 0-3: 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
7: DivideBy512: Divider /512
8 (+): DivideBy1024: Divider /1024

RLR

IWDG 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
RL
rw
Toggle fields

RL

Bits 0-11: Watchdog counter reload value.

Allowed values: 0x0-0xfff

SR

IWDG status register

Offset: 0xc, size: 16, reset: 0x00000000, access: read-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EWIF
r
ONF
r
EWU
r
WVU
r
RVU
r
PVU
r
Toggle fields

PVU

Bit 0: Watchdog prescaler value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

RVU

Bit 1: Watchdog counter reload value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

WVU

Bit 2: Watchdog counter window value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

EWU

Bit 3: Watchdog interrupt comparator value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

ONF

Bit 8: Watchdog enable status bit.

Allowed values:
0: NotActivated: IWDG is not activated
1: Activated: IWDG is activated

EWIF

Bit 14: Watchdog early interrupt flag.

Allowed values:
0: NotPending: No pending interrupt
1: Pending: Interrupt pending

WINR

IWDG window 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
WIN
rw
Toggle fields

WIN

Bits 0-11: Watchdog counter window value.

Allowed values: 0x0-0xfff

EWCR

IWDG early wake-up interrupt register

Offset: 0x14, size: 16, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EWIE
rw
EWIC
w
EWIT
rw
Toggle fields

EWIT

Bits 0-11: Watchdog counter window value.

EWIC

Bit 14: Watchdog early interrupt acknowledge.

EWIE

Bit 15: Watchdog early interrupt enable.

IWDG_S

0x50003000: IWDG address block description

10/13 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) KR
0x4 (16-bit) PR
0x8 (16-bit) RLR
0xc (16-bit) SR
0x10 (16-bit) WINR
0x14 (16-bit) EWCR
Toggle registers

KR

IWDG key 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
KEY
w
Toggle fields

KEY

Bits 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

PR

IWDG 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
PR
rw
Toggle fields

PR

Bits 0-3: 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
7: DivideBy512: Divider /512
8 (+): DivideBy1024: Divider /1024

RLR

IWDG 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
RL
rw
Toggle fields

RL

Bits 0-11: Watchdog counter reload value.

Allowed values: 0x0-0xfff

SR

IWDG status register

Offset: 0xc, size: 16, reset: 0x00000000, access: read-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EWIF
r
ONF
r
EWU
r
WVU
r
RVU
r
PVU
r
Toggle fields

PVU

Bit 0: Watchdog prescaler value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

RVU

Bit 1: Watchdog counter reload value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

WVU

Bit 2: Watchdog counter window value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

EWU

Bit 3: Watchdog interrupt comparator value update.

Allowed values:
0: Idle: No update on-going
1: Busy: Update on-going

ONF

Bit 8: Watchdog enable status bit.

Allowed values:
0: NotActivated: IWDG is not activated
1: Activated: IWDG is activated

EWIF

Bit 14: Watchdog early interrupt flag.

Allowed values:
0: NotPending: No pending interrupt
1: Pending: Interrupt pending

WINR

IWDG window 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
WIN
rw
Toggle fields

WIN

Bits 0-11: Watchdog counter window value.

Allowed values: 0x0-0xfff

EWCR

IWDG early wake-up interrupt register

Offset: 0x14, size: 16, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EWIE
rw
EWIC
w
EWIT
rw
Toggle fields

EWIT

Bits 0-11: Watchdog counter window value.

EWIC

Bit 14: Watchdog early interrupt acknowledge.

EWIE

Bit 15: Watchdog early interrupt enable.

LPTIM1

0x44004400: LPTIM1 address block description

25/111 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x0 ISR_ALTERNATE1
0x4 ICR
0x4 ICR_ALTERNATE1
0x8 DIER
0x8 DIER_ALTERNATE1
0xc CFGR
0x10 CR
0x14 CCR1
0x18 ARR
0x1c CNT
0x24 CFGR2
0x28 RCR
0x2c CCMR1
0x34 CCR2
Toggle registers

ISR

LPTIM1 interrupt and status register [alternate]

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
CMP2OK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
CMP1OK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: Compare 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

CMP1OK

Bit 3: Compare register 1 update OK.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Compare 2 interrupt flag.

CMP2OK

Bit 19: Compare register 2 update OK.

DIEROK

Bit 24: Interrupt enable register update OK.

ISR_ALTERNATE1

LPTIM1 interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OF
r
CC1OF
r
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: capture 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Capture 2 interrupt flag.

CC1OF

Bit 12: Capture 1 over-capture flag.

CC2OF

Bit 13: Capture 2 over-capture flag.

DIEROK

Bit 24: Interrupt enable register update OK.

ICR

LPTIM1 interrupt clear register [alternate]

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
CMP2OKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
CMP1OKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

CMP1OKCF

Bit 3: Compare register 1 update OK clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CMP2OKCF

Bit 19: Compare register 2 update OK clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

ICR_ALTERNATE1

LPTIM1 interrupt clear register

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OCF
w
CC1OCF
w
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CC1OCF

Bit 12: Capture/compare 1 over-capture clear flag.

CC2OCF

Bit 13: Capture/compare 2 over-capture clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

DIER

LPTIM1 interrupt enable register [alternate]

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UEDE
rw
CMP2OKIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMP1OKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

CMP1OKIE

Bit 3: Compare register 1 update OK interrupt enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CMP2OKIE

Bit 19: Compare register 2 update OK interrupt enable.

UEDE

Bit 23: Update event DMA request enable.

DIER_ALTERNATE1

LPTIM1 interrupt enable register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC2DE
rw
UEDE
rw
CC1DE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OIE
rw
CC1OIE
rw
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CC1OIE

Bit 12: Capture/compare 1 over-capture interrupt enable.

CC2OIE

Bit 13: Capture/compare 2 over-capture interrupt enable.

CC1DE

Bit 16: Capture/compare 1 DMA request enable.

UEDE

Bit 23: Update event DMA request enable.

CC2DE

Bit 25: Capture/compare 2 DMA request enable.

CFGR

LPTIM configuration register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ENC
rw
COUNTMODE
rw
PRELOAD
rw
WAVPOL
rw
WAVE
rw
TIMOUT
rw
TRIGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGSEL
rw
PRESC
rw
TRGFLT
rw
CKFLT
rw
CKPOL
rw
CKSEL
rw
Toggle fields

CKSEL

Bit 0: Clock selector.

CKPOL

Bits 1-2: Clock Polarity.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

PRESC

Bits 9-11: Clock prescaler.

TRIGSEL

Bits 13-15: Trigger selector.

TRIGEN

Bits 17-18: Trigger enable and polarity.

TIMOUT

Bit 19: Timeout enable.

WAVE

Bit 20: Waveform shape.

WAVPOL

Bit 21: Waveform shape polarity.

PRELOAD

Bit 22: Registers update mode.

COUNTMODE

Bit 23: counter mode enabled.

ENC

Bit 24: Encoder mode enable.

CR

LPTIM control register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM enable.

SNGSTRT

Bit 1: LPTIM start in Single mode.

CNTSTRT

Bit 2: Timer start in Continuous mode.

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CCR1

LPTIM compare register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR1
rw
Toggle fields

CCR1

Bits 0-15: Capture/compare 1 value.

ARR

LPTIM autoreload register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

CNT

LPTIM counter register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
r
Toggle fields

CNT

Bits 0-15: Counter value.

CFGR2

LPTIM configuration register 2

Offset: 0x24, 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
IC2SEL
rw
IC1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN2SEL
rw
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM input 1 selection.

IN2SEL

Bits 4-5: LPTIM input 2 selection.

IC1SEL

Bits 16-17: LPTIM input capture 1 selection.

IC2SEL

Bits 20-21: LPTIM input capture 2 selection.

RCR

LPTIM repetition register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition register value.

CCMR1

LPTIM capture/compare mode register 1

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IC2F
rw
IC2PSC
rw
CC2P
rw
CC2E
rw
CC2SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC1F
rw
IC1PSC
rw
CC1P
rw
CC1E
rw
CC1SEL
rw
Toggle fields

CC1SEL

Bit 0: Capture/compare 1 selection.

CC1E

Bit 1: Capture/compare 1 output enable..

CC1P

Bits 2-3: Capture/compare 1 output polarity..

IC1PSC

Bits 8-9: Input capture 1 prescaler.

IC1F

Bits 12-13: Input capture 1 filter.

CC2SEL

Bit 16: Capture/compare 2 selection.

CC2E

Bit 17: Capture/compare 2 output enable..

CC2P

Bits 18-19: Capture/compare 2 output polarity..

IC2PSC

Bits 24-25: Input capture 2 prescaler.

IC2F

Bits 28-29: Input capture 2 filter.

CCR2

LPTIM compare register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR2
rw
Toggle fields

CCR2

Bits 0-15: Capture/compare 2 value.

LPTIM1_S

0x54004400: LPTIM1 address block description

25/111 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x0 ISR_ALTERNATE1
0x4 ICR
0x4 ICR_ALTERNATE1
0x8 DIER
0x8 DIER_ALTERNATE1
0xc CFGR
0x10 CR
0x14 CCR1
0x18 ARR
0x1c CNT
0x24 CFGR2
0x28 RCR
0x2c CCMR1
0x34 CCR2
Toggle registers

ISR

LPTIM1 interrupt and status register [alternate]

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
CMP2OK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
CMP1OK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: Compare 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

CMP1OK

Bit 3: Compare register 1 update OK.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Compare 2 interrupt flag.

CMP2OK

Bit 19: Compare register 2 update OK.

DIEROK

Bit 24: Interrupt enable register update OK.

ISR_ALTERNATE1

LPTIM1 interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OF
r
CC1OF
r
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: capture 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Capture 2 interrupt flag.

CC1OF

Bit 12: Capture 1 over-capture flag.

CC2OF

Bit 13: Capture 2 over-capture flag.

DIEROK

Bit 24: Interrupt enable register update OK.

ICR

LPTIM1 interrupt clear register [alternate]

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
CMP2OKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
CMP1OKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

CMP1OKCF

Bit 3: Compare register 1 update OK clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CMP2OKCF

Bit 19: Compare register 2 update OK clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

ICR_ALTERNATE1

LPTIM1 interrupt clear register

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OCF
w
CC1OCF
w
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CC1OCF

Bit 12: Capture/compare 1 over-capture clear flag.

CC2OCF

Bit 13: Capture/compare 2 over-capture clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

DIER

LPTIM1 interrupt enable register [alternate]

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UEDE
rw
CMP2OKIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMP1OKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

CMP1OKIE

Bit 3: Compare register 1 update OK interrupt enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CMP2OKIE

Bit 19: Compare register 2 update OK interrupt enable.

UEDE

Bit 23: Update event DMA request enable.

DIER_ALTERNATE1

LPTIM1 interrupt enable register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC2DE
rw
UEDE
rw
CC1DE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OIE
rw
CC1OIE
rw
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CC1OIE

Bit 12: Capture/compare 1 over-capture interrupt enable.

CC2OIE

Bit 13: Capture/compare 2 over-capture interrupt enable.

CC1DE

Bit 16: Capture/compare 1 DMA request enable.

UEDE

Bit 23: Update event DMA request enable.

CC2DE

Bit 25: Capture/compare 2 DMA request enable.

CFGR

LPTIM configuration register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ENC
rw
COUNTMODE
rw
PRELOAD
rw
WAVPOL
rw
WAVE
rw
TIMOUT
rw
TRIGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGSEL
rw
PRESC
rw
TRGFLT
rw
CKFLT
rw
CKPOL
rw
CKSEL
rw
Toggle fields

CKSEL

Bit 0: Clock selector.

CKPOL

Bits 1-2: Clock Polarity.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

PRESC

Bits 9-11: Clock prescaler.

TRIGSEL

Bits 13-15: Trigger selector.

TRIGEN

Bits 17-18: Trigger enable and polarity.

TIMOUT

Bit 19: Timeout enable.

WAVE

Bit 20: Waveform shape.

WAVPOL

Bit 21: Waveform shape polarity.

PRELOAD

Bit 22: Registers update mode.

COUNTMODE

Bit 23: counter mode enabled.

ENC

Bit 24: Encoder mode enable.

CR

LPTIM control register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM enable.

SNGSTRT

Bit 1: LPTIM start in Single mode.

CNTSTRT

Bit 2: Timer start in Continuous mode.

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CCR1

LPTIM compare register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR1
rw
Toggle fields

CCR1

Bits 0-15: Capture/compare 1 value.

ARR

LPTIM autoreload register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

CNT

LPTIM counter register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
r
Toggle fields

CNT

Bits 0-15: Counter value.

CFGR2

LPTIM configuration register 2

Offset: 0x24, 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
IC2SEL
rw
IC1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN2SEL
rw
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM input 1 selection.

IN2SEL

Bits 4-5: LPTIM input 2 selection.

IC1SEL

Bits 16-17: LPTIM input capture 1 selection.

IC2SEL

Bits 20-21: LPTIM input capture 2 selection.

RCR

LPTIM repetition register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition register value.

CCMR1

LPTIM capture/compare mode register 1

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IC2F
rw
IC2PSC
rw
CC2P
rw
CC2E
rw
CC2SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC1F
rw
IC1PSC
rw
CC1P
rw
CC1E
rw
CC1SEL
rw
Toggle fields

CC1SEL

Bit 0: Capture/compare 1 selection.

CC1E

Bit 1: Capture/compare 1 output enable..

CC1P

Bits 2-3: Capture/compare 1 output polarity..

IC1PSC

Bits 8-9: Input capture 1 prescaler.

IC1F

Bits 12-13: Input capture 1 filter.

CC2SEL

Bit 16: Capture/compare 2 selection.

CC2E

Bit 17: Capture/compare 2 output enable..

CC2P

Bits 18-19: Capture/compare 2 output polarity..

IC2PSC

Bits 24-25: Input capture 2 prescaler.

IC2F

Bits 28-29: Input capture 2 filter.

CCR2

LPTIM compare register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR2
rw
Toggle fields

CCR2

Bits 0-15: Capture/compare 2 value.

LPTIM2

0x40009400: LPTIM2 address block description

25/111 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x0 ISR_ALTERNATE1
0x4 ICR
0x4 ICR_ALTERNATE1
0x8 DIER
0x8 DIER_ALTERNATE1
0xc CFGR
0x10 CR
0x14 CCR1
0x18 ARR
0x1c CNT
0x24 CFGR2
0x28 RCR
0x2c CCMR1
0x34 CCR2
Toggle registers

ISR

LPTIM2 interrupt and status register [alternate]

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
CMP2OK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
CMP1OK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: Compare 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

CMP1OK

Bit 3: Compare register 1 update OK.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Compare 2 interrupt flag.

CMP2OK

Bit 19: Compare register 2 update OK.

DIEROK

Bit 24: Interrupt enable register update OK.

ISR_ALTERNATE1

LPTIM2 interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OF
r
CC1OF
r
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: capture 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Capture 2 interrupt flag.

CC1OF

Bit 12: Capture 1 over-capture flag.

CC2OF

Bit 13: Capture 2 over-capture flag.

DIEROK

Bit 24: Interrupt enable register update OK.

ICR

LPTIM2 interrupt clear register [alternate]

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
CMP2OKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
CMP1OKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

CMP1OKCF

Bit 3: Compare register 1 update OK clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CMP2OKCF

Bit 19: Compare register 2 update OK clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

ICR_ALTERNATE1

LPTIM2 interrupt clear register

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OCF
w
CC1OCF
w
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CC1OCF

Bit 12: Capture/compare 1 over-capture clear flag.

CC2OCF

Bit 13: Capture/compare 2 over-capture clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

DIER

LPTIM2 interrupt enable register [alternate]

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UEDE
rw
CMP2OKIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMP1OKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

CMP1OKIE

Bit 3: Compare register 1 update OK interrupt enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CMP2OKIE

Bit 19: Compare register 2 update OK interrupt enable.

UEDE

Bit 23: Update event DMA request enable.

DIER_ALTERNATE1

LPTIM2 interrupt enable register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC2DE
rw
UEDE
rw
CC1DE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OIE
rw
CC1OIE
rw
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CC1OIE

Bit 12: Capture/compare 1 over-capture interrupt enable.

CC2OIE

Bit 13: Capture/compare 2 over-capture interrupt enable.

CC1DE

Bit 16: Capture/compare 1 DMA request enable.

UEDE

Bit 23: Update event DMA request enable.

CC2DE

Bit 25: Capture/compare 2 DMA request enable.

CFGR

LPTIM configuration register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ENC
rw
COUNTMODE
rw
PRELOAD
rw
WAVPOL
rw
WAVE
rw
TIMOUT
rw
TRIGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGSEL
rw
PRESC
rw
TRGFLT
rw
CKFLT
rw
CKPOL
rw
CKSEL
rw
Toggle fields

CKSEL

Bit 0: Clock selector.

CKPOL

Bits 1-2: Clock Polarity.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

PRESC

Bits 9-11: Clock prescaler.

TRIGSEL

Bits 13-15: Trigger selector.

TRIGEN

Bits 17-18: Trigger enable and polarity.

TIMOUT

Bit 19: Timeout enable.

WAVE

Bit 20: Waveform shape.

WAVPOL

Bit 21: Waveform shape polarity.

PRELOAD

Bit 22: Registers update mode.

COUNTMODE

Bit 23: counter mode enabled.

ENC

Bit 24: Encoder mode enable.

CR

LPTIM control register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM enable.

SNGSTRT

Bit 1: LPTIM start in Single mode.

CNTSTRT

Bit 2: Timer start in Continuous mode.

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CCR1

LPTIM compare register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR1
rw
Toggle fields

CCR1

Bits 0-15: Capture/compare 1 value.

ARR

LPTIM autoreload register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

CNT

LPTIM counter register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
r
Toggle fields

CNT

Bits 0-15: Counter value.

CFGR2

LPTIM configuration register 2

Offset: 0x24, 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
IC2SEL
rw
IC1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN2SEL
rw
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM input 1 selection.

IN2SEL

Bits 4-5: LPTIM input 2 selection.

IC1SEL

Bits 16-17: LPTIM input capture 1 selection.

IC2SEL

Bits 20-21: LPTIM input capture 2 selection.

RCR

LPTIM repetition register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition register value.

CCMR1

LPTIM capture/compare mode register 1

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IC2F
rw
IC2PSC
rw
CC2P
rw
CC2E
rw
CC2SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC1F
rw
IC1PSC
rw
CC1P
rw
CC1E
rw
CC1SEL
rw
Toggle fields

CC1SEL

Bit 0: Capture/compare 1 selection.

CC1E

Bit 1: Capture/compare 1 output enable..

CC1P

Bits 2-3: Capture/compare 1 output polarity..

IC1PSC

Bits 8-9: Input capture 1 prescaler.

IC1F

Bits 12-13: Input capture 1 filter.

CC2SEL

Bit 16: Capture/compare 2 selection.

CC2E

Bit 17: Capture/compare 2 output enable..

CC2P

Bits 18-19: Capture/compare 2 output polarity..

IC2PSC

Bits 24-25: Input capture 2 prescaler.

IC2F

Bits 28-29: Input capture 2 filter.

CCR2

LPTIM compare register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR2
rw
Toggle fields

CCR2

Bits 0-15: Capture/compare 2 value.

LPTIM2_S

0x50009400: LPTIM2 address block description

25/111 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 ISR
0x0 ISR_ALTERNATE1
0x4 ICR
0x4 ICR_ALTERNATE1
0x8 DIER
0x8 DIER_ALTERNATE1
0xc CFGR
0x10 CR
0x14 CCR1
0x18 ARR
0x1c CNT
0x24 CFGR2
0x28 RCR
0x2c CCMR1
0x34 CCR2
Toggle registers

ISR

LPTIM2 interrupt and status register [alternate]

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
CMP2OK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
CMP1OK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: Compare 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

CMP1OK

Bit 3: Compare register 1 update OK.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Compare 2 interrupt flag.

CMP2OK

Bit 19: Compare register 2 update OK.

DIEROK

Bit 24: Interrupt enable register update OK.

ISR_ALTERNATE1

LPTIM2 interrupt and status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OF
r
CC1OF
r
CC2IF
r
REPOK
r
UE
r
DOWN
r
UP
r
ARROK
r
EXTTRIG
r
ARRM
r
CC1IF
r
Toggle fields

CC1IF

Bit 0: capture 1 interrupt flag.

ARRM

Bit 1: Autoreload match.

EXTTRIG

Bit 2: External trigger edge event.

ARROK

Bit 4: Autoreload register update OK.

UP

Bit 5: Counter direction change down to up.

DOWN

Bit 6: Counter direction change up to down.

UE

Bit 7: LPTIM update event occurred.

REPOK

Bit 8: Repetition register update OK.

CC2IF

Bit 9: Capture 2 interrupt flag.

CC1OF

Bit 12: Capture 1 over-capture flag.

CC2OF

Bit 13: Capture 2 over-capture flag.

DIEROK

Bit 24: Interrupt enable register update OK.

ICR

LPTIM2 interrupt clear register [alternate]

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
CMP2OKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
CMP1OKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

CMP1OKCF

Bit 3: Compare register 1 update OK clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CMP2OKCF

Bit 19: Compare register 2 update OK clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

ICR_ALTERNATE1

LPTIM2 interrupt clear register

Offset: 0x4, size: 32, reset: 0x00000000, access: write-only

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIEROKCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OCF
w
CC1OCF
w
CC2CF
w
REPOKCF
w
UECF
w
DOWNCF
w
UPCF
w
ARROKCF
w
EXTTRIGCF
w
ARRMCF
w
CC1CF
w
Toggle fields

CC1CF

Bit 0: Capture/compare 1 clear flag.

ARRMCF

Bit 1: Autoreload match clear flag.

EXTTRIGCF

Bit 2: External trigger valid edge clear flag.

ARROKCF

Bit 4: Autoreload register update OK clear flag.

UPCF

Bit 5: Direction change to UP clear flag.

DOWNCF

Bit 6: Direction change to down clear flag.

UECF

Bit 7: Update event clear flag.

REPOKCF

Bit 8: Repetition register update OK clear flag.

CC2CF

Bit 9: Capture/compare 2 clear flag.

CC1OCF

Bit 12: Capture/compare 1 over-capture clear flag.

CC2OCF

Bit 13: Capture/compare 2 over-capture clear flag.

DIEROKCF

Bit 24: Interrupt enable register update OK clear flag.

DIER

LPTIM2 interrupt enable register [alternate]

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UEDE
rw
CMP2OKIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMP1OKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

CMP1OKIE

Bit 3: Compare register 1 update OK interrupt enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CMP2OKIE

Bit 19: Compare register 2 update OK interrupt enable.

UEDE

Bit 23: Update event DMA request enable.

DIER_ALTERNATE1

LPTIM2 interrupt enable register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC2DE
rw
UEDE
rw
CC1DE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC2OIE
rw
CC1OIE
rw
CC2IE
rw
REPOKIE
rw
UEIE
rw
DOWNIE
rw
UPIE
rw
ARROKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CC1IE
rw
Toggle fields

CC1IE

Bit 0: Capture/compare 1 interrupt enable.

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

UPIE

Bit 5: Direction change to UP Interrupt Enable.

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

UEIE

Bit 7: Update event interrupt enable.

REPOKIE

Bit 8: Repetition register update OK interrupt Enable.

CC2IE

Bit 9: Capture/compare 2 interrupt enable.

CC1OIE

Bit 12: Capture/compare 1 over-capture interrupt enable.

CC2OIE

Bit 13: Capture/compare 2 over-capture interrupt enable.

CC1DE

Bit 16: Capture/compare 1 DMA request enable.

UEDE

Bit 23: Update event DMA request enable.

CC2DE

Bit 25: Capture/compare 2 DMA request enable.

CFGR

LPTIM configuration register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ENC
rw
COUNTMODE
rw
PRELOAD
rw
WAVPOL
rw
WAVE
rw
TIMOUT
rw
TRIGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIGSEL
rw
PRESC
rw
TRGFLT
rw
CKFLT
rw
CKPOL
rw
CKSEL
rw
Toggle fields

CKSEL

Bit 0: Clock selector.

CKPOL

Bits 1-2: Clock Polarity.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

PRESC

Bits 9-11: Clock prescaler.

TRIGSEL

Bits 13-15: Trigger selector.

TRIGEN

Bits 17-18: Trigger enable and polarity.

TIMOUT

Bit 19: Timeout enable.

WAVE

Bit 20: Waveform shape.

WAVPOL

Bit 21: Waveform shape polarity.

PRELOAD

Bit 22: Registers update mode.

COUNTMODE

Bit 23: counter mode enabled.

ENC

Bit 24: Encoder mode enable.

CR

LPTIM control register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM enable.

SNGSTRT

Bit 1: LPTIM start in Single mode.

CNTSTRT

Bit 2: Timer start in Continuous mode.

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CCR1

LPTIM compare register 1

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR1
rw
Toggle fields

CCR1

Bits 0-15: Capture/compare 1 value.

ARR

LPTIM autoreload register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

CNT

LPTIM counter register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
r
Toggle fields

CNT

Bits 0-15: Counter value.

CFGR2

LPTIM configuration register 2

Offset: 0x24, 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
IC2SEL
rw
IC1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN2SEL
rw
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM input 1 selection.

IN2SEL

Bits 4-5: LPTIM input 2 selection.

IC1SEL

Bits 16-17: LPTIM input capture 1 selection.

IC2SEL

Bits 20-21: LPTIM input capture 2 selection.

RCR

LPTIM repetition register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition register value.

CCMR1

LPTIM capture/compare mode register 1

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IC2F
rw
IC2PSC
rw
CC2P
rw
CC2E
rw
CC2SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC1F
rw
IC1PSC
rw
CC1P
rw
CC1E
rw
CC1SEL
rw
Toggle fields

CC1SEL

Bit 0: Capture/compare 1 selection.

CC1E

Bit 1: Capture/compare 1 output enable..

CC1P

Bits 2-3: Capture/compare 1 output polarity..

IC1PSC

Bits 8-9: Input capture 1 prescaler.

IC1F

Bits 12-13: Input capture 1 filter.

CC2SEL

Bit 16: Capture/compare 2 selection.

CC2E

Bit 17: Capture/compare 2 output enable..

CC2P

Bits 18-19: Capture/compare 2 output polarity..

IC2PSC

Bits 24-25: Input capture 2 prescaler.

IC2F

Bits 28-29: Input capture 2 filter.

CCR2

LPTIM compare register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR2
rw
Toggle fields

CCR2

Bits 0-15: Capture/compare 2 value.

LPUART

0x44002400: LPUART address block description

84/98 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

LPUART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: LPUART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: LPUART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

LPUART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
STOP
rw
ADDM7
rw
Toggle fields

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

STOP

Bits 12-13: STOP bits.

Allowed values:
0: Stop1: 1 stop bit
2: Stop2: 2 stop bit

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ADD

Bits 24-31: Address of the LPUART node.

Allowed values: 0x0-0xff

CR3

LPUART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
HDSEL
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

LPUART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUFIE
rw
WUS1
rw
WUS0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
HDSEL
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

HDSEL

Bit 3: Half-duplex selection.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

BRR

LPUART 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
BRR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-19: LPUART baud rate division (LPUARTDIV).

Allowed values: 0x0-0xfffff

RQR

LPUART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
Toggle fields

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

LPUART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x008000C0, access: read-only

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTS
r
CTSIF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

FE

Bit 1: Framing error.

NE

Bit 2: Start bit noise detection flag.

ORE

Bit 3: Overrun error.

IDLE

Bit 4: Idle line detected.

RXFNE

Bit 5: RXFIFO not empty.

TC

Bit 6: Transmission complete.

TXFNF

Bit 7: TXFIFO not full.

CTSIF

Bit 9: CTS interrupt flag.

CTS

Bit 10: CTS flag.

BUSY

Bit 16: Busy flag.

CMF

Bit 17: Character match flag.

SBKF

Bit 18: Send break flag.

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

LPUART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTSCF
w1c
TCCF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

LPUART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

LPUART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

LPUART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div6: /6
4: Div8: /8
5: Div10: /10
6: Div12: /12
7: Div16: /16
8: Div32: /32
9: Div64: /64
10: Div128: /128
11: Div256: /256

LPUART_S

0x54002400: LPUART address block description

84/98 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

LPUART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: LPUART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: LPUART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

LPUART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
STOP
rw
ADDM7
rw
Toggle fields

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

STOP

Bits 12-13: STOP bits.

Allowed values:
0: Stop1: 1 stop bit
2: Stop2: 2 stop bit

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ADD

Bits 24-31: Address of the LPUART node.

Allowed values: 0x0-0xff

CR3

LPUART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
HDSEL
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

LPUART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUFIE
rw
WUS1
rw
WUS0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
HDSEL
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

HDSEL

Bit 3: Half-duplex selection.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

BRR

LPUART 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
BRR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-19: LPUART baud rate division (LPUARTDIV).

Allowed values: 0x0-0xfffff

RQR

LPUART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
Toggle fields

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

LPUART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x008000C0, access: read-only

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTS
r
CTSIF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

FE

Bit 1: Framing error.

NE

Bit 2: Start bit noise detection flag.

ORE

Bit 3: Overrun error.

IDLE

Bit 4: Idle line detected.

RXFNE

Bit 5: RXFIFO not empty.

TC

Bit 6: Transmission complete.

TXFNF

Bit 7: TXFIFO not full.

CTSIF

Bit 9: CTS interrupt flag.

CTS

Bit 10: CTS flag.

BUSY

Bit 16: Busy flag.

CMF

Bit 17: Character match flag.

SBKF

Bit 18: Send break flag.

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

LPUART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTSCF
w1c
TCCF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

LPUART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

LPUART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

LPUART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div6: /6
4: Div8: /8
5: Div10: /10
6: Div12: /12
7: Div16: /16
8: Div32: /32
9: Div64: /64
10: Div128: /128
11: Div256: /256

OCTOSPI

0x47001400: OCTOSPI register block

7/96 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x8 DCR1
0xc DCR2
0x10 DCR3
0x14 DCR4
0x20 SR
0x24 FCR
0x40 DLR
0x48 AR
0x50 DR
0x80 PSMKR
0x88 PSMAR
0x90 PIR
0x100 CCR
0x108 TCR
0x110 IR
0x120 ABR
0x130 LPTR
0x140 WPCCR
0x148 WPTCR
0x150 WPIR
0x160 WPABR
0x180 WCCR
0x188 WTCR
0x190 WIR
0x1a0 WABR
0x200 HLCR
Toggle registers

CR

OCTOSPI control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMODE
rw
PMM
rw
APMS
rw
TOIE
rw
SMIE
rw
FTIE
rw
TCIE
rw
TEIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FTHRES
rw
MSEL
rw
DMM
rw
TCEN
rw
DMAEN
rw
ABORT
rw
EN
rw
Toggle fields

EN

Bit 0: Enable.

ABORT

Bit 1: Abort request.

DMAEN

Bit 2: DMA enable.

TCEN

Bit 3: Timeout counter enable.

DMM

Bit 6: Dual-memory configuration.

MSEL

Bit 7: External memory select.

FTHRES

Bits 8-12: FIFO threshold level.

TEIE

Bit 16: Transfer error interrupt enable.

TCIE

Bit 17: Transfer complete interrupt enable.

FTIE

Bit 18: FIFO threshold interrupt enable.

SMIE

Bit 19: Status-match interrupt enable.

TOIE

Bit 20: Timeout interrupt enable.

APMS

Bit 22: Automatic status-polling mode stop.

PMM

Bit 23: Polling match mode.

FMODE

Bits 28-29: Functional mode.

DCR1

OCTOSPI device configuration register 1

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MTYP
rw
DEVSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSHT
rw
DLYBYP
rw
FRCK
rw
CKMODE
rw
Toggle fields

CKMODE

Bit 0: Clock mode 0/mode 3.

FRCK

Bit 1: Free running clock.

DLYBYP

Bit 3: Delay block bypass.

CSHT

Bits 8-13: Chip-select high time.

DEVSIZE

Bits 16-20: Device size.

MTYP

Bits 24-26: Memory type.

DCR2

OCTOSPI device configuration register 2

Offset: 0xc, 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
WRAPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-7: Clock prescaler.

WRAPSIZE

Bits 16-18: Wrap size.

DCR3

OCTOSPI device configuration register 3

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
CSBOUND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CSBOUND

Bits 16-20: NCS boundary.

DCR4

OCTOSPI device configuration register 4

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
REFRESH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REFRESH
rw
Toggle fields

REFRESH

Bits 0-31: Refresh rate.

SR

OCTOSPI status register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLEVEL
r
BUSY
r
TOF
r
SMF
r
FTF
r
TCF
r
TEF
r
Toggle fields

TEF

Bit 0: Transfer error flag.

TCF

Bit 1: Transfer complete flag.

FTF

Bit 2: FIFO threshold flag.

SMF

Bit 3: Status match flag.

TOF

Bit 4: Timeout flag.

BUSY

Bit 5: Busy.

FLEVEL

Bits 8-13: FIFO level.

FCR

OCTOSPI flag clear register

Offset: 0x24, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTOF
w
CSMF
w
CTCF
w
CTEF
w
Toggle fields

CTEF

Bit 0: Clear transfer error flag.

CTCF

Bit 1: Clear transfer complete flag.

CSMF

Bit 3: Clear status match flag.

CTOF

Bit 4: Clear timeout flag.

DLR

OCTOSPI data length 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
DL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DL
rw
Toggle fields

DL

Bits 0-31: Data length.

AR

OCTOSPI address register

Offset: 0x48, 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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle fields

ADDRESS

Bits 0-31: Address.

DR

OCTOSPI data 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle fields

DATA

Bits 0-31: Data.

PSMKR

OCTOSPI polling status mask register

Offset: 0x80, 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
MASK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASK
rw
Toggle fields

MASK

Bits 0-31: Status mask.

PSMAR

OCTOSPI polling status match 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle fields

MATCH

Bits 0-31: Status match.

PIR

OCTOSPI polling interval register

Offset: 0x90, 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
INTERVAL
rw
Toggle fields

INTERVAL

Bits 0-15: Polling interval.

CCR

OCTOSPI communication configuration register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DQSE
rw
DDTR
rw
DMODE
rw
ABSIZE
rw
ABDTR
rw
ABMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADSIZE
rw
ADDTR
rw
ADMODE
rw
ISIZE
rw
IDTR
rw
IMODE
rw
Toggle fields

IMODE

Bits 0-2: Instruction mode.

IDTR

Bit 3: Instruction double transfer rate.

ISIZE

Bits 4-5: Instruction size.

ADMODE

Bits 8-10: Address mode.

ADDTR

Bit 11: Address double transfer rate.

ADSIZE

Bits 12-13: Address size.

ABMODE

Bits 16-18: Alternate-byte mode.

ABDTR

Bit 19: Alternate- byte double transfer rate.

ABSIZE

Bits 20-21: Alternate-byte size.

DMODE

Bits 24-26: Data mode.

DDTR

Bit 27: Data double transfer rate.

DQSE

Bit 29: DQS enable.

TCR

OCTOSPI timing configuration register

Offset: 0x108, 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
SSHIFT
rw
DHQC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCYC
rw
Toggle fields

DCYC

Bits 0-4: Number of dummy cycles.

DHQC

Bit 28: Delay hold quarter cycle.

SSHIFT

Bit 30: Sample shift.

IR

OCTOSPI instruction 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
INSTRUCTION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-31: Instruction.

ABR

OCTOSPI alternate bytes 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
ALTERNATE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALTERNATE
rw
Toggle fields

ALTERNATE

Bits 0-31: Alternate bytes.

LPTR

OCTOSPI low-power timeout register

Offset: 0x130, 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
TIMEOUT
rw
Toggle fields

TIMEOUT

Bits 0-15: Timeout period.

WPCCR

OCTOSPI wrap communication configuration register

Offset: 0x140, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DQSE
rw
DDTR
rw
DMODE
rw
ABSIZE
rw
ABDTR
rw
ABMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADSIZE
rw
ADDTR
rw
ADMODE
rw
ISIZE
rw
IDTR
rw
IMODE
rw
Toggle fields

IMODE

Bits 0-2: Instruction mode.

IDTR

Bit 3: Instruction double transfer rate.

ISIZE

Bits 4-5: Instruction size.

ADMODE

Bits 8-10: Address mode.

ADDTR

Bit 11: Address double transfer rate.

ADSIZE

Bits 12-13: Address size.

ABMODE

Bits 16-18: Alternate-byte mode.

ABDTR

Bit 19: Alternate-byte double transfer rate.

ABSIZE

Bits 20-21: Alternate-byte size.

DMODE

Bits 24-26: Data mode.

DDTR

Bit 27: Data double transfer rate.

DQSE

Bit 29: DQS enable.

WPTCR

OCTOSPI wrap timing configuration register

Offset: 0x148, 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
SSHIFT
rw
DHQC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCYC
rw
Toggle fields

DCYC

Bits 0-4: Number of dummy cycles.

DHQC

Bit 28: Delay hold quarter cycle.

SSHIFT

Bit 30: Sample shift.

WPIR

OCTOSPI wrap instruction 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
INSTRUCTION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-31: Instruction.

WPABR

OCTOSPI wrap alternate bytes 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
ALTERNATE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALTERNATE
rw
Toggle fields

ALTERNATE

Bits 0-31: Alternate bytes.

WCCR

OCTOSPI write communication configuration register

Offset: 0x180, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DQSE
rw
DDTR
rw
DMODE
rw
ABSIZE
rw
ABDTR
rw
ABMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADSIZE
rw
ADDTR
rw
ADMODE
rw
ISIZE
rw
IDTR
rw
IMODE
rw
Toggle fields

IMODE

Bits 0-2: Instruction mode.

IDTR

Bit 3: Instruction double transfer rate.

ISIZE

Bits 4-5: Instruction size.

ADMODE

Bits 8-10: Address mode.

ADDTR

Bit 11: Address double transfer rate.

ADSIZE

Bits 12-13: Address size.

ABMODE

Bits 16-18: Alternate-byte mode.

ABDTR

Bit 19: Alternate bytes double transfer rate.

ABSIZE

Bits 20-21: Alternate-byte size.

DMODE

Bits 24-26: Data mode.

DDTR

Bit 27: data double transfer rate.

DQSE

Bit 29: DQS enable.

WTCR

OCTOSPI write timing configuration register

Offset: 0x188, 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
DCYC
rw
Toggle fields

DCYC

Bits 0-4: Number of dummy cycles.

WIR

OCTOSPI write instruction register

Offset: 0x190, 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
INSTRUCTION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-31: Instruction.

WABR

OCTOSPI write alternate bytes register

Offset: 0x1a0, 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
ALTERNATE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALTERNATE
rw
Toggle fields

ALTERNATE

Bits 0-31: Alternate bytes.

HLCR

OCTOSPI HyperBus latency configuration register

Offset: 0x200, 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
TRWR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TACC
rw
WZL
rw
LM
rw
Toggle fields

LM

Bit 0: Latency mode.

WZL

Bit 1: Write zero latency.

TACC

Bits 8-15: Access time.

TRWR

Bits 16-23: Read-write minimum recovery time.

OCTOSPI_S

0x57001400: OCTOSPI register block

7/96 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x8 DCR1
0xc DCR2
0x10 DCR3
0x14 DCR4
0x20 SR
0x24 FCR
0x40 DLR
0x48 AR
0x50 DR
0x80 PSMKR
0x88 PSMAR
0x90 PIR
0x100 CCR
0x108 TCR
0x110 IR
0x120 ABR
0x130 LPTR
0x140 WPCCR
0x148 WPTCR
0x150 WPIR
0x160 WPABR
0x180 WCCR
0x188 WTCR
0x190 WIR
0x1a0 WABR
0x200 HLCR
Toggle registers

CR

OCTOSPI control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FMODE
rw
PMM
rw
APMS
rw
TOIE
rw
SMIE
rw
FTIE
rw
TCIE
rw
TEIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FTHRES
rw
MSEL
rw
DMM
rw
TCEN
rw
DMAEN
rw
ABORT
rw
EN
rw
Toggle fields

EN

Bit 0: Enable.

ABORT

Bit 1: Abort request.

DMAEN

Bit 2: DMA enable.

TCEN

Bit 3: Timeout counter enable.

DMM

Bit 6: Dual-memory configuration.

MSEL

Bit 7: External memory select.

FTHRES

Bits 8-12: FIFO threshold level.

TEIE

Bit 16: Transfer error interrupt enable.

TCIE

Bit 17: Transfer complete interrupt enable.

FTIE

Bit 18: FIFO threshold interrupt enable.

SMIE

Bit 19: Status-match interrupt enable.

TOIE

Bit 20: Timeout interrupt enable.

APMS

Bit 22: Automatic status-polling mode stop.

PMM

Bit 23: Polling match mode.

FMODE

Bits 28-29: Functional mode.

DCR1

OCTOSPI device configuration register 1

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MTYP
rw
DEVSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSHT
rw
DLYBYP
rw
FRCK
rw
CKMODE
rw
Toggle fields

CKMODE

Bit 0: Clock mode 0/mode 3.

FRCK

Bit 1: Free running clock.

DLYBYP

Bit 3: Delay block bypass.

CSHT

Bits 8-13: Chip-select high time.

DEVSIZE

Bits 16-20: Device size.

MTYP

Bits 24-26: Memory type.

DCR2

OCTOSPI device configuration register 2

Offset: 0xc, 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
WRAPSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-7: Clock prescaler.

WRAPSIZE

Bits 16-18: Wrap size.

DCR3

OCTOSPI device configuration register 3

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
CSBOUND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CSBOUND

Bits 16-20: NCS boundary.

DCR4

OCTOSPI device configuration register 4

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
REFRESH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REFRESH
rw
Toggle fields

REFRESH

Bits 0-31: Refresh rate.

SR

OCTOSPI status register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLEVEL
r
BUSY
r
TOF
r
SMF
r
FTF
r
TCF
r
TEF
r
Toggle fields

TEF

Bit 0: Transfer error flag.

TCF

Bit 1: Transfer complete flag.

FTF

Bit 2: FIFO threshold flag.

SMF

Bit 3: Status match flag.

TOF

Bit 4: Timeout flag.

BUSY

Bit 5: Busy.

FLEVEL

Bits 8-13: FIFO level.

FCR

OCTOSPI flag clear register

Offset: 0x24, size: 32, reset: 0x00000000, access: write-only

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTOF
w
CSMF
w
CTCF
w
CTEF
w
Toggle fields

CTEF

Bit 0: Clear transfer error flag.

CTCF

Bit 1: Clear transfer complete flag.

CSMF

Bit 3: Clear status match flag.

CTOF

Bit 4: Clear timeout flag.

DLR

OCTOSPI data length 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
DL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DL
rw
Toggle fields

DL

Bits 0-31: Data length.

AR

OCTOSPI address register

Offset: 0x48, 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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle fields

ADDRESS

Bits 0-31: Address.

DR

OCTOSPI data 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
DATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA
rw
Toggle fields

DATA

Bits 0-31: Data.

PSMKR

OCTOSPI polling status mask register

Offset: 0x80, 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
MASK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASK
rw
Toggle fields

MASK

Bits 0-31: Status mask.

PSMAR

OCTOSPI polling status match 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
MATCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MATCH
rw
Toggle fields

MATCH

Bits 0-31: Status match.

PIR

OCTOSPI polling interval register

Offset: 0x90, 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
INTERVAL
rw
Toggle fields

INTERVAL

Bits 0-15: Polling interval.

CCR

OCTOSPI communication configuration register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DQSE
rw
DDTR
rw
DMODE
rw
ABSIZE
rw
ABDTR
rw
ABMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADSIZE
rw
ADDTR
rw
ADMODE
rw
ISIZE
rw
IDTR
rw
IMODE
rw
Toggle fields

IMODE

Bits 0-2: Instruction mode.

IDTR

Bit 3: Instruction double transfer rate.

ISIZE

Bits 4-5: Instruction size.

ADMODE

Bits 8-10: Address mode.

ADDTR

Bit 11: Address double transfer rate.

ADSIZE

Bits 12-13: Address size.

ABMODE

Bits 16-18: Alternate-byte mode.

ABDTR

Bit 19: Alternate- byte double transfer rate.

ABSIZE

Bits 20-21: Alternate-byte size.

DMODE

Bits 24-26: Data mode.

DDTR

Bit 27: Data double transfer rate.

DQSE

Bit 29: DQS enable.

TCR

OCTOSPI timing configuration register

Offset: 0x108, 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
SSHIFT
rw
DHQC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCYC
rw
Toggle fields

DCYC

Bits 0-4: Number of dummy cycles.

DHQC

Bit 28: Delay hold quarter cycle.

SSHIFT

Bit 30: Sample shift.

IR

OCTOSPI instruction 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
INSTRUCTION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-31: Instruction.

ABR

OCTOSPI alternate bytes 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
ALTERNATE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALTERNATE
rw
Toggle fields

ALTERNATE

Bits 0-31: Alternate bytes.

LPTR

OCTOSPI low-power timeout register

Offset: 0x130, 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
TIMEOUT
rw
Toggle fields

TIMEOUT

Bits 0-15: Timeout period.

WPCCR

OCTOSPI wrap communication configuration register

Offset: 0x140, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DQSE
rw
DDTR
rw
DMODE
rw
ABSIZE
rw
ABDTR
rw
ABMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADSIZE
rw
ADDTR
rw
ADMODE
rw
ISIZE
rw
IDTR
rw
IMODE
rw
Toggle fields

IMODE

Bits 0-2: Instruction mode.

IDTR

Bit 3: Instruction double transfer rate.

ISIZE

Bits 4-5: Instruction size.

ADMODE

Bits 8-10: Address mode.

ADDTR

Bit 11: Address double transfer rate.

ADSIZE

Bits 12-13: Address size.

ABMODE

Bits 16-18: Alternate-byte mode.

ABDTR

Bit 19: Alternate-byte double transfer rate.

ABSIZE

Bits 20-21: Alternate-byte size.

DMODE

Bits 24-26: Data mode.

DDTR

Bit 27: Data double transfer rate.

DQSE

Bit 29: DQS enable.

WPTCR

OCTOSPI wrap timing configuration register

Offset: 0x148, 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
SSHIFT
rw
DHQC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCYC
rw
Toggle fields

DCYC

Bits 0-4: Number of dummy cycles.

DHQC

Bit 28: Delay hold quarter cycle.

SSHIFT

Bit 30: Sample shift.

WPIR

OCTOSPI wrap instruction 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
INSTRUCTION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-31: Instruction.

WPABR

OCTOSPI wrap alternate bytes 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
ALTERNATE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALTERNATE
rw
Toggle fields

ALTERNATE

Bits 0-31: Alternate bytes.

WCCR

OCTOSPI write communication configuration register

Offset: 0x180, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DQSE
rw
DDTR
rw
DMODE
rw
ABSIZE
rw
ABDTR
rw
ABMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADSIZE
rw
ADDTR
rw
ADMODE
rw
ISIZE
rw
IDTR
rw
IMODE
rw
Toggle fields

IMODE

Bits 0-2: Instruction mode.

IDTR

Bit 3: Instruction double transfer rate.

ISIZE

Bits 4-5: Instruction size.

ADMODE

Bits 8-10: Address mode.

ADDTR

Bit 11: Address double transfer rate.

ADSIZE

Bits 12-13: Address size.

ABMODE

Bits 16-18: Alternate-byte mode.

ABDTR

Bit 19: Alternate bytes double transfer rate.

ABSIZE

Bits 20-21: Alternate-byte size.

DMODE

Bits 24-26: Data mode.

DDTR

Bit 27: data double transfer rate.

DQSE

Bit 29: DQS enable.

WTCR

OCTOSPI write timing configuration register

Offset: 0x188, 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
DCYC
rw
Toggle fields

DCYC

Bits 0-4: Number of dummy cycles.

WIR

OCTOSPI write instruction register

Offset: 0x190, 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
INSTRUCTION
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-31: Instruction.

WABR

OCTOSPI write alternate bytes register

Offset: 0x1a0, 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
ALTERNATE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALTERNATE
rw
Toggle fields

ALTERNATE

Bits 0-31: Alternate bytes.

HLCR

OCTOSPI HyperBus latency configuration register

Offset: 0x200, 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
TRWR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TACC
rw
WZL
rw
LM
rw
Toggle fields

LM

Bit 0: Latency mode.

WZL

Bit 1: Write zero latency.

TACC

Bits 8-15: Access time.

TRWR

Bits 16-23: Read-write minimum recovery time.

PSSI

0x4202c400: PSSI register block

4/18 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 RIS
0xc IER
0x10 MIS
0x14 ICR
0x28 DR
Toggle registers

CR

PSSI control register

Offset: 0x0, size: 32, reset: 0x40000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OUTEN
rw
DMAEN
rw
DERDYCFG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENABLE
rw
EDM
rw
RDYPOL
rw
DEPOL
rw
CKPOL
rw
Toggle fields

CKPOL

Bit 5: Parallel data clock polarity.

DEPOL

Bit 6: Data enable (PSSI_DE) polarity.

RDYPOL

Bit 8: Ready (PSSI_RDY) polarity.

EDM

Bits 10-11: Extended data mode.

ENABLE

Bit 14: PSSI enable.

DERDYCFG

Bits 18-20: Data enable and ready configuration.

DMAEN

Bit 30: DMA enable bit.

OUTEN

Bit 31: Data direction selection bit.

SR

PSSI status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTT1B
r
RTT4B
r
Toggle fields

RTT4B

Bit 2: FIFO is ready to transfer four bytes.

RTT1B

Bit 3: FIFO is ready to transfer one byte.

RIS

PSSI raw interrupt status 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
OVR_RIS
r
Toggle fields

OVR_RIS

Bit 1: Data buffer overrun/underrun raw interrupt status.

IER

PSSI interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVR_IE
rw
Toggle fields

OVR_IE

Bit 1: Data buffer overrun/underrun interrupt enable.

MIS

PSSI masked interrupt status register

Offset: 0x10, 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
OVR_MIS
r
Toggle fields

OVR_MIS

Bit 1: Data buffer overrun/underrun masked interrupt status.

ICR

PSSI interrupt clear register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVR_ISC
w
Toggle fields

OVR_ISC

Bit 1: Data buffer overrun/underrun interrupt status clear.

DR

PSSI data register

Offset: 0x28, 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
BYTE3
rw
BYTE2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYTE1
rw
BYTE0
rw
Toggle fields

BYTE0

Bits 0-7: Data byte 0.

BYTE1

Bits 8-15: Data byte 1.

BYTE2

Bits 16-23: Data byte 2.

BYTE3

Bits 24-31: Data byte 3.

PSSI_S

0x5202c400: PSSI register block

4/18 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 RIS
0xc IER
0x10 MIS
0x14 ICR
0x28 DR
Toggle registers

CR

PSSI control register

Offset: 0x0, size: 32, reset: 0x40000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OUTEN
rw
DMAEN
rw
DERDYCFG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENABLE
rw
EDM
rw
RDYPOL
rw
DEPOL
rw
CKPOL
rw
Toggle fields

CKPOL

Bit 5: Parallel data clock polarity.

DEPOL

Bit 6: Data enable (PSSI_DE) polarity.

RDYPOL

Bit 8: Ready (PSSI_RDY) polarity.

EDM

Bits 10-11: Extended data mode.

ENABLE

Bit 14: PSSI enable.

DERDYCFG

Bits 18-20: Data enable and ready configuration.

DMAEN

Bit 30: DMA enable bit.

OUTEN

Bit 31: Data direction selection bit.

SR

PSSI status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTT1B
r
RTT4B
r
Toggle fields

RTT4B

Bit 2: FIFO is ready to transfer four bytes.

RTT1B

Bit 3: FIFO is ready to transfer one byte.

RIS

PSSI raw interrupt status 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
OVR_RIS
r
Toggle fields

OVR_RIS

Bit 1: Data buffer overrun/underrun raw interrupt status.

IER

PSSI interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVR_IE
rw
Toggle fields

OVR_IE

Bit 1: Data buffer overrun/underrun interrupt enable.

MIS

PSSI masked interrupt status register

Offset: 0x10, 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
OVR_MIS
r
Toggle fields

OVR_MIS

Bit 1: Data buffer overrun/underrun masked interrupt status.

ICR

PSSI interrupt clear register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVR_ISC
w
Toggle fields

OVR_ISC

Bit 1: Data buffer overrun/underrun interrupt status clear.

DR

PSSI data register

Offset: 0x28, 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
BYTE3
rw
BYTE2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BYTE1
rw
BYTE0
rw
Toggle fields

BYTE0

Bits 0-7: Data byte 0.

BYTE1

Bits 8-15: Data byte 1.

BYTE2

Bits 16-23: Data byte 2.

BYTE3

Bits 24-31: Data byte 3.

PWR

0x44020800: PWR address block description

79/110 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 PMCR
0x0 PMCR_ALTERNATE1
0x4 PMSR
0x10 VOSCR
0x14 VOSSR
0x20 BDCR
0x24 DBPCR
0x28 BDSR
0x2c UCPDR
0x30 SCCR
0x34 VMCR
0x38 USBSCR
0x3c VMSR
0x40 WUSCR
0x44 WUSR
0x48 WUCR
0x50 IORETR
0x100 SECCFGR
0x104 PRIVCFGR
Toggle registers

PMCR

PWR power mode control register

Offset: 0x0, size: 32, reset: 0x0000000C, access: read-write

9/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1SO
rw
SRAM2_48SO
rw
SRAM2_16SO
rw
SRAM3SO
rw
ETHERNETSO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AVD_READY
rw
BOOSTE
rw
FLPS
rw
CSSF
rw
SVOS
rw
LPMS
rw
Toggle fields

LPMS

Bit 0: low-power mode selection.

Allowed values:
0: StopMode: Keeps Stop mode when entering DeepSleep
1: StandbyMode: Allows Standby mode when entering DeepSleep

SVOS

Bits 2-3: system Stop mode voltage scaling selection.

Allowed values:
1: Scale5: SVOS5 scale 5
2: Scale4: SVOS4 scale 4
3: Scale3: SVOS3 scale 3

CSSF

Bit 7: clear Standby and Stop flags (always read as 0).

Allowed values:
1: Clear: STOPF and SBF flags cleared

FLPS

Bit 9: flash memory low-power mode in Stop mode.

Allowed values:
0: NormalMode: Flash memory remains in normal mode when the system enters Stop mode
1: LowPowerMode: Flash memory enters low-power mode when the system enters Stop mode

BOOSTE

Bit 12: analog switch Vless thansub>BOOSTless than/sub> control.

Allowed values:
0: Disabled: Booster disabled
1: Enabled: Booster enabled if analog voltage ready (AVD_READY = 1)

AVD_READY

Bit 13: analog voltage ready.

Allowed values:
0: NotReady: Peripheral analog voltage VDDA not ready (default)
1: Ready: Peripheral analog voltage VDDA ready

ETHERNETSO

Bit 16: ETHERNET RAM shut-off in Stop mode..

SRAM3SO

Bit 23: AHB SRAM3 shut-off in Stop mode..

SRAM2_16SO

Bit 24: AHB SRAM2 16-Kbyte shut-off in Stop mode..

Allowed values:
0: Kept: AHB RAM2 content is kept in Stop mode
1: Lost: AHB RAM2 content is lost in Stop mode

SRAM2_48SO

Bit 25: AHB SRAM2 48-Kbyte shut-off in Stop mode..

Allowed values:
0: Kept: AHB RAM2 content is kept in Stop mode
1: Lost: AHB RAM2 content is lost in Stop mode

SRAM1SO

Bit 26: AHB SRAM1 shut-off in Stop mode.

Allowed values:
0: Kept: AHB RAM1 content is kept in Stop mode
1: Lost: AHB RAM1 content is lost in Stop mode

PMCR_ALTERNATE1

PWR power mode control register

Offset: 0x0, size: 32, reset: 0x0000000C, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1SO
rw
SRAM2_48SO
rw
SRAM2_16HSO
rw
SRAM2_16LSO
rw
SRAM3SO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AVD_READY
rw
BOOSTE
rw
FLPS
rw
CSSF
rw
SVOS
rw
LPMS
rw
Toggle fields

LPMS

Bit 0: low-power mode selection.

SVOS

Bits 2-3: system Stop mode voltage scaling selection.

CSSF

Bit 7: clear Standby and Stop flags (always read as 0).

FLPS

Bit 9: flash memory low-power mode in Stop mode.

BOOSTE

Bit 12: analog switch Vless thansub>BOOSTless than/sub> control.

AVD_READY

Bit 13: analog voltage ready.

SRAM3SO

Bit 23: AHB SRAM3 shut-off in Stop mode..

SRAM2_16LSO

Bit 24: AHB SRAM2 low 16-Kbyte shut-off in Stop mode..

SRAM2_16HSO

Bit 25: AHB SRAM2 high 16-Kbyte shut-off in Stop mode..

SRAM2_48SO

Bit 26: AHB SRAM2 48-Kbyte shut-off in Stop mode..

SRAM1SO

Bit 27: AHB SRAM1 shut-off in Stop mode.

PMSR

PWR status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBF
r
STOPF
r
Toggle fields

STOPF

Bit 5: Stop flag.

Allowed values:
0: NoStopMode: System has not been in stop mode
1: StopModePreviouslyEntered: System has been in Stop mode

SBF

Bit 6: System standby flag.

Allowed values:
0: NoStandbyMode: System has not been in standby mode
1: StandbyModePreviouslyEntered: System has been in Standby mode

VOSCR

PWR voltage scaling control 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
VOS
rw
Toggle fields

VOS

Bits 4-5: voltage scaling selection according to performance.

Allowed values:
0: VOS3: Scale 3 (default)
1: VOS1: Scale 1
2: VOS2: Scale 2
3: VOS0: Scale 0

VOSSR

PWR voltage scaling status register

Offset: 0x14, size: 32, reset: 0x00002008, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTVOS
r
ACTVOSRDY
r
VOSRDY
r
Toggle fields

VOSRDY

Bit 3: Ready bit for Vless thansub>COREless than/sub> voltage scaling output selection..

Allowed values:
0: NotReady: Not ready, voltage level below VOS selected level
1: Ready: Ready, voltage level at or above VOS selected level

ACTVOSRDY

Bit 13: Voltage level ready for currently used VOS.

Allowed values:
0: NotReady: VCORE is above or below the current voltage scaling provided by ACTVOS[1:0]
1: Ready: VCORE is equal to the current voltage scaling provided by ACTVOS[1:0]

ACTVOS

Bits 14-15: voltage output scaling currently applied to Vless thansub>COREless than/sub>.

Allowed values:
0: VOS3: VOS3 (lowest power)
1: VOS2: VOS2
2: VOS1: VOS1
3: VOS0: VOS0 (highest frequency)

BDCR

PWR Backup domain control register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBRS
rw
VBE
rw
MONEN
rw
BREN
rw
Toggle fields

BREN

Bit 0: Backup RAM retention in Standby and Vless thansub>BATless than/sub> modes.

Allowed values:
0: Disabled: Backup regulator enabled; backup RAM content lost in Standby and VBAT modes
1: Enabled: Backup regulator disabled; backup RAM content preserved in Standby and VBAT modes

MONEN

Bit 1: Backup domain voltage and temperature monitoring enable.

Allowed values:
0: Disabled: Backup domain voltage and temperature monitoring disabled
1: Enabled: Backup domain voltage and temperature monitoring enabled

VBE

Bit 8: Vless thansub>BATless than/sub> charging enable.

Allowed values:
0: Disabled: VBAT battery charging disabled
1: Enabled: VBAT battery charging enabled

VBRS

Bit 9: Vless thansub>BATless than/sub> charging resistor selection.

Allowed values:
0: Charge5k: Charge VBAT through a 5 kΩ resistor
1: Charge1k5: Charge VBAT through a 1.5 kΩ resistor

DBPCR

PWR Backup domain control 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
DBP
rw
Toggle fields

DBP

Bit 0: Disable Backup domain write protection.

Allowed values:
0: Disabled: Write access to backup domain disabled
1: Enabled: Write access to backup domain enabled

BDSR

PWR Backup domain status register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEMPH
r
TEMPL
r
VBATH
r
VBATL
r
BRRDY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

BRRDY

Bit 16: backup regulator ready.

Allowed values:
0: NotReady: Backup regulator not ready
1: Ready: Backup regulator ready

VBATL

Bit 20: Vless thansub>BATless than/sub> level monitoring versus low threshold.

Allowed values:
0: AboveThreshold: Above low threshold level
1: BelowThreshold: Equal to or below low threshold level

VBATH

Bit 21: Vless thansub>BATless than/sub> level monitoring versus high threshold.

Allowed values:
0: BelowThreshold: Below high threshold level
1: AboveThreshold: Equal to or Above high threshold level

TEMPL

Bit 22: temperature level monitoring versus low threshold.

Allowed values:
0: AboveThreshold: Above low threshold level
1: BelowThreshold: Equal to or below low threshold level

TEMPH

Bit 23: temperature level monitoring versus high threshold.

Allowed values:
0: BelowThreshold: Below high threshold level
1: AboveThreshold: Equal to or Above high threshold level

UCPDR

PWR USB Type-C power delivery register

Offset: 0x2c, 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
UCPD_STBY
rw
UCPD_DBDIS
rw
Toggle fields

UCPD_DBDIS

Bit 0: USB Type-C and power delivery dead battery disable.

UCPD_STBY

Bit 1: USB Type-c and Power delivery Standby mode.

SCCR

PWR supply configuration control register

Offset: 0x30, size: 32, reset: 0x00000100, access: read-writeOnce

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMPSEN
r
LDOEN
r
BYPASS
N/A
Toggle fields

BYPASS

Bit 0: power management unit bypass.

Allowed values:
0: InternalRegulator: Power management unit normal operation. Use the internal regulator.
1: Bypassed: Power management unit bypassed. Use the external power.

LDOEN

Bit 8: LDO enable.

Allowed values:
0: Disabled: Package does not use LDO regulator
1: Enabled: Package uses LDO regulator

SMPSEN

Bit 9: SMPS enable.

VMCR

PWR voltage monitor control register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALS
rw
AVDEN
rw
PLS
rw
PVDE
rw
Toggle fields

PVDE

Bit 0: PVD enable.

Allowed values:
0: Disabled: PVD Disabled
1: Enabled: PVD Enabled

PLS

Bits 1-3: programmable voltage detector (PVD) level selection.

Allowed values:
0: PvdLevel0: PVD level0 (VPVD0 around 1.95 V)
1: PvdLevel1: PVD level1 (VPVD1 around 2.1 V)
2: PvdLevel2: PVD level2 (VPVD2 around 2.25 V)
3: PvdLevel3: PVD level3 (VPVD3 around 2.4 V)
4: PvdLevel4: PVD level4 (VPVD4 around 2.55 V)
5: PvdLevel5: PVD level5 (VPVD5 around 2.7 V)
6: PvdLevel6: PVD level6 (VPVD6 around 2.85 V)
7: PvdIn: PVD_IN pin

AVDEN

Bit 8: peripheral voltage monitor on Vless thansub>DDAless than/sub> enable.

Allowed values:
0: Disabled: Peripheral voltage monitor on VDDA disabled
1: Enabled: Peripheral voltage monitor on VDDA enabled

ALS

Bits 9-10: analog voltage detector (AVD) level selection.

Allowed values:
0: AvdLevel0: AVD level0 (VAVD0 around 1.7 V)
1: AvdLevel1: AVD level1 (VAVD1 around 2.1 V)
2: AvdLevel2: AVD level2 (VAVD2 around 2.5 V)
3: AvdLevel3: AVD level3 (VAVD3 around 2.8 V)

USBSCR

PWR USB supply control register

Offset: 0x38, 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
USB33SV
rw
USB33DEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

USB33DEN

Bit 24: Vless thansub>DDUSBless than/sub> voltage level detector enable.

USB33SV

Bit 25: independent USB supply valid.

VMSR

PWR voltage monitor status register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USB33RDY
r
PVDO
r
VDDIO2RDY
r
AVDO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

AVDO

Bit 19: analog voltage detector output on Vless thansub>DDAless than/sub>.

Allowed values:
0: AboveThreshold: VDDA is equal or higher than the AVD threshold selected with the ALS[2:0] bits
1: BelowThreshold: VDDA is lower than the AVD threshold selected with the ALS[2:0] bits

VDDIO2RDY

Bit 20: voltage detector output on Vless thansub>DDIO2less than/sub>.

Allowed values:
0: BelowThreshold: VDDIO2 is below the threshold of the VDDIO2 voltage monitor
1: AboveThreshold: VDDIO2 is equal or above the threshold of the VDDIO2 voltage monitor

PVDO

Bit 22: programmable voltage detect output.

Allowed values:
0: AboveThreshold: VDD is equal or higher than the PVD threshold selected through the PLS[2:0] bits.
1: BelowThreshold: VDD is lower than the PVD threshold selected through the PLS[2:0] bits

USB33RDY

Bit 24: Vless thansub>DDUSBless than/sub> ready.

WUSCR

PWR wake-up status clear register

Offset: 0x40, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CWUF8
w
CWUF7
w
CWUF6
w
CWUF5
w
CWUF4
w
CWUF3
w
CWUF2
w
CWUF1
w
Toggle fields

CWUF1

Bit 0: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF2

Bit 1: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF3

Bit 2: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF4

Bit 3: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF5

Bit 4: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF6

Bit 5: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF7

Bit 6: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF8

Bit 7: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

WUSR

PWR wake-up status register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUF8
r
WUF7
r
WUF6
r
WUF5
r
WUF4
r
WUF3
r
WUF2
r
WUF1
r
Toggle fields

WUF1

Bit 0: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF2

Bit 1: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF3

Bit 2: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF4

Bit 3: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF5

Bit 4: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF6

Bit 5: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF7

Bit 6: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF8

Bit 7: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUCR

PWR wake-up configuration register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUPPUPD8
rw
WUPPUPD7
rw
WUPPUPD6
rw
WUPPUPD5
rw
WUPPUPD4
rw
WUPPUPD3
rw
WUPPUPD2
rw
WUPPUPD1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUPP8
rw
WUPP7
rw
WUPP6
rw
WUPP5
rw
WUPP4
rw
WUPP3
rw
WUPP2
rw
WUPP1
rw
WUPEN8
rw
WUPEN7
rw
WUPEN6
rw
WUPEN5
rw
WUPEN4
rw
WUPEN3
rw
WUPEN2
rw
WUPEN1
rw
Toggle fields

WUPEN1

Bit 0: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN2

Bit 1: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN3

Bit 2: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN4

Bit 3: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN5

Bit 4: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN6

Bit 5: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN7

Bit 6: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN8

Bit 7: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPP1

Bit 8: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP2

Bit 9: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP3

Bit 10: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP4

Bit 11: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP5

Bit 12: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP6

Bit 13: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP7

Bit 14: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP8

Bit 15: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPPUPD1

Bits 16-17: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD2

Bits 18-19: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD3

Bits 20-21: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD4

Bits 22-23: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD5

Bits 24-25: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD6

Bits 26-27: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD7

Bits 28-29: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD8

Bits 30-31: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

IORETR

PWR I/O retention register

Offset: 0x50, 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
JTAGIORETEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IORETEN
rw
Toggle fields

IORETEN

Bit 0: IO retention enable.

Allowed values:
0: Disabled: IO Retention mode is disabled
1: Enabled: IO Retention mode is enabled

JTAGIORETEN

Bit 16: IO retention enable for JTAG IOs.

Allowed values:
0: Disabled: IO Retention mode is disabled
1: Enabled: IO Retention mode is enabled

SECCFGR

PWR security configuration register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

Toggle fields

WUP1SEC

Bit 0: WUPx secure protection (x = 8 to 1).

WUP2SEC

Bit 1: WUPx secure protection (x = 8 to 1).

WUP3SEC

Bit 2: WUPx secure protection (x = 8 to 1).

WUP4SEC

Bit 3: WUPx secure protection (x = 8 to 1).

WUP5SEC

Bit 4: WUPx secure protection (x = 8 to 1).

WUP6SEC

Bit 5: WUPx secure protection (x = 8 to 1).

WUP7SEC

Bit 6: WUPx secure protection (x = 8 to 1).

WUP8SEC

Bit 7: WUPx secure protection (x = 8 to 1).

RETSEC

Bit 11: retention secure protection.

LPMSEC

Bit 12: low-power modes secure protection.

SCMSEC

Bit 13: supply configuration and monitoring secure protection..

VBSEC

Bit 14: Backup domain secure protection.

VUSBSEC

Bit 15: voltage USB secure protection.

PRIVCFGR

PWR privilege configuration register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSPRIV
rw
SPRIV
rw
Toggle fields

SPRIV

Bit 0: PWR secure functions privilege configuration.

NSPRIV

Bit 1: PWR non-secure functions privilege configuration.

Allowed values:
0: Unprivileged: Read and write to PWR functions can be done by privileged or unprivileged access
1: Privileged: Read and write to PWR functions can be done by privileged access only

PWR_S

0x54020800: PWR address block description

79/110 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 PMCR
0x0 PMCR_ALTERNATE1
0x4 PMSR
0x10 VOSCR
0x14 VOSSR
0x20 BDCR
0x24 DBPCR
0x28 BDSR
0x2c UCPDR
0x30 SCCR
0x34 VMCR
0x38 USBSCR
0x3c VMSR
0x40 WUSCR
0x44 WUSR
0x48 WUCR
0x50 IORETR
0x100 SECCFGR
0x104 PRIVCFGR
Toggle registers

PMCR

PWR power mode control register

Offset: 0x0, size: 32, reset: 0x0000000C, access: read-write

9/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1SO
rw
SRAM2_48SO
rw
SRAM2_16SO
rw
SRAM3SO
rw
ETHERNETSO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AVD_READY
rw
BOOSTE
rw
FLPS
rw
CSSF
rw
SVOS
rw
LPMS
rw
Toggle fields

LPMS

Bit 0: low-power mode selection.

Allowed values:
0: StopMode: Keeps Stop mode when entering DeepSleep
1: StandbyMode: Allows Standby mode when entering DeepSleep

SVOS

Bits 2-3: system Stop mode voltage scaling selection.

Allowed values:
1: Scale5: SVOS5 scale 5
2: Scale4: SVOS4 scale 4
3: Scale3: SVOS3 scale 3

CSSF

Bit 7: clear Standby and Stop flags (always read as 0).

Allowed values:
1: Clear: STOPF and SBF flags cleared

FLPS

Bit 9: flash memory low-power mode in Stop mode.

Allowed values:
0: NormalMode: Flash memory remains in normal mode when the system enters Stop mode
1: LowPowerMode: Flash memory enters low-power mode when the system enters Stop mode

BOOSTE

Bit 12: analog switch Vless thansub>BOOSTless than/sub> control.

Allowed values:
0: Disabled: Booster disabled
1: Enabled: Booster enabled if analog voltage ready (AVD_READY = 1)

AVD_READY

Bit 13: analog voltage ready.

Allowed values:
0: NotReady: Peripheral analog voltage VDDA not ready (default)
1: Ready: Peripheral analog voltage VDDA ready

ETHERNETSO

Bit 16: ETHERNET RAM shut-off in Stop mode..

SRAM3SO

Bit 23: AHB SRAM3 shut-off in Stop mode..

SRAM2_16SO

Bit 24: AHB SRAM2 16-Kbyte shut-off in Stop mode..

Allowed values:
0: Kept: AHB RAM2 content is kept in Stop mode
1: Lost: AHB RAM2 content is lost in Stop mode

SRAM2_48SO

Bit 25: AHB SRAM2 48-Kbyte shut-off in Stop mode..

Allowed values:
0: Kept: AHB RAM2 content is kept in Stop mode
1: Lost: AHB RAM2 content is lost in Stop mode

SRAM1SO

Bit 26: AHB SRAM1 shut-off in Stop mode.

Allowed values:
0: Kept: AHB RAM1 content is kept in Stop mode
1: Lost: AHB RAM1 content is lost in Stop mode

PMCR_ALTERNATE1

PWR power mode control register

Offset: 0x0, size: 32, reset: 0x0000000C, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1SO
rw
SRAM2_48SO
rw
SRAM2_16HSO
rw
SRAM2_16LSO
rw
SRAM3SO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AVD_READY
rw
BOOSTE
rw
FLPS
rw
CSSF
rw
SVOS
rw
LPMS
rw
Toggle fields

LPMS

Bit 0: low-power mode selection.

SVOS

Bits 2-3: system Stop mode voltage scaling selection.

CSSF

Bit 7: clear Standby and Stop flags (always read as 0).

FLPS

Bit 9: flash memory low-power mode in Stop mode.

BOOSTE

Bit 12: analog switch Vless thansub>BOOSTless than/sub> control.

AVD_READY

Bit 13: analog voltage ready.

SRAM3SO

Bit 23: AHB SRAM3 shut-off in Stop mode..

SRAM2_16LSO

Bit 24: AHB SRAM2 low 16-Kbyte shut-off in Stop mode..

SRAM2_16HSO

Bit 25: AHB SRAM2 high 16-Kbyte shut-off in Stop mode..

SRAM2_48SO

Bit 26: AHB SRAM2 48-Kbyte shut-off in Stop mode..

SRAM1SO

Bit 27: AHB SRAM1 shut-off in Stop mode.

PMSR

PWR status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBF
r
STOPF
r
Toggle fields

STOPF

Bit 5: Stop flag.

Allowed values:
0: NoStopMode: System has not been in stop mode
1: StopModePreviouslyEntered: System has been in Stop mode

SBF

Bit 6: System standby flag.

Allowed values:
0: NoStandbyMode: System has not been in standby mode
1: StandbyModePreviouslyEntered: System has been in Standby mode

VOSCR

PWR voltage scaling control 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
VOS
rw
Toggle fields

VOS

Bits 4-5: voltage scaling selection according to performance.

Allowed values:
0: VOS3: Scale 3 (default)
1: VOS1: Scale 1
2: VOS2: Scale 2
3: VOS0: Scale 0

VOSSR

PWR voltage scaling status register

Offset: 0x14, size: 32, reset: 0x00002008, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTVOS
r
ACTVOSRDY
r
VOSRDY
r
Toggle fields

VOSRDY

Bit 3: Ready bit for Vless thansub>COREless than/sub> voltage scaling output selection..

Allowed values:
0: NotReady: Not ready, voltage level below VOS selected level
1: Ready: Ready, voltage level at or above VOS selected level

ACTVOSRDY

Bit 13: Voltage level ready for currently used VOS.

Allowed values:
0: NotReady: VCORE is above or below the current voltage scaling provided by ACTVOS[1:0]
1: Ready: VCORE is equal to the current voltage scaling provided by ACTVOS[1:0]

ACTVOS

Bits 14-15: voltage output scaling currently applied to Vless thansub>COREless than/sub>.

Allowed values:
0: VOS3: VOS3 (lowest power)
1: VOS2: VOS2
2: VOS1: VOS1
3: VOS0: VOS0 (highest frequency)

BDCR

PWR Backup domain control register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBRS
rw
VBE
rw
MONEN
rw
BREN
rw
Toggle fields

BREN

Bit 0: Backup RAM retention in Standby and Vless thansub>BATless than/sub> modes.

Allowed values:
0: Disabled: Backup regulator enabled; backup RAM content lost in Standby and VBAT modes
1: Enabled: Backup regulator disabled; backup RAM content preserved in Standby and VBAT modes

MONEN

Bit 1: Backup domain voltage and temperature monitoring enable.

Allowed values:
0: Disabled: Backup domain voltage and temperature monitoring disabled
1: Enabled: Backup domain voltage and temperature monitoring enabled

VBE

Bit 8: Vless thansub>BATless than/sub> charging enable.

Allowed values:
0: Disabled: VBAT battery charging disabled
1: Enabled: VBAT battery charging enabled

VBRS

Bit 9: Vless thansub>BATless than/sub> charging resistor selection.

Allowed values:
0: Charge5k: Charge VBAT through a 5 kΩ resistor
1: Charge1k5: Charge VBAT through a 1.5 kΩ resistor

DBPCR

PWR Backup domain control 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
DBP
rw
Toggle fields

DBP

Bit 0: Disable Backup domain write protection.

Allowed values:
0: Disabled: Write access to backup domain disabled
1: Enabled: Write access to backup domain enabled

BDSR

PWR Backup domain status register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TEMPH
r
TEMPL
r
VBATH
r
VBATL
r
BRRDY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

BRRDY

Bit 16: backup regulator ready.

Allowed values:
0: NotReady: Backup regulator not ready
1: Ready: Backup regulator ready

VBATL

Bit 20: Vless thansub>BATless than/sub> level monitoring versus low threshold.

Allowed values:
0: AboveThreshold: Above low threshold level
1: BelowThreshold: Equal to or below low threshold level

VBATH

Bit 21: Vless thansub>BATless than/sub> level monitoring versus high threshold.

Allowed values:
0: BelowThreshold: Below high threshold level
1: AboveThreshold: Equal to or Above high threshold level

TEMPL

Bit 22: temperature level monitoring versus low threshold.

Allowed values:
0: AboveThreshold: Above low threshold level
1: BelowThreshold: Equal to or below low threshold level

TEMPH

Bit 23: temperature level monitoring versus high threshold.

Allowed values:
0: BelowThreshold: Below high threshold level
1: AboveThreshold: Equal to or Above high threshold level

UCPDR

PWR USB Type-C power delivery register

Offset: 0x2c, 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
UCPD_STBY
rw
UCPD_DBDIS
rw
Toggle fields

UCPD_DBDIS

Bit 0: USB Type-C and power delivery dead battery disable.

UCPD_STBY

Bit 1: USB Type-c and Power delivery Standby mode.

SCCR

PWR supply configuration control register

Offset: 0x30, size: 32, reset: 0x00000100, access: read-writeOnce

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMPSEN
r
LDOEN
r
BYPASS
N/A
Toggle fields

BYPASS

Bit 0: power management unit bypass.

Allowed values:
0: InternalRegulator: Power management unit normal operation. Use the internal regulator.
1: Bypassed: Power management unit bypassed. Use the external power.

LDOEN

Bit 8: LDO enable.

Allowed values:
0: Disabled: Package does not use LDO regulator
1: Enabled: Package uses LDO regulator

SMPSEN

Bit 9: SMPS enable.

VMCR

PWR voltage monitor control register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALS
rw
AVDEN
rw
PLS
rw
PVDE
rw
Toggle fields

PVDE

Bit 0: PVD enable.

Allowed values:
0: Disabled: PVD Disabled
1: Enabled: PVD Enabled

PLS

Bits 1-3: programmable voltage detector (PVD) level selection.

Allowed values:
0: PvdLevel0: PVD level0 (VPVD0 around 1.95 V)
1: PvdLevel1: PVD level1 (VPVD1 around 2.1 V)
2: PvdLevel2: PVD level2 (VPVD2 around 2.25 V)
3: PvdLevel3: PVD level3 (VPVD3 around 2.4 V)
4: PvdLevel4: PVD level4 (VPVD4 around 2.55 V)
5: PvdLevel5: PVD level5 (VPVD5 around 2.7 V)
6: PvdLevel6: PVD level6 (VPVD6 around 2.85 V)
7: PvdIn: PVD_IN pin

AVDEN

Bit 8: peripheral voltage monitor on Vless thansub>DDAless than/sub> enable.

Allowed values:
0: Disabled: Peripheral voltage monitor on VDDA disabled
1: Enabled: Peripheral voltage monitor on VDDA enabled

ALS

Bits 9-10: analog voltage detector (AVD) level selection.

Allowed values:
0: AvdLevel0: AVD level0 (VAVD0 around 1.7 V)
1: AvdLevel1: AVD level1 (VAVD1 around 2.1 V)
2: AvdLevel2: AVD level2 (VAVD2 around 2.5 V)
3: AvdLevel3: AVD level3 (VAVD3 around 2.8 V)

USBSCR

PWR USB supply control register

Offset: 0x38, 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
USB33SV
rw
USB33DEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

USB33DEN

Bit 24: Vless thansub>DDUSBless than/sub> voltage level detector enable.

USB33SV

Bit 25: independent USB supply valid.

VMSR

PWR voltage monitor status register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USB33RDY
r
PVDO
r
VDDIO2RDY
r
AVDO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

AVDO

Bit 19: analog voltage detector output on Vless thansub>DDAless than/sub>.

Allowed values:
0: AboveThreshold: VDDA is equal or higher than the AVD threshold selected with the ALS[2:0] bits
1: BelowThreshold: VDDA is lower than the AVD threshold selected with the ALS[2:0] bits

VDDIO2RDY

Bit 20: voltage detector output on Vless thansub>DDIO2less than/sub>.

Allowed values:
0: BelowThreshold: VDDIO2 is below the threshold of the VDDIO2 voltage monitor
1: AboveThreshold: VDDIO2 is equal or above the threshold of the VDDIO2 voltage monitor

PVDO

Bit 22: programmable voltage detect output.

Allowed values:
0: AboveThreshold: VDD is equal or higher than the PVD threshold selected through the PLS[2:0] bits.
1: BelowThreshold: VDD is lower than the PVD threshold selected through the PLS[2:0] bits

USB33RDY

Bit 24: Vless thansub>DDUSBless than/sub> ready.

WUSCR

PWR wake-up status clear register

Offset: 0x40, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CWUF8
w
CWUF7
w
CWUF6
w
CWUF5
w
CWUF4
w
CWUF3
w
CWUF2
w
CWUF1
w
Toggle fields

CWUF1

Bit 0: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF2

Bit 1: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF3

Bit 2: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF4

Bit 3: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF5

Bit 4: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF6

Bit 5: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF7

Bit 6: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

CWUF8

Bit 7: clear wake-up pin flag for WUFx (x = 8 to 1).

Allowed values:
1: Clear: Writing 1 clears the WUFx wakeup pin flag (bit is cleared to 0 by hardware)

WUSR

PWR wake-up status register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUF8
r
WUF7
r
WUF6
r
WUF5
r
WUF4
r
WUF3
r
WUF2
r
WUF1
r
Toggle fields

WUF1

Bit 0: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF2

Bit 1: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF3

Bit 2: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF4

Bit 3: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF5

Bit 4: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF6

Bit 5: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF7

Bit 6: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUF8

Bit 7: wake-up pin WUFx flag.

Allowed values:
0: NoEventOccurred: No wakeup event occurred
1: EventOccurred: A wakeup event received from WUFx pin

WUCR

PWR wake-up configuration register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUPPUPD8
rw
WUPPUPD7
rw
WUPPUPD6
rw
WUPPUPD5
rw
WUPPUPD4
rw
WUPPUPD3
rw
WUPPUPD2
rw
WUPPUPD1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUPP8
rw
WUPP7
rw
WUPP6
rw
WUPP5
rw
WUPP4
rw
WUPP3
rw
WUPP2
rw
WUPP1
rw
WUPEN8
rw
WUPEN7
rw
WUPEN6
rw
WUPEN5
rw
WUPEN4
rw
WUPEN3
rw
WUPEN2
rw
WUPEN1
rw
Toggle fields

WUPEN1

Bit 0: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN2

Bit 1: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN3

Bit 2: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN4

Bit 3: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN5

Bit 4: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN6

Bit 5: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN7

Bit 6: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPEN8

Bit 7: enable wake-up pin WUPx (x = 8 to 1).

Allowed values:
0: Disabled: An event on WUPx pin does not wakeup the system from Standby mode
1: Enabled: A rising or falling edge on WUPx pin wakes up the system from Standby mode

WUPP1

Bit 8: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP2

Bit 9: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP3

Bit 10: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP4

Bit 11: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP5

Bit 12: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP6

Bit 13: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP7

Bit 14: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPP8

Bit 15: wake-up pin polarity bit for WUPx (x = 8 to 1).

Allowed values:
0: HighLevel: Detection on high level
1: LowLevel: Detection on low level

WUPPUPD1

Bits 16-17: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD2

Bits 18-19: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD3

Bits 20-21: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD4

Bits 22-23: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD5

Bits 24-25: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD6

Bits 26-27: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD7

Bits 28-29: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

WUPPUPD8

Bits 30-31: wake-up pin pull configuration for WKUPx (x = 8 to 1).

Allowed values:
0: NoPull: No pull-up or pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

IORETR

PWR I/O retention register

Offset: 0x50, 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
JTAGIORETEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IORETEN
rw
Toggle fields

IORETEN

Bit 0: IO retention enable.

Allowed values:
0: Disabled: IO Retention mode is disabled
1: Enabled: IO Retention mode is enabled

JTAGIORETEN

Bit 16: IO retention enable for JTAG IOs.

Allowed values:
0: Disabled: IO Retention mode is disabled
1: Enabled: IO Retention mode is enabled

SECCFGR

PWR security configuration register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

Toggle fields

WUP1SEC

Bit 0: WUPx secure protection (x = 8 to 1).

WUP2SEC

Bit 1: WUPx secure protection (x = 8 to 1).

WUP3SEC

Bit 2: WUPx secure protection (x = 8 to 1).

WUP4SEC

Bit 3: WUPx secure protection (x = 8 to 1).

WUP5SEC

Bit 4: WUPx secure protection (x = 8 to 1).

WUP6SEC

Bit 5: WUPx secure protection (x = 8 to 1).

WUP7SEC

Bit 6: WUPx secure protection (x = 8 to 1).

WUP8SEC

Bit 7: WUPx secure protection (x = 8 to 1).

RETSEC

Bit 11: retention secure protection.

LPMSEC

Bit 12: low-power modes secure protection.

SCMSEC

Bit 13: supply configuration and monitoring secure protection..

VBSEC

Bit 14: Backup domain secure protection.

VUSBSEC

Bit 15: voltage USB secure protection.

PRIVCFGR

PWR privilege configuration register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NSPRIV
rw
SPRIV
rw
Toggle fields

SPRIV

Bit 0: PWR secure functions privilege configuration.

NSPRIV

Bit 1: PWR non-secure functions privilege configuration.

Allowed values:
0: Unprivileged: Read and write to PWR functions can be done by privileged or unprivileged access
1: Privileged: Read and write to PWR functions can be done by privileged access only

RAMCFG

0x40026000: RAMCFG address block description

18/133 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 M1CR
0x8 M1ISR
0x28 M1ERKEYR
0x40 M2CR
0x44 M2IER
0x48 M2ISR
0x4c M2SEAR
0x50 M2DEAR
0x54 M2ICR
0x58 M2WPR1
0x5c M2WPR2
0x60 M2WPR3
0x64 M2ECCKEYR
0x68 M2ERKEYR
0x80 M3CR
0x84 M3IER
0x88 M3ISR
0x8c M3SEAR
0x90 M3DEAR
0x94 M3ICR
0xa4 M3ECCKEYR
0xa8 M3ERKEYR
0xe8 M4ERKEYR
0x100 M5CR
0x104 M5IER
0x108 M5ISR
0x10c M5SEAR
0x110 M5DEAR
0x114 M5ICR
0x124 M5ECCKEYR
0x128 M5ERKEYR
Toggle registers

M1CR

RAMCFG memory 1 control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M1ISR

RAMCFG memory interrupt status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M1ERKEYR

RAMCFG memory 1 erase key register

Offset: 0x28, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M2CR

RAMCFG memory 2 control register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M2IER

RAMCFG memory 2 interrupt enable register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCNMI
rw
DEIE
rw
SEIE
rw
Toggle fields

SEIE

Bit 0: ECC single error interrupt enable.

DEIE

Bit 1: ECC double error interrupt enable.

ECCNMI

Bit 3: Double error NMI.

M2ISR

RAMCFG memory interrupt status register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M2SEAR

RAMCFG memory 2 ECC single error address register

Offset: 0x4c, 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
ESEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESEA
r
Toggle fields

ESEA

Bits 0-31: ECC single error address.

M2DEAR

RAMCFG memory 2 ECC double error address register

Offset: 0x50, 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
EDEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDEA
r
Toggle fields

EDEA

Bits 0-31: ECC double error address.

M2ICR

RAMCFG memory 2 interrupt clear register 2

Offset: 0x54, 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
CDED
rw
CSEDC
rw
Toggle fields

CSEDC

Bit 0: Clear ECC single error detected and corrected.

CDED

Bit 1: Clear ECC double error detected.

M2WPR1

RAMCFG memory 2 write protection register 1

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P31WP
rw
P30WP
rw
P29WP
rw
P28WP
rw
P27WP
rw
P26WP
rw
P25WP
rw
P24WP
rw
P23WP
rw
P22WP
rw
P21WP
rw
P20WP
rw
P19WP
rw
P18WP
rw
P17WP
rw
P16WP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P15WP
rw
P14WP
rw
P13WP
rw
P12WP
rw
P11WP
rw
P10WP
rw
P9WP
rw
P8WP
rw
P7WP
rw
P6WP
rw
P5WP
rw
P4WP
rw
P3WP
rw
P2WP
rw
P1WP
rw
P0WP
rw
Toggle fields

P0WP

Bit 0: SRAM2 1-Kbyte page y write protection.

P1WP

Bit 1: SRAM2 1-Kbyte page y write protection.

P2WP

Bit 2: SRAM2 1-Kbyte page y write protection.

P3WP

Bit 3: SRAM2 1-Kbyte page y write protection.

P4WP

Bit 4: SRAM2 1-Kbyte page y write protection.

P5WP

Bit 5: SRAM2 1-Kbyte page y write protection.

P6WP

Bit 6: SRAM2 1-Kbyte page y write protection.

P7WP

Bit 7: SRAM2 1-Kbyte page y write protection.

P8WP

Bit 8: SRAM2 1-Kbyte page y write protection.

P9WP

Bit 9: SRAM2 1-Kbyte page y write protection.

P10WP

Bit 10: SRAM2 1-Kbyte page y write protection.

P11WP

Bit 11: SRAM2 1-Kbyte page y write protection.

P12WP

Bit 12: SRAM2 1-Kbyte page y write protection.

P13WP

Bit 13: SRAM2 1-Kbyte page y write protection.

P14WP

Bit 14: SRAM2 1-Kbyte page y write protection.

P15WP

Bit 15: SRAM2 1-Kbyte page y write protection.

P16WP

Bit 16: SRAM2 1-Kbyte page y write protection.

P17WP

Bit 17: SRAM2 1-Kbyte page y write protection.

P18WP

Bit 18: SRAM2 1-Kbyte page y write protection.

P19WP

Bit 19: SRAM2 1-Kbyte page y write protection.

P20WP

Bit 20: SRAM2 1-Kbyte page y write protection.

P21WP

Bit 21: SRAM2 1-Kbyte page y write protection.

P22WP

Bit 22: SRAM2 1-Kbyte page y write protection.

P23WP

Bit 23: SRAM2 1-Kbyte page y write protection.

P24WP

Bit 24: SRAM2 1-Kbyte page y write protection.

P25WP

Bit 25: SRAM2 1-Kbyte page y write protection.

P26WP

Bit 26: SRAM2 1-Kbyte page y write protection.

P27WP

Bit 27: SRAM2 1-Kbyte page y write protection.

P28WP

Bit 28: SRAM2 1-Kbyte page y write protection.

P29WP

Bit 29: SRAM2 1-Kbyte page y write protection.

P30WP

Bit 30: SRAM2 1-Kbyte page y write protection.

P31WP

Bit 31: SRAM2 1-Kbyte page y write protection.

M2WPR2

RAMCFG memory 2 write protection register 2

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P63WP
rw
P62WP
rw
P61WP
rw
P60WP
rw
P59WP
rw
P58WP
rw
P57WP
rw
P56WP
rw
P55WP
rw
P54WP
rw
P53WP
rw
P52WP
rw
P51WP
rw
P50WP
rw
P49WP
rw
P48WP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P47WP
rw
P46WP
rw
P45WP
rw
P44WP
rw
P43WP
rw
P42WP
rw
P41WP
rw
P40WP
rw
P39WP
rw
P38WP
rw
P37WP
rw
P36WP
rw
P35WP
rw
P34WP
rw
P33WP
rw
P32WP
rw
Toggle fields

P32WP

Bit 0: SRAM2 1-Kbyte page y write protection.

P33WP

Bit 1: SRAM2 1-Kbyte page y write protection.

P34WP

Bit 2: SRAM2 1-Kbyte page y write protection.

P35WP

Bit 3: SRAM2 1-Kbyte page y write protection.

P36WP

Bit 4: SRAM2 1-Kbyte page y write protection.

P37WP

Bit 5: SRAM2 1-Kbyte page y write protection.

P38WP

Bit 6: SRAM2 1-Kbyte page y write protection.

P39WP

Bit 7: SRAM2 1-Kbyte page y write protection.

P40WP

Bit 8: SRAM2 1-Kbyte page y write protection.

P41WP

Bit 9: SRAM2 1-Kbyte page y write protection.

P42WP

Bit 10: SRAM2 1-Kbyte page y write protection.

P43WP

Bit 11: SRAM2 1-Kbyte page y write protection.

P44WP

Bit 12: SRAM2 1-Kbyte page y write protection.

P45WP

Bit 13: SRAM2 1-Kbyte page y write protection.

P46WP

Bit 14: SRAM2 1-Kbyte page y write protection.

P47WP

Bit 15: SRAM2 1-Kbyte page y write protection.

P48WP

Bit 16: SRAM2 1-Kbyte page y write protection.

P49WP

Bit 17: SRAM2 1-Kbyte page y write protection.

P50WP

Bit 18: SRAM2 1-Kbyte page y write protection.

P51WP

Bit 19: SRAM2 1-Kbyte page y write protection.

P52WP

Bit 20: SRAM2 1-Kbyte page y write protection.

P53WP

Bit 21: SRAM2 1-Kbyte page y write protection.

P54WP

Bit 22: SRAM2 1-Kbyte page y write protection.

P55WP

Bit 23: SRAM2 1-Kbyte page y write protection.

P56WP

Bit 24: SRAM2 1-Kbyte page y write protection.

P57WP

Bit 25: SRAM2 1-Kbyte page y write protection.

P58WP

Bit 26: SRAM2 1-Kbyte page y write protection.

P59WP

Bit 27: SRAM2 1-Kbyte page y write protection.

P60WP

Bit 28: SRAM2 1-Kbyte page y write protection.

P61WP

Bit 29: SRAM2 1-Kbyte page y write protection.

P62WP

Bit 30: SRAM2 1-Kbyte page y write protection.

P63WP

Bit 31: SRAM2 1-Kbyte page y write protection.

M2WPR3

RAMCFG memory 2 write protection register 3

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

Toggle fields

P64WP

Bit 0: SRAM2 1-Kbyte page y write protection.

P65WP

Bit 1: SRAM2 1-Kbyte page y write protection.

P66WP

Bit 2: SRAM2 1-Kbyte page y write protection.

P67WP

Bit 3: SRAM2 1-Kbyte page y write protection.

P68WP

Bit 4: SRAM2 1-Kbyte page y write protection.

P69WP

Bit 5: SRAM2 1-Kbyte page y write protection.

P70WP

Bit 6: SRAM2 1-Kbyte page y write protection.

P71WP

Bit 7: SRAM2 1-Kbyte page y write protection.

P72WP

Bit 8: SRAM2 1-Kbyte page y write protection.

P73WP

Bit 9: SRAM2 1-Kbyte page y write protection.

P74WP

Bit 10: SRAM2 1-Kbyte page y write protection.

P75WP

Bit 11: SRAM2 1-Kbyte page y write protection.

P76WP

Bit 12: SRAM2 1-Kbyte page y write protection.

P77WP

Bit 13: SRAM2 1-Kbyte page y write protection.

P78WP

Bit 14: SRAM2 1-Kbyte page y write protection.

P79WP

Bit 15: SRAM2 1-Kbyte page y write protection.

M2ECCKEYR

RAMCFG memory 2 ECC key register

Offset: 0x64, 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
ECCKEY
w
Toggle fields

ECCKEY

Bits 0-7: ECC write protection key.

M2ERKEYR

RAMCFG memory 2 erase key register

Offset: 0x68, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M3CR

RAMCFG memory 3 control register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M3IER

RAMCFG memory 3 interrupt enable register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCNMI
rw
DEIE
rw
SEIE
rw
Toggle fields

SEIE

Bit 0: ECC single error interrupt enable.

DEIE

Bit 1: ECC double error interrupt enable.

ECCNMI

Bit 3: Double error NMI.

M3ISR

RAMCFG memory interrupt status register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M3SEAR

RAMCFG memory 3 ECC single error address register

Offset: 0x8c, 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
ESEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESEA
r
Toggle fields

ESEA

Bits 0-31: ECC single error address.

M3DEAR

RAMCFG memory 3 ECC double error address register

Offset: 0x90, 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
EDEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDEA
r
Toggle fields

EDEA

Bits 0-31: ECC double error address.

M3ICR

RAMCFG memory 3 interrupt clear register 3

Offset: 0x94, 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
CDED
rw
CSEDC
rw
Toggle fields

CSEDC

Bit 0: Clear ECC single error detected and corrected.

CDED

Bit 1: Clear ECC double error detected.

M3ECCKEYR

RAMCFG memory 3 ECC key register

Offset: 0xa4, 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
ECCKEY
w
Toggle fields

ECCKEY

Bits 0-7: ECC write protection key.

M3ERKEYR

RAMCFG memory 3 erase key register

Offset: 0xa8, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M4ERKEYR

RAMCFG memory 4 erase key register

Offset: 0xe8, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M5CR

RAMCFG memory 5 control register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M5IER

RAMCFG memory 5 interrupt enable register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCNMI
rw
DEIE
rw
SEIE
rw
Toggle fields

SEIE

Bit 0: ECC single error interrupt enable.

DEIE

Bit 1: ECC double error interrupt enable.

ECCNMI

Bit 3: Double error NMI.

M5ISR

RAMCFG memory interrupt status register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M5SEAR

RAMCFG memory 5 ECC single error address register

Offset: 0x10c, 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
ESEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESEA
r
Toggle fields

ESEA

Bits 0-31: ECC single error address.

M5DEAR

RAMCFG memory 5 ECC double error address register

Offset: 0x110, 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
EDEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDEA
r
Toggle fields

EDEA

Bits 0-31: ECC double error address.

M5ICR

RAMCFG memory 5 interrupt clear register 5

Offset: 0x114, 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
CDED
rw
CSEDC
rw
Toggle fields

CSEDC

Bit 0: Clear ECC single error detected and corrected.

CDED

Bit 1: Clear ECC double error detected.

M5ECCKEYR

RAMCFG memory 5 ECC key register

Offset: 0x124, 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
ECCKEY
w
Toggle fields

ECCKEY

Bits 0-7: ECC write protection key.

M5ERKEYR

RAMCFG memory 5 erase key register

Offset: 0x128, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

RAMCFG_S

0x50026000: RAMCFG address block description

18/133 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 M1CR
0x8 M1ISR
0x28 M1ERKEYR
0x40 M2CR
0x44 M2IER
0x48 M2ISR
0x4c M2SEAR
0x50 M2DEAR
0x54 M2ICR
0x58 M2WPR1
0x5c M2WPR2
0x60 M2WPR3
0x64 M2ECCKEYR
0x68 M2ERKEYR
0x80 M3CR
0x84 M3IER
0x88 M3ISR
0x8c M3SEAR
0x90 M3DEAR
0x94 M3ICR
0xa4 M3ECCKEYR
0xa8 M3ERKEYR
0xe8 M4ERKEYR
0x100 M5CR
0x104 M5IER
0x108 M5ISR
0x10c M5SEAR
0x110 M5DEAR
0x114 M5ICR
0x124 M5ECCKEYR
0x128 M5ERKEYR
Toggle registers

M1CR

RAMCFG memory 1 control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M1ISR

RAMCFG memory interrupt status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M1ERKEYR

RAMCFG memory 1 erase key register

Offset: 0x28, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M2CR

RAMCFG memory 2 control register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M2IER

RAMCFG memory 2 interrupt enable register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCNMI
rw
DEIE
rw
SEIE
rw
Toggle fields

SEIE

Bit 0: ECC single error interrupt enable.

DEIE

Bit 1: ECC double error interrupt enable.

ECCNMI

Bit 3: Double error NMI.

M2ISR

RAMCFG memory interrupt status register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M2SEAR

RAMCFG memory 2 ECC single error address register

Offset: 0x4c, 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
ESEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESEA
r
Toggle fields

ESEA

Bits 0-31: ECC single error address.

M2DEAR

RAMCFG memory 2 ECC double error address register

Offset: 0x50, 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
EDEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDEA
r
Toggle fields

EDEA

Bits 0-31: ECC double error address.

M2ICR

RAMCFG memory 2 interrupt clear register 2

Offset: 0x54, 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
CDED
rw
CSEDC
rw
Toggle fields

CSEDC

Bit 0: Clear ECC single error detected and corrected.

CDED

Bit 1: Clear ECC double error detected.

M2WPR1

RAMCFG memory 2 write protection register 1

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P31WP
rw
P30WP
rw
P29WP
rw
P28WP
rw
P27WP
rw
P26WP
rw
P25WP
rw
P24WP
rw
P23WP
rw
P22WP
rw
P21WP
rw
P20WP
rw
P19WP
rw
P18WP
rw
P17WP
rw
P16WP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P15WP
rw
P14WP
rw
P13WP
rw
P12WP
rw
P11WP
rw
P10WP
rw
P9WP
rw
P8WP
rw
P7WP
rw
P6WP
rw
P5WP
rw
P4WP
rw
P3WP
rw
P2WP
rw
P1WP
rw
P0WP
rw
Toggle fields

P0WP

Bit 0: SRAM2 1-Kbyte page y write protection.

P1WP

Bit 1: SRAM2 1-Kbyte page y write protection.

P2WP

Bit 2: SRAM2 1-Kbyte page y write protection.

P3WP

Bit 3: SRAM2 1-Kbyte page y write protection.

P4WP

Bit 4: SRAM2 1-Kbyte page y write protection.

P5WP

Bit 5: SRAM2 1-Kbyte page y write protection.

P6WP

Bit 6: SRAM2 1-Kbyte page y write protection.

P7WP

Bit 7: SRAM2 1-Kbyte page y write protection.

P8WP

Bit 8: SRAM2 1-Kbyte page y write protection.

P9WP

Bit 9: SRAM2 1-Kbyte page y write protection.

P10WP

Bit 10: SRAM2 1-Kbyte page y write protection.

P11WP

Bit 11: SRAM2 1-Kbyte page y write protection.

P12WP

Bit 12: SRAM2 1-Kbyte page y write protection.

P13WP

Bit 13: SRAM2 1-Kbyte page y write protection.

P14WP

Bit 14: SRAM2 1-Kbyte page y write protection.

P15WP

Bit 15: SRAM2 1-Kbyte page y write protection.

P16WP

Bit 16: SRAM2 1-Kbyte page y write protection.

P17WP

Bit 17: SRAM2 1-Kbyte page y write protection.

P18WP

Bit 18: SRAM2 1-Kbyte page y write protection.

P19WP

Bit 19: SRAM2 1-Kbyte page y write protection.

P20WP

Bit 20: SRAM2 1-Kbyte page y write protection.

P21WP

Bit 21: SRAM2 1-Kbyte page y write protection.

P22WP

Bit 22: SRAM2 1-Kbyte page y write protection.

P23WP

Bit 23: SRAM2 1-Kbyte page y write protection.

P24WP

Bit 24: SRAM2 1-Kbyte page y write protection.

P25WP

Bit 25: SRAM2 1-Kbyte page y write protection.

P26WP

Bit 26: SRAM2 1-Kbyte page y write protection.

P27WP

Bit 27: SRAM2 1-Kbyte page y write protection.

P28WP

Bit 28: SRAM2 1-Kbyte page y write protection.

P29WP

Bit 29: SRAM2 1-Kbyte page y write protection.

P30WP

Bit 30: SRAM2 1-Kbyte page y write protection.

P31WP

Bit 31: SRAM2 1-Kbyte page y write protection.

M2WPR2

RAMCFG memory 2 write protection register 2

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
P63WP
rw
P62WP
rw
P61WP
rw
P60WP
rw
P59WP
rw
P58WP
rw
P57WP
rw
P56WP
rw
P55WP
rw
P54WP
rw
P53WP
rw
P52WP
rw
P51WP
rw
P50WP
rw
P49WP
rw
P48WP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P47WP
rw
P46WP
rw
P45WP
rw
P44WP
rw
P43WP
rw
P42WP
rw
P41WP
rw
P40WP
rw
P39WP
rw
P38WP
rw
P37WP
rw
P36WP
rw
P35WP
rw
P34WP
rw
P33WP
rw
P32WP
rw
Toggle fields

P32WP

Bit 0: SRAM2 1-Kbyte page y write protection.

P33WP

Bit 1: SRAM2 1-Kbyte page y write protection.

P34WP

Bit 2: SRAM2 1-Kbyte page y write protection.

P35WP

Bit 3: SRAM2 1-Kbyte page y write protection.

P36WP

Bit 4: SRAM2 1-Kbyte page y write protection.

P37WP

Bit 5: SRAM2 1-Kbyte page y write protection.

P38WP

Bit 6: SRAM2 1-Kbyte page y write protection.

P39WP

Bit 7: SRAM2 1-Kbyte page y write protection.

P40WP

Bit 8: SRAM2 1-Kbyte page y write protection.

P41WP

Bit 9: SRAM2 1-Kbyte page y write protection.

P42WP

Bit 10: SRAM2 1-Kbyte page y write protection.

P43WP

Bit 11: SRAM2 1-Kbyte page y write protection.

P44WP

Bit 12: SRAM2 1-Kbyte page y write protection.

P45WP

Bit 13: SRAM2 1-Kbyte page y write protection.

P46WP

Bit 14: SRAM2 1-Kbyte page y write protection.

P47WP

Bit 15: SRAM2 1-Kbyte page y write protection.

P48WP

Bit 16: SRAM2 1-Kbyte page y write protection.

P49WP

Bit 17: SRAM2 1-Kbyte page y write protection.

P50WP

Bit 18: SRAM2 1-Kbyte page y write protection.

P51WP

Bit 19: SRAM2 1-Kbyte page y write protection.

P52WP

Bit 20: SRAM2 1-Kbyte page y write protection.

P53WP

Bit 21: SRAM2 1-Kbyte page y write protection.

P54WP

Bit 22: SRAM2 1-Kbyte page y write protection.

P55WP

Bit 23: SRAM2 1-Kbyte page y write protection.

P56WP

Bit 24: SRAM2 1-Kbyte page y write protection.

P57WP

Bit 25: SRAM2 1-Kbyte page y write protection.

P58WP

Bit 26: SRAM2 1-Kbyte page y write protection.

P59WP

Bit 27: SRAM2 1-Kbyte page y write protection.

P60WP

Bit 28: SRAM2 1-Kbyte page y write protection.

P61WP

Bit 29: SRAM2 1-Kbyte page y write protection.

P62WP

Bit 30: SRAM2 1-Kbyte page y write protection.

P63WP

Bit 31: SRAM2 1-Kbyte page y write protection.

M2WPR3

RAMCFG memory 2 write protection register 3

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

Toggle fields

P64WP

Bit 0: SRAM2 1-Kbyte page y write protection.

P65WP

Bit 1: SRAM2 1-Kbyte page y write protection.

P66WP

Bit 2: SRAM2 1-Kbyte page y write protection.

P67WP

Bit 3: SRAM2 1-Kbyte page y write protection.

P68WP

Bit 4: SRAM2 1-Kbyte page y write protection.

P69WP

Bit 5: SRAM2 1-Kbyte page y write protection.

P70WP

Bit 6: SRAM2 1-Kbyte page y write protection.

P71WP

Bit 7: SRAM2 1-Kbyte page y write protection.

P72WP

Bit 8: SRAM2 1-Kbyte page y write protection.

P73WP

Bit 9: SRAM2 1-Kbyte page y write protection.

P74WP

Bit 10: SRAM2 1-Kbyte page y write protection.

P75WP

Bit 11: SRAM2 1-Kbyte page y write protection.

P76WP

Bit 12: SRAM2 1-Kbyte page y write protection.

P77WP

Bit 13: SRAM2 1-Kbyte page y write protection.

P78WP

Bit 14: SRAM2 1-Kbyte page y write protection.

P79WP

Bit 15: SRAM2 1-Kbyte page y write protection.

M2ECCKEYR

RAMCFG memory 2 ECC key register

Offset: 0x64, 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
ECCKEY
w
Toggle fields

ECCKEY

Bits 0-7: ECC write protection key.

M2ERKEYR

RAMCFG memory 2 erase key register

Offset: 0x68, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M3CR

RAMCFG memory 3 control register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M3IER

RAMCFG memory 3 interrupt enable register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCNMI
rw
DEIE
rw
SEIE
rw
Toggle fields

SEIE

Bit 0: ECC single error interrupt enable.

DEIE

Bit 1: ECC double error interrupt enable.

ECCNMI

Bit 3: Double error NMI.

M3ISR

RAMCFG memory interrupt status register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M3SEAR

RAMCFG memory 3 ECC single error address register

Offset: 0x8c, 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
ESEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESEA
r
Toggle fields

ESEA

Bits 0-31: ECC single error address.

M3DEAR

RAMCFG memory 3 ECC double error address register

Offset: 0x90, 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
EDEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDEA
r
Toggle fields

EDEA

Bits 0-31: ECC double error address.

M3ICR

RAMCFG memory 3 interrupt clear register 3

Offset: 0x94, 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
CDED
rw
CSEDC
rw
Toggle fields

CSEDC

Bit 0: Clear ECC single error detected and corrected.

CDED

Bit 1: Clear ECC double error detected.

M3ECCKEYR

RAMCFG memory 3 ECC key register

Offset: 0xa4, 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
ECCKEY
w
Toggle fields

ECCKEY

Bits 0-7: ECC write protection key.

M3ERKEYR

RAMCFG memory 3 erase key register

Offset: 0xa8, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M4ERKEYR

RAMCFG memory 4 erase key register

Offset: 0xe8, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

M5CR

RAMCFG memory 5 control register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMER
rw
ALE
rw
ECCE
rw
Toggle fields

ECCE

Bit 0: ECC enable..

ALE

Bit 4: Address latch enable.

SRAMER

Bit 8: SRAM erase.

M5IER

RAMCFG memory 5 interrupt enable register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCNMI
rw
DEIE
rw
SEIE
rw
Toggle fields

SEIE

Bit 0: ECC single error interrupt enable.

DEIE

Bit 1: ECC double error interrupt enable.

ECCNMI

Bit 3: Double error NMI.

M5ISR

RAMCFG memory interrupt status register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRAMBUSY
r
DED
r
SEDC
r
Toggle fields

SEDC

Bit 0: ECC single error detected and corrected.

DED

Bit 1: ECC double error detected.

SRAMBUSY

Bit 8: SRAM busy with erase operation.

M5SEAR

RAMCFG memory 5 ECC single error address register

Offset: 0x10c, 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
ESEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESEA
r
Toggle fields

ESEA

Bits 0-31: ECC single error address.

M5DEAR

RAMCFG memory 5 ECC double error address register

Offset: 0x110, 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
EDEA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EDEA
r
Toggle fields

EDEA

Bits 0-31: ECC double error address.

M5ICR

RAMCFG memory 5 interrupt clear register 5

Offset: 0x114, 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
CDED
rw
CSEDC
rw
Toggle fields

CSEDC

Bit 0: Clear ECC single error detected and corrected.

CDED

Bit 1: Clear ECC double error detected.

M5ECCKEYR

RAMCFG memory 5 ECC key register

Offset: 0x124, 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
ECCKEY
w
Toggle fields

ECCKEY

Bits 0-7: ECC write protection key.

M5ERKEYR

RAMCFG memory 5 erase key register

Offset: 0x128, 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
ERASEKEY
w
Toggle fields

ERASEKEY

Bits 0-7: Erase write protection key.

RCC

0x44020c00: RCC address block description

440/445 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x10 HSICFGR
0x14 CRRCR
0x18 CSICFGR
0x1c CFGR1
0x20 CFGR2
0x28 PLL1CFGR
0x2c PLL2CFGR
0x30 PLL3CFGR
0x34 PLL1DIVR
0x38 PLL1FRACR
0x3c PLL2DIVR
0x40 PLL2FRACR
0x44 PLL3DIVR
0x48 PLL3FRACR
0x50 CIER
0x54 CIFR
0x58 CICR
0x60 AHB1RSTR
0x64 AHB2RSTR
0x6c AHB4RSTR
0x74 APB1LRSTR
0x78 APB1HRSTR
0x7c APB2RSTR
0x80 APB3RSTR
0x88 AHB1ENR
0x8c AHB2ENR
0x94 AHB4ENR
0x9c APB1LENR
0xa0 APB1HENR
0xa4 APB2ENR
0xa8 APB3ENR
0xb0 AHB1LPENR
0xb4 AHB2LPENR
0xbc AHB4LPENR
0xc4 APB1LLPENR
0xc8 APB1HLPENR
0xcc APB2LPENR
0xd0 APB3LPENR
0xd8 CCIPR1
0xdc CCIPR2
0xe0 CCIPR3
0xe4 CCIPR4
0xe8 CCIPR5
0xf0 BDCR
0xf4 RSR
0x110 SECCFGR
0x114 PRIVCFGR
Toggle registers

CR

RCC clock control register

Offset: 0x0, size: 32, reset: 0x0000002B, access: read-write

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3RDY
r
PLL3ON
rw
PLL2RDY
r
PLL2ON
rw
PLL1RDY
r
PLL1ON
rw
HSEEXT
rw
HSECSSON
rw
HSEBYP
rw
HSERDY
r
HSEON
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSI48RDY
r
HSI48ON
rw
CSIKERON
rw
CSIRDY
r
CSION
rw
HSIDIVF
r
HSIDIV
rw
HSIKERON
rw
HSIRDY
r
HSION
rw
Toggle fields

HSION

Bit 0: HSI clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSIRDY

Bit 1: HSI clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSIKERON

Bit 2: HSI clock enable in Stop mode.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSIDIV

Bits 3-4: HSI clock divider.

Allowed values:
0: Div1: No division
1: Div2: Division by 2
2: Div4: Division by 4
3: Div8: Division by 8

HSIDIVF

Bit 5: HSI divider flag.

Allowed values:
0: NotPropagated: New HSIDIV ratio has not yet propagated to hsi_ck
1: Propagated: HSIDIV ratio has propagated to hsi_ck

CSION

Bit 8: CSI clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

CSIRDY

Bit 9: CSI clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

CSIKERON

Bit 10: CSI clock enable in Stop mode.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSI48ON

Bit 12: HSI48 clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSI48RDY

Bit 13: HSI48 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSEON

Bit 16: HSE clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSERDY

Bit 17: HSE clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSEBYP

Bit 18: HSE clock bypass.

Allowed values:
0: NotBypassed: HSE crystal oscillator not bypassed
1: Bypassed: HSE crystal oscillator bypassed with external clock

HSECSSON

Bit 19: HSE clock security system enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSEEXT

Bit 20: external high speed clock type in Bypass mode.

Allowed values:
0: Analog: HSE in analog mode
1: Digital: HSE in digital mode

PLL1ON

Bit 24: PLL1 enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

PLL1RDY

Bit 25: PLL1 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

PLL2ON

Bit 26: PLL2 enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

PLL2RDY

Bit 27: PLL2 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

PLL3ON

Bit 28: PLL3 enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

PLL3RDY

Bit 29: PLL3 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSICFGR

RCC HSI calibration register

Offset: 0x10, size: 32, reset: 0x00400000, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSITRIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSICAL
r
Toggle fields

HSICAL

Bits 0-11: HSI clock calibration.

HSITRIM

Bits 16-22: HSI clock trimming.

Allowed values: 0x0-0x7f

CRRCR

RCC clock recovery RC register

Offset: 0x14, 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
HSI48CAL
r
Toggle fields

HSI48CAL

Bits 0-9: Internal RC 48 MHz clock calibration.

CSICFGR

RCC CSI calibration register

Offset: 0x18, size: 32, reset: 0x00200000, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CSITRIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSICAL
rw
Toggle fields

CSICAL

Bits 0-7: CSI clock calibration.

CSITRIM

Bits 16-21: CSI clock trimming.

Allowed values: 0x0-0x3f

CFGR1

RCC clock configuration register1

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCO2SEL
rw
MCO2PRE
rw
MCO1SEL
rw
MCO1PRE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMPRE
rw
RTCPRE
rw
STOPKERWUCK
rw
STOPWUCK
rw
SWS
r
SW
rw
Toggle fields

SW

Bits 0-1: system clock and trace clock switch.

Allowed values:
0: HSI: HSI selected as system clock
1: CSI: CSI selected as system clock
2: HSE: HSE selected as system clock
3: PLL1: PLL1 selected as system clock

SWS

Bits 3-4: system clock switch status.

Allowed values:
0: HSI: HSI oscillator used as system clock
1: CSI: CSI oscillator used as system clock
2: HSE: HSE oscillator used as system clock
3: PLL1: PLL1 used as system clock

STOPWUCK

Bit 6: system clock selection after a wakeup from system Stop.

Allowed values:
0: HSI: HSI selected as wake up clock from system Stop
1: CSI: CSI selected as wake up clock from system Stop

STOPKERWUCK

Bit 7: kernel clock selection after a wakeup from system Stop.

Allowed values:
0: HSI: HSI selected as wake up clock from system Stop
1: CSI: CSI selected as wake up clock from system Stop

RTCPRE

Bits 8-13: HSE division factor for RTC clock.

Allowed values: 0x0-0x3f

TIMPRE

Bit 15: timers clocks prescaler selection.

Allowed values:
0: DefaultX2: Timer kernel clock equal to 2x pclk by default
1: DefaultX4: Timer kernel clock equal to 4x pclk by default

MCO1PRE

Bits 18-21: MCO1 prescaler.

Allowed values: 0x0-0xf

MCO1SEL

Bits 22-24: Microcontroller clock output 1.

Allowed values:
0: HSI: HSI clock selected (hsi_ck)
1: LSE: LSE clock selected (lse_ck)
2: HSE: HSE clock selected (hse_ck)
3: PLL1_Q: PLL1 clock selected (pll1_q_ck)
4: HSI48: HSI48 clock selected (hsi48_ck)

MCO2PRE

Bits 25-28: MCO2 prescaler.

Allowed values: 0x0-0xf

MCO2SEL

Bits 29-31: microcontroller clock output 2.

Allowed values:
0: SYSCLK: System clock selected (sys_ck)
1: PLL2_P: PLL2 oscillator clock selected (pll2_p_ck)
2: HSE: HSE clock selected (hse_ck)
3: PLL1_P: PLL1 clock selected (pll1_p_ck)
4: CSI: CSI clock selected (csi_ck)
5: LSI: LSI clock selected (lsi_ck)

CFGR2

RCC CPU domain clock configuration register 2

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
APB3DIS
rw
APB2DIS
rw
APB1DIS
rw
AHB4DIS
rw
AHB2DIS
rw
AHB1DIS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PPRE3
rw
PPRE2
rw
PPRE1
rw
HPRE
rw
Toggle fields

HPRE

Bits 0-3: AHB prescaler.

Allowed values:
8: Div2: SYSCLK divided by 2
9: Div4: SYSCLK divided by 4
10: Div8: SYSCLK divided by 8
11: Div16: SYSCLK divided by 16
12: Div64: SYSCLK divided by 64
13: Div128: SYSCLK divided by 128
14: Div256: SYSCLK divided by 256
15: Div512: SYSCLK divided by 512
0 (+): Div1: SYSCLK not divided

PPRE1

Bits 4-6: APB low-speed prescaler (APB1).

Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided

PPRE2

Bits 8-10: APB high-speed prescaler (APB2).

Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided

PPRE3

Bits 12-14: APB low-speed prescaler (APB3).

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

AHB1DIS

Bit 16: AHB1 clock disable.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

AHB2DIS

Bit 17: AHB2 clock disable.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

AHB4DIS

Bit 19: AHB4 clock disable.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

APB1DIS

Bit 20: APB1 clock disable value.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

APB2DIS

Bit 21: APB2 clock disable value.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

APB3DIS

Bit 22: APB3 clock disable value..

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

PLL1CFGR

RCC PLL clock source selection register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL1REN
rw
PLL1QEN
rw
PLL1PEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL1M
rw
PLL1VCOSEL
rw
PLL1FRACEN
rw
PLL1RGE
rw
PLL1SRC
rw
Toggle fields

PLL1SRC

Bits 0-1: PLL1M and PLLs clock source selection.

Allowed values:
0: None: No clock sent to DIVMx dividers and PLLs
1: HSI: HSI selected as PLL clock
2: CSI: CSI selected as PLL clock
3: HSE: HSE selected as PLL clock

PLL1RGE

Bits 2-3: PLL1 input frequency range.

Allowed values:
0: Range1: Frequency is between 1 and 2 MHz
1: Range2: Frequency is between 2 and 4 MHz
2: Range4: Frequency is between 4 and 8 MHz
3: Range8: Frequency is between 8 and 16 MHz

PLL1FRACEN

Bit 4: PLL1 fractional latch enable.

Allowed values:
0: Reset: Reset latch to transfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to transfer FRACN to the Sigma-Delta modulator

PLL1VCOSEL

Bit 5: PLL1 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL1M

Bits 8-13: prescaler for PLL1.

PLL1PEN

Bit 16: PLL1 DIVP divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL1QEN

Bit 17: PLL1 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL1REN

Bit 18: PLL1 DIVR divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL2CFGR

RCC PLL clock source selection register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL2REN
rw
PLL2QEN
rw
PLL2PEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL2M
rw
PLL2VCOSEL
rw
PLL2FRACEN
rw
PLL2RGE
rw
PLL2SRC
rw
Toggle fields

PLL2SRC

Bits 0-1: PLL2M and PLLs clock source selection.

Allowed values:
0: None: No clock sent to DIVMx dividers and PLLs
1: HSI: HSI selected as PLL clock
2: CSI: CSI selected as PLL clock
3: HSE: HSE selected as PLL clock

PLL2RGE

Bits 2-3: PLL2 input frequency range.

Allowed values:
0: Range1: Frequency is between 1 and 2 MHz
1: Range2: Frequency is between 2 and 4 MHz
2: Range4: Frequency is between 4 and 8 MHz
3: Range8: Frequency is between 8 and 16 MHz

PLL2FRACEN

Bit 4: PLL2 fractional latch enable.

Allowed values:
0: Reset: Reset latch to transfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to transfer FRACN to the Sigma-Delta modulator

PLL2VCOSEL

Bit 5: PLL2 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL2M

Bits 8-13: prescaler for PLL2.

PLL2PEN

Bit 16: PLL2 DIVP divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL2QEN

Bit 17: PLL2 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL2REN

Bit 18: PLL2 DIVR divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL3CFGR

RCC PLL clock source selection register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3REN
rw
PLL3QEN
rw
PLL3PEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL3M
rw
PLL3VCOSEL
rw
PLL3FRACEN
rw
PLL3RGE
rw
PLL3SRC
rw
Toggle fields

PLL3SRC

Bits 0-1: PLL3M and PLLs clock source selection.

Allowed values:
0: None: No clock sent to DIVMx dividers and PLLs
1: HSI: HSI selected as PLL clock
2: CSI: CSI selected as PLL clock
3: HSE: HSE selected as PLL clock

PLL3RGE

Bits 2-3: PLL3 input frequency range.

Allowed values:
0: Range1: Frequency is between 1 and 2 MHz
1: Range2: Frequency is between 2 and 4 MHz
2: Range4: Frequency is between 4 and 8 MHz
3: Range8: Frequency is between 8 and 16 MHz

PLL3FRACEN

Bit 4: PLL3 fractional latch enable.

Allowed values:
0: Reset: Reset latch to transfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to transfer FRACN to the Sigma-Delta modulator

PLL3VCOSEL

Bit 5: PLL3 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL3M

Bits 8-13: prescaler for PLL3.

PLL3PEN

Bit 16: PLL3 DIVP divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL3QEN

Bit 17: PLL3 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL3REN

Bit 18: PLL3 DIVR divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL1DIVR

RCC PLL1 dividers register

Offset: 0x34, size: 32, reset: 0x01010280, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL1R
rw
PLL1Q
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL1P
rw
PLL1N
rw
Toggle fields

PLL1N

Bits 0-8: Multiplication factor for PLL1VCO.

Allowed values: 0x3-0x1ff

PLL1P

Bits 9-15: PLL1 DIVP division factor.

Allowed values: 0x0-0x7f

PLL1Q

Bits 16-22: PLL1 DIVQ division factor.

Allowed values: 0x0-0x7f

PLL1R

Bits 24-30: PLL1 DIVR division factor.

Allowed values: 0x0-0x7f

PLL1FRACR

RCC PLL1 fractional divider register

Offset: 0x38, 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
PLL1FRACN
rw
Toggle fields

PLL1FRACN

Bits 3-15: fractional part of the multiplication factor for PLL1 VCO.

Allowed values: 0x0-0x1fff

PLL2DIVR

RCC PLL1 dividers register

Offset: 0x3c, size: 32, reset: 0x01010280, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL2R
rw
PLL2Q
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL2P
rw
PLL2N
rw
Toggle fields

PLL2N

Bits 0-8: Multiplication factor for PLL2VCO.

Allowed values: 0x3-0x1ff

PLL2P

Bits 9-15: PLL2 DIVP division factor.

Allowed values: 0x0-0x7f

PLL2Q

Bits 16-22: PLL2 DIVQ division factor.

Allowed values: 0x0-0x7f

PLL2R

Bits 24-30: PLL2 DIVR division factor.

Allowed values: 0x0-0x7f

PLL2FRACR

RCC PLL2 fractional divider 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
PLL2FRACN
rw
Toggle fields

PLL2FRACN

Bits 3-15: fractional part of the multiplication factor for PLL2 VCO.

Allowed values: 0x0-0x1fff

PLL3DIVR

RCC PLL3 dividers register

Offset: 0x44, size: 32, reset: 0x01010280, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3R
rw
PLL3Q
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL3P
rw
PLL3N
rw
Toggle fields

PLL3N

Bits 0-8: Multiplication factor for PLL3VCO.

Allowed values: 0x3-0x1ff

PLL3P

Bits 9-15: PLL3 DIVP division factor.

Allowed values: 0x0-0x7f

PLL3Q

Bits 16-22: PLL3 DIVQ division factor.

Allowed values: 0x0-0x7f

PLL3R

Bits 24-30: PLL3 DIVR division factor.

Allowed values: 0x0-0x7f

PLL3FRACR

RCC PLL3 fractional divider 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
PLL3FRACN
rw
Toggle fields

PLL3FRACN

Bits 3-15: fractional part of the multiplication factor for PLL3 VCO.

Allowed values: 0x0-0x1fff

CIER

RCC clock source interrupt enable register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

Toggle fields

LSIRDYIE

Bit 0: LSI ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSERDYIE

Bit 1: LSE ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CSIRDYIE

Bit 2: CSI ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSIRDYIE

Bit 3: HSI ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSERDYIE

Bit 4: HSE ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSI48RDYIE

Bit 5: HSI48 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

PLL1RDYIE

Bit 6: PLL1 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

PLL2RDYIE

Bit 7: PLL2 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

PLL3RDYIE

Bit 8: PLL3 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CIFR

RCC clock source interrupt flag register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

10/10 fields covered.

Toggle fields

LSIRDYF

Bit 0: LSI ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

LSERDYF

Bit 1: LSE ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

CSIRDYF

Bit 2: CSI ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSIRDYF

Bit 3: HSI ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSERDYF

Bit 4: HSE ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSI48RDYF

Bit 5: HSI48 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

PLL1RDYF

Bit 6: PLL1 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

PLL2RDYF

Bit 7: PLL2 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

PLL3RDYF

Bit 8: PLL3 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSECSSF

Bit 10: HSE clock security system interrupt flag.

Allowed values:
0: NoInterrupt: No clock security interrupt caused by HSE clock failure
1: Interrupt: Clock security interrupt caused by HSE clock failure

CICR

RCC clock source interrupt clear register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

Toggle fields

LSIRDYC

Bit 0: LSI ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

LSERDYC

Bit 1: LSE ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

CSIRDYC

Bit 2: HSI ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSIRDYC

Bit 3: HSI ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSERDYC

Bit 4: HSE ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSI48RDYC

Bit 5: HSI48 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

PLL1RDYC

Bit 6: PLL1 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

PLL2RDYC

Bit 7: PLL2 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

PLL3RDYC

Bit 8: PLL3 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSECSSC

Bit 10: HSE clock security system interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

AHB1RSTR

RCC AHB1 reset register

Offset: 0x60, 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
ETHRST
rw
RAMCFGRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMACRST
rw
CORDICRST
rw
CRCRST
rw
GPDMA2RST
rw
GPDMA1RST
rw
Toggle fields

GPDMA1RST

Bit 0: GPDMA1 block reset.

Allowed values:
1: Reset: Reset the selected module

GPDMA2RST

Bit 1: GPDMA2 block reset.

Allowed values:
1: Reset: Reset the selected module

CRCRST

Bit 12: CRC block reset Set and reset by software..

Allowed values:
1: Reset: Reset the selected module

CORDICRST

Bit 14: CORDIC block reset.

Allowed values:
1: Reset: Reset the selected module

FMACRST

Bit 15: FMAC block reset.

Allowed values:
1: Reset: Reset the selected module

RAMCFGRST

Bit 17: RAMCFG block reset.

Allowed values:
1: Reset: Reset the selected module

ETHRST

Bit 19: ETHRST block reset.

Allowed values:
1: Reset: Reset the selected module

AHB2RSTR

RCC AHB2 peripheral reset register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAESRST
rw
PKARST
rw
RNGRST
rw
HASHRST
rw
AESRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMI_PSSIRST
rw
DAC1RST
rw
ADCRST
rw
GPIOIRST
rw
GPIOHRST
rw
GPIOGRST
rw
GPIOFRST
rw
GPIOERST
rw
GPIODRST
rw
GPIOCRST
rw
GPIOBRST
rw
GPIOARST
rw
Toggle fields

GPIOARST

Bit 0: GPIOA block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOBRST

Bit 1: GPIOB block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOCRST

Bit 2: GPIOC block reset.

Allowed values:
1: Reset: Reset the selected module

GPIODRST

Bit 3: GPIOD block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOERST

Bit 4: GPIOE block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOFRST

Bit 5: GPIOF block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOGRST

Bit 6: GPIOG block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOHRST

Bit 7: GPIOH block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOIRST

Bit 8: GPIOI block reset.

Allowed values:
1: Reset: Reset the selected module

ADCRST

Bit 10: ADC1 and 2 blocks reset.

Allowed values:
1: Reset: Reset the selected module

DAC1RST

Bit 11: DAC block reset.

Allowed values:
1: Reset: Reset the selected module

DCMI_PSSIRST

Bit 12: digital camera interface block reset (DCMI or PSSI depending which interface is active).

Allowed values:
1: Reset: Reset the selected module

AESRST

Bit 16: AES block reset.

Allowed values:
1: Reset: Reset the selected module

HASHRST

Bit 17: HASH block reset.

Allowed values:
1: Reset: Reset the selected module

RNGRST

Bit 18: RNG block reset.

Allowed values:
1: Reset: Reset the selected module

PKARST

Bit 19: PKA block reset.

Allowed values:
1: Reset: Reset the selected module

SAESRST

Bit 20: SAES block reset.

Allowed values:
1: Reset: Reset the selected module

AHB4RSTR

RCC AHB4 peripheral reset register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCTOSPI1RST
rw
FMCRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1RST
rw
OTFDEC1RST
rw
Toggle fields

OTFDEC1RST

Bit 7: OTFDEC1 block reset.

Allowed values:
1: Reset: Reset the selected module

SDMMC1RST

Bit 11: SDMMC1 and SDMMC1 delay blocks reset.

Allowed values:
1: Reset: Reset the selected module

FMCRST

Bit 16: FMC block reset.

Allowed values:
1: Reset: Reset the selected module

OCTOSPI1RST

Bit 20: OCTOSPI1 block reset.

Allowed values:
1: Reset: Reset the selected module

APB1LRSTR

RCC APB1 peripheral low reset register

Offset: 0x74, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

Toggle fields

TIM2RST

Bit 0: TIM2 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM3RST

Bit 1: TIM3 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM4RST

Bit 2: TIM4 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM5RST

Bit 3: TIM5 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM6RST

Bit 4: TIM6 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM7RST

Bit 5: TIM7 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM12RST

Bit 6: TIM12 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI2RST

Bit 14: SPI2 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI3RST

Bit 15: SPI3 block reset.

Allowed values:
1: Reset: Reset the selected module

USART2RST

Bit 17: USART2 block reset.

Allowed values:
1: Reset: Reset the selected module

USART3RST

Bit 18: USART3 block reset.

Allowed values:
1: Reset: Reset the selected module

UART4RST

Bit 19: UART4 block reset.

Allowed values:
1: Reset: Reset the selected module

UART5RST

Bit 20: UART5 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C1RST

Bit 21: I2C1 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C2RST

Bit 22: I2C2 block reset.

Allowed values:
1: Reset: Reset the selected module

I3C1RST

Bit 23: I3C1 block reset.

Allowed values:
1: Reset: Reset the selected module

CRSRST

Bit 24: CRS block reset.

Allowed values:
1: Reset: Reset the selected module

USART6RST

Bit 25: USART6 block reset.

Allowed values:
1: Reset: Reset the selected module

USART10RST

Bit 26: USART10 block reset.

Allowed values:
1: Reset: Reset the selected module

USART11RST

Bit 27: USART11 block reset.

Allowed values:
1: Reset: Reset the selected module

CECRST

Bit 28: HDMI-CEC block reset.

Allowed values:
1: Reset: Reset the selected module

UART7RST

Bit 30: UART7 block reset.

Allowed values:
1: Reset: Reset the selected module

UART8RST

Bit 31: UART8 block reset.

Allowed values:
1: Reset: Reset the selected module

APB1HRSTR

RCC APB1 peripheral high reset register

Offset: 0x78, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UCPD1RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANRST
rw
LPTIM2RST
rw
DTSRST
rw
UART12RST
rw
UART9RST
rw
Toggle fields

UART9RST

Bit 0: UART9 block reset.

Allowed values:
1: Reset: Reset the selected module

UART12RST

Bit 1: UART12 block reset.

Allowed values:
1: Reset: Reset the selected module

DTSRST

Bit 3: DTS block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM2RST

Bit 5: LPTIM2 block reset.

Allowed values:
1: Reset: Reset the selected module

FDCANRST

Bit 9: FDCAN1 and FDCAN2 blocks reset.

Allowed values:
1: Reset: Reset the selected module

UCPD1RST

Bit 23: UCPD1 block reset.

Allowed values:
1: Reset: Reset the selected module

APB2RSTR

RCC APB2 peripheral reset register

Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USBRST
rw
SAI2RST
rw
SAI1RST
rw
SPI6RST
rw
SPI4RST
rw
TIM15RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART1RST
rw
TIM8RST
rw
SPI1RST
rw
TIM1RST
rw
Toggle fields

TIM1RST

Bit 11: TIM1 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI1RST

Bit 12: SPI1 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM8RST

Bit 13: TIM8 block reset.

Allowed values:
1: Reset: Reset the selected module

USART1RST

Bit 14: USART1 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM15RST

Bit 16: TIM15 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI4RST

Bit 19: SPI4 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI6RST

Bit 20: SPI6 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI1RST

Bit 21: SAI1 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI2RST

Bit 22: SAI2 block reset.

Allowed values:
1: Reset: Reset the selected module

USBRST

Bit 24: USB block reset.

Allowed values:
1: Reset: Reset the selected module

APB3RSTR

RCC APB3 peripheral reset register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VREFRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM6RST
rw
LPTIM5RST
rw
LPTIM4RST
rw
LPTIM3RST
rw
LPTIM1RST
rw
I3C2RST
rw
I2C3RST
rw
LPUART1RST
rw
Toggle fields

LPUART1RST

Bit 6: LPUART1 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C3RST

Bit 7: I2C3 block reset.

Allowed values:
1: Reset: Reset the selected module

I3C2RST

Bit 9: I3C2 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM1RST

Bit 11: LPTIM1 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM3RST

Bit 12: LPTIM3 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM4RST

Bit 13: LPTIM4 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM5RST

Bit 14: LPTIM5 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM6RST

Bit 15: LPTIM6 block reset.

Allowed values:
1: Reset: Reset the selected module

VREFRST

Bit 20: VREFBUF block reset.

Allowed values:
1: Reset: Reset the selected module

AHB1ENR

RCC AHB1 peripherals clock register

Offset: 0x88, size: 32, reset: 0xD0000100, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1EN
rw
DCACHEEN
rw
BKPRAMEN
rw
TZSC1EN
rw
ETHRXEN
rw
ETHTXEN
rw
ETHEN
rw
RAMCFGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMACEN
rw
CORDICEN
rw
CRCEN
rw
FLITFEN
rw
GPDMA2EN
rw
GPDMA1EN
rw
Toggle fields

GPDMA1EN

Bit 0: GPDMA1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPDMA2EN

Bit 1: GPDMA2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FLITFEN

Bit 8: Flash interface clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRCEN

Bit 12: CRC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CORDICEN

Bit 14: CORDIC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FMACEN

Bit 15: FMAC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RAMCFGEN

Bit 17: RAMCFG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETHEN

Bit 19: ETH clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETHTXEN

Bit 20: ETHTX clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETHRXEN

Bit 21: ETHRX clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TZSC1EN

Bit 24: TZSC1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

BKPRAMEN

Bit 28: BKPRAM clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DCACHEEN

Bit 30: DCACHE clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM1EN

Bit 31: SRAM1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB2ENR

RCC AHB2 peripheral clock register

Offset: 0x8c, size: 32, reset: 0xC0000000, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM3EN
rw
SRAM2EN
rw
SAESEN
rw
PKAEN
rw
RNGEN
rw
HASHEN
rw
AESEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMI_PSSIEN
rw
DAC1EN
rw
ADCEN
rw
GPIOIEN
rw
GPIOHEN
rw
GPIOGEN
rw
GPIOFEN
rw
GPIOEEN
rw
GPIODEN
rw
GPIOCEN
rw
GPIOBEN
rw
GPIOAEN
rw
Toggle fields

GPIOAEN

Bit 0: GPIOA clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOBEN

Bit 1: GPIOB clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOCEN

Bit 2: GPIOC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIODEN

Bit 3: GPIOD clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOEEN

Bit 4: GPIOE clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOFEN

Bit 5: GPIOF clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOGEN

Bit 6: GPIOG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOHEN

Bit 7: GPIOH clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOIEN

Bit 8: GPIOI clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ADCEN

Bit 10: ADC1 and 2 peripherals clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DAC1EN

Bit 11: DAC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DCMI_PSSIEN

Bit 12: digital camera interface clock enable (DCMI or PSSI depending which interface is active).

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AESEN

Bit 16: AES clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HASHEN

Bit 17: HASH clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RNGEN

Bit 18: RNG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

PKAEN

Bit 19: PKA clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAESEN

Bit 20: SAES clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM2EN

Bit 30: SRAM2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM3EN

Bit 31: SRAM3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB4ENR

RCC AHB4 peripheral clock register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCTOSPI1EN
rw
FMCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1EN
rw
OTFDEC1EN
rw
Toggle fields

OTFDEC1EN

Bit 7: OTFDEC1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SDMMC1EN

Bit 11: SDMMC1 and SDMMC1 delay peripheral clock enable reset.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FMCEN

Bit 16: FMC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

OCTOSPI1EN

Bit 20: OCTOSPI1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB1LENR

RCC APB1 peripheral clock register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

Toggle fields

TIM2EN

Bit 0: TIM2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM3EN

Bit 1: TIM3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM4EN

Bit 2: TIM4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM5EN

Bit 3: TIM5 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM6EN

Bit 4: TIM6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM7EN

Bit 5: TIM7 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM12EN

Bit 6: TIM12 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

WWDGEN

Bit 11: WWDG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI2EN

Bit 14: SPI2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI3EN

Bit 15: SPI3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART2EN

Bit 17: USART2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART3EN

Bit 18: USART3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART4EN

Bit 19: UART4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART5EN

Bit 20: UART5 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C1EN

Bit 21: I2C1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C2EN

Bit 22: I2C2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I3C1EN

Bit 23: I3C1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRSEN

Bit 24: CRS clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART6EN

Bit 25: USART6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART10EN

Bit 26: USART10 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART11EN

Bit 27: USART11 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CECEN

Bit 28: HDMI-CEC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART7EN

Bit 30: UART7 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART8EN

Bit 31: UART8 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB1HENR

RCC APB1 peripheral clock register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UCPD1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANEN
rw
LPTIM2EN
rw
DTSEN
rw
UART12EN
rw
UART9EN
rw
Toggle fields

UART9EN

Bit 0: UART9 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART12EN

Bit 1: UART12 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DTSEN

Bit 3: DTS clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM2EN

Bit 5: LPTIM2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FDCANEN

Bit 9: FDCAN1 and FDCAN2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UCPD1EN

Bit 23: UCPD1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB2ENR

RCC APB2 peripheral clock register

Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USBEN
rw
SAI2EN
rw
SAI1EN
rw
SPI6EN
rw
SPI4EN
rw
TIM15EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART1EN
rw
TIM8EN
rw
SPI1EN
rw
TIM1EN
rw
Toggle fields

TIM1EN

Bit 11: TIM1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI1EN

Bit 12: SPI1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM8EN

Bit 13: TIM8 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART1EN

Bit 14: USART1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM15EN

Bit 16: TIM15 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI4EN

Bit 19: SPI4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI6EN

Bit 20: SPI6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI1EN

Bit 21: SAI1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI2EN

Bit 22: SAI2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USBEN

Bit 24: USB clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB3ENR

RCC APB3 peripheral clock register

Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RTCAPBEN
rw
VREFEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM6EN
rw
LPTIM5EN
rw
LPTIM4EN
rw
LPTIM3EN
rw
LPTIM1EN
rw
I3C2EN
rw
I2C3EN
rw
LPUART1EN
rw
SBSEN
rw
Toggle fields

SBSEN

Bit 1: SBS clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPUART1EN

Bit 6: LPUART1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C3EN

Bit 7: I2C3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I3C2EN

Bit 9: I3C2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM1EN

Bit 11: LPTIM1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM3EN

Bit 12: LPTIM3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM4EN

Bit 13: LPTIM4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM5EN

Bit 14: LPTIM5 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM6EN

Bit 15: LPTIM6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

VREFEN

Bit 20: VREFBUF clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RTCAPBEN

Bit 21: RTC APB interface clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB1LPENR

RCC AHB1 sleep clock register

Offset: 0xb0, size: 32, reset: 0xF1021103, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1LPEN
rw
DCACHELPEN
rw
ICACHELPEN
rw
BKPRAMLPEN
rw
TZSC1LPEN
rw
ETHRXLPEN
rw
ETHTXLPEN
rw
ETHLPEN
rw
RAMCFGLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMACLPEN
rw
CORDICLPEN
rw
CRCLPEN
rw
FLITFLPEN
rw
GPDMA2LPEN
rw
GPDMA1LPEN
rw
Toggle fields

GPDMA1LPEN

Bit 0: GPDMA1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPDMA2LPEN

Bit 1: GPDMA2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FLITFLPEN

Bit 8: Flash interface (FLITF) clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CRCLPEN

Bit 12: CRC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CORDICLPEN

Bit 14: CORDIC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FMACLPEN

Bit 15: FMAC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RAMCFGLPEN

Bit 17: RAMCFG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETHLPEN

Bit 19: ETH clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETHTXLPEN

Bit 20: ETHTX clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETHRXLPEN

Bit 21: ETHRX clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TZSC1LPEN

Bit 24: TZSC1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

BKPRAMLPEN

Bit 28: BKPRAM clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ICACHELPEN

Bit 29: ICACHE clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DCACHELPEN

Bit 30: DCACHE clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM1LPEN

Bit 31: SRAM1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AHB2LPENR

RCC AHB2 sleep clock register

Offset: 0xb4, size: 32, reset: 0xC01F1CFF, access: read-write

19/19 fields covered.

Toggle fields

GPIOALPEN

Bit 0: GPIOA clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOBLPEN

Bit 1: GPIOB clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOCLPEN

Bit 2: GPIOC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIODLPEN

Bit 3: GPIOD clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOELPEN

Bit 4: GPIOE clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOFLPEN

Bit 5: GPIOF clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOGLPEN

Bit 6: GPIOG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOHLPEN

Bit 7: GPIOH clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOILPEN

Bit 8: GPIOI clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ADCLPEN

Bit 10: ADC1 and 2 peripherals clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DAC1LPEN

Bit 11: DAC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DCMI_PSSILPEN

Bit 12: digital camera interface clock enable during Sleep mode (DCMI or PSSI depending which interface is active).

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AESLPEN

Bit 16: AES clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

HASHLPEN

Bit 17: HASH clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RNGLPEN

Bit 18: RNG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

PKALPEN

Bit 19: PKA clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAESLPEN

Bit 20: SAES clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM2LPEN

Bit 30: SRAM2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM3LPEN

Bit 31: SRAM3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AHB4LPENR

RCC AHB4 sleep clock register

Offset: 0xbc, size: 32, reset: 0x00110880, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCTOSPI1LPEN
rw
FMCLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1LPEN
rw
OTFDEC1LPEN
rw
Toggle fields

OTFDEC1LPEN

Bit 7: OTFDEC1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SDMMC1LPEN

Bit 11: SDMMC1 and SDMMC1 delay peripheral clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FMCLPEN

Bit 16: FMC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

OCTOSPI1LPEN

Bit 20: OCTOSPI1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB1LLPENR

RCC APB1 sleep clock register

Offset: 0xc4, size: 32, reset: 0x13FEC87F, access: read-write

24/24 fields covered.

Toggle fields

TIM2LPEN

Bit 0: TIM2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM3LPEN

Bit 1: TIM3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM4LPEN

Bit 2: TIM4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM5LPEN

Bit 3: TIM5 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM6LPEN

Bit 4: TIM6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM7LPEN

Bit 5: TIM7 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM12LPEN

Bit 6: TIM12 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

WWDGLPEN

Bit 11: WWDG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI2LPEN

Bit 14: SPI2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI3LPEN

Bit 15: SPI3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART2LPEN

Bit 17: USART2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART3LPEN

Bit 18: USART3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART4LPEN

Bit 19: UART4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART5LPEN

Bit 20: UART5 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C1LPEN

Bit 21: I2C1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C2LPEN

Bit 22: I2C2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I3C1LPEN

Bit 23: I3C1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CRSLPEN

Bit 24: CRS clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART6LPEN

Bit 25: USART6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART10LPEN

Bit 26: USART10 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART11LPEN

Bit 27: USART11 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CECLPEN

Bit 28: HDMI-CEC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART7LPEN

Bit 30: UART7 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART8LPEN

Bit 31: UART8 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB1HLPENR

RCC APB1 sleep clock register

Offset: 0xc8, size: 32, reset: 0x40800228, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UCPD1LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANLPEN
rw
LPTIM2LPEN
rw
DTSLPEN
rw
UART12LPEN
rw
UART9LPEN
rw
Toggle fields

UART9LPEN

Bit 0: UART9 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART12LPEN

Bit 1: UART12 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DTSLPEN

Bit 3: DTS clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM2LPEN

Bit 5: LPTIM2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FDCANLPEN

Bit 9: FDCAN1 and FDCAN2 peripheral clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UCPD1LPEN

Bit 23: UCPD1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB2LPENR

RCC APB2 sleep clock register

Offset: 0xcc, size: 32, reset: 0x01097800, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USBLPEN
rw
SAI2LPEN
rw
SAI1LPEN
rw
SPI6LPEN
rw
SPI4LPEN
rw
TIM15LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART1LPEN
rw
TIM8LPEN
rw
SPI1LPEN
rw
TIM1LPEN
rw
Toggle fields

TIM1LPEN

Bit 11: TIM1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI1LPEN

Bit 12: SPI1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM8LPEN

Bit 13: TIM8 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART1LPEN

Bit 14: USART1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM15LPEN

Bit 16: TIM15 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI4LPEN

Bit 19: SPI4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI6LPEN

Bit 20: SPI6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI1LPEN

Bit 21: SAI1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI2LPEN

Bit 22: SAI2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USBLPEN

Bit 24: USB clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB3LPENR

RCC APB3 sleep clock register

Offset: 0xd0, size: 32, reset: 0x0030FAE2, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RTCAPBLPEN
rw
VREFLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM6LPEN
rw
LPTIM5LPEN
rw
LPTIM4LPEN
rw
LPTIM3LPEN
rw
LPTIM1LPEN
rw
I3C2LPEN
rw
I2C3LPEN
rw
LPUART1LPEN
rw
SBSLPEN
rw
Toggle fields

SBSLPEN

Bit 1: SBS clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPUART1LPEN

Bit 6: LPUART1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C3LPEN

Bit 7: I2C3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I3C2LPEN

Bit 9: I3C2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM1LPEN

Bit 11: LPTIM1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM3LPEN

Bit 12: LPTIM3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM4LPEN

Bit 13: LPTIM4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM5LPEN

Bit 14: LPTIM5 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM6LPEN

Bit 15: LPTIM6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

VREFLPEN

Bit 20: VREFBUF clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RTCAPBLPEN

Bit 21: RTC APB interface clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CCIPR1

RCC kernel clock configuration register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TIMICSEL
rw
USART10SEL
rw
UART9SEL
rw
UART8SEL
rw
UART7SEL
rw
USART6SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART6SEL
rw
UART5SEL
rw
UART4SEL
rw
USART3SEL
rw
USART2SEL
rw
USART1SEL
rw
Toggle fields

USART1SEL

Bits 0-2: USART1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART2SEL

Bits 3-5: USART2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART3SEL

Bits 6-8: USART3 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART4SEL

Bits 9-11: UART4 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART5SEL

Bits 12-14: UART5 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART6SEL

Bits 15-17: USART6 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART7SEL

Bits 18-20: UART7 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART8SEL

Bits 21-23: UART8 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART9SEL

Bits 24-26: UART9 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART10SEL

Bits 27-29: USART10 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

TIMICSEL

Bit 31: TIM12, TIM15 and LPTIM2 input capture source selection.

Allowed values:
0: Disabled: No internal clock available for timers input capture
1: Enabled: hsi_ker_ck/1024, hsi_ker_ck/8 and csi_ker_ck/128 selected for timers input capture

CCIPR2

RCC kernel clock configuration register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPTIM6SEL
rw
LPTIM5SEL
rw
LPTIM4SEL
rw
LPTIM3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM2SEL
rw
LPTIM1SEL
rw
UART12SEL
rw
USART11SEL
rw
Toggle fields

USART11SEL

Bits 0-2: USART11 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART12SEL

Bits 4-6: UART12 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

LPTIM1SEL

Bits 8-10: LPTIM1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM2SEL

Bits 12-14: LPTIM2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM3SEL

Bits 16-18: LPTIM3 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM4SEL

Bits 20-22: LPTIM4 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM5SEL

Bits 24-26: LPTIM5 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM6SEL

Bits 28-30: LPTIM6 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

CCIPR3

RCC kernel clock configuration register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPUART1SEL
rw
SPI6SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI6SEL
rw
SPI4SEL
rw
SPI3SEL
rw
SPI2SEL
rw
SPI1SEL
rw
Toggle fields

SPI1SEL

Bits 0-2: SPI1 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SPI2SEL

Bits 3-5: SPI2 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SPI3SEL

Bits 6-8: SPI3 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SPI4SEL

Bits 9-11: SPI4 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_p_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_p_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: HSE: HSE clock selected as clock source (hse_ck)

SPI6SEL

Bits 15-17: SPI6 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_p_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_p_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: HSE: HSE clock selected as clock source (hse_ck)

LPUART1SEL

Bits 24-26: LPUART1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

CCIPR4

RCC kernel clock configuration register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
I3C2SEL
rw
I3C1SEL
rw
I2C3SEL
rw
I2C2SEL
rw
I2C1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1SEL
rw
USBSEL
rw
SYSTICKSEL
rw
OCTOSPI1SEL
rw
Toggle fields

OCTOSPI1SEL

Bits 0-1: OCTOSPI1 kernel clock source selection.

Allowed values:
0: RCC_HCLK4: HCLK4 selected as clock source (rcc_hclk4)
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: PLL2_R: PLL2 R clock selected as clock source (pll2_r_ck)
3: PER_CK: per_ck clock selected as clock source

SYSTICKSEL

Bits 2-3: SYSTICK clock source selection.

Allowed values:
0: HCLK_DIV8: RCC HLCK divided by 8 selected as clock source (rcc_hclk / 8)
1: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
2: LSE: LSE selected as clock source (lse_ck)

USBSEL

Bits 4-5: USB kernel clock source selection.

Allowed values:
0: DISABLE: Disable the clock
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI48: HSI48 clock selected as clock source (hsi48_ker_ck)

SDMMC1SEL

Bit 6: SDMMC1 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_R: PLL2 R clock selected as clock source (pll2_r_ck)

I2C1SEL

Bits 16-17: I2C1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R Clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
3: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

I2C2SEL

Bits 18-19: I2C2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R Clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
3: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

I2C3SEL

Bits 20-21: I2C3 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R Clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
3: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

I3C1SEL

Bits 24-25: I3C1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)

I3C2SEL

Bits 26-27: I3C2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)

CCIPR5

RCC kernel clock configuration register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CKPERSEL
rw
SAI2SEL
rw
SAI1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANSEL
rw
CECSEL
rw
RNGSEL
rw
DACSEL
rw
ADCDACSEL
rw
Toggle fields

ADCDACSEL

Bits 0-2: ADC and DAC kernel clock source selection.

Allowed values:
0: HCLK: HLCK clock selected as clock source (rcc_hclk)
1: SYS: System clock selected as pclock source (sys_ck)
2: PLL2_R: PLL2 R clock selected as clock source (pll2_r_ck)
3: HSE: HSE clock selected as clock source (hse_ck)
4: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
5: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

DACSEL

Bit 3: DAC sample and hold clock.

Allowed values:
0: LSE: LSE selected as clock source (lse_ck)
1: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)

RNGSEL

Bits 4-5: RNG kernel clock source selection.

Allowed values:
0: HSI48_KER: HSI48 kernel clock selected as clock source (hsi48_ker_ck)
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: LSE: LSE clock selected as clock source (lse_ck)
3: LSI: LSI kernel clock selected as clock source (lsi_ker_ck)

CECSEL

Bits 6-7: HSMI-CEC kernel clock source selection.

Allowed values:
0: LSE: LSE selected as clock source (lse_ck)
1: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
2: CSI_KER: CSI kernel clock divided by 122 selected as clock source (csi_ker_ck/122)

FDCANSEL

Bits 8-9: FDCAN1 and FDCAN2 kernel clock source selection.

Allowed values:
0: HSE: HSE clock selected as clock source (hse_ck)
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)

SAI1SEL

Bits 16-18: SAI1 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SAI2SEL

Bits 19-21: SAI2 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

CKPERSEL

Bits 30-31: per_ck clock source selection.

Allowed values:
0: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
1: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
2: HSE: HSE clock selected as clock source (hse_ck)

BDCR

RCC Backup domain control register

Offset: 0xf0, size: 32, reset: 0x00000000, access: read-write

13/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LSIRDY
rw
LSION
rw
LSCOSEL
rw
LSCOEN
rw
VSWRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTCEN
rw
RTCSEL
rw
LSEEXT
rw
LSECSSD
rw
LSECSSON
rw
LSEDRV
rw
LSEBYP
rw
LSERDY
rw
LSEON
rw
Toggle fields

LSEON

Bit 0: LSE oscillator enabled.

Allowed values:
0: Off: LSE oscillator Off
1: On: LSE oscillator On

LSERDY

Bit 1: LSE oscillator ready.

Allowed values:
0: NotReady: LSE oscillator not ready
1: Ready: LSE oscillator ready

LSEBYP

Bit 2: LSE oscillator bypass.

Allowed values:
0: NotBypassed: LSE crystal oscillator not bypassed
1: Bypassed: LSE crystal oscillator bypassed with external clock

LSEDRV

Bits 3-4: LSE oscillator driving capability.

Allowed values:
0: Lowest: Lowest LSE oscillator driving capability
1: MediumLow: Medium low LSE oscillator driving capability
2: MediumHigh: Medium high LSE oscillator driving capability
3: Highest: Highest LSE oscillator driving capability

LSECSSON

Bit 5: LSE clock security system enable.

Allowed values:
0: SecurityOff: Clock security system on 32 kHz oscillator off
1: SecurityOn: Clock security system on 32 kHz oscillator on

LSECSSD

Bit 6: LSE clock security system failure detection.

Allowed values:
0: NoFailure: No failure detected on 32 kHz oscillator
1: Failure: Failure detected on 32 kHz oscillator

LSEEXT

Bit 7: low-speed external clock type in bypass mode.

Allowed values:
0: Analog: HSE in analog mode
1: Digital: HSE in digital mode

RTCSEL

Bits 8-9: RTC clock source selection.

Allowed values:
0: NoClock: No clock
1: LSE: LSE oscillator clock used as RTC clock
2: LSI: LSI oscillator clock used as RTC clock
3: HSE: HSE oscillator clock divided by a prescaler used as RTC clock

RTCEN

Bit 15: RTC clock enable.

Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled

VSWRST

Bit 16: VSwitch domain software reset.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Resets the entire VSW domain

LSCOEN

Bit 24: Low-speed clock output (LSCO) enable.

LSCOSEL

Bit 25: Low-speed clock output selection.

Allowed values:
0: LSI: LSI clock selected
1: LSE: LSE clock selected

LSION

Bit 26: LSI oscillator enable.

Allowed values:
0: Disabled: Oscillator disabled
1: Enabled: Oscillator enabled

LSIRDY

Bit 27: LSI oscillator ready.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

RSR

RCC reset status register

Offset: 0xf4, size: 32, reset: 0x0C000000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPWRRSTF
rw
WWDGRSTF
rw
IWDGRSTF
rw
SFTRSTF
rw
BORRSTF
rw
PINRSTF
rw
RMVF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

RMVF

Bit 23: remove reset flag.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Reset the reset status flags

PINRSTF

Bit 26: pin reset flag (NRST).

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

BORRSTF

Bit 27: BOR reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

SFTRSTF

Bit 28: system reset from CPU reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

IWDGRSTF

Bit 29: independent watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

WWDGRSTF

Bit 30: window watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

LPWRRSTF

Bit 31: Low-power reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

SECCFGR

RCC secure configuration register

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

Toggle fields

HSISEC

Bit 0: HSI clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

HSESEC

Bit 1: HSE clock configuration bits, status bits and HSE_CSS security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

CSISEC

Bit 2: CSI clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

LSISEC

Bit 3: LSI clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

LSESEC

Bit 4: LSE clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

SYSCLKSEC

Bit 5: SYSCLK clock selection, STOPWUCK bit, clock output on MCO configuration security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PRESCSEC

Bit 6: AHBx/APBx prescaler configuration bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PLL1SEC

Bit 7: PLL1 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PLL2SEC

Bit 8: PLL2 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PLL3SEC

Bit 9: PLL3 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

HSI48SEC

Bit 11: HSI48 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

RMVFSEC

Bit 12: Remove reset flag security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

CKPERSELSEC

Bit 13: per_ck selection security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PRIVCFGR

RCC privilege configuration register

Offset: 0x114, 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
NSPRIV
rw
SPRIV
rw
Toggle fields

SPRIV

Bit 0: RCC secure functions privilege configuration.

Allowed values:
0: Any: RCC functions can be modified by privileged or unprivileged access
1: PrivilegedOnly: RCC functions can only be modified by privileged access

NSPRIV

Bit 1: RCC non-secure functions privilege configuration.

Allowed values:
0: Any: RCC functions can be modified by privileged or unprivileged access
1: PrivilegedOnly: RCC functions can only be modified by privileged access

RCC_S

0x54020c00: RCC address block description

440/445 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x10 HSICFGR
0x14 CRRCR
0x18 CSICFGR
0x1c CFGR1
0x20 CFGR2
0x28 PLL1CFGR
0x2c PLL2CFGR
0x30 PLL3CFGR
0x34 PLL1DIVR
0x38 PLL1FRACR
0x3c PLL2DIVR
0x40 PLL2FRACR
0x44 PLL3DIVR
0x48 PLL3FRACR
0x50 CIER
0x54 CIFR
0x58 CICR
0x60 AHB1RSTR
0x64 AHB2RSTR
0x6c AHB4RSTR
0x74 APB1LRSTR
0x78 APB1HRSTR
0x7c APB2RSTR
0x80 APB3RSTR
0x88 AHB1ENR
0x8c AHB2ENR
0x94 AHB4ENR
0x9c APB1LENR
0xa0 APB1HENR
0xa4 APB2ENR
0xa8 APB3ENR
0xb0 AHB1LPENR
0xb4 AHB2LPENR
0xbc AHB4LPENR
0xc4 APB1LLPENR
0xc8 APB1HLPENR
0xcc APB2LPENR
0xd0 APB3LPENR
0xd8 CCIPR1
0xdc CCIPR2
0xe0 CCIPR3
0xe4 CCIPR4
0xe8 CCIPR5
0xf0 BDCR
0xf4 RSR
0x110 SECCFGR
0x114 PRIVCFGR
Toggle registers

CR

RCC clock control register

Offset: 0x0, size: 32, reset: 0x0000002B, access: read-write

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3RDY
r
PLL3ON
rw
PLL2RDY
r
PLL2ON
rw
PLL1RDY
r
PLL1ON
rw
HSEEXT
rw
HSECSSON
rw
HSEBYP
rw
HSERDY
r
HSEON
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSI48RDY
r
HSI48ON
rw
CSIKERON
rw
CSIRDY
r
CSION
rw
HSIDIVF
r
HSIDIV
rw
HSIKERON
rw
HSIRDY
r
HSION
rw
Toggle fields

HSION

Bit 0: HSI clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSIRDY

Bit 1: HSI clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSIKERON

Bit 2: HSI clock enable in Stop mode.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSIDIV

Bits 3-4: HSI clock divider.

Allowed values:
0: Div1: No division
1: Div2: Division by 2
2: Div4: Division by 4
3: Div8: Division by 8

HSIDIVF

Bit 5: HSI divider flag.

Allowed values:
0: NotPropagated: New HSIDIV ratio has not yet propagated to hsi_ck
1: Propagated: HSIDIV ratio has propagated to hsi_ck

CSION

Bit 8: CSI clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

CSIRDY

Bit 9: CSI clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

CSIKERON

Bit 10: CSI clock enable in Stop mode.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSI48ON

Bit 12: HSI48 clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSI48RDY

Bit 13: HSI48 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSEON

Bit 16: HSE clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSERDY

Bit 17: HSE clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSEBYP

Bit 18: HSE clock bypass.

Allowed values:
0: NotBypassed: HSE crystal oscillator not bypassed
1: Bypassed: HSE crystal oscillator bypassed with external clock

HSECSSON

Bit 19: HSE clock security system enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSEEXT

Bit 20: external high speed clock type in Bypass mode.

Allowed values:
0: Analog: HSE in analog mode
1: Digital: HSE in digital mode

PLL1ON

Bit 24: PLL1 enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

PLL1RDY

Bit 25: PLL1 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

PLL2ON

Bit 26: PLL2 enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

PLL2RDY

Bit 27: PLL2 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

PLL3ON

Bit 28: PLL3 enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

PLL3RDY

Bit 29: PLL3 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

HSICFGR

RCC HSI calibration register

Offset: 0x10, size: 32, reset: 0x00400000, access: read-write

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSITRIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSICAL
r
Toggle fields

HSICAL

Bits 0-11: HSI clock calibration.

HSITRIM

Bits 16-22: HSI clock trimming.

Allowed values: 0x0-0x7f

CRRCR

RCC clock recovery RC register

Offset: 0x14, 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
HSI48CAL
r
Toggle fields

HSI48CAL

Bits 0-9: Internal RC 48 MHz clock calibration.

CSICFGR

RCC CSI calibration register

Offset: 0x18, size: 32, reset: 0x00200000, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CSITRIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSICAL
rw
Toggle fields

CSICAL

Bits 0-7: CSI clock calibration.

CSITRIM

Bits 16-21: CSI clock trimming.

Allowed values: 0x0-0x3f

CFGR1

RCC clock configuration register1

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCO2SEL
rw
MCO2PRE
rw
MCO1SEL
rw
MCO1PRE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMPRE
rw
RTCPRE
rw
STOPKERWUCK
rw
STOPWUCK
rw
SWS
r
SW
rw
Toggle fields

SW

Bits 0-1: system clock and trace clock switch.

Allowed values:
0: HSI: HSI selected as system clock
1: CSI: CSI selected as system clock
2: HSE: HSE selected as system clock
3: PLL1: PLL1 selected as system clock

SWS

Bits 3-4: system clock switch status.

Allowed values:
0: HSI: HSI oscillator used as system clock
1: CSI: CSI oscillator used as system clock
2: HSE: HSE oscillator used as system clock
3: PLL1: PLL1 used as system clock

STOPWUCK

Bit 6: system clock selection after a wakeup from system Stop.

Allowed values:
0: HSI: HSI selected as wake up clock from system Stop
1: CSI: CSI selected as wake up clock from system Stop

STOPKERWUCK

Bit 7: kernel clock selection after a wakeup from system Stop.

Allowed values:
0: HSI: HSI selected as wake up clock from system Stop
1: CSI: CSI selected as wake up clock from system Stop

RTCPRE

Bits 8-13: HSE division factor for RTC clock.

Allowed values: 0x0-0x3f

TIMPRE

Bit 15: timers clocks prescaler selection.

Allowed values:
0: DefaultX2: Timer kernel clock equal to 2x pclk by default
1: DefaultX4: Timer kernel clock equal to 4x pclk by default

MCO1PRE

Bits 18-21: MCO1 prescaler.

Allowed values: 0x0-0xf

MCO1SEL

Bits 22-24: Microcontroller clock output 1.

Allowed values:
0: HSI: HSI clock selected (hsi_ck)
1: LSE: LSE clock selected (lse_ck)
2: HSE: HSE clock selected (hse_ck)
3: PLL1_Q: PLL1 clock selected (pll1_q_ck)
4: HSI48: HSI48 clock selected (hsi48_ck)

MCO2PRE

Bits 25-28: MCO2 prescaler.

Allowed values: 0x0-0xf

MCO2SEL

Bits 29-31: microcontroller clock output 2.

Allowed values:
0: SYSCLK: System clock selected (sys_ck)
1: PLL2_P: PLL2 oscillator clock selected (pll2_p_ck)
2: HSE: HSE clock selected (hse_ck)
3: PLL1_P: PLL1 clock selected (pll1_p_ck)
4: CSI: CSI clock selected (csi_ck)
5: LSI: LSI clock selected (lsi_ck)

CFGR2

RCC CPU domain clock configuration register 2

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
APB3DIS
rw
APB2DIS
rw
APB1DIS
rw
AHB4DIS
rw
AHB2DIS
rw
AHB1DIS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PPRE3
rw
PPRE2
rw
PPRE1
rw
HPRE
rw
Toggle fields

HPRE

Bits 0-3: AHB prescaler.

Allowed values:
8: Div2: SYSCLK divided by 2
9: Div4: SYSCLK divided by 4
10: Div8: SYSCLK divided by 8
11: Div16: SYSCLK divided by 16
12: Div64: SYSCLK divided by 64
13: Div128: SYSCLK divided by 128
14: Div256: SYSCLK divided by 256
15: Div512: SYSCLK divided by 512
0 (+): Div1: SYSCLK not divided

PPRE1

Bits 4-6: APB low-speed prescaler (APB1).

Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided

PPRE2

Bits 8-10: APB high-speed prescaler (APB2).

Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided

PPRE3

Bits 12-14: APB low-speed prescaler (APB3).

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

AHB1DIS

Bit 16: AHB1 clock disable.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

AHB2DIS

Bit 17: AHB2 clock disable.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

AHB4DIS

Bit 19: AHB4 clock disable.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

APB1DIS

Bit 20: APB1 clock disable value.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

APB2DIS

Bit 21: APB2 clock disable value.

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

APB3DIS

Bit 22: APB3 clock disable value..

Allowed values:
0: Enabled: The selected clock is enabled
1: Disabled: The selected clock is disabled

PLL1CFGR

RCC PLL clock source selection register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL1REN
rw
PLL1QEN
rw
PLL1PEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL1M
rw
PLL1VCOSEL
rw
PLL1FRACEN
rw
PLL1RGE
rw
PLL1SRC
rw
Toggle fields

PLL1SRC

Bits 0-1: PLL1M and PLLs clock source selection.

Allowed values:
0: None: No clock sent to DIVMx dividers and PLLs
1: HSI: HSI selected as PLL clock
2: CSI: CSI selected as PLL clock
3: HSE: HSE selected as PLL clock

PLL1RGE

Bits 2-3: PLL1 input frequency range.

Allowed values:
0: Range1: Frequency is between 1 and 2 MHz
1: Range2: Frequency is between 2 and 4 MHz
2: Range4: Frequency is between 4 and 8 MHz
3: Range8: Frequency is between 8 and 16 MHz

PLL1FRACEN

Bit 4: PLL1 fractional latch enable.

Allowed values:
0: Reset: Reset latch to transfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to transfer FRACN to the Sigma-Delta modulator

PLL1VCOSEL

Bit 5: PLL1 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL1M

Bits 8-13: prescaler for PLL1.

PLL1PEN

Bit 16: PLL1 DIVP divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL1QEN

Bit 17: PLL1 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL1REN

Bit 18: PLL1 DIVR divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL2CFGR

RCC PLL clock source selection register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL2REN
rw
PLL2QEN
rw
PLL2PEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL2M
rw
PLL2VCOSEL
rw
PLL2FRACEN
rw
PLL2RGE
rw
PLL2SRC
rw
Toggle fields

PLL2SRC

Bits 0-1: PLL2M and PLLs clock source selection.

Allowed values:
0: None: No clock sent to DIVMx dividers and PLLs
1: HSI: HSI selected as PLL clock
2: CSI: CSI selected as PLL clock
3: HSE: HSE selected as PLL clock

PLL2RGE

Bits 2-3: PLL2 input frequency range.

Allowed values:
0: Range1: Frequency is between 1 and 2 MHz
1: Range2: Frequency is between 2 and 4 MHz
2: Range4: Frequency is between 4 and 8 MHz
3: Range8: Frequency is between 8 and 16 MHz

PLL2FRACEN

Bit 4: PLL2 fractional latch enable.

Allowed values:
0: Reset: Reset latch to transfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to transfer FRACN to the Sigma-Delta modulator

PLL2VCOSEL

Bit 5: PLL2 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL2M

Bits 8-13: prescaler for PLL2.

PLL2PEN

Bit 16: PLL2 DIVP divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL2QEN

Bit 17: PLL2 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL2REN

Bit 18: PLL2 DIVR divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL3CFGR

RCC PLL clock source selection register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3REN
rw
PLL3QEN
rw
PLL3PEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL3M
rw
PLL3VCOSEL
rw
PLL3FRACEN
rw
PLL3RGE
rw
PLL3SRC
rw
Toggle fields

PLL3SRC

Bits 0-1: PLL3M and PLLs clock source selection.

Allowed values:
0: None: No clock sent to DIVMx dividers and PLLs
1: HSI: HSI selected as PLL clock
2: CSI: CSI selected as PLL clock
3: HSE: HSE selected as PLL clock

PLL3RGE

Bits 2-3: PLL3 input frequency range.

Allowed values:
0: Range1: Frequency is between 1 and 2 MHz
1: Range2: Frequency is between 2 and 4 MHz
2: Range4: Frequency is between 4 and 8 MHz
3: Range8: Frequency is between 8 and 16 MHz

PLL3FRACEN

Bit 4: PLL3 fractional latch enable.

Allowed values:
0: Reset: Reset latch to transfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to transfer FRACN to the Sigma-Delta modulator

PLL3VCOSEL

Bit 5: PLL3 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL3M

Bits 8-13: prescaler for PLL3.

PLL3PEN

Bit 16: PLL3 DIVP divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL3QEN

Bit 17: PLL3 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL3REN

Bit 18: PLL3 DIVR divider output enable.

Allowed values:
0: Disabled: Clock output is disabled
1: Enabled: Clock output is enabled

PLL1DIVR

RCC PLL1 dividers register

Offset: 0x34, size: 32, reset: 0x01010280, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL1R
rw
PLL1Q
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL1P
rw
PLL1N
rw
Toggle fields

PLL1N

Bits 0-8: Multiplication factor for PLL1VCO.

Allowed values: 0x3-0x1ff

PLL1P

Bits 9-15: PLL1 DIVP division factor.

Allowed values: 0x0-0x7f

PLL1Q

Bits 16-22: PLL1 DIVQ division factor.

Allowed values: 0x0-0x7f

PLL1R

Bits 24-30: PLL1 DIVR division factor.

Allowed values: 0x0-0x7f

PLL1FRACR

RCC PLL1 fractional divider register

Offset: 0x38, 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
PLL1FRACN
rw
Toggle fields

PLL1FRACN

Bits 3-15: fractional part of the multiplication factor for PLL1 VCO.

Allowed values: 0x0-0x1fff

PLL2DIVR

RCC PLL1 dividers register

Offset: 0x3c, size: 32, reset: 0x01010280, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL2R
rw
PLL2Q
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL2P
rw
PLL2N
rw
Toggle fields

PLL2N

Bits 0-8: Multiplication factor for PLL2VCO.

Allowed values: 0x3-0x1ff

PLL2P

Bits 9-15: PLL2 DIVP division factor.

Allowed values: 0x0-0x7f

PLL2Q

Bits 16-22: PLL2 DIVQ division factor.

Allowed values: 0x0-0x7f

PLL2R

Bits 24-30: PLL2 DIVR division factor.

Allowed values: 0x0-0x7f

PLL2FRACR

RCC PLL2 fractional divider 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
PLL2FRACN
rw
Toggle fields

PLL2FRACN

Bits 3-15: fractional part of the multiplication factor for PLL2 VCO.

Allowed values: 0x0-0x1fff

PLL3DIVR

RCC PLL3 dividers register

Offset: 0x44, size: 32, reset: 0x01010280, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3R
rw
PLL3Q
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL3P
rw
PLL3N
rw
Toggle fields

PLL3N

Bits 0-8: Multiplication factor for PLL3VCO.

Allowed values: 0x3-0x1ff

PLL3P

Bits 9-15: PLL3 DIVP division factor.

Allowed values: 0x0-0x7f

PLL3Q

Bits 16-22: PLL3 DIVQ division factor.

Allowed values: 0x0-0x7f

PLL3R

Bits 24-30: PLL3 DIVR division factor.

Allowed values: 0x0-0x7f

PLL3FRACR

RCC PLL3 fractional divider 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
PLL3FRACN
rw
Toggle fields

PLL3FRACN

Bits 3-15: fractional part of the multiplication factor for PLL3 VCO.

Allowed values: 0x0-0x1fff

CIER

RCC clock source interrupt enable register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

Toggle fields

LSIRDYIE

Bit 0: LSI ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

LSERDYIE

Bit 1: LSE ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CSIRDYIE

Bit 2: CSI ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSIRDYIE

Bit 3: HSI ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSERDYIE

Bit 4: HSE ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSI48RDYIE

Bit 5: HSI48 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

PLL1RDYIE

Bit 6: PLL1 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

PLL2RDYIE

Bit 7: PLL2 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

PLL3RDYIE

Bit 8: PLL3 ready interrupt enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CIFR

RCC clock source interrupt flag register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

10/10 fields covered.

Toggle fields

LSIRDYF

Bit 0: LSI ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

LSERDYF

Bit 1: LSE ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

CSIRDYF

Bit 2: CSI ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSIRDYF

Bit 3: HSI ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSERDYF

Bit 4: HSE ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSI48RDYF

Bit 5: HSI48 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

PLL1RDYF

Bit 6: PLL1 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

PLL2RDYF

Bit 7: PLL2 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

PLL3RDYF

Bit 8: PLL3 ready interrupt flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSECSSF

Bit 10: HSE clock security system interrupt flag.

Allowed values:
0: NoInterrupt: No clock security interrupt caused by HSE clock failure
1: Interrupt: Clock security interrupt caused by HSE clock failure

CICR

RCC clock source interrupt clear register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

Toggle fields

LSIRDYC

Bit 0: LSI ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

LSERDYC

Bit 1: LSE ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

CSIRDYC

Bit 2: HSI ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSIRDYC

Bit 3: HSI ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSERDYC

Bit 4: HSE ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSI48RDYC

Bit 5: HSI48 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

PLL1RDYC

Bit 6: PLL1 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

PLL2RDYC

Bit 7: PLL2 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

PLL3RDYC

Bit 8: PLL3 ready interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

HSECSSC

Bit 10: HSE clock security system interrupt clear.

Allowed values:
1: Clear: Clear interrupt flag

AHB1RSTR

RCC AHB1 reset register

Offset: 0x60, 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
ETHRST
rw
RAMCFGRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMACRST
rw
CORDICRST
rw
CRCRST
rw
GPDMA2RST
rw
GPDMA1RST
rw
Toggle fields

GPDMA1RST

Bit 0: GPDMA1 block reset.

Allowed values:
1: Reset: Reset the selected module

GPDMA2RST

Bit 1: GPDMA2 block reset.

Allowed values:
1: Reset: Reset the selected module

CRCRST

Bit 12: CRC block reset Set and reset by software..

Allowed values:
1: Reset: Reset the selected module

CORDICRST

Bit 14: CORDIC block reset.

Allowed values:
1: Reset: Reset the selected module

FMACRST

Bit 15: FMAC block reset.

Allowed values:
1: Reset: Reset the selected module

RAMCFGRST

Bit 17: RAMCFG block reset.

Allowed values:
1: Reset: Reset the selected module

ETHRST

Bit 19: ETHRST block reset.

Allowed values:
1: Reset: Reset the selected module

AHB2RSTR

RCC AHB2 peripheral reset register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAESRST
rw
PKARST
rw
RNGRST
rw
HASHRST
rw
AESRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMI_PSSIRST
rw
DAC1RST
rw
ADCRST
rw
GPIOIRST
rw
GPIOHRST
rw
GPIOGRST
rw
GPIOFRST
rw
GPIOERST
rw
GPIODRST
rw
GPIOCRST
rw
GPIOBRST
rw
GPIOARST
rw
Toggle fields

GPIOARST

Bit 0: GPIOA block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOBRST

Bit 1: GPIOB block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOCRST

Bit 2: GPIOC block reset.

Allowed values:
1: Reset: Reset the selected module

GPIODRST

Bit 3: GPIOD block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOERST

Bit 4: GPIOE block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOFRST

Bit 5: GPIOF block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOGRST

Bit 6: GPIOG block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOHRST

Bit 7: GPIOH block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOIRST

Bit 8: GPIOI block reset.

Allowed values:
1: Reset: Reset the selected module

ADCRST

Bit 10: ADC1 and 2 blocks reset.

Allowed values:
1: Reset: Reset the selected module

DAC1RST

Bit 11: DAC block reset.

Allowed values:
1: Reset: Reset the selected module

DCMI_PSSIRST

Bit 12: digital camera interface block reset (DCMI or PSSI depending which interface is active).

Allowed values:
1: Reset: Reset the selected module

AESRST

Bit 16: AES block reset.

Allowed values:
1: Reset: Reset the selected module

HASHRST

Bit 17: HASH block reset.

Allowed values:
1: Reset: Reset the selected module

RNGRST

Bit 18: RNG block reset.

Allowed values:
1: Reset: Reset the selected module

PKARST

Bit 19: PKA block reset.

Allowed values:
1: Reset: Reset the selected module

SAESRST

Bit 20: SAES block reset.

Allowed values:
1: Reset: Reset the selected module

AHB4RSTR

RCC AHB4 peripheral reset register

Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCTOSPI1RST
rw
FMCRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1RST
rw
OTFDEC1RST
rw
Toggle fields

OTFDEC1RST

Bit 7: OTFDEC1 block reset.

Allowed values:
1: Reset: Reset the selected module

SDMMC1RST

Bit 11: SDMMC1 and SDMMC1 delay blocks reset.

Allowed values:
1: Reset: Reset the selected module

FMCRST

Bit 16: FMC block reset.

Allowed values:
1: Reset: Reset the selected module

OCTOSPI1RST

Bit 20: OCTOSPI1 block reset.

Allowed values:
1: Reset: Reset the selected module

APB1LRSTR

RCC APB1 peripheral low reset register

Offset: 0x74, size: 32, reset: 0x00000000, access: read-write

23/23 fields covered.

Toggle fields

TIM2RST

Bit 0: TIM2 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM3RST

Bit 1: TIM3 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM4RST

Bit 2: TIM4 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM5RST

Bit 3: TIM5 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM6RST

Bit 4: TIM6 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM7RST

Bit 5: TIM7 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM12RST

Bit 6: TIM12 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI2RST

Bit 14: SPI2 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI3RST

Bit 15: SPI3 block reset.

Allowed values:
1: Reset: Reset the selected module

USART2RST

Bit 17: USART2 block reset.

Allowed values:
1: Reset: Reset the selected module

USART3RST

Bit 18: USART3 block reset.

Allowed values:
1: Reset: Reset the selected module

UART4RST

Bit 19: UART4 block reset.

Allowed values:
1: Reset: Reset the selected module

UART5RST

Bit 20: UART5 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C1RST

Bit 21: I2C1 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C2RST

Bit 22: I2C2 block reset.

Allowed values:
1: Reset: Reset the selected module

I3C1RST

Bit 23: I3C1 block reset.

Allowed values:
1: Reset: Reset the selected module

CRSRST

Bit 24: CRS block reset.

Allowed values:
1: Reset: Reset the selected module

USART6RST

Bit 25: USART6 block reset.

Allowed values:
1: Reset: Reset the selected module

USART10RST

Bit 26: USART10 block reset.

Allowed values:
1: Reset: Reset the selected module

USART11RST

Bit 27: USART11 block reset.

Allowed values:
1: Reset: Reset the selected module

CECRST

Bit 28: HDMI-CEC block reset.

Allowed values:
1: Reset: Reset the selected module

UART7RST

Bit 30: UART7 block reset.

Allowed values:
1: Reset: Reset the selected module

UART8RST

Bit 31: UART8 block reset.

Allowed values:
1: Reset: Reset the selected module

APB1HRSTR

RCC APB1 peripheral high reset register

Offset: 0x78, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UCPD1RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANRST
rw
LPTIM2RST
rw
DTSRST
rw
UART12RST
rw
UART9RST
rw
Toggle fields

UART9RST

Bit 0: UART9 block reset.

Allowed values:
1: Reset: Reset the selected module

UART12RST

Bit 1: UART12 block reset.

Allowed values:
1: Reset: Reset the selected module

DTSRST

Bit 3: DTS block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM2RST

Bit 5: LPTIM2 block reset.

Allowed values:
1: Reset: Reset the selected module

FDCANRST

Bit 9: FDCAN1 and FDCAN2 blocks reset.

Allowed values:
1: Reset: Reset the selected module

UCPD1RST

Bit 23: UCPD1 block reset.

Allowed values:
1: Reset: Reset the selected module

APB2RSTR

RCC APB2 peripheral reset register

Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USBRST
rw
SAI2RST
rw
SAI1RST
rw
SPI6RST
rw
SPI4RST
rw
TIM15RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART1RST
rw
TIM8RST
rw
SPI1RST
rw
TIM1RST
rw
Toggle fields

TIM1RST

Bit 11: TIM1 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI1RST

Bit 12: SPI1 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM8RST

Bit 13: TIM8 block reset.

Allowed values:
1: Reset: Reset the selected module

USART1RST

Bit 14: USART1 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM15RST

Bit 16: TIM15 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI4RST

Bit 19: SPI4 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI6RST

Bit 20: SPI6 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI1RST

Bit 21: SAI1 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI2RST

Bit 22: SAI2 block reset.

Allowed values:
1: Reset: Reset the selected module

USBRST

Bit 24: USB block reset.

Allowed values:
1: Reset: Reset the selected module

APB3RSTR

RCC APB3 peripheral reset register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VREFRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM6RST
rw
LPTIM5RST
rw
LPTIM4RST
rw
LPTIM3RST
rw
LPTIM1RST
rw
I3C2RST
rw
I2C3RST
rw
LPUART1RST
rw
Toggle fields

LPUART1RST

Bit 6: LPUART1 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C3RST

Bit 7: I2C3 block reset.

Allowed values:
1: Reset: Reset the selected module

I3C2RST

Bit 9: I3C2 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM1RST

Bit 11: LPTIM1 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM3RST

Bit 12: LPTIM3 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM4RST

Bit 13: LPTIM4 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM5RST

Bit 14: LPTIM5 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM6RST

Bit 15: LPTIM6 block reset.

Allowed values:
1: Reset: Reset the selected module

VREFRST

Bit 20: VREFBUF block reset.

Allowed values:
1: Reset: Reset the selected module

AHB1ENR

RCC AHB1 peripherals clock register

Offset: 0x88, size: 32, reset: 0xD0000100, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1EN
rw
DCACHEEN
rw
BKPRAMEN
rw
TZSC1EN
rw
ETHRXEN
rw
ETHTXEN
rw
ETHEN
rw
RAMCFGEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMACEN
rw
CORDICEN
rw
CRCEN
rw
FLITFEN
rw
GPDMA2EN
rw
GPDMA1EN
rw
Toggle fields

GPDMA1EN

Bit 0: GPDMA1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPDMA2EN

Bit 1: GPDMA2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FLITFEN

Bit 8: Flash interface clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRCEN

Bit 12: CRC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CORDICEN

Bit 14: CORDIC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FMACEN

Bit 15: FMAC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RAMCFGEN

Bit 17: RAMCFG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETHEN

Bit 19: ETH clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETHTXEN

Bit 20: ETHTX clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETHRXEN

Bit 21: ETHRX clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TZSC1EN

Bit 24: TZSC1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

BKPRAMEN

Bit 28: BKPRAM clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DCACHEEN

Bit 30: DCACHE clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM1EN

Bit 31: SRAM1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB2ENR

RCC AHB2 peripheral clock register

Offset: 0x8c, size: 32, reset: 0xC0000000, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM3EN
rw
SRAM2EN
rw
SAESEN
rw
PKAEN
rw
RNGEN
rw
HASHEN
rw
AESEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCMI_PSSIEN
rw
DAC1EN
rw
ADCEN
rw
GPIOIEN
rw
GPIOHEN
rw
GPIOGEN
rw
GPIOFEN
rw
GPIOEEN
rw
GPIODEN
rw
GPIOCEN
rw
GPIOBEN
rw
GPIOAEN
rw
Toggle fields

GPIOAEN

Bit 0: GPIOA clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOBEN

Bit 1: GPIOB clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOCEN

Bit 2: GPIOC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIODEN

Bit 3: GPIOD clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOEEN

Bit 4: GPIOE clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOFEN

Bit 5: GPIOF clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOGEN

Bit 6: GPIOG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOHEN

Bit 7: GPIOH clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOIEN

Bit 8: GPIOI clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ADCEN

Bit 10: ADC1 and 2 peripherals clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DAC1EN

Bit 11: DAC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DCMI_PSSIEN

Bit 12: digital camera interface clock enable (DCMI or PSSI depending which interface is active).

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AESEN

Bit 16: AES clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HASHEN

Bit 17: HASH clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RNGEN

Bit 18: RNG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

PKAEN

Bit 19: PKA clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAESEN

Bit 20: SAES clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM2EN

Bit 30: SRAM2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM3EN

Bit 31: SRAM3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB4ENR

RCC AHB4 peripheral clock register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCTOSPI1EN
rw
FMCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1EN
rw
OTFDEC1EN
rw
Toggle fields

OTFDEC1EN

Bit 7: OTFDEC1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SDMMC1EN

Bit 11: SDMMC1 and SDMMC1 delay peripheral clock enable reset.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FMCEN

Bit 16: FMC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

OCTOSPI1EN

Bit 20: OCTOSPI1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB1LENR

RCC APB1 peripheral clock register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

Toggle fields

TIM2EN

Bit 0: TIM2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM3EN

Bit 1: TIM3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM4EN

Bit 2: TIM4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM5EN

Bit 3: TIM5 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM6EN

Bit 4: TIM6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM7EN

Bit 5: TIM7 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM12EN

Bit 6: TIM12 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

WWDGEN

Bit 11: WWDG clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI2EN

Bit 14: SPI2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI3EN

Bit 15: SPI3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART2EN

Bit 17: USART2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART3EN

Bit 18: USART3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART4EN

Bit 19: UART4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART5EN

Bit 20: UART5 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C1EN

Bit 21: I2C1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C2EN

Bit 22: I2C2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I3C1EN

Bit 23: I3C1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRSEN

Bit 24: CRS clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART6EN

Bit 25: USART6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART10EN

Bit 26: USART10 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART11EN

Bit 27: USART11 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CECEN

Bit 28: HDMI-CEC clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART7EN

Bit 30: UART7 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART8EN

Bit 31: UART8 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB1HENR

RCC APB1 peripheral clock register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UCPD1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANEN
rw
LPTIM2EN
rw
DTSEN
rw
UART12EN
rw
UART9EN
rw
Toggle fields

UART9EN

Bit 0: UART9 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART12EN

Bit 1: UART12 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DTSEN

Bit 3: DTS clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM2EN

Bit 5: LPTIM2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FDCANEN

Bit 9: FDCAN1 and FDCAN2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UCPD1EN

Bit 23: UCPD1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB2ENR

RCC APB2 peripheral clock register

Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USBEN
rw
SAI2EN
rw
SAI1EN
rw
SPI6EN
rw
SPI4EN
rw
TIM15EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART1EN
rw
TIM8EN
rw
SPI1EN
rw
TIM1EN
rw
Toggle fields

TIM1EN

Bit 11: TIM1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI1EN

Bit 12: SPI1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM8EN

Bit 13: TIM8 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART1EN

Bit 14: USART1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM15EN

Bit 16: TIM15 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI4EN

Bit 19: SPI4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI6EN

Bit 20: SPI6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI1EN

Bit 21: SAI1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI2EN

Bit 22: SAI2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USBEN

Bit 24: USB clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB3ENR

RCC APB3 peripheral clock register

Offset: 0xa8, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RTCAPBEN
rw
VREFEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM6EN
rw
LPTIM5EN
rw
LPTIM4EN
rw
LPTIM3EN
rw
LPTIM1EN
rw
I3C2EN
rw
I2C3EN
rw
LPUART1EN
rw
SBSEN
rw
Toggle fields

SBSEN

Bit 1: SBS clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPUART1EN

Bit 6: LPUART1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C3EN

Bit 7: I2C3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I3C2EN

Bit 9: I3C2 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM1EN

Bit 11: LPTIM1 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM3EN

Bit 12: LPTIM3 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM4EN

Bit 13: LPTIM4 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM5EN

Bit 14: LPTIM5 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM6EN

Bit 15: LPTIM6 clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

VREFEN

Bit 20: VREFBUF clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RTCAPBEN

Bit 21: RTC APB interface clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB1LPENR

RCC AHB1 sleep clock register

Offset: 0xb0, size: 32, reset: 0xF1021103, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SRAM1LPEN
rw
DCACHELPEN
rw
ICACHELPEN
rw
BKPRAMLPEN
rw
TZSC1LPEN
rw
ETHRXLPEN
rw
ETHTXLPEN
rw
ETHLPEN
rw
RAMCFGLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FMACLPEN
rw
CORDICLPEN
rw
CRCLPEN
rw
FLITFLPEN
rw
GPDMA2LPEN
rw
GPDMA1LPEN
rw
Toggle fields

GPDMA1LPEN

Bit 0: GPDMA1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPDMA2LPEN

Bit 1: GPDMA2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FLITFLPEN

Bit 8: Flash interface (FLITF) clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CRCLPEN

Bit 12: CRC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CORDICLPEN

Bit 14: CORDIC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FMACLPEN

Bit 15: FMAC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RAMCFGLPEN

Bit 17: RAMCFG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETHLPEN

Bit 19: ETH clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETHTXLPEN

Bit 20: ETHTX clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETHRXLPEN

Bit 21: ETHRX clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TZSC1LPEN

Bit 24: TZSC1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

BKPRAMLPEN

Bit 28: BKPRAM clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ICACHELPEN

Bit 29: ICACHE clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DCACHELPEN

Bit 30: DCACHE clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM1LPEN

Bit 31: SRAM1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AHB2LPENR

RCC AHB2 sleep clock register

Offset: 0xb4, size: 32, reset: 0xC01F1CFF, access: read-write

19/19 fields covered.

Toggle fields

GPIOALPEN

Bit 0: GPIOA clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOBLPEN

Bit 1: GPIOB clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOCLPEN

Bit 2: GPIOC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIODLPEN

Bit 3: GPIOD clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOELPEN

Bit 4: GPIOE clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOFLPEN

Bit 5: GPIOF clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOGLPEN

Bit 6: GPIOG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOHLPEN

Bit 7: GPIOH clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOILPEN

Bit 8: GPIOI clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ADCLPEN

Bit 10: ADC1 and 2 peripherals clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DAC1LPEN

Bit 11: DAC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DCMI_PSSILPEN

Bit 12: digital camera interface clock enable during Sleep mode (DCMI or PSSI depending which interface is active).

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AESLPEN

Bit 16: AES clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

HASHLPEN

Bit 17: HASH clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RNGLPEN

Bit 18: RNG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

PKALPEN

Bit 19: PKA clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAESLPEN

Bit 20: SAES clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM2LPEN

Bit 30: SRAM2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM3LPEN

Bit 31: SRAM3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AHB4LPENR

RCC AHB4 sleep clock register

Offset: 0xbc, size: 32, reset: 0x00110880, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCTOSPI1LPEN
rw
FMCLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1LPEN
rw
OTFDEC1LPEN
rw
Toggle fields

OTFDEC1LPEN

Bit 7: OTFDEC1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SDMMC1LPEN

Bit 11: SDMMC1 and SDMMC1 delay peripheral clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FMCLPEN

Bit 16: FMC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

OCTOSPI1LPEN

Bit 20: OCTOSPI1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB1LLPENR

RCC APB1 sleep clock register

Offset: 0xc4, size: 32, reset: 0x13FEC87F, access: read-write

24/24 fields covered.

Toggle fields

TIM2LPEN

Bit 0: TIM2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM3LPEN

Bit 1: TIM3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM4LPEN

Bit 2: TIM4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM5LPEN

Bit 3: TIM5 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM6LPEN

Bit 4: TIM6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM7LPEN

Bit 5: TIM7 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM12LPEN

Bit 6: TIM12 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

WWDGLPEN

Bit 11: WWDG clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI2LPEN

Bit 14: SPI2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI3LPEN

Bit 15: SPI3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART2LPEN

Bit 17: USART2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART3LPEN

Bit 18: USART3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART4LPEN

Bit 19: UART4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART5LPEN

Bit 20: UART5 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C1LPEN

Bit 21: I2C1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C2LPEN

Bit 22: I2C2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I3C1LPEN

Bit 23: I3C1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CRSLPEN

Bit 24: CRS clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART6LPEN

Bit 25: USART6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART10LPEN

Bit 26: USART10 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART11LPEN

Bit 27: USART11 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CECLPEN

Bit 28: HDMI-CEC clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART7LPEN

Bit 30: UART7 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART8LPEN

Bit 31: UART8 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB1HLPENR

RCC APB1 sleep clock register

Offset: 0xc8, size: 32, reset: 0x40800228, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
UCPD1LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANLPEN
rw
LPTIM2LPEN
rw
DTSLPEN
rw
UART12LPEN
rw
UART9LPEN
rw
Toggle fields

UART9LPEN

Bit 0: UART9 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UART12LPEN

Bit 1: UART12 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DTSLPEN

Bit 3: DTS clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM2LPEN

Bit 5: LPTIM2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FDCANLPEN

Bit 9: FDCAN1 and FDCAN2 peripheral clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

UCPD1LPEN

Bit 23: UCPD1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB2LPENR

RCC APB2 sleep clock register

Offset: 0xcc, size: 32, reset: 0x01097800, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USBLPEN
rw
SAI2LPEN
rw
SAI1LPEN
rw
SPI6LPEN
rw
SPI4LPEN
rw
TIM15LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART1LPEN
rw
TIM8LPEN
rw
SPI1LPEN
rw
TIM1LPEN
rw
Toggle fields

TIM1LPEN

Bit 11: TIM1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI1LPEN

Bit 12: SPI1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM8LPEN

Bit 13: TIM8 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USART1LPEN

Bit 14: USART1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM15LPEN

Bit 16: TIM15 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI4LPEN

Bit 19: SPI4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI6LPEN

Bit 20: SPI6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI1LPEN

Bit 21: SAI1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI2LPEN

Bit 22: SAI2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USBLPEN

Bit 24: USB clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB3LPENR

RCC APB3 sleep clock register

Offset: 0xd0, size: 32, reset: 0x0030FAE2, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RTCAPBLPEN
rw
VREFLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM6LPEN
rw
LPTIM5LPEN
rw
LPTIM4LPEN
rw
LPTIM3LPEN
rw
LPTIM1LPEN
rw
I3C2LPEN
rw
I2C3LPEN
rw
LPUART1LPEN
rw
SBSLPEN
rw
Toggle fields

SBSLPEN

Bit 1: SBS clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPUART1LPEN

Bit 6: LPUART1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C3LPEN

Bit 7: I2C3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I3C2LPEN

Bit 9: I3C2 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM1LPEN

Bit 11: LPTIM1 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM3LPEN

Bit 12: LPTIM3 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM4LPEN

Bit 13: LPTIM4 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM5LPEN

Bit 14: LPTIM5 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

LPTIM6LPEN

Bit 15: LPTIM6 clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

VREFLPEN

Bit 20: VREFBUF clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RTCAPBLPEN

Bit 21: RTC APB interface clock enable during Sleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CCIPR1

RCC kernel clock configuration register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TIMICSEL
rw
USART10SEL
rw
UART9SEL
rw
UART8SEL
rw
UART7SEL
rw
USART6SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USART6SEL
rw
UART5SEL
rw
UART4SEL
rw
USART3SEL
rw
USART2SEL
rw
USART1SEL
rw
Toggle fields

USART1SEL

Bits 0-2: USART1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART2SEL

Bits 3-5: USART2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART3SEL

Bits 6-8: USART3 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART4SEL

Bits 9-11: UART4 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART5SEL

Bits 12-14: UART5 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART6SEL

Bits 15-17: USART6 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART7SEL

Bits 18-20: UART7 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART8SEL

Bits 21-23: UART8 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART9SEL

Bits 24-26: UART9 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

USART10SEL

Bits 27-29: USART10 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

TIMICSEL

Bit 31: TIM12, TIM15 and LPTIM2 input capture source selection.

Allowed values:
0: Disabled: No internal clock available for timers input capture
1: Enabled: hsi_ker_ck/1024, hsi_ker_ck/8 and csi_ker_ck/128 selected for timers input capture

CCIPR2

RCC kernel clock configuration register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPTIM6SEL
rw
LPTIM5SEL
rw
LPTIM4SEL
rw
LPTIM3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM2SEL
rw
LPTIM1SEL
rw
UART12SEL
rw
USART11SEL
rw
Toggle fields

USART11SEL

Bits 0-2: USART11 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

UART12SEL

Bits 4-6: UART12 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

LPTIM1SEL

Bits 8-10: LPTIM1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM2SEL

Bits 12-14: LPTIM2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM3SEL

Bits 16-18: LPTIM3 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM4SEL

Bits 20-22: LPTIM4 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM5SEL

Bits 24-26: LPTIM5 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

LPTIM6SEL

Bits 28-30: LPTIM6 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
3: LSE_KER: LSE kernel selected as clock source (lse_ck)
4: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
5: PER_CK: per_ck clock selected as clock source

CCIPR3

RCC kernel clock configuration register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPUART1SEL
rw
SPI6SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI6SEL
rw
SPI4SEL
rw
SPI3SEL
rw
SPI2SEL
rw
SPI1SEL
rw
Toggle fields

SPI1SEL

Bits 0-2: SPI1 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SPI2SEL

Bits 3-5: SPI2 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SPI3SEL

Bits 6-8: SPI3 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SPI4SEL

Bits 9-11: SPI4 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_p_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_p_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: HSE: HSE clock selected as clock source (hse_ck)

SPI6SEL

Bits 15-17: SPI6 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_p_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_p_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: HSE: HSE clock selected as clock source (hse_ck)

LPUART1SEL

Bits 24-26: LPUART1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
4: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
5: LSE: LSE clock selected as clock source (lse_ck)

CCIPR4

RCC kernel clock configuration register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
I3C2SEL
rw
I3C1SEL
rw
I2C3SEL
rw
I2C2SEL
rw
I2C1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC1SEL
rw
USBSEL
rw
SYSTICKSEL
rw
OCTOSPI1SEL
rw
Toggle fields

OCTOSPI1SEL

Bits 0-1: OCTOSPI1 kernel clock source selection.

Allowed values:
0: RCC_HCLK4: HCLK4 selected as clock source (rcc_hclk4)
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: PLL2_R: PLL2 R clock selected as clock source (pll2_r_ck)
3: PER_CK: per_ck clock selected as clock source

SYSTICKSEL

Bits 2-3: SYSTICK clock source selection.

Allowed values:
0: HCLK_DIV8: RCC HLCK divided by 8 selected as clock source (rcc_hclk / 8)
1: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
2: LSE: LSE selected as clock source (lse_ck)

USBSEL

Bits 4-5: USB kernel clock source selection.

Allowed values:
0: DISABLE: Disable the clock
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: PLL3_Q: PLL3 Q clock selected as clock source (pll3_q_ck)
3: HSI48: HSI48 clock selected as clock source (hsi48_ker_ck)

SDMMC1SEL

Bit 6: SDMMC1 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_R: PLL2 R clock selected as clock source (pll2_r_ck)

I2C1SEL

Bits 16-17: I2C1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R Clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
3: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

I2C2SEL

Bits 18-19: I2C2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R Clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
3: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

I2C3SEL

Bits 20-21: I2C3 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R Clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
3: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

I3C1SEL

Bits 24-25: I3C1 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)

I3C2SEL

Bits 26-27: I3C2 kernel clock source selection.

Allowed values:
0: PCLK: Peripheral bus clock used as selected as clock source (rcc_pclk_x)
1: PLL3_R: PLL3 R clock selected as clock source (pll3_r_ck)
2: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)

CCIPR5

RCC kernel clock configuration register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CKPERSEL
rw
SAI2SEL
rw
SAI1SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANSEL
rw
CECSEL
rw
RNGSEL
rw
DACSEL
rw
ADCDACSEL
rw
Toggle fields

ADCDACSEL

Bits 0-2: ADC and DAC kernel clock source selection.

Allowed values:
0: HCLK: HLCK clock selected as clock source (rcc_hclk)
1: SYS: System clock selected as pclock source (sys_ck)
2: PLL2_R: PLL2 R clock selected as clock source (pll2_r_ck)
3: HSE: HSE clock selected as clock source (hse_ck)
4: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
5: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)

DACSEL

Bit 3: DAC sample and hold clock.

Allowed values:
0: LSE: LSE selected as clock source (lse_ck)
1: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)

RNGSEL

Bits 4-5: RNG kernel clock source selection.

Allowed values:
0: HSI48_KER: HSI48 kernel clock selected as clock source (hsi48_ker_ck)
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: LSE: LSE clock selected as clock source (lse_ck)
3: LSI: LSI kernel clock selected as clock source (lsi_ker_ck)

CECSEL

Bits 6-7: HSMI-CEC kernel clock source selection.

Allowed values:
0: LSE: LSE selected as clock source (lse_ck)
1: LSI_KER: LSI kernel selected as clock source (lsi_ker_ck)
2: CSI_KER: CSI kernel clock divided by 122 selected as clock source (csi_ker_ck/122)

FDCANSEL

Bits 8-9: FDCAN1 and FDCAN2 kernel clock source selection.

Allowed values:
0: HSE: HSE clock selected as clock source (hse_ck)
1: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
2: PLL2_Q: PLL2 Q clock selected as clock source (pll2_q_ck)

SAI1SEL

Bits 16-18: SAI1 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

SAI2SEL

Bits 19-21: SAI2 kernel clock source selection.

Allowed values:
0: PLL1_Q: PLL1 Q clock selected as clock source (pll1_q_ck)
1: PLL2_P: PLL2 P clock selected as clock source (pll2_p_ck)
2: PLL3_P: PLL3 P clock selected as clock source (pll3_p_ck)
3: AUDIOCLK: AUDIOCLK clock selected as clock source
4: PER_CK: per_ck clock selected as clock source

CKPERSEL

Bits 30-31: per_ck clock source selection.

Allowed values:
0: HSI_KER: HSI kernel clock selected as clock source (hsi_ker_ck)
1: CSI_KER: CSI kernel clock selected as clock source (csi_ker_ck)
2: HSE: HSE clock selected as clock source (hse_ck)

BDCR

RCC Backup domain control register

Offset: 0xf0, size: 32, reset: 0x00000000, access: read-write

13/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LSIRDY
rw
LSION
rw
LSCOSEL
rw
LSCOEN
rw
VSWRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTCEN
rw
RTCSEL
rw
LSEEXT
rw
LSECSSD
rw
LSECSSON
rw
LSEDRV
rw
LSEBYP
rw
LSERDY
rw
LSEON
rw
Toggle fields

LSEON

Bit 0: LSE oscillator enabled.

Allowed values:
0: Off: LSE oscillator Off
1: On: LSE oscillator On

LSERDY

Bit 1: LSE oscillator ready.

Allowed values:
0: NotReady: LSE oscillator not ready
1: Ready: LSE oscillator ready

LSEBYP

Bit 2: LSE oscillator bypass.

Allowed values:
0: NotBypassed: LSE crystal oscillator not bypassed
1: Bypassed: LSE crystal oscillator bypassed with external clock

LSEDRV

Bits 3-4: LSE oscillator driving capability.

Allowed values:
0: Lowest: Lowest LSE oscillator driving capability
1: MediumLow: Medium low LSE oscillator driving capability
2: MediumHigh: Medium high LSE oscillator driving capability
3: Highest: Highest LSE oscillator driving capability

LSECSSON

Bit 5: LSE clock security system enable.

Allowed values:
0: SecurityOff: Clock security system on 32 kHz oscillator off
1: SecurityOn: Clock security system on 32 kHz oscillator on

LSECSSD

Bit 6: LSE clock security system failure detection.

Allowed values:
0: NoFailure: No failure detected on 32 kHz oscillator
1: Failure: Failure detected on 32 kHz oscillator

LSEEXT

Bit 7: low-speed external clock type in bypass mode.

Allowed values:
0: Analog: HSE in analog mode
1: Digital: HSE in digital mode

RTCSEL

Bits 8-9: RTC clock source selection.

Allowed values:
0: NoClock: No clock
1: LSE: LSE oscillator clock used as RTC clock
2: LSI: LSI oscillator clock used as RTC clock
3: HSE: HSE oscillator clock divided by a prescaler used as RTC clock

RTCEN

Bit 15: RTC clock enable.

Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled

VSWRST

Bit 16: VSwitch domain software reset.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Resets the entire VSW domain

LSCOEN

Bit 24: Low-speed clock output (LSCO) enable.

LSCOSEL

Bit 25: Low-speed clock output selection.

Allowed values:
0: LSI: LSI clock selected
1: LSE: LSE clock selected

LSION

Bit 26: LSI oscillator enable.

Allowed values:
0: Disabled: Oscillator disabled
1: Enabled: Oscillator enabled

LSIRDY

Bit 27: LSI oscillator ready.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

RSR

RCC reset status register

Offset: 0xf4, size: 32, reset: 0x0C000000, access: read-write

7/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPWRRSTF
rw
WWDGRSTF
rw
IWDGRSTF
rw
SFTRSTF
rw
BORRSTF
rw
PINRSTF
rw
RMVF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

RMVF

Bit 23: remove reset flag.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Reset the reset status flags

PINRSTF

Bit 26: pin reset flag (NRST).

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

BORRSTF

Bit 27: BOR reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

SFTRSTF

Bit 28: system reset from CPU reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

IWDGRSTF

Bit 29: independent watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

WWDGRSTF

Bit 30: window watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

LPWRRSTF

Bit 31: Low-power reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

SECCFGR

RCC secure configuration register

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

Toggle fields

HSISEC

Bit 0: HSI clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

HSESEC

Bit 1: HSE clock configuration bits, status bits and HSE_CSS security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

CSISEC

Bit 2: CSI clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

LSISEC

Bit 3: LSI clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

LSESEC

Bit 4: LSE clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

SYSCLKSEC

Bit 5: SYSCLK clock selection, STOPWUCK bit, clock output on MCO configuration security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PRESCSEC

Bit 6: AHBx/APBx prescaler configuration bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PLL1SEC

Bit 7: PLL1 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PLL2SEC

Bit 8: PLL2 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PLL3SEC

Bit 9: PLL3 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

HSI48SEC

Bit 11: HSI48 clock configuration and status bits security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

RMVFSEC

Bit 12: Remove reset flag security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

CKPERSELSEC

Bit 13: per_ck selection security.

Allowed values:
0: NonSecure: Non secure
1: Secure: Secure

PRIVCFGR

RCC privilege configuration register

Offset: 0x114, 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
NSPRIV
rw
SPRIV
rw
Toggle fields

SPRIV

Bit 0: RCC secure functions privilege configuration.

Allowed values:
0: Any: RCC functions can be modified by privileged or unprivileged access
1: PrivilegedOnly: RCC functions can only be modified by privileged access

NSPRIV

Bit 1: RCC non-secure functions privilege configuration.

Allowed values:
0: Any: RCC functions can be modified by privileged or unprivileged access
1: PrivilegedOnly: RCC functions can only be modified by privileged access

RNG

0x420c0800: RNG address block description

4/24 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 DR
0xc NSCR
0x10 HTCR
Toggle registers

CR

RNG control register

Offset: 0x0, size: 32, reset: 0x00800D00, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CONFIGLOCK
rw
CONDRST
rw
RNG_CONFIG1
rw
CLKDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RNG_CONFIG2
rw
NISTC
rw
RNG_CONFIG3
rw
ARDIS
rw
CED
rw
IE
rw
RNGEN
rw
Toggle fields

RNGEN

Bit 2: True random number generator enable.

IE

Bit 3: Interrupt enable.

CED

Bit 5: Clock error detection.

ARDIS

Bit 7: Auto reset disable.

RNG_CONFIG3

Bits 8-11: RNG configuration 3.

NISTC

Bit 12: NIST custom.

RNG_CONFIG2

Bits 13-15: RNG configuration 2.

CLKDIV

Bits 16-19: Clock divider factor.

RNG_CONFIG1

Bits 20-25: RNG configuration 1.

CONDRST

Bit 30: Conditioning soft reset.

CONFIGLOCK

Bit 31: RNG Config lock.

SR

RNG status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEIS
rw
CEIS
rw
SECS
r
CECS
r
DRDY
r
Toggle fields

DRDY

Bit 0: Data ready.

CECS

Bit 1: Clock error current status.

SECS

Bit 2: Seed error current status.

CEIS

Bit 5: Clock error interrupt status.

SEIS

Bit 6: Seed error interrupt status.

DR

RNG 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
RNDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RNDATA
r
Toggle fields

RNDATA

Bits 0-31: Random data.

NSCR

RNG noise source control register

Offset: 0xc, size: 32, reset: 0x0003FFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EN_OSC6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EN_OSC6
rw
EN_OSC5
rw
EN_OSC4
rw
EN_OSC3
rw
EN_OSC2
rw
EN_OSC1
rw
Toggle fields

EN_OSC1

Bits 0-2: Each bit drives one oscillator enable signal input of instance number 1, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC2

Bits 3-5: Each bit drives one oscillator enable signal input of instance number 2, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC3

Bits 6-8: Each bit drives one oscillator enable signal input of instance number 3, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC4

Bits 9-11: Each bit drives one oscillator enable signal input of instance number 4, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC5

Bits 12-14: Each bit drives one oscillator enable signal input of instance number 5, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC6

Bits 15-17: Each bit drives one oscillator enable signal input of instance number 6, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

HTCR

RNG health test control register

Offset: 0x10, size: 32, reset: 0x000072AC, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HTCFG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HTCFG
rw
Toggle fields

HTCFG

Bits 0-31: health test configuration.

RNG_S

0x520c0800: RNG address block description

4/24 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR
0x4 SR
0x8 DR
0xc NSCR
0x10 HTCR
Toggle registers

CR

RNG control register

Offset: 0x0, size: 32, reset: 0x00800D00, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CONFIGLOCK
rw
CONDRST
rw
RNG_CONFIG1
rw
CLKDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RNG_CONFIG2
rw
NISTC
rw
RNG_CONFIG3
rw
ARDIS
rw
CED
rw
IE
rw
RNGEN
rw
Toggle fields

RNGEN

Bit 2: True random number generator enable.

IE

Bit 3: Interrupt enable.

CED

Bit 5: Clock error detection.

ARDIS

Bit 7: Auto reset disable.

RNG_CONFIG3

Bits 8-11: RNG configuration 3.

NISTC

Bit 12: NIST custom.

RNG_CONFIG2

Bits 13-15: RNG configuration 2.

CLKDIV

Bits 16-19: Clock divider factor.

RNG_CONFIG1

Bits 20-25: RNG configuration 1.

CONDRST

Bit 30: Conditioning soft reset.

CONFIGLOCK

Bit 31: RNG Config lock.

SR

RNG status register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

3/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEIS
rw
CEIS
rw
SECS
r
CECS
r
DRDY
r
Toggle fields

DRDY

Bit 0: Data ready.

CECS

Bit 1: Clock error current status.

SECS

Bit 2: Seed error current status.

CEIS

Bit 5: Clock error interrupt status.

SEIS

Bit 6: Seed error interrupt status.

DR

RNG 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
RNDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RNDATA
r
Toggle fields

RNDATA

Bits 0-31: Random data.

NSCR

RNG noise source control register

Offset: 0xc, size: 32, reset: 0x0003FFFF, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EN_OSC6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EN_OSC6
rw
EN_OSC5
rw
EN_OSC4
rw
EN_OSC3
rw
EN_OSC2
rw
EN_OSC1
rw
Toggle fields

EN_OSC1

Bits 0-2: Each bit drives one oscillator enable signal input of instance number 1, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC2

Bits 3-5: Each bit drives one oscillator enable signal input of instance number 2, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC3

Bits 6-8: Each bit drives one oscillator enable signal input of instance number 3, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC4

Bits 9-11: Each bit drives one oscillator enable signal input of instance number 4, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC5

Bits 12-14: Each bit drives one oscillator enable signal input of instance number 5, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

EN_OSC6

Bits 15-17: Each bit drives one oscillator enable signal input of instance number 6, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator)..

HTCR

RNG health test control register

Offset: 0x10, size: 32, reset: 0x000072AC, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HTCFG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HTCFG
rw
Toggle fields

HTCFG

Bits 0-31: health test configuration.

RTC

0x44007800: RTC register block

131/159 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 TR
0x4 DR
0x8 SSR
0xc ICSR
0x10 PRER
0x14 WUTR
0x18 CR
0x1c PRIVCFGR
0x20 SECCFGR
0x24 WPR
0x28 CALR
0x2c SHIFTR
0x30 TSTR
0x34 TSDR
0x38 TSSSR
0x40 ALRM[A]R
0x44 ALRM[A]SSR
0x48 ALRM[B]R
0x4c ALRM[B]SSR
0x50 SR
0x54 MISR
0x58 SMISR
0x5c SCR
0x60 OR
0x70 ALR[A]BINR
0x74 ALR[B]BINR
Toggle registers

TR

RTC time 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
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MNT
rw
MNU
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

DR

RTC 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
YT
rw
YU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDU
rw
MT
rw
MU
rw
DT
rw
DU
rw
Toggle fields

DU

Bits 0-3: Date units in BCD format.

Allowed values: 0x0-0xf

DT

Bits 4-5: Date tens in BCD format.

Allowed values: 0x0-0x3

MU

Bits 8-11: Month units in BCD format.

Allowed values: 0x0-0xf

MT

Bit 12: Month tens in BCD format.

Allowed values: 0x0-0x1

WDU

Bits 13-15: Week day units.

Allowed values: 0x1-0x7

YU

Bits 16-19: Year units in BCD format.

Allowed values: 0x0-0xf

YT

Bits 20-23: Year tens in BCD format.

Allowed values: 0x0-0xf

SSR

RTC subsecond 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
SS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
r
Toggle fields

SS

Bits 0-31: Synchronous binary counter.

Allowed values: 0x0-0xffff

ICSR

RTC initialization control and status register

Offset: 0xc, size: 32, reset: 0x00000007, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RECALPF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCDU
rw
BIN
rw
INIT
rw
INITF
r
RSF
r/w0c
INITS
r
SHPF
r
WUTWF
r
Toggle fields

WUTWF

Bit 2: Wake-up timer write flag.

Allowed values:
0: UpdateNotAllowed: Wakeup timer configuration update not allowed
1: UpdateAllowed: Wakeup timer configuration update allowed

SHPF

Bit 3: Shift operation pending.

Allowed values:
0: NoShiftPending: No shift operation is pending
1: ShiftPending: A shift operation is pending

INITS

Bit 4: Initialization status flag.

Allowed values:
0: NotInitalized: Calendar has not been initialized
1: Initalized: Calendar has been initialized

RSF

Bit 5: Registers synchronization flag.

Allowed values:
0: NotSynced: Calendar shadow registers not yet synchronized
1: Synced: Calendar shadow registers synchronized

INITF

Bit 6: Initialization flag.

Allowed values:
0: NotAllowed: Calendar registers update is not allowed
1: Allowed: Calendar registers update is allowed

INIT

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.

BIN

Bits 8-9: Binary mode.

BCDU

Bits 10-12: BCD update (BIN = 10 or 11).

RECALPF

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

PRER

RTC 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_A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREDIV_S
rw
Toggle fields

PREDIV_S

Bits 0-14: Synchronous prescaler factor.

Allowed values: 0x0-0x7fff

PREDIV_A

Bits 16-22: Asynchronous prescaler factor.

Allowed values: 0x0-0x7f

WUTR

RTC wake-up timer register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUTOCLR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUT
rw
Toggle fields

WUT

Bits 0-15: Wake-up auto-reload value bits.

Allowed values: 0x0-0xffff

WUTOCLR

Bits 16-31: Wake-up auto-reload output clear value.

CR

RTC control register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

26/29 fields covered.

Toggle fields

WUCKSEL

Bits 0-2: ck_wut wake-up 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

TSEDGE

Bit 3: Timestamp 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

REFCKON

Bit 4: RTC_REFIN reference clock detection enable (50 or 60 Hz).

Allowed values:
0: Disabled: RTC_REFIN detection disabled
1: Enabled: RTC_REFIN detection enabled

BYPSHAD

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

FMT

Bit 6: Hour format.

Allowed values:
0: TwentyFourHour: 24 hour/day format
1: AmPm: AM/PM hour format

SSRUIE

Bit 7: SSR underflow interrupt enable.

ALR[A]E

Bit 8: Alarm A enable.

Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled

ALR[B]E

Bit 9: Alarm B enable.

Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled

WUTE

Bit 10: Wake-up timer enable.

Allowed values:
0: Disabled: Wakeup timer disabled
1: Enabled: Wakeup timer enabled

TSE

Bit 11: timestamp enable.

Allowed values:
0: Disabled: Timestamp disabled
1: Enabled: Timestamp enabled

ALR[A]IE

Bit 12: Alarm A interrupt enable.

Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled

ALR[B]IE

Bit 13: Alarm B interrupt enable.

Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled

WUTIE

Bit 14: Wake-up timer interrupt enable.

Allowed values:
0: Disabled: Wakeup timer interrupt disabled
1: Enabled: Wakeup timer interrupt enabled

TSIE

Bit 15: Timestamp interrupt enable.

Allowed values:
0: Disabled: Time-stamp Interrupt disabled
1: Enabled: Time-stamp Interrupt enabled

ADD1H

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

SUB1H

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

BKP

Bit 18: Backup.

Allowed values:
0: DSTNotChanged: Daylight Saving Time change has not been performed
1: DSTChanged: Daylight Saving Time change has been performed

COSEL

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)

POL

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])

OSEL

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

COE

Bit 23: Calibration output enable.

Allowed values:
0: Disabled: Calibration output disabled
1: Enabled: Calibration output enabled

ITSE

Bit 24: timestamp on internal event enable.

Allowed values:
0: Disabled: Internal event timestamp disabled
1: Enabled: Internal event timestamp enabled

TAMPTS

Bit 25: Activate timestamp on tamper detection event.

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

TAMPOE

Bit 26: Tamper detection output enable on TAMPALRM.

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

ALRAFCLR

Bit 27: Alarm A flag automatic clear.

ALRBFCLR

Bit 28: Alarm B flag automatic clear.

TAMPALRM_PU

Bit 29: TAMPALRM pull-up enable.

Allowed values:
0: NoPullUp: No pull-up is applied on TAMPALRM output
1: PullUp: A pull-up is applied on TAMPALRM output

TAMPALRM_TYPE

Bit 30: TAMPALRM output type.

Allowed values:
0: PushPull: TAMPALRM is push-pull output
1: OpenDrain: TAMPALRM is open-drain output

OUT2EN

Bit 31: RTC_OUT2 output enable.

Allowed values:
0: Disabled: RTC output 2 disable
1: Enabled: RTC output 2 enable

PRIVCFGR

RTC privilege mode control register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
INITPRIV
rw
CALPRIV
rw
TSPRIV
rw
WUTPRIV
rw
ALRBPRIV
rw
ALRAPRIV
rw
Toggle fields

ALRAPRIV

Bit 0: Alarm A and SSR underflow privilege protection.

ALRBPRIV

Bit 1: Alarm B privilege protection.

WUTPRIV

Bit 2: Wake-up timer privilege protection.

TSPRIV

Bit 3: Timestamp privilege protection.

CALPRIV

Bit 13: Shift register, Delight saving, calibration and reference clock privilege protection.

INITPRIV

Bit 14: Initialization privilege protection.

PRIV

Bit 15: RTC privilege protection.

SECCFGR

RTC secure configuration register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC
rw
INITSEC
rw
CALSEC
rw
TSSEC
rw
WUTSEC
rw
ALRBSEC
rw
ALRASEC
rw
Toggle fields

ALRASEC

Bit 0: Alarm A and SSR underflow protection.

ALRBSEC

Bit 1: Alarm B protection.

WUTSEC

Bit 2: Wake-up timer protection.

TSSEC

Bit 3: Timestamp protection.

CALSEC

Bit 13: Shift register, daylight saving, calibration and reference clock protection.

INITSEC

Bit 14: Initialization protection.

SEC

Bit 15: RTC global protection.

WPR

RTC 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
KEY
w
Toggle fields

KEY

Bits 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

CALR

RTC calibration register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

4/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CALP
rw
CALW8
rw
CALW16
rw
LPCAL
rw
CALM
rw
Toggle fields

CALM

Bits 0-8: Calibration minus.

Allowed values: 0x0-0x1ff

LPCAL

Bit 12: RTC low-power mode.

CALW16

Bit 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

CALW8

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

CALP

Bit 15: Increase frequency of RTC by 488..

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)

SHIFTR

RTC 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
ADD1S
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBFS
w
Toggle fields

SUBFS

Bits 0-14: Subtract a fraction of a second.

Allowed values: 0x0-0x7fff

ADD1S

Bit 31: Add one second.

Allowed values:
1: Add1: Add one second to the clock/calendar

TSTR

RTC timestamp 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
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MNT
rw
MNU
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

TSDR

RTC timestamp 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
YT
rw
YU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDU
rw
MT
rw
MU
rw
DT
rw
DU
rw
Toggle fields

DU

Bits 0-3: Date units in BCD format.

Allowed values: 0x0-0xf

DT

Bits 4-5: Date tens in BCD format.

Allowed values: 0x0-0x3

MU

Bits 8-11: Month units in BCD format.

Allowed values: 0x0-0xf

MT

Bit 12: Month tens in BCD format.

Allowed values: 0x0-0x1

WDU

Bits 13-15: Week day units.

Allowed values: 0x1-0x7

YU

Bits 16-19: Year units in BCD format.

Allowed values: 0x0-0xf

YT

Bits 20-23: Year tens in BCD format.

Allowed values: 0x0-0xf

TSSSR

RTC timestamp subsecond register

Offset: 0x38, 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
SS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
r
Toggle fields

SS

Bits 0-31: Synchronous binary counter.

Allowed values: 0x0-0xffff

ALRM[A]R

Alarm A register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MSK4
rw
WDSEL
rw
DT
rw
DU
rw
MSK3
rw
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSK2
rw
MNT
rw
MNU
rw
MSK1
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MSK1

Bit 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

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

MSK2

Bit 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

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

MSK3

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

DU

Bits 24-27: Date units or day in BCD format.

Allowed values: 0x0-0xf

DT

Bits 28-29: Date tens in BCD format.

Allowed values: 0x0-0x3

WDSEL

Bit 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.

MSK4

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

ALRM[A]SSR

Alarm A sub-second register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SSCLR
rw
MASKSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-14: Subseconds value.

Allowed values: 0x0-0x7fff

MASKSS

Bits 24-29: Mask the most-significant bits starting at this bit.

SSCLR

Bit 31: Clear synchronous counter on alarm (Binary mode only).

ALRM[B]R

Alarm B register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MSK4
rw
WDSEL
rw
DT
rw
DU
rw
MSK3
rw
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSK2
rw
MNT
rw
MNU
rw
MSK1
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MSK1

Bit 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

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

MSK2

Bit 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

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

MSK3

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

DU

Bits 24-27: Date units or day in BCD format.

Allowed values: 0x0-0xf

DT

Bits 28-29: Date tens in BCD format.

Allowed values: 0x0-0x3

WDSEL

Bit 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.

MSK4

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

ALRM[B]SSR

Alarm B sub-second register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SSCLR
rw
MASKSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-14: Subseconds value.

Allowed values: 0x0-0x7fff

MASKSS

Bits 24-29: Mask the most-significant bits starting at this bit.

SSCLR

Bit 31: Clear synchronous counter on alarm (Binary mode only).

SR

RTC status register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSRUF
r
ITSF
r
TSOVF
r
TSF
r
WUTF
r
ALR[B]F
r
ALR[A]F
r
Toggle fields

ALR[A]F

Bit 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)

ALR[B]F

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)

WUTF

Bit 2: Wake-up timer flag.

Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0

TSF

Bit 3: Timestamp flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs

TSOVF

Bit 4: Timestamp overflow flag.

Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set

ITSF

Bit 5: Internal timestamp flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a timestamp on the internal event occurs

SSRUF

Bit 6: SSR underflow flag.

MISR

RTC nonsecure masked interrupt status register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSRUMF
r
ITSMF
r
TSOVMF
r
TSMF
r
WUTMF
r
ALR[B]MF
r
ALR[A]MF
r
Toggle fields

ALR[A]MF

Bit 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)

ALR[B]MF

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)

WUTMF

Bit 2: Wake-up timer nonsecure masked flag.

Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0

TSMF

Bit 3: Timestamp nonsecure masked flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs

TSOVMF

Bit 4: Timestamp overflow nonsecure masked flag.

Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set

ITSMF

Bit 5: Internal timestamp nonsecure masked flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a timestamp on the internal event occurs

SSRUMF

Bit 6: SSR underflow nonsecure masked flag.

SMISR

RTC secure masked interrupt status register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSRUMF
r
ITSMF
r
TSOVMF
r
TSMF
r
WUTMF
r
ALRBMF
r
ALRAMF
r
Toggle fields

ALRAMF

Bit 0: Alarm A interrupt secure masked flag.

ALRBMF

Bit 1: Alarm B interrupt secure masked flag.

WUTMF

Bit 2: Wake-up timer interrupt secure masked flag.

TSMF

Bit 3: Timestamp interrupt secure masked flag.

TSOVMF

Bit 4: Timestamp overflow interrupt secure masked flag.

ITSMF

Bit 5: Internal timestamp interrupt secure masked flag.

SSRUMF

Bit 6: SSR underflow secure masked flag.

SCR

RTC status clear register

Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSSRUF
w
CITSF
w
CTSOVF
w
CTSF
w
CWUTF
w
CALRBF
w
CALRAF
w
Toggle fields

CALRAF

Bit 0: Clear alarm A flag.

Allowed values:
1: Clear: Clear interrupt flag

CALRBF

Bit 1: Clear alarm B flag.

Allowed values:
1: Clear: Clear interrupt flag

CWUTF

Bit 2: Clear wake-up timer flag.

Allowed values:
1: Clear: Clear interrupt flag

CTSF

Bit 3: Clear timestamp flag.

Allowed values:
1: Clear: Clear interrupt flag

CTSOVF

Bit 4: Clear timestamp overflow flag.

Allowed values:
1: Clear: Clear interrupt flag

CITSF

Bit 5: Clear internal timestamp flag.

Allowed values:
1: Clear: Clear interrupt flag

CSSRUF

Bit 6: Clear SSR underflow flag.

Allowed values:
1: Clear: Clear interrupt flag

OR

RTC option register

Offset: 0x60, 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
OUT2_RMP
rw
Toggle fields

OUT2_RMP

Bit 0: RTC_OUT2 mapping.

ALR[A]BINR

Alarm A binary mode register

Offset: 0x70, 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
SS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-31: Synchronous counter alarm value in Binary mode.

ALR[B]BINR

Alarm B binary mode 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
SS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-31: Synchronous counter alarm value in Binary mode.

RTC_S

0x54007800: RTC register block

131/159 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 TR
0x4 DR
0x8 SSR
0xc ICSR
0x10 PRER
0x14 WUTR
0x18 CR
0x1c PRIVCFGR
0x20 SECCFGR
0x24 WPR
0x28 CALR
0x2c SHIFTR
0x30 TSTR
0x34 TSDR
0x38 TSSSR
0x40 ALRM[A]R
0x44 ALRM[A]SSR
0x48 ALRM[B]R
0x4c ALRM[B]SSR
0x50 SR
0x54 MISR
0x58 SMISR
0x5c SCR
0x60 OR
0x70 ALR[A]BINR
0x74 ALR[B]BINR
Toggle registers

TR

RTC time 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
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MNT
rw
MNU
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

DR

RTC 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
YT
rw
YU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDU
rw
MT
rw
MU
rw
DT
rw
DU
rw
Toggle fields

DU

Bits 0-3: Date units in BCD format.

Allowed values: 0x0-0xf

DT

Bits 4-5: Date tens in BCD format.

Allowed values: 0x0-0x3

MU

Bits 8-11: Month units in BCD format.

Allowed values: 0x0-0xf

MT

Bit 12: Month tens in BCD format.

Allowed values: 0x0-0x1

WDU

Bits 13-15: Week day units.

Allowed values: 0x1-0x7

YU

Bits 16-19: Year units in BCD format.

Allowed values: 0x0-0xf

YT

Bits 20-23: Year tens in BCD format.

Allowed values: 0x0-0xf

SSR

RTC subsecond 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
SS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
r
Toggle fields

SS

Bits 0-31: Synchronous binary counter.

Allowed values: 0x0-0xffff

ICSR

RTC initialization control and status register

Offset: 0xc, size: 32, reset: 0x00000007, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RECALPF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCDU
rw
BIN
rw
INIT
rw
INITF
r
RSF
r/w0c
INITS
r
SHPF
r
WUTWF
r
Toggle fields

WUTWF

Bit 2: Wake-up timer write flag.

Allowed values:
0: UpdateNotAllowed: Wakeup timer configuration update not allowed
1: UpdateAllowed: Wakeup timer configuration update allowed

SHPF

Bit 3: Shift operation pending.

Allowed values:
0: NoShiftPending: No shift operation is pending
1: ShiftPending: A shift operation is pending

INITS

Bit 4: Initialization status flag.

Allowed values:
0: NotInitalized: Calendar has not been initialized
1: Initalized: Calendar has been initialized

RSF

Bit 5: Registers synchronization flag.

Allowed values:
0: NotSynced: Calendar shadow registers not yet synchronized
1: Synced: Calendar shadow registers synchronized

INITF

Bit 6: Initialization flag.

Allowed values:
0: NotAllowed: Calendar registers update is not allowed
1: Allowed: Calendar registers update is allowed

INIT

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.

BIN

Bits 8-9: Binary mode.

BCDU

Bits 10-12: BCD update (BIN = 10 or 11).

RECALPF

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

PRER

RTC 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_A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PREDIV_S
rw
Toggle fields

PREDIV_S

Bits 0-14: Synchronous prescaler factor.

Allowed values: 0x0-0x7fff

PREDIV_A

Bits 16-22: Asynchronous prescaler factor.

Allowed values: 0x0-0x7f

WUTR

RTC wake-up timer register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUTOCLR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUT
rw
Toggle fields

WUT

Bits 0-15: Wake-up auto-reload value bits.

Allowed values: 0x0-0xffff

WUTOCLR

Bits 16-31: Wake-up auto-reload output clear value.

CR

RTC control register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

26/29 fields covered.

Toggle fields

WUCKSEL

Bits 0-2: ck_wut wake-up 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

TSEDGE

Bit 3: Timestamp 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

REFCKON

Bit 4: RTC_REFIN reference clock detection enable (50 or 60 Hz).

Allowed values:
0: Disabled: RTC_REFIN detection disabled
1: Enabled: RTC_REFIN detection enabled

BYPSHAD

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

FMT

Bit 6: Hour format.

Allowed values:
0: TwentyFourHour: 24 hour/day format
1: AmPm: AM/PM hour format

SSRUIE

Bit 7: SSR underflow interrupt enable.

ALR[A]E

Bit 8: Alarm A enable.

Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled

ALR[B]E

Bit 9: Alarm B enable.

Allowed values:
0: Disabled: Alarm disabled
1: Enabled: Alarm enabled

WUTE

Bit 10: Wake-up timer enable.

Allowed values:
0: Disabled: Wakeup timer disabled
1: Enabled: Wakeup timer enabled

TSE

Bit 11: timestamp enable.

Allowed values:
0: Disabled: Timestamp disabled
1: Enabled: Timestamp enabled

ALR[A]IE

Bit 12: Alarm A interrupt enable.

Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled

ALR[B]IE

Bit 13: Alarm B interrupt enable.

Allowed values:
0: Disabled: Alarm Interrupt disabled
1: Enabled: Alarm Interrupt enabled

WUTIE

Bit 14: Wake-up timer interrupt enable.

Allowed values:
0: Disabled: Wakeup timer interrupt disabled
1: Enabled: Wakeup timer interrupt enabled

TSIE

Bit 15: Timestamp interrupt enable.

Allowed values:
0: Disabled: Time-stamp Interrupt disabled
1: Enabled: Time-stamp Interrupt enabled

ADD1H

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

SUB1H

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

BKP

Bit 18: Backup.

Allowed values:
0: DSTNotChanged: Daylight Saving Time change has not been performed
1: DSTChanged: Daylight Saving Time change has been performed

COSEL

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)

POL

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])

OSEL

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

COE

Bit 23: Calibration output enable.

Allowed values:
0: Disabled: Calibration output disabled
1: Enabled: Calibration output enabled

ITSE

Bit 24: timestamp on internal event enable.

Allowed values:
0: Disabled: Internal event timestamp disabled
1: Enabled: Internal event timestamp enabled

TAMPTS

Bit 25: Activate timestamp on tamper detection event.

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

TAMPOE

Bit 26: Tamper detection output enable on TAMPALRM.

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

ALRAFCLR

Bit 27: Alarm A flag automatic clear.

ALRBFCLR

Bit 28: Alarm B flag automatic clear.

TAMPALRM_PU

Bit 29: TAMPALRM pull-up enable.

Allowed values:
0: NoPullUp: No pull-up is applied on TAMPALRM output
1: PullUp: A pull-up is applied on TAMPALRM output

TAMPALRM_TYPE

Bit 30: TAMPALRM output type.

Allowed values:
0: PushPull: TAMPALRM is push-pull output
1: OpenDrain: TAMPALRM is open-drain output

OUT2EN

Bit 31: RTC_OUT2 output enable.

Allowed values:
0: Disabled: RTC output 2 disable
1: Enabled: RTC output 2 enable

PRIVCFGR

RTC privilege mode control register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIV
rw
INITPRIV
rw
CALPRIV
rw
TSPRIV
rw
WUTPRIV
rw
ALRBPRIV
rw
ALRAPRIV
rw
Toggle fields

ALRAPRIV

Bit 0: Alarm A and SSR underflow privilege protection.

ALRBPRIV

Bit 1: Alarm B privilege protection.

WUTPRIV

Bit 2: Wake-up timer privilege protection.

TSPRIV

Bit 3: Timestamp privilege protection.

CALPRIV

Bit 13: Shift register, Delight saving, calibration and reference clock privilege protection.

INITPRIV

Bit 14: Initialization privilege protection.

PRIV

Bit 15: RTC privilege protection.

SECCFGR

RTC secure configuration register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC
rw
INITSEC
rw
CALSEC
rw
TSSEC
rw
WUTSEC
rw
ALRBSEC
rw
ALRASEC
rw
Toggle fields

ALRASEC

Bit 0: Alarm A and SSR underflow protection.

ALRBSEC

Bit 1: Alarm B protection.

WUTSEC

Bit 2: Wake-up timer protection.

TSSEC

Bit 3: Timestamp protection.

CALSEC

Bit 13: Shift register, daylight saving, calibration and reference clock protection.

INITSEC

Bit 14: Initialization protection.

SEC

Bit 15: RTC global protection.

WPR

RTC 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
KEY
w
Toggle fields

KEY

Bits 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

CALR

RTC calibration register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

4/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CALP
rw
CALW8
rw
CALW16
rw
LPCAL
rw
CALM
rw
Toggle fields

CALM

Bits 0-8: Calibration minus.

Allowed values: 0x0-0x1ff

LPCAL

Bit 12: RTC low-power mode.

CALW16

Bit 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

CALW8

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

CALP

Bit 15: Increase frequency of RTC by 488..

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)

SHIFTR

RTC 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
ADD1S
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUBFS
w
Toggle fields

SUBFS

Bits 0-14: Subtract a fraction of a second.

Allowed values: 0x0-0x7fff

ADD1S

Bit 31: Add one second.

Allowed values:
1: Add1: Add one second to the clock/calendar

TSTR

RTC timestamp 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
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MNT
rw
MNU
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

TSDR

RTC timestamp 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
YT
rw
YU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WDU
rw
MT
rw
MU
rw
DT
rw
DU
rw
Toggle fields

DU

Bits 0-3: Date units in BCD format.

Allowed values: 0x0-0xf

DT

Bits 4-5: Date tens in BCD format.

Allowed values: 0x0-0x3

MU

Bits 8-11: Month units in BCD format.

Allowed values: 0x0-0xf

MT

Bit 12: Month tens in BCD format.

Allowed values: 0x0-0x1

WDU

Bits 13-15: Week day units.

Allowed values: 0x1-0x7

YU

Bits 16-19: Year units in BCD format.

Allowed values: 0x0-0xf

YT

Bits 20-23: Year tens in BCD format.

Allowed values: 0x0-0xf

TSSSR

RTC timestamp subsecond register

Offset: 0x38, 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
SS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
r
Toggle fields

SS

Bits 0-31: Synchronous binary counter.

Allowed values: 0x0-0xffff

ALRM[A]R

Alarm A register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MSK4
rw
WDSEL
rw
DT
rw
DU
rw
MSK3
rw
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSK2
rw
MNT
rw
MNU
rw
MSK1
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MSK1

Bit 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

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

MSK2

Bit 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

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

MSK3

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

DU

Bits 24-27: Date units or day in BCD format.

Allowed values: 0x0-0xf

DT

Bits 28-29: Date tens in BCD format.

Allowed values: 0x0-0x3

WDSEL

Bit 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.

MSK4

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

ALRM[A]SSR

Alarm A sub-second register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SSCLR
rw
MASKSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-14: Subseconds value.

Allowed values: 0x0-0x7fff

MASKSS

Bits 24-29: Mask the most-significant bits starting at this bit.

SSCLR

Bit 31: Clear synchronous counter on alarm (Binary mode only).

ALRM[B]R

Alarm B register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MSK4
rw
WDSEL
rw
DT
rw
DU
rw
MSK3
rw
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSK2
rw
MNT
rw
MNU
rw
MSK1
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

Allowed values: 0x0-0xf

ST

Bits 4-6: Second tens in BCD format.

Allowed values: 0x0-0x7

MSK1

Bit 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

MNU

Bits 8-11: Minute units in BCD format.

Allowed values: 0x0-0xf

MNT

Bits 12-14: Minute tens in BCD format.

Allowed values: 0x0-0x7

MSK2

Bit 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

HU

Bits 16-19: Hour units in BCD format.

Allowed values: 0x0-0xf

HT

Bits 20-21: Hour tens in BCD format.

Allowed values: 0x0-0x3

PM

Bit 22: AM/PM notation.

Allowed values:
0: AM: AM or 24-hour format
1: PM: PM

MSK3

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

DU

Bits 24-27: Date units or day in BCD format.

Allowed values: 0x0-0xf

DT

Bits 28-29: Date tens in BCD format.

Allowed values: 0x0-0x3

WDSEL

Bit 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.

MSK4

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

ALRM[B]SSR

Alarm B sub-second register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

1/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SSCLR
rw
MASKSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-14: Subseconds value.

Allowed values: 0x0-0x7fff

MASKSS

Bits 24-29: Mask the most-significant bits starting at this bit.

SSCLR

Bit 31: Clear synchronous counter on alarm (Binary mode only).

SR

RTC status register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSRUF
r
ITSF
r
TSOVF
r
TSF
r
WUTF
r
ALR[B]F
r
ALR[A]F
r
Toggle fields

ALR[A]F

Bit 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)

ALR[B]F

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)

WUTF

Bit 2: Wake-up timer flag.

Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0

TSF

Bit 3: Timestamp flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs

TSOVF

Bit 4: Timestamp overflow flag.

Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set

ITSF

Bit 5: Internal timestamp flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a timestamp on the internal event occurs

SSRUF

Bit 6: SSR underflow flag.

MISR

RTC nonsecure masked interrupt status register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSRUMF
r
ITSMF
r
TSOVMF
r
TSMF
r
WUTMF
r
ALR[B]MF
r
ALR[A]MF
r
Toggle fields

ALR[A]MF

Bit 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)

ALR[B]MF

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)

WUTMF

Bit 2: Wake-up timer nonsecure masked flag.

Allowed values:
1: Zero: This flag is set by hardware when the wakeup auto-reload counter reaches 0

TSMF

Bit 3: Timestamp nonsecure masked flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a time-stamp event occurs

TSOVMF

Bit 4: Timestamp overflow nonsecure masked flag.

Allowed values:
1: Overflow: This flag is set by hardware when a time-stamp event occurs while TSF is already set

ITSMF

Bit 5: Internal timestamp nonsecure masked flag.

Allowed values:
1: TimestampEvent: This flag is set by hardware when a timestamp on the internal event occurs

SSRUMF

Bit 6: SSR underflow nonsecure masked flag.

SMISR

RTC secure masked interrupt status register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSRUMF
r
ITSMF
r
TSOVMF
r
TSMF
r
WUTMF
r
ALRBMF
r
ALRAMF
r
Toggle fields

ALRAMF

Bit 0: Alarm A interrupt secure masked flag.

ALRBMF

Bit 1: Alarm B interrupt secure masked flag.

WUTMF

Bit 2: Wake-up timer interrupt secure masked flag.

TSMF

Bit 3: Timestamp interrupt secure masked flag.

TSOVMF

Bit 4: Timestamp overflow interrupt secure masked flag.

ITSMF

Bit 5: Internal timestamp interrupt secure masked flag.

SSRUMF

Bit 6: SSR underflow secure masked flag.

SCR

RTC status clear register

Offset: 0x5c, size: 32, reset: 0x00000000, access: write-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSSRUF
w
CITSF
w
CTSOVF
w
CTSF
w
CWUTF
w
CALRBF
w
CALRAF
w
Toggle fields

CALRAF

Bit 0: Clear alarm A flag.

Allowed values:
1: Clear: Clear interrupt flag

CALRBF

Bit 1: Clear alarm B flag.

Allowed values:
1: Clear: Clear interrupt flag

CWUTF

Bit 2: Clear wake-up timer flag.

Allowed values:
1: Clear: Clear interrupt flag

CTSF

Bit 3: Clear timestamp flag.

Allowed values:
1: Clear: Clear interrupt flag

CTSOVF

Bit 4: Clear timestamp overflow flag.

Allowed values:
1: Clear: Clear interrupt flag

CITSF

Bit 5: Clear internal timestamp flag.

Allowed values:
1: Clear: Clear interrupt flag

CSSRUF

Bit 6: Clear SSR underflow flag.

Allowed values:
1: Clear: Clear interrupt flag

OR

RTC option register

Offset: 0x60, 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
OUT2_RMP
rw
Toggle fields

OUT2_RMP

Bit 0: RTC_OUT2 mapping.

ALR[A]BINR

Alarm A binary mode register

Offset: 0x70, 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
SS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-31: Synchronous counter alarm value in Binary mode.

ALR[B]BINR

Alarm B binary mode 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
SS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
rw
Toggle fields

SS

Bits 0-31: Synchronous counter alarm value in Binary mode.

SBS

0x44000400: SBS address block description

7/50 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x10 HDPLCR
0x14 HDPLSR
0x18 NEXTHDPLCR
0x20 DBGCR
0x24 DBGLOCKR
0x34 RSSCMDR
0xa0 EPOCHSELCR
0xc0 SECCFGR
0x100 PMCR
0x104 FPUIMR
0x108 MESR
0x110 CCCSR
0x114 CCVALR
0x118 CCSWCR
0x120 CFGR2
0x144 CNSLCKR
0x148 CSLCKR
0x14c ECCNMIR
Toggle registers

HDPLCR

SBS temporal isolation control register

Offset: 0x10, size: 32, reset: 0x000000B4, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INCR_HDPL
rw
Toggle fields

INCR_HDPL

Bits 0-7: increment HDPL value.

HDPLSR

SBS temporal isolation status register

Offset: 0x14, 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
HDPL
r
Toggle fields

HDPL

Bits 0-7: temporal isolation level.

NEXTHDPLCR

SBS next HDPL control register

Offset: 0x18, 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
NEXTHDPL
rw
Toggle fields

NEXTHDPL

Bits 0-1: index to point to a higher HDPL than the current one.

DBGCR

SBS debug control register

Offset: 0x20, 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
DBG_AUTH_SEC
rw
DBG_AUTH_HDPL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_UNLOCK
rw
AP_UNLOCK
rw
Toggle fields

AP_UNLOCK

Bits 0-7: access port unlock.

DBG_UNLOCK

Bits 8-15: debug unlock when DBG_AUTH_HDPL is reached.

DBG_AUTH_HDPL

Bits 16-23: authenticated debug temporal isolation level.

DBG_AUTH_SEC

Bits 24-31: control debug opening secure/non-secure.

DBGLOCKR

SBS debug lock register

Offset: 0x24, size: 32, reset: 0x000000B4, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBGCFG_LOCK
rw
Toggle fields

DBGCFG_LOCK

Bits 0-7: debug configuration lock.

RSSCMDR

SBS RSS command register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSSCMD
rw
Toggle fields

RSSCMD

Bits 0-15: RSS command.

EPOCHSELCR

SBS EPOCH selection control register

Offset: 0xa0, 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
EPOCH_SEL
rw
Toggle fields

EPOCH_SEL

Bits 0-1: select EPOCH value to be sent to the SAES.

SECCFGR

SBS security mode configuration control register

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPUSEC
rw
CLASSBSEC
rw
SBSSEC
rw
Toggle fields

SBSSEC

Bit 0: SBS clock control, memory-erase status register and compensation cell register security enable.

CLASSBSEC

Bit 1: ClassB security enable.

FPUSEC

Bit 3: FPU security enable.

PMCR

SBS product mode and configuration register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETH_SEL_PHY
rw
PB9_FMP
rw
PB8_FMP
rw
PB7_FMP
rw
PB6_FMP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PB6_FMP

Bit 16: Fast-mode Plus driving capability activation on PB6.

PB7_FMP

Bit 17: Fast-mode Plus driving capability activation on PB7.

PB8_FMP

Bit 18: Fast-mode Plus driving capability activation on PB8.

PB9_FMP

Bit 19: Fast-mode Plus driving capability activation on PB9.

ETH_SEL_PHY

Bits 21-23: Ethernet PHY interface selection.

FPUIMR

SBS FPU interrupt mask register

Offset: 0x104, size: 32, reset: 0x0000001F, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPU_IE5
rw
FPU_IE4
rw
FPU_IE3
rw
FPU_IE2
rw
FPU_IE1
rw
FPU_IE0
rw
Toggle fields

FPU_IE0

Bit 0: FPU interrupt enable.

FPU_IE1

Bit 1: FPU interrupt enable.

FPU_IE2

Bit 2: FPU interrupt enable.

FPU_IE3

Bit 3: FPU interrupt enable.

FPU_IE4

Bit 4: FPU interrupt enable.

FPU_IE5

Bit 5: FPU interrupt enable.

MESR

SBS memory erase status register

Offset: 0x108, 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
IPMEE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MCLR
rw
Toggle fields

MCLR

Bit 0: device memories erase status.

IPMEE

Bit 16: ICACHE erase status.

CCCSR

SBS compensation cell for I/Os control and status register

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

2/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDY2
r
RDY1
r
CS2
rw
EN2
rw
CS1
rw
EN1
rw
Toggle fields

EN1

Bit 0: enable compensation cell for VDDIO power rail.

CS1

Bit 1: code selection for VDDIO power rail (reset value set to 1).

EN2

Bit 2: enable compensation cell for VDDIO2 power rail.

CS2

Bit 3: code selection for VDDIO2 power rail (reset value set to 1).

RDY1

Bit 8: VDDIO compensation cell ready flag.

RDY2

Bit 9: VDDIO2 compensation cell ready flag.

CCVALR

SBS compensation cell for I/Os value register

Offset: 0x114, size: 32, reset: 0x00000088, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
APSRC2
r
ANSRC2
r
APSRC1
r
ANSRC1
r
Toggle fields

ANSRC1

Bits 0-3: compensation value for the NMOS transistor.

APSRC1

Bits 4-7: compensation value for the PMOS transistor.

ANSRC2

Bits 8-11: Compensation value for the NMOS transistor.

APSRC2

Bits 12-15: compensation value for the PMOS transistor.

CCSWCR

SBS compensation cell for I/Os software code register

Offset: 0x118, size: 32, reset: 0x00007878, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW_APSRC2
rw
SW_ANSRC2
rw
SW_APSRC1
rw
SW_ANSRC1
rw
Toggle fields

SW_ANSRC1

Bits 0-3: NMOS compensation code for VDD power rails.

SW_APSRC1

Bits 4-7: PMOS compensation code for the VDD power rails.

SW_ANSRC2

Bits 8-11: NMOS compensation code for VDDIO power rails.

SW_APSRC2

Bits 12-15: PMOS compensation code for the Vless thansub>DDIOless than/sub> power rails.

CFGR2

SBS Class B register

Offset: 0x120, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCL
rw
PVDL
rw
SEL
rw
CLL
rw
Toggle fields

CLL

Bit 0: core lockup lock.

SEL

Bit 1: SRAM ECC error lock.

PVDL

Bit 2: PVD lock.

ECCL

Bit 3: ECC lock.

CNSLCKR

SBS CPU non-secure lock register

Offset: 0x144, 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
LOCKNSMPU
rw
LOCKNSVTOR
rw
Toggle fields

LOCKNSVTOR

Bit 0: VTOR_NS register lock.

LOCKNSMPU

Bit 1: non-secure MPU register lock.

CSLCKR

SBS CPU secure lock register

Offset: 0x148, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCKSAU
rw
LOCKSMPU
rw
LOCKSVTAIRCR
rw
Toggle fields

LOCKSVTAIRCR

Bit 0: VTOR_S and AIRCR register lock.

LOCKSMPU

Bit 1: secure MPU registers lock.

LOCKSAU

Bit 2: SAU registers lock.

ECCNMIR

SBS flift ECC NMI mask register

Offset: 0x14c, 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
ECCNMI_MASK_EN
rw
Toggle fields

ECCNMI_MASK_EN

Bit 0: NMI behavior setup when a double ECC error occurs on flitf data part.

SBS_S

0x54000400: SBS address block description

7/50 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x10 HDPLCR
0x14 HDPLSR
0x18 NEXTHDPLCR
0x20 DBGCR
0x24 DBGLOCKR
0x34 RSSCMDR
0xa0 EPOCHSELCR
0xc0 SECCFGR
0x100 PMCR
0x104 FPUIMR
0x108 MESR
0x110 CCCSR
0x114 CCVALR
0x118 CCSWCR
0x120 CFGR2
0x144 CNSLCKR
0x148 CSLCKR
0x14c ECCNMIR
Toggle registers

HDPLCR

SBS temporal isolation control register

Offset: 0x10, size: 32, reset: 0x000000B4, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INCR_HDPL
rw
Toggle fields

INCR_HDPL

Bits 0-7: increment HDPL value.

HDPLSR

SBS temporal isolation status register

Offset: 0x14, 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
HDPL
r
Toggle fields

HDPL

Bits 0-7: temporal isolation level.

NEXTHDPLCR

SBS next HDPL control register

Offset: 0x18, 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
NEXTHDPL
rw
Toggle fields

NEXTHDPL

Bits 0-1: index to point to a higher HDPL than the current one.

DBGCR

SBS debug control register

Offset: 0x20, 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
DBG_AUTH_SEC
rw
DBG_AUTH_HDPL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_UNLOCK
rw
AP_UNLOCK
rw
Toggle fields

AP_UNLOCK

Bits 0-7: access port unlock.

DBG_UNLOCK

Bits 8-15: debug unlock when DBG_AUTH_HDPL is reached.

DBG_AUTH_HDPL

Bits 16-23: authenticated debug temporal isolation level.

DBG_AUTH_SEC

Bits 24-31: control debug opening secure/non-secure.

DBGLOCKR

SBS debug lock register

Offset: 0x24, size: 32, reset: 0x000000B4, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBGCFG_LOCK
rw
Toggle fields

DBGCFG_LOCK

Bits 0-7: debug configuration lock.

RSSCMDR

SBS RSS command register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSSCMD
rw
Toggle fields

RSSCMD

Bits 0-15: RSS command.

EPOCHSELCR

SBS EPOCH selection control register

Offset: 0xa0, 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
EPOCH_SEL
rw
Toggle fields

EPOCH_SEL

Bits 0-1: select EPOCH value to be sent to the SAES.

SECCFGR

SBS security mode configuration control register

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPUSEC
rw
CLASSBSEC
rw
SBSSEC
rw
Toggle fields

SBSSEC

Bit 0: SBS clock control, memory-erase status register and compensation cell register security enable.

CLASSBSEC

Bit 1: ClassB security enable.

FPUSEC

Bit 3: FPU security enable.

PMCR

SBS product mode and configuration register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETH_SEL_PHY
rw
PB9_FMP
rw
PB8_FMP
rw
PB7_FMP
rw
PB6_FMP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PB6_FMP

Bit 16: Fast-mode Plus driving capability activation on PB6.

PB7_FMP

Bit 17: Fast-mode Plus driving capability activation on PB7.

PB8_FMP

Bit 18: Fast-mode Plus driving capability activation on PB8.

PB9_FMP

Bit 19: Fast-mode Plus driving capability activation on PB9.

ETH_SEL_PHY

Bits 21-23: Ethernet PHY interface selection.

FPUIMR

SBS FPU interrupt mask register

Offset: 0x104, size: 32, reset: 0x0000001F, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FPU_IE5
rw
FPU_IE4
rw
FPU_IE3
rw
FPU_IE2
rw
FPU_IE1
rw
FPU_IE0
rw
Toggle fields

FPU_IE0

Bit 0: FPU interrupt enable.

FPU_IE1

Bit 1: FPU interrupt enable.

FPU_IE2

Bit 2: FPU interrupt enable.

FPU_IE3

Bit 3: FPU interrupt enable.

FPU_IE4

Bit 4: FPU interrupt enable.

FPU_IE5

Bit 5: FPU interrupt enable.

MESR

SBS memory erase status register

Offset: 0x108, 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
IPMEE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MCLR
rw
Toggle fields

MCLR

Bit 0: device memories erase status.

IPMEE

Bit 16: ICACHE erase status.

CCCSR

SBS compensation cell for I/Os control and status register

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

2/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDY2
r
RDY1
r
CS2
rw
EN2
rw
CS1
rw
EN1
rw
Toggle fields

EN1

Bit 0: enable compensation cell for VDDIO power rail.

CS1

Bit 1: code selection for VDDIO power rail (reset value set to 1).

EN2

Bit 2: enable compensation cell for VDDIO2 power rail.

CS2

Bit 3: code selection for VDDIO2 power rail (reset value set to 1).

RDY1

Bit 8: VDDIO compensation cell ready flag.

RDY2

Bit 9: VDDIO2 compensation cell ready flag.

CCVALR

SBS compensation cell for I/Os value register

Offset: 0x114, size: 32, reset: 0x00000088, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
APSRC2
r
ANSRC2
r
APSRC1
r
ANSRC1
r
Toggle fields

ANSRC1

Bits 0-3: compensation value for the NMOS transistor.

APSRC1

Bits 4-7: compensation value for the PMOS transistor.

ANSRC2

Bits 8-11: Compensation value for the NMOS transistor.

APSRC2

Bits 12-15: compensation value for the PMOS transistor.

CCSWCR

SBS compensation cell for I/Os software code register

Offset: 0x118, size: 32, reset: 0x00007878, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW_APSRC2
rw
SW_ANSRC2
rw
SW_APSRC1
rw
SW_ANSRC1
rw
Toggle fields

SW_ANSRC1

Bits 0-3: NMOS compensation code for VDD power rails.

SW_APSRC1

Bits 4-7: PMOS compensation code for the VDD power rails.

SW_ANSRC2

Bits 8-11: NMOS compensation code for VDDIO power rails.

SW_APSRC2

Bits 12-15: PMOS compensation code for the Vless thansub>DDIOless than/sub> power rails.

CFGR2

SBS Class B register

Offset: 0x120, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ECCL
rw
PVDL
rw
SEL
rw
CLL
rw
Toggle fields

CLL

Bit 0: core lockup lock.

SEL

Bit 1: SRAM ECC error lock.

PVDL

Bit 2: PVD lock.

ECCL

Bit 3: ECC lock.

CNSLCKR

SBS CPU non-secure lock register

Offset: 0x144, 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
LOCKNSMPU
rw
LOCKNSVTOR
rw
Toggle fields

LOCKNSVTOR

Bit 0: VTOR_NS register lock.

LOCKNSMPU

Bit 1: non-secure MPU register lock.

CSLCKR

SBS CPU secure lock register

Offset: 0x148, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LOCKSAU
rw
LOCKSMPU
rw
LOCKSVTAIRCR
rw
Toggle fields

LOCKSVTAIRCR

Bit 0: VTOR_S and AIRCR register lock.

LOCKSMPU

Bit 1: secure MPU registers lock.

LOCKSAU

Bit 2: SAU registers lock.

ECCNMIR

SBS flift ECC NMI mask register

Offset: 0x14c, 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
ECCNMI_MASK_EN
rw
Toggle fields

ECCNMI_MASK_EN

Bit 0: NMI behavior setup when a double ECC error occurs on flitf data part.

SDMMC1

0x46008000: SDMMC address block description

35/140 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 POWER
0x4 CLKCR
0x8 ARGR
0xc CMDR
0x10 RESPCMDR
0x14 RESP1R
0x18 RESP2R
0x1c RESP3R
0x20 RESP4R
0x24 DTIMER
0x28 DLENR
0x2c DCTRL
0x30 DCNTR
0x34 STAR
0x38 ICR
0x3c MASKR
0x40 ACKTIMER
0x50 IDMACTRLR
0x54 IDMABSIZER
0x58 IDMABASER
0x64 IDMALAR
0x68 IDMABAR
0x80 FIFOR0
0x84 FIFOR1
0x88 FIFOR2
0x8c FIFOR3
0x90 FIFOR4
0x94 FIFOR5
0x98 FIFOR6
0x9c FIFOR7
0xa0 FIFOR8
0xa4 FIFOR9
0xa8 FIFOR10
0xac FIFOR11
0xb0 FIFOR12
0xb4 FIFOR13
0xb8 FIFOR14
0xbc FIFOR15
Toggle registers

POWER

SDMMC power control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRPOL
rw
VSWITCHEN
rw
VSWITCH
rw
PWRCTRL
rw
Toggle fields

PWRCTRL

Bits 0-1: SDMMC state control bits.

VSWITCH

Bit 2: Voltage switch sequence start.

VSWITCHEN

Bit 3: Voltage switch procedure enable.

DIRPOL

Bit 4: Data and command direction signals polarity selection.

CLKCR

SDMMC clock control register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SELCLKRX
rw
BUSSPEED
rw
DDR
rw
HWFC_EN
rw
NEGEDGE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WIDBUS
rw
PWRSAV
rw
CLKDIV
rw
Toggle fields

CLKDIV

Bits 0-9: Clock divide factor.

PWRSAV

Bit 12: Power saving configuration bit.

WIDBUS

Bits 14-15: Wide bus mode enable bit.

NEGEDGE

Bit 16: SDMMC_CK dephasing selection bit for data and command.

HWFC_EN

Bit 17: Hardware flow control enable.

DDR

Bit 18: Data rate signaling selection.

BUSSPEED

Bit 19: Bus speed for selection of SDMMC operating modes.

SELCLKRX

Bits 20-21: Receive clock selection.

ARGR

SDMMC argument register

Offset: 0x8, 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
CMDARG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDARG
rw
Toggle fields

CMDARG

Bits 0-31: Command argument.

CMDR

SDMMC command register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CMDSUSPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOTEN
rw
BOOTMODE
rw
DTHOLD
rw
CPSMEN
rw
WAITPEND
rw
WAITINT
rw
WAITRESP
rw
CMDSTOP
rw
CMDTRANS
rw
CMDINDEX
rw
Toggle fields

CMDINDEX

Bits 0-5: Command index.

CMDTRANS

Bit 6: The CPSM treats the command as a data transfer command, stops the interrupt period, and signals DataEnable to the DPSM.

CMDSTOP

Bit 7: The CPSM treats the command as a Stop Transmission command and signals abort to the DPSM.

WAITRESP

Bits 8-9: Wait for response bits.

WAITINT

Bit 10: CPSM waits for interrupt request.

WAITPEND

Bit 11: CPSM waits for end of data transfer (CmdPend internal signal) from DPSM.

CPSMEN

Bit 12: Command path state machine (CPSM) enable bit.

DTHOLD

Bit 13: Hold new data block transmission and reception in the DPSM.

BOOTMODE

Bit 14: Select the boot mode procedure to be used.

BOOTEN

Bit 15: Enable boot mode procedure.

CMDSUSPEND

Bit 16: The CPSM treats the command as a Suspend or Resume command and signals interrupt period start/end.

RESPCMDR

SDMMC command response register

Offset: 0x10, 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
RESPCMD
r
Toggle fields

RESPCMD

Bits 0-5: Response command index.

RESP1R

SDMMC response 1 register

Offset: 0x14, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

RESP2R

SDMMC response 2 register

Offset: 0x18, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

RESP3R

SDMMC response 3 register

Offset: 0x1c, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

RESP4R

SDMMC response 4 register

Offset: 0x20, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

DTIMER

SDMMC data timer 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
DATATIME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATATIME
rw
Toggle fields

DATATIME

Bits 0-31: Data and R1b busy timeout period.

DLENR

SDMMC data length 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
DATALENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATALENGTH
rw
Toggle fields

DATALENGTH

Bits 0-24: Data length value.

DCTRL

SDMMC data control register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFORST
rw
BOOTACKEN
rw
SDIOEN
rw
RWMOD
rw
RWSTOP
rw
RWSTART
rw
DBLOCKSIZE
rw
DTMODE
rw
DTDIR
rw
DTEN
rw
Toggle fields

DTEN

Bit 0: Data transfer enable bit.

DTDIR

Bit 1: Data transfer direction selection.

DTMODE

Bits 2-3: Data transfer mode selection.

DBLOCKSIZE

Bits 4-7: Data block size.

RWSTART

Bit 8: Read Wait start.

RWSTOP

Bit 9: Read Wait stop.

RWMOD

Bit 10: Read Wait mode.

SDIOEN

Bit 11: SD I/O interrupt enable functions.

BOOTACKEN

Bit 12: Enable the reception of the boot acknowledgment.

FIFORST

Bit 13: FIFO reset, flushes any remaining data.

DCNTR

SDMMC data counter register

Offset: 0x30, 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
DATACOUNT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATACOUNT
r
Toggle fields

DATACOUNT

Bits 0-24: Data count value.

STAR

SDMMC status register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

29/29 fields covered.

Toggle fields

CCRCFAIL

Bit 0: Command response received (CRC check failed).

DCRCFAIL

Bit 1: Data block sent/received (CRC check failed).

CTIMEOUT

Bit 2: Command response timeout.

DTIMEOUT

Bit 3: Data timeout.

TXUNDERR

Bit 4: Transmit FIFO underrun error (masked by hardware when IDMA is enabled).

RXOVERR

Bit 5: Received FIFO overrun error (masked by hardware when IDMA is enabled).

CMDREND

Bit 6: Command response received (CRC check passed, or no CRC).

CMDSENT

Bit 7: Command sent (no response required).

DATAEND

Bit 8: Data transfer ended correctly.

DHOLD

Bit 9: Data transfer Hold.

DBCKEND

Bit 10: Data block sent/received.

DABORT

Bit 11: Data transfer aborted by CMD12.

DPSMACT

Bit 12: Data path state machine active, i..

CPSMACT

Bit 13: Command path state machine active, i..

TXFIFOHE

Bit 14: Transmit FIFO half empty.

RXFIFOHF

Bit 15: Receive FIFO half full.

TXFIFOF

Bit 16: Transmit FIFO full.

RXFIFOF

Bit 17: Receive FIFO full.

TXFIFOE

Bit 18: Transmit FIFO empty.

RXFIFOE

Bit 19: Receive FIFO empty.

BUSYD0

Bit 20: Inverted value of SDMMC_D0 line (Busy), sampled at the end of a CMD response and a second time 2 SDMMC_CK cycles after the CMD response.

BUSYD0END

Bit 21: end of SDMMC_D0 Busy following a CMD response detected.

SDIOIT

Bit 22: SDIO interrupt received.

ACKFAIL

Bit 23: Boot acknowledgment received (boot acknowledgment check fail).

ACKTIMEOUT

Bit 24: Boot acknowledgment timeout.

VSWEND

Bit 25: Voltage switch critical timing section completion.

CKSTOP

Bit 26: SDMMC_CK stopped in Voltage switch procedure.

IDMATE

Bit 27: IDMA transfer error.

IDMABTC

Bit 28: IDMA buffer transfer complete.

ICR

SDMMC interrupt clear register

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

CCRCFAILC

Bit 0: CCRCFAIL flag clear bit.

DCRCFAILC

Bit 1: DCRCFAIL flag clear bit.

CTIMEOUTC

Bit 2: CTIMEOUT flag clear bit.

DTIMEOUTC

Bit 3: DTIMEOUT flag clear bit.

TXUNDERRC

Bit 4: TXUNDERR flag clear bit.

RXOVERRC

Bit 5: RXOVERR flag clear bit.

CMDRENDC

Bit 6: CMDREND flag clear bit.

CMDSENTC

Bit 7: CMDSENT flag clear bit.

DATAENDC

Bit 8: DATAEND flag clear bit.

DHOLDC

Bit 9: DHOLD flag clear bit.

DBCKENDC

Bit 10: DBCKEND flag clear bit.

DABORTC

Bit 11: DABORT flag clear bit.

BUSYD0ENDC

Bit 21: BUSYD0END flag clear bit.

SDIOITC

Bit 22: SDIOIT flag clear bit.

ACKFAILC

Bit 23: ACKFAIL flag clear bit.

ACKTIMEOUTC

Bit 24: ACKTIMEOUT flag clear bit.

VSWENDC

Bit 25: VSWEND flag clear bit.

CKSTOPC

Bit 26: CKSTOP flag clear bit.

IDMATEC

Bit 27: IDMA transfer error clear bit.

IDMABTCC

Bit 28: IDMA buffer transfer complete clear bit.

MASKR

SDMMC mask register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/23 fields covered.

Toggle fields

CCRCFAILIE

Bit 0: Command CRC fail interrupt enable.

DCRCFAILIE

Bit 1: Data CRC fail interrupt enable.

CTIMEOUTIE

Bit 2: Command timeout interrupt enable.

DTIMEOUTIE

Bit 3: Data timeout interrupt enable.

TXUNDERRIE

Bit 4: Tx FIFO underrun error interrupt enable.

RXOVERRIE

Bit 5: Rx FIFO overrun error interrupt enable.

CMDRENDIE

Bit 6: Command response received interrupt enable.

CMDSENTIE

Bit 7: Command sent interrupt enable.

DATAENDIE

Bit 8: Data end interrupt enable.

DHOLDIE

Bit 9: Data hold interrupt enable.

DBCKENDIE

Bit 10: Data block end interrupt enable.

DABORTIE

Bit 11: Data transfer aborted interrupt enable.

TXFIFOHEIE

Bit 14: Tx FIFO half empty interrupt enable.

RXFIFOHFIE

Bit 15: Rx FIFO half full interrupt enable.

RXFIFOFIE

Bit 17: Rx FIFO full interrupt enable.

TXFIFOEIE

Bit 18: Tx FIFO empty interrupt enable.

BUSYD0ENDIE

Bit 21: BUSYD0END interrupt enable.

SDIOITIE

Bit 22: SDIO mode interrupt received interrupt enable.

ACKFAILIE

Bit 23: Acknowledgment Fail interrupt enable.

ACKTIMEOUTIE

Bit 24: Acknowledgment timeout interrupt enable.

VSWENDIE

Bit 25: Voltage switch critical timing section completion interrupt enable.

CKSTOPIE

Bit 26: Voltage Switch clock stopped interrupt enable.

IDMABTCIE

Bit 28: IDMA buffer transfer complete interrupt enable.

ACKTIMER

SDMMC acknowledgment timer 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
ACKTIME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACKTIME
rw
Toggle fields

ACKTIME

Bits 0-24: Boot acknowledgment timeout period.

IDMACTRLR

SDMMC DMA control register

Offset: 0x50, 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
IDMABMODE
rw
IDMAEN
rw
Toggle fields

IDMAEN

Bit 0: IDMA enable.

IDMABMODE

Bit 1: Buffer mode selection.

IDMABSIZER

SDMMC IDMA buffer size register

Offset: 0x54, 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
IDMABNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABNDT
rw
Toggle fields

IDMABNDT

Bits 5-16: Number of bytes per buffer.

IDMABASER

SDMMC IDMA buffer base address register

Offset: 0x58, 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
IDMABASE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABASE
rw
Toggle fields

IDMABASE

Bits 0-31: Buffer memory base address bits [31:2], must be word aligned (bit [1:0] are always 0 and read only).

IDMALAR

SDMMC IDMA linked list address register

Offset: 0x64, 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
ULA
rw
ULS
rw
ABR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMALA
rw
Toggle fields

IDMALA

Bits 2-15: Word aligned linked list item address offset.

ABR

Bit 29: Acknowledge linked list buffer ready.

ULS

Bit 30: Update SDMMC_IDMABSIZE from the next linked list when in linked list mode (SDMMC_IDMACTRLR..

ULA

Bit 31: Update SDMMC_IDMALAR from linked list when in linked list mode (SDMMC_IDMACTRLR..

IDMABAR

SDMMC IDMA linked list memory base register

Offset: 0x68, 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
IDMABA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABA
rw
Toggle fields

IDMABA

Bits 2-31: Word aligned Linked list memory base address.

FIFOR0

SDMMC data FIFO registers 0

Offset: 0x80, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR1

SDMMC data FIFO registers 1

Offset: 0x84, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR2

SDMMC data FIFO registers 2

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR3

SDMMC data FIFO registers 3

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR4

SDMMC data FIFO registers 4

Offset: 0x90, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR5

SDMMC data FIFO registers 5

Offset: 0x94, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR6

SDMMC data FIFO registers 6

Offset: 0x98, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR7

SDMMC data FIFO registers 7

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR8

SDMMC data FIFO registers 8

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR9

SDMMC data FIFO registers 9

Offset: 0xa4, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR10

SDMMC data FIFO registers 10

Offset: 0xa8, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR11

SDMMC data FIFO registers 11

Offset: 0xac, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR12

SDMMC data FIFO registers 12

Offset: 0xb0, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR13

SDMMC data FIFO registers 13

Offset: 0xb4, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR14

SDMMC data FIFO registers 14

Offset: 0xb8, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR15

SDMMC data FIFO registers 15

Offset: 0xbc, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

SDMMC1_S

0x56008000: SDMMC address block description

35/140 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 POWER
0x4 CLKCR
0x8 ARGR
0xc CMDR
0x10 RESPCMDR
0x14 RESP1R
0x18 RESP2R
0x1c RESP3R
0x20 RESP4R
0x24 DTIMER
0x28 DLENR
0x2c DCTRL
0x30 DCNTR
0x34 STAR
0x38 ICR
0x3c MASKR
0x40 ACKTIMER
0x50 IDMACTRLR
0x54 IDMABSIZER
0x58 IDMABASER
0x64 IDMALAR
0x68 IDMABAR
0x80 FIFOR0
0x84 FIFOR1
0x88 FIFOR2
0x8c FIFOR3
0x90 FIFOR4
0x94 FIFOR5
0x98 FIFOR6
0x9c FIFOR7
0xa0 FIFOR8
0xa4 FIFOR9
0xa8 FIFOR10
0xac FIFOR11
0xb0 FIFOR12
0xb4 FIFOR13
0xb8 FIFOR14
0xbc FIFOR15
Toggle registers

POWER

SDMMC power control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIRPOL
rw
VSWITCHEN
rw
VSWITCH
rw
PWRCTRL
rw
Toggle fields

PWRCTRL

Bits 0-1: SDMMC state control bits.

VSWITCH

Bit 2: Voltage switch sequence start.

VSWITCHEN

Bit 3: Voltage switch procedure enable.

DIRPOL

Bit 4: Data and command direction signals polarity selection.

CLKCR

SDMMC clock control register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SELCLKRX
rw
BUSSPEED
rw
DDR
rw
HWFC_EN
rw
NEGEDGE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WIDBUS
rw
PWRSAV
rw
CLKDIV
rw
Toggle fields

CLKDIV

Bits 0-9: Clock divide factor.

PWRSAV

Bit 12: Power saving configuration bit.

WIDBUS

Bits 14-15: Wide bus mode enable bit.

NEGEDGE

Bit 16: SDMMC_CK dephasing selection bit for data and command.

HWFC_EN

Bit 17: Hardware flow control enable.

DDR

Bit 18: Data rate signaling selection.

BUSSPEED

Bit 19: Bus speed for selection of SDMMC operating modes.

SELCLKRX

Bits 20-21: Receive clock selection.

ARGR

SDMMC argument register

Offset: 0x8, 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
CMDARG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDARG
rw
Toggle fields

CMDARG

Bits 0-31: Command argument.

CMDR

SDMMC command register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CMDSUSPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOTEN
rw
BOOTMODE
rw
DTHOLD
rw
CPSMEN
rw
WAITPEND
rw
WAITINT
rw
WAITRESP
rw
CMDSTOP
rw
CMDTRANS
rw
CMDINDEX
rw
Toggle fields

CMDINDEX

Bits 0-5: Command index.

CMDTRANS

Bit 6: The CPSM treats the command as a data transfer command, stops the interrupt period, and signals DataEnable to the DPSM.

CMDSTOP

Bit 7: The CPSM treats the command as a Stop Transmission command and signals abort to the DPSM.

WAITRESP

Bits 8-9: Wait for response bits.

WAITINT

Bit 10: CPSM waits for interrupt request.

WAITPEND

Bit 11: CPSM waits for end of data transfer (CmdPend internal signal) from DPSM.

CPSMEN

Bit 12: Command path state machine (CPSM) enable bit.

DTHOLD

Bit 13: Hold new data block transmission and reception in the DPSM.

BOOTMODE

Bit 14: Select the boot mode procedure to be used.

BOOTEN

Bit 15: Enable boot mode procedure.

CMDSUSPEND

Bit 16: The CPSM treats the command as a Suspend or Resume command and signals interrupt period start/end.

RESPCMDR

SDMMC command response register

Offset: 0x10, 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
RESPCMD
r
Toggle fields

RESPCMD

Bits 0-5: Response command index.

RESP1R

SDMMC response 1 register

Offset: 0x14, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

RESP2R

SDMMC response 2 register

Offset: 0x18, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

RESP3R

SDMMC response 3 register

Offset: 0x1c, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

RESP4R

SDMMC response 4 register

Offset: 0x20, 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
CARDSTATUS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS
r
Toggle fields

CARDSTATUS

Bits 0-31: Card status according table below.

DTIMER

SDMMC data timer 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
DATATIME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATATIME
rw
Toggle fields

DATATIME

Bits 0-31: Data and R1b busy timeout period.

DLENR

SDMMC data length 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
DATALENGTH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATALENGTH
rw
Toggle fields

DATALENGTH

Bits 0-24: Data length value.

DCTRL

SDMMC data control register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFORST
rw
BOOTACKEN
rw
SDIOEN
rw
RWMOD
rw
RWSTOP
rw
RWSTART
rw
DBLOCKSIZE
rw
DTMODE
rw
DTDIR
rw
DTEN
rw
Toggle fields

DTEN

Bit 0: Data transfer enable bit.

DTDIR

Bit 1: Data transfer direction selection.

DTMODE

Bits 2-3: Data transfer mode selection.

DBLOCKSIZE

Bits 4-7: Data block size.

RWSTART

Bit 8: Read Wait start.

RWSTOP

Bit 9: Read Wait stop.

RWMOD

Bit 10: Read Wait mode.

SDIOEN

Bit 11: SD I/O interrupt enable functions.

BOOTACKEN

Bit 12: Enable the reception of the boot acknowledgment.

FIFORST

Bit 13: FIFO reset, flushes any remaining data.

DCNTR

SDMMC data counter register

Offset: 0x30, 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
DATACOUNT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATACOUNT
r
Toggle fields

DATACOUNT

Bits 0-24: Data count value.

STAR

SDMMC status register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

29/29 fields covered.

Toggle fields

CCRCFAIL

Bit 0: Command response received (CRC check failed).

DCRCFAIL

Bit 1: Data block sent/received (CRC check failed).

CTIMEOUT

Bit 2: Command response timeout.

DTIMEOUT

Bit 3: Data timeout.

TXUNDERR

Bit 4: Transmit FIFO underrun error (masked by hardware when IDMA is enabled).

RXOVERR

Bit 5: Received FIFO overrun error (masked by hardware when IDMA is enabled).

CMDREND

Bit 6: Command response received (CRC check passed, or no CRC).

CMDSENT

Bit 7: Command sent (no response required).

DATAEND

Bit 8: Data transfer ended correctly.

DHOLD

Bit 9: Data transfer Hold.

DBCKEND

Bit 10: Data block sent/received.

DABORT

Bit 11: Data transfer aborted by CMD12.

DPSMACT

Bit 12: Data path state machine active, i..

CPSMACT

Bit 13: Command path state machine active, i..

TXFIFOHE

Bit 14: Transmit FIFO half empty.

RXFIFOHF

Bit 15: Receive FIFO half full.

TXFIFOF

Bit 16: Transmit FIFO full.

RXFIFOF

Bit 17: Receive FIFO full.

TXFIFOE

Bit 18: Transmit FIFO empty.

RXFIFOE

Bit 19: Receive FIFO empty.

BUSYD0

Bit 20: Inverted value of SDMMC_D0 line (Busy), sampled at the end of a CMD response and a second time 2 SDMMC_CK cycles after the CMD response.

BUSYD0END

Bit 21: end of SDMMC_D0 Busy following a CMD response detected.

SDIOIT

Bit 22: SDIO interrupt received.

ACKFAIL

Bit 23: Boot acknowledgment received (boot acknowledgment check fail).

ACKTIMEOUT

Bit 24: Boot acknowledgment timeout.

VSWEND

Bit 25: Voltage switch critical timing section completion.

CKSTOP

Bit 26: SDMMC_CK stopped in Voltage switch procedure.

IDMATE

Bit 27: IDMA transfer error.

IDMABTC

Bit 28: IDMA buffer transfer complete.

ICR

SDMMC interrupt clear register

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

CCRCFAILC

Bit 0: CCRCFAIL flag clear bit.

DCRCFAILC

Bit 1: DCRCFAIL flag clear bit.

CTIMEOUTC

Bit 2: CTIMEOUT flag clear bit.

DTIMEOUTC

Bit 3: DTIMEOUT flag clear bit.

TXUNDERRC

Bit 4: TXUNDERR flag clear bit.

RXOVERRC

Bit 5: RXOVERR flag clear bit.

CMDRENDC

Bit 6: CMDREND flag clear bit.

CMDSENTC

Bit 7: CMDSENT flag clear bit.

DATAENDC

Bit 8: DATAEND flag clear bit.

DHOLDC

Bit 9: DHOLD flag clear bit.

DBCKENDC

Bit 10: DBCKEND flag clear bit.

DABORTC

Bit 11: DABORT flag clear bit.

BUSYD0ENDC

Bit 21: BUSYD0END flag clear bit.

SDIOITC

Bit 22: SDIOIT flag clear bit.

ACKFAILC

Bit 23: ACKFAIL flag clear bit.

ACKTIMEOUTC

Bit 24: ACKTIMEOUT flag clear bit.

VSWENDC

Bit 25: VSWEND flag clear bit.

CKSTOPC

Bit 26: CKSTOP flag clear bit.

IDMATEC

Bit 27: IDMA transfer error clear bit.

IDMABTCC

Bit 28: IDMA buffer transfer complete clear bit.

MASKR

SDMMC mask register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/23 fields covered.

Toggle fields

CCRCFAILIE

Bit 0: Command CRC fail interrupt enable.

DCRCFAILIE

Bit 1: Data CRC fail interrupt enable.

CTIMEOUTIE

Bit 2: Command timeout interrupt enable.

DTIMEOUTIE

Bit 3: Data timeout interrupt enable.

TXUNDERRIE

Bit 4: Tx FIFO underrun error interrupt enable.

RXOVERRIE

Bit 5: Rx FIFO overrun error interrupt enable.

CMDRENDIE

Bit 6: Command response received interrupt enable.

CMDSENTIE

Bit 7: Command sent interrupt enable.

DATAENDIE

Bit 8: Data end interrupt enable.

DHOLDIE

Bit 9: Data hold interrupt enable.

DBCKENDIE

Bit 10: Data block end interrupt enable.

DABORTIE

Bit 11: Data transfer aborted interrupt enable.

TXFIFOHEIE

Bit 14: Tx FIFO half empty interrupt enable.

RXFIFOHFIE

Bit 15: Rx FIFO half full interrupt enable.

RXFIFOFIE

Bit 17: Rx FIFO full interrupt enable.

TXFIFOEIE

Bit 18: Tx FIFO empty interrupt enable.

BUSYD0ENDIE

Bit 21: BUSYD0END interrupt enable.

SDIOITIE

Bit 22: SDIO mode interrupt received interrupt enable.

ACKFAILIE

Bit 23: Acknowledgment Fail interrupt enable.

ACKTIMEOUTIE

Bit 24: Acknowledgment timeout interrupt enable.

VSWENDIE

Bit 25: Voltage switch critical timing section completion interrupt enable.

CKSTOPIE

Bit 26: Voltage Switch clock stopped interrupt enable.

IDMABTCIE

Bit 28: IDMA buffer transfer complete interrupt enable.

ACKTIMER

SDMMC acknowledgment timer 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
ACKTIME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACKTIME
rw
Toggle fields

ACKTIME

Bits 0-24: Boot acknowledgment timeout period.

IDMACTRLR

SDMMC DMA control register

Offset: 0x50, 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
IDMABMODE
rw
IDMAEN
rw
Toggle fields

IDMAEN

Bit 0: IDMA enable.

IDMABMODE

Bit 1: Buffer mode selection.

IDMABSIZER

SDMMC IDMA buffer size register

Offset: 0x54, 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
IDMABNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABNDT
rw
Toggle fields

IDMABNDT

Bits 5-16: Number of bytes per buffer.

IDMABASER

SDMMC IDMA buffer base address register

Offset: 0x58, 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
IDMABASE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABASE
rw
Toggle fields

IDMABASE

Bits 0-31: Buffer memory base address bits [31:2], must be word aligned (bit [1:0] are always 0 and read only).

IDMALAR

SDMMC IDMA linked list address register

Offset: 0x64, 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
ULA
rw
ULS
rw
ABR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMALA
rw
Toggle fields

IDMALA

Bits 2-15: Word aligned linked list item address offset.

ABR

Bit 29: Acknowledge linked list buffer ready.

ULS

Bit 30: Update SDMMC_IDMABSIZE from the next linked list when in linked list mode (SDMMC_IDMACTRLR..

ULA

Bit 31: Update SDMMC_IDMALAR from linked list when in linked list mode (SDMMC_IDMACTRLR..

IDMABAR

SDMMC IDMA linked list memory base register

Offset: 0x68, 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
IDMABA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABA
rw
Toggle fields

IDMABA

Bits 2-31: Word aligned Linked list memory base address.

FIFOR0

SDMMC data FIFO registers 0

Offset: 0x80, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR1

SDMMC data FIFO registers 1

Offset: 0x84, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR2

SDMMC data FIFO registers 2

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR3

SDMMC data FIFO registers 3

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR4

SDMMC data FIFO registers 4

Offset: 0x90, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR5

SDMMC data FIFO registers 5

Offset: 0x94, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR6

SDMMC data FIFO registers 6

Offset: 0x98, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR7

SDMMC data FIFO registers 7

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR8

SDMMC data FIFO registers 8

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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR9

SDMMC data FIFO registers 9

Offset: 0xa4, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR10

SDMMC data FIFO registers 10

Offset: 0xa8, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR11

SDMMC data FIFO registers 11

Offset: 0xac, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR12

SDMMC data FIFO registers 12

Offset: 0xb0, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR13

SDMMC data FIFO registers 13

Offset: 0xb4, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR14

SDMMC data FIFO registers 14

Offset: 0xb8, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

FIFOR15

SDMMC data FIFO registers 15

Offset: 0xbc, 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
FIFODATA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFODATA
rw
Toggle fields

FIFODATA

Bits 0-31: Receive and transmit FIFO data.

SEC_ADCC

0x52028300: ADC common registers block

32/41 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CSR
0x8 CCR
0xc CDR
0xf0 HWCFGR0
0xf4 VERR
0xf8 IPDR
0xfc SIDR
Toggle registers

CSR

ADC common status register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

22/22 fields covered.

Toggle fields

ADRDY_MST

Bit 0: Master ADC ready.

EOSMP_MST

Bit 1: End of Sampling phase flag of the master ADC.

EOC_MST

Bit 2: End of regular conversion of the master ADC.

EOS_MST

Bit 3: End of regular sequence flag of the master ADC.

OVR_MST

Bit 4: Overrun flag of the master ADC.

JEOC_MST

Bit 5: End of injected conversion flag of the master ADC.

JEOS_MST

Bit 6: End of injected sequence flag of the master ADC.

AWD1_MST

Bit 7: Analog watchdog 1 flag of the master ADC.

AWD2_MST

Bit 8: Analog watchdog 2 flag of the master ADC.

AWD3_MST

Bit 9: Analog watchdog 3 flag of the master ADC.

JQOVF_MST

Bit 10: Injected Context Queue Overflow flag of the master ADC.

ADRDY_SLV

Bit 16: Slave ADC ready.

EOSMP_SLV

Bit 17: End of Sampling phase flag of the slave ADC.

EOC_SLV

Bit 18: End of regular conversion of the slave ADC.

EOS_SLV

Bit 19: End of regular sequence flag of the slave ADC..

OVR_SLV

Bit 20: Overrun flag of the slave ADC.

JEOC_SLV

Bit 21: End of injected conversion flag of the slave ADC.

JEOS_SLV

Bit 22: End of injected sequence flag of the slave ADC.

AWD1_SLV

Bit 23: Analog watchdog 1 flag of the slave ADC.

AWD2_SLV

Bit 24: Analog watchdog 2 flag of the slave ADC.

AWD3_SLV

Bit 25: Analog watchdog 3 flag of the slave ADC.

JQOVF_SLV

Bit 26: Injected Context Queue Overflow flag of the slave ADC.

CCR

ADC common control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VBATEN
rw
TSEN
rw
VREFEN
rw
PRESC
rw
CKMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDMA
rw
DMACFG
rw
DELAY
rw
DUAL
rw
Toggle fields

DUAL

Bits 0-4: Dual ADC mode selection.

DELAY

Bits 8-11: Delay between 2 sampling phases.

DMACFG

Bit 13: DMA configuration (for dual ADC mode).

MDMA

Bits 14-15: Direct memory access mode for dual ADC mode.

CKMODE

Bits 16-17: ADC clock mode.

PRESC

Bits 18-21: ADC prescaler.

VREFEN

Bit 22: Vless thansub>REFINTless than/sub> enable.

TSEN

Bit 23: Vless thansub>SENSEless than/sub> enable.

VBATEN

Bit 24: VBAT enable.

CDR

ADC common regular data register for dual mode

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_SLV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA_MST
r
Toggle fields

RDATA_MST

Bits 0-15: Regular data of the master ADC..

RDATA_SLV

Bits 16-31: Regular data of the slave ADC.

HWCFGR0

ADC hardware configuration register

Offset: 0xf0, size: 32, reset: 0x00001212, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDLEVALUE
r
OPBITS
r
MULPIPE
r
ADCNUM
r
Toggle fields

ADCNUM

Bits 0-3: Number of ADCs implemented.

MULPIPE

Bits 4-7: Number of pipeline stages.

OPBITS

Bits 8-11: Number of option bits.

IDLEVALUE

Bits 12-15: Idle value for non-selected channels.

VERR

ADC version register

Offset: 0xf4, size: 32, reset: 0x00000012, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAJREV
r
MINREV
r
Toggle fields

MINREV

Bits 0-3: Minor revision.

MAJREV

Bits 4-7: Major revision.

IPDR

ADC identification register

Offset: 0xf8, size: 32, reset: 0x00110006, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID
r
Toggle fields

ID

Bits 0-31: Peripheral identifier.

SIDR

ADC size identification register

Offset: 0xfc, size: 32, reset: 0xA3C5DD01, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SID
r
Toggle fields

SID

Bits 0-31: Size Identification.

SPI1

0x40013000: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI1_S

0x50013000: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI2

0x40003800: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI2_S

0x50003800: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI3

0x40003c00: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI3_S

0x50003c00: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI4

0x40014c00: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

SPI4_S

0x50014c00: SPI address block description

90/92 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CFG1
0xc CFG2
0x10 IER
0x14 SR
0x18 IFCR
0x20 TXDR
0x20 (16-bit) TXDR16
0x20 (8-bit) TXDR8
0x30 RXDR
0x30 (16-bit) RXDR16
0x30 (8-bit) RXDR8
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

SPI/I2S control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IOLOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRCINI
rw
RCRCINI
rw
CRC33_17
rw
SSI
rw
HDDIR
rw
CSUSP
w
CSTART
rw
MASRX
rw
SPE
rw
Toggle fields

SPE

Bit 0: serial peripheral enable.

Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled

MASRX

Bit 8: master automatic suspension in Receive mode.

Allowed values:
0: Disabled: Automatic suspend in master receive-only mode disabled
1: Enabled: Automatic suspend in master receive-only mode enabled

CSTART

Bit 9: master transfer start.

Allowed values:
0: NotStarted: Do not start master transfer
1: Started: Start master transfer

CSUSP

Bit 10: master suspend request.

Allowed values:
0: NotRequested: Do not request master suspend
1: Requested: Request master suspend

HDDIR

Bit 11: Rx/Tx direction at half-duplex mode.

Allowed values:
0: Receiver: Receiver in half duplex mode
1: Transmitter: Transmitter in half duplex mode

SSI

Bit 12: internal SS signal input level.

Allowed values:
0: SlaveSelected: 0 is forced onto the SS signal and the I/O value of the SS pin is ignored
1: SlaveNotSelected: 1 is forced onto the SS signal and the I/O value of the SS pin is ignored

CRC33_17

Bit 13: 32-bit CRC polynomial configuration.

Allowed values:
0: Disabled: Full size (33/17 bit) CRC polynomial is not used
1: Enabled: Full size (33/17 bit) CRC polynomial is used

RCRCINI

Bit 14: CRC calculation initialization pattern control for receiver.

Allowed values:
0: AllZeros: All zeros RX CRC initialization pattern
1: AllOnes: All ones RX CRC initialization pattern

TCRCINI

Bit 15: CRC calculation initialization pattern control for transmitter.

Allowed values:
0: AllZeros: All zeros TX CRC initialization pattern
1: AllOnes: All ones TX CRC initialization pattern

IOLOCK

Bit 16: locking the AF configuration of associated I/Os.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

SPI/I2S 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
TSIZE
rw
Toggle fields

TSIZE

Bits 0-15: number of data at current transfer.

Allowed values: 0x0-0xffff

CFG1

SPI/I2S configuration register 1

Offset: 0x8, size: 32, reset: 0x00070007, access: read-write

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BPASS
rw
MBR
rw
CRCEN
rw
CRCSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDMAEN
rw
RXDMAEN
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: number of bits in a single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: FIFO threshold level.

Allowed values:
0: OneFrame: 1 frame
1: TwoFrames: 2 frames
2: ThreeFrames: 3 frames
3: FourFrames: 4 frames
4: FiveFrames: 5 frames
5: SixFrames: 6 frames
6: SevenFrames: 7 frames
7: EightFrames: 8 frames
8: NineFrames: 9 frames
9: TenFrames: 10 frames
10: ElevenFrames: 11 frames
11: TwelveFrames: 12 frames
12: ThirteenFrames: 13 frames
13: FourteenFrames: 14 frames
14: FifteenFrames: 15 frames
15: SixteenFrames: 16 frames

UDRCFG

Bit 9: behavior of slave transmitter at underrun condition.

Allowed values:
0: Constant: Slave sends a constant underrun pattern
1: RepeatReceived: Slave repeats last received data frame from master

RXDMAEN

Bit 14: Rx DMA stream enable.

Allowed values:
0: Disabled: Rx buffer DMA disabled
1: Enabled: Rx buffer DMA enabled

TXDMAEN

Bit 15: Tx DMA stream enable.

Allowed values:
0: Disabled: Tx buffer DMA disabled
1: Enabled: Tx buffer DMA enabled

CRCSIZE

Bits 16-20: length of CRC frame to be transacted and compared.

Allowed values: 0x0-0x1f

CRCEN

Bit 22: hardware CRC computation enable.

Allowed values:
0: Disabled: CRC calculation disabled
1: Enabled: CRC calculation enabled

MBR

Bits 28-30: master baud rate prescaler setting.

Allowed values:
0: Div2: f_spi_ker_ck / 2
1: Div4: f_spi_ker_ck / 4
2: Div8: f_spi_ker_ck / 8
3: Div16: f_spi_ker_ck / 16
4: Div32: f_spi_ker_ck / 32
5: Div64: f_spi_ker_ck / 64
6: Div128: f_spi_ker_ck / 128
7: Div256: f_spi_ker_ck / 256

BPASS

Bit 31: bypass of the prescaler at master baud rate clock generator.

Allowed values:
0: Disabled: Bypass is disabled
1: Enabled: Bypass is enabled

CFG2

SPI/I2S configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AFCNTR
rw
SSOM
rw
SSOE
rw
SSIOP
rw
SSM
rw
CPOL
rw
CPHA
rw
LSBFRST
rw
MASTER
rw
SP
rw
COMM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IOSWP
rw
RDIOP
rw
RDIOM
rw
MIDI
rw
MSSI
rw
Toggle fields

MSSI

Bits 0-3: Master SS Idleness.

Allowed values: 0x0-0xf

MIDI

Bits 4-7: master Inter-Data Idleness.

Allowed values: 0x0-0xf

RDIOM

Bit 13: RDY signal input/output management.

RDIOP

Bit 14: RDY signal input/output polarity.

IOSWP

Bit 15: swap functionality of MISO and MOSI pins.

Allowed values:
0: Disabled: MISO and MOSI not swapped
1: Enabled: MISO and MOSI swapped

COMM

Bits 17-18: SPI Communication Mode.

Allowed values:
0: FullDuplex: Full duplex
1: Transmitter: Simplex transmitter only
2: Receiver: Simplex receiver only
3: HalfDuplex: Half duplex

SP

Bits 19-21: serial protocol.

Allowed values:
0: Motorola: Motorola SPI protocol
1: TI: TI SPI protocol

MASTER

Bit 22: SPI master.

Allowed values:
0: Slave: Slave configuration
1: Master: Master configuration

LSBFRST

Bit 23: data frame format.

Allowed values:
0: MSBFirst: Data is transmitted/received with the MSB first
1: LSBFirst: Data is transmitted/received with the LSB first

CPHA

Bit 24: 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

CPOL

Bit 25: clock polarity.

Allowed values:
0: IdleLow: CK to 0 when idle
1: IdleHigh: CK to 1 when idle

SSM

Bit 26: software management of SS signal input.

Allowed values:
0: Disabled: Software slave management disabled
1: Enabled: Software slave management enabled

SSIOP

Bit 28: SS input/output polarity.

Allowed values:
0: ActiveLow: Low level is active for SS signal
1: ActiveHigh: High level is active for SS signal

SSOE

Bit 29: SS output enable.

Allowed values:
0: Disabled: SS output is disabled in master mode
1: Enabled: SS output is enabled in master mode

SSOM

Bit 30: SS output management in master mode.

Allowed values:
0: Asserted: SS is asserted until data transfer complete
1: NotAsserted: Data frames interleaved with SS not asserted during MIDI

AFCNTR

Bit 31: alternate function GPIOs control.

Allowed values:
0: NotControlled: Peripheral takes no control of GPIOs while disabled
1: Controlled: Peripheral controls GPIOs while disabled

IER

SPI/I2S interrupt enable register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODFIE
rw
TIFREIE
rw
CRCEIE
rw
OVRIE
rw
UDRIE
rw
TXTFIE
rw
EOTIE
rw
DXPIE
rw
TXPIE
rw
RXPIE
rw
Toggle fields

RXPIE

Bit 0: RXP interrupt enable.

Allowed values:
0: Masked: RX data available interrupt masked
1: NotMasked: RX data available interrupt not masked

TXPIE

Bit 1: TXP interrupt enable.

Allowed values:
0: Masked: TX space available interrupt masked
1: NotMasked: TX space available interrupt not masked

DXPIE

Bit 2: DXP interrupt enabled.

Allowed values:
0: Masked: Duplex transfer complete interrupt masked
1: NotMasked: Duplex transfer complete interrupt not masked

EOTIE

Bit 3: EOT, SUSP and TXC interrupt enable.

Allowed values:
0: Masked: End-of-transfer interrupt masked
1: NotMasked: End-of-transfer interrupt not masked

TXTFIE

Bit 4: TXTFIE interrupt enable.

Allowed values:
0: Masked: Transmission transfer filled interrupt masked
1: NotMasked: Transmission transfer filled interrupt not masked

UDRIE

Bit 5: UDR interrupt enable.

Allowed values:
0: Masked: Underrun interrupt masked
1: NotMasked: Underrun interrupt not masked

OVRIE

Bit 6: OVR interrupt enable.

Allowed values:
0: Masked: Overrun interrupt masked
1: NotMasked: Overrun interrupt not masked

CRCEIE

Bit 7: CRC error interrupt enable.

Allowed values:
0: Masked: CRC error interrupt masked
1: NotMasked: CRC error interrupt not masked

TIFREIE

Bit 8: TIFRE interrupt enable.

Allowed values:
0: Masked: TI frame format error interrupt masked
1: NotMasked: TI frame format error interrupt not masked

MODFIE

Bit 9: mode Fault interrupt enable.

Allowed values:
0: Masked: Mode fault interrupt masked
1: NotMasked: Mode fault interrupt not masked

SR

SPI/I2S status register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CTSIZE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXWNE
r
RXPLVL
r
TXC
r
SUSP
r
MODF
r
TIFRE
r
CRCE
r
OVR
r
UDR
r
TXTF
r
EOT
r
DXP
r
TXP
r
RXP
r
Toggle fields

RXP

Bit 0: Rx-packet available.

Allowed values:
0: Empty: Rx buffer empty
1: NotEmpty: Rx buffer not empty

TXP

Bit 1: Tx-packet space available.

Allowed values:
0: Full: Tx buffer full
1: NotFull: Tx buffer not full

DXP

Bit 2: duplex packet.

Allowed values:
0: Unavailable: Duplex packet unavailable: no space for transmission and/or no data received
1: Available: Duplex packet available: space for transmission and data received

EOT

Bit 3: end of transfer.

Allowed values:
0: NotCompleted: Transfer ongoing or not started
1: Completed: Transfer complete

TXTF

Bit 4: transmission transfer filled.

Allowed values:
0: NotCompleted: Transmission buffer incomplete
1: Completed: Transmission buffer filled with at least one transfer

UDR

Bit 5: underrun.

Allowed values:
0: NoUnderrun: No underrun occurred
1: Underrun: Underrun occurred

OVR

Bit 6: overrun.

Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred

CRCE

Bit 7: CRC error.

Allowed values:
0: NoError: No CRC error detected
1: Error: CRC error detected

TIFRE

Bit 8: TI frame format error.

Allowed values:
0: NoError: TI frame format error detected
1: Error: TI frame format error detected

MODF

Bit 9: mode fault.

Allowed values:
0: NoFault: No mode fault detected
1: Fault: Mode fault detected

SUSP

Bit 11: suspension status.

Allowed values:
0: NotSuspended: Master not suspended
1: Suspended: Master suspended

TXC

Bit 12: TxFIFO transmission complete.

Allowed values:
0: Ongoing: Transmission ongoing
1: Completed: Transmission completed

RXPLVL

Bits 13-14: RxFIFO packing level.

Allowed values:
0: ZeroFrames: Zero frames beyond packing ratio available
1: OneFrame: One frame beyond packing ratio available
2: TwoFrames: Two frame beyond packing ratio available
3: ThreeFrames: Three frame beyond packing ratio available

RXWNE

Bit 15: RxFIFO word not empty.

Allowed values:
0: LessThan32: Less than 32-bit data frame received
1: AtLeast32: At least 32-bit data frame received

CTSIZE

Bits 16-31: number of data frames remaining in current TSIZE session.

Allowed values: 0x0-0xffff

IFCR

SPI/I2S interrupt/status flags clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUSPC
w1c
MODFC
w1c
TIFREC
w1c
CRCEC
w1c
OVRC
w1c
UDRC
w1c
TXTFC
w1c
EOTC
w1c
Toggle fields

EOTC

Bit 3: end of transfer flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXTFC

Bit 4: transmission transfer filled flag clear.

Allowed values:
1: Clear: Clear interrupt flag

UDRC

Bit 5: underrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

OVRC

Bit 6: overrun flag clear.

Allowed values:
1: Clear: Clear interrupt flag

CRCEC

Bit 7: CRC error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TIFREC

Bit 8: TI frame format error flag clear.

Allowed values:
1: Clear: Clear interrupt flag

MODFC

Bit 9: mode fault flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: Suspend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

/I2SSPI/I2S transmit data register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXDR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDR
w
Toggle fields

TXDR

Bits 0-31: transmit data register.

Allowed values: 0x0-0xffffffff

TXDR16

Direct 16-bit access to transmit data register

Offset: 0x20, 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
TXDR
w
Toggle fields

TXDR

Bits 0-15: Transmit data register.

Allowed values: 0x0-0xffff

TXDR8

Direct 8-bit access to transmit data register

Offset: 0x20, size: 8, 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
TXDR
w
Toggle fields

TXDR

Bits 0-7: Transmit data register.

Allowed values: 0x0-0xff

RXDR

SPI/I2S receive data register

Offset: 0x30, 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
RXDR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDR
r
Toggle fields

RXDR

Bits 0-31: receive data register.

RXDR16

Direct 16-bit access to receive data register

Offset: 0x30, 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
RXDR
r
Toggle fields

RXDR

Bits 0-15: Receive data register.

RXDR8

Direct 8-bit access to receive data register

Offset: 0x30, size: 8, 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
RXDR
r
Toggle fields

RXDR

Bits 0-7: Receive data register.

CRCPOLY

SPI/I2S polynomial register

Offset: 0x40, size: 32, reset: 0x00000107, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCPOLY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCPOLY
rw
Toggle fields

CRCPOLY

Bits 0-31: CRC polynomial register.

Allowed values: 0x0-0xffffffff

TXCRC

SPI/I2S transmitter CRC register

Offset: 0x44, 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
TXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
r
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

SPI/I2S receiver CRC register

Offset: 0x48, 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
RXCRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
r
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

SPI underrun data 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
UDRDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRDR
rw
Toggle fields

UDRDR

Bits 0-31: data at slave underrun condition.

Allowed values: 0x0-0xffffffff

I2SCFGR

SPI/I2S configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

13/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKOE
rw
ODD
rw
I2SDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATFMT
rw
WSINV
rw
FIXCH
rw
CKPOL
rw
CHLEN
rw
DATLEN
rw
PCMSYNC
rw
I2SSTD
rw
I2SCFG
rw
I2SMOD
rw
Toggle fields

I2SMOD

Bit 0: I2S mode selection.

Allowed values:
0: SPI: SPI mode selected
1: I2S: I2S/PCM mode selected

I2SCFG

Bits 1-3: I2S configuration mode.

Allowed values:
0: SlaveTransmit: Slave, transmit
1: SlaveReceive: Slave, recteive
2: MasterTransmit: Master, transmit
3: MasterReceive: Master, receive
4: SlaveFullDuplex: Slave, full duplex
5: MasterFullDuplex: Master, full duplex

I2SSTD

Bits 4-5: Iless thansup>2less than/sup>S standard selection.

Allowed values:
0: Philips: I2S Philips standard
1: LeftAligned: MSB/left justified standard
2: RightAligned: LSB/right justified standard
3: PCM: PCM standard

PCMSYNC

Bit 7: PCM frame synchronization.

Allowed values:
0: Short: Short PCM frame synchronization
1: Long: Long PCM frame synchronization

DATLEN

Bits 8-9: data length to be transferred..

Allowed values:
0: Bits16: 16 bit data length
1: Bits24: 24 bit data length
2: Bits32: 32 bit data length

CHLEN

Bit 10: channel length (number of bits per audio channel).

Allowed values:
0: Bits16: 16 bit per channel
1: Bits32: 32 bit per channel

CKPOL

Bit 11: serial audio clock polarity.

Allowed values:
0: SampleOnRising: Signals are sampled on rising and changed on falling clock edges
1: SampleOnFalling: Signals are sampled on falling and changed on rising clock edges

FIXCH

Bit 12: fixed channel length in slave.

Allowed values:
0: NotFixed: The channel length in slave mode is different from 16 or 32 bits (CHLEN not taken into account)
1: Fixed: The channel length in slave mode is supposed to be 16 or 32 bits (according to CHLEN)

WSINV

Bit 13: word select inversion.

Allowed values:
0: Disabled: Word select inversion disabled
1: Enabled: Word select inversion enabled

DATFMT

Bit 14: data format.

Allowed values:
0: RightAligned: The data inside RXDR and TXDR are right aligned
1: LeftAligned: The data inside RXDR and TXDR are left aligned

I2SDIV

Bits 16-23: Iless thansup>2less than/sup>S linear prescaler.

Allowed values: 0x0-0xff

ODD

Bit 24: odd factor for the prescaler.

Allowed values:
0: Even: Real divider value is I2SDIV*2
1: Odd: Real divider value is I2SDIV*2 + 1

MCKOE

Bit 25: master clock output enable.

Allowed values:
0: Disabled: Master clock output disabled
1: Enabled: Master clock output enabled

TAMP

0x44007c00: TAMP register block

66/240 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0xc FLTCR
0x10 ATCR1
0x14 ATSEEDR
0x18 ATOR
0x1c ATCR2
0x20 SECCFGR
0x24 PRIVCFGR
0x2c IER
0x30 SR
0x34 MISR
0x38 SMISR
0x3c SCR
0x40 COUNT1R
0x50 OR
0x54 RPCFGR
0x100 BKP0R
0x104 BKP1R
0x108 BKP2R
0x10c BKP3R
0x110 BKP4R
0x114 BKP5R
0x118 BKP6R
0x11c BKP7R
0x120 BKP8R
0x124 BKP9R
0x128 BKP10R
0x12c BKP11R
0x130 BKP12R
0x134 BKP13R
0x138 BKP14R
0x13c BKP15R
0x140 BKP16R
0x144 BKP17R
0x148 BKP18R
0x14c BKP19R
0x150 BKP20R
0x154 BKP21R
0x158 BKP22R
0x15c BKP23R
0x160 BKP24R
0x164 BKP25R
0x168 BKP26R
0x16c BKP27R
0x170 BKP28R
0x174 BKP29R
0x178 BKP30R
0x17c BKP31R
Toggle registers

CR1

TAMP control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ITAMP15E
rw
ITAMP13E
rw
ITAMP12E
rw
ITAMP11E
rw
ITAMP9E
rw
ITAMP8E
rw
ITAMP7E
rw
ITAMP6E
rw
ITAMP5E
rw
ITAMP4E
rw
ITAMP3E
rw
ITAMP2E
rw
ITAMP1E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAMP8E
rw
TAMP7E
rw
TAMP6E
rw
TAMP5E
rw
TAMP4E
rw
TAMP3E
rw
TAMP2E
rw
TAMP1E
rw
Toggle fields

TAMP1E

Bit 0: Tamper detection on TAMP_IN1 enable.

TAMP2E

Bit 1: Tamper detection on TAMP_IN2 enableless thansup>(1)less than/sup>.

TAMP3E

Bit 2: Tamper detection on TAMP_IN3 enableless thansup>(1)less than/sup>.

TAMP4E

Bit 3: Tamper detection on TAMP_IN4 enableless thansup>(1)less than/sup>.

TAMP5E

Bit 4: Tamper detection on TAMP_IN5 enableless thansup>(1)less than/sup>.

TAMP6E

Bit 5: Tamper detection on TAMP_IN6 enableless thansup>(1)less than/sup>.

TAMP7E

Bit 6: Tamper detection on TAMP_IN7 enableless thansup>(1)less than/sup>.

TAMP8E

Bit 7: Tamper detection on TAMP_IN8 enableless thansup>(1)less than/sup>.

ITAMP1E

Bit 16: Internal tamper 1 enable.

ITAMP2E

Bit 17: Internal tamper 2 enable.

ITAMP3E

Bit 18: Internal tamper 3 enable.

ITAMP4E

Bit 19: Internal tamper 4 enable.

ITAMP5E

Bit 20: Internal tamper 5 enable.

ITAMP6E

Bit 21: Internal tamper 6 enable.

ITAMP7E

Bit 22: Internal tamper 7 enable.

ITAMP8E

Bit 23: Internal tamper 8 enable.

ITAMP9E

Bit 24: Internal tamper 9 enable.

ITAMP11E

Bit 26: Internal tamper 11 enable.

ITAMP12E

Bit 27: Internal tamper 12 enable.

ITAMP13E

Bit 28: Internal tamper 13 enable.

ITAMP15E

Bit 30: Internal tamper 15 enable.

CR2

TAMP control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

Toggle fields

TAMP1POM

Bit 0: Tamper 1 potential mode.

TAMP2POM

Bit 1: Tamper 2 potential mode.

TAMP3POM

Bit 2: Tamper 3 potential mode.

TAMP4POM

Bit 3: Tamper 4 potential mode.

TAMP5POM

Bit 4: Tamper 5 potential mode.

TAMP6POM

Bit 5: Tamper 6 potential mode.

TAMP7POM

Bit 6: Tamper 7 potential mode.

TAMP8POM

Bit 7: Tamper 8 potential mode.

TAMP1MSK

Bit 16: Tamper 1 mask.

TAMP2MSK

Bit 17: Tamper 2 mask.

TAMP3MSK

Bit 18: Tamper 3 mask.

BKBLOCK

Bit 22: Backup registers and device secretsless thansup>(1)less than/sup> access blocked.

BKERASE

Bit 23: Backup registers and device secretsless thansup>(1)less than/sup> erase.

TAMP1TRG

Bit 24: Active level for tamper 1 input.

TAMP2TRG

Bit 25: Active level for tamper 2 input.

TAMP3TRG

Bit 26: Active level for tamper 3 input.

TAMP4TRG

Bit 27: Active level for tamper 4 input (active mode disabled).

TAMP5TRG

Bit 28: Active level for tamper 5 input (active mode disabled).

TAMP6TRG

Bit 29: Active level for tamper 6 input (active mode disabled).

TAMP7TRG

Bit 30: Active level for tamper 7 input (active mode disabled).

TAMP8TRG

Bit 31: Active level for tamper 8 input (active mode disabled).

CR3

TAMP control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

Toggle fields

ITAMP1POM

Bit 0: Internal tamper 1 potential mode.

ITAMP2POM

Bit 1: Internal tamper 2 potential mode.

ITAMP3POM

Bit 2: Internal tamper 3 potential mode.

ITAMP4POM

Bit 3: Internal tamper 4 potential mode.

ITAMP5POM

Bit 4: Internal tamper 5 potential mode.

ITAMP6POM

Bit 5: Internal tamper 6 potential mode.

ITAMP7POM

Bit 6: Internal tamper 7 potential mode.

ITAMP8POM

Bit 7: Internal tamper 8 potential mode.

ITAMP9POM

Bit 8: Internal tamper 9 potential mode.

ITAMP11POM

Bit 10: Internal tamper 11 potential mode.

ITAMP12POM

Bit 11: Internal tamper 12 potential mode.

ITAMP13POM

Bit 12: Internal tamper 13 potential mode.

ITAMP15POM

Bit 14: Internal tamper 15 potential mode.

FLTCR

TAMP filter control register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAMPPUDIS
rw
TAMPPRCH
rw
TAMPFLT
rw
TAMPFREQ
rw
Toggle fields

TAMPFREQ

Bits 0-2: Tamper sampling frequency.

TAMPFLT

Bits 3-4: TAMP_INx filter count.

TAMPPRCH

Bits 5-6: TAMP_INx precharge duration.

TAMPPUDIS

Bit 7: TAMP_INx pull-up disable.

ATCR1

TAMP active tamper control register 1

Offset: 0x10, size: 32, reset: 0x00070000, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLTEN
rw
ATOSHARE
rw
ATPER
rw
ATCKSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATOSEL4
rw
ATOSEL3
rw
ATOSEL2
rw
ATOSEL1
rw
TAMP8AM
rw
TAMP7AM
rw
TAMP6AM
rw
TAMP5AM
rw
TAMP4AM
rw
TAMP3AM
rw
TAMP2AM
rw
TAMP1AM
rw
Toggle fields

TAMP1AM

Bit 0: Tamper 1 active mode.

TAMP2AM

Bit 1: Tamper 2 active mode.

TAMP3AM

Bit 2: Tamper 3 active mode.

TAMP4AM

Bit 3: Tamper 4 active mode.

TAMP5AM

Bit 4: Tamper 5 active mode.

TAMP6AM

Bit 5: Tamper 6 active mode.

TAMP7AM

Bit 6: Tamper 7 active mode.

TAMP8AM

Bit 7: Tamper 8 active mode.

ATOSEL1

Bits 8-9: Active tamper shared output 1 selection.

ATOSEL2

Bits 10-11: Active tamper shared output 2 selection.

ATOSEL3

Bits 12-13: Active tamper shared output 3 selection.

ATOSEL4

Bits 14-15: Active tamper shared output 4 selection.

ATCKSEL

Bits 16-19: Active tamper RTC asynchronous prescaler clock selection.

ATPER

Bits 24-26: Active tamper output change period.

ATOSHARE

Bit 30: Active tamper output sharing.

FLTEN

Bit 31: Active tamper filter enable.

ATSEEDR

TAMP active tamper seed register

Offset: 0x14, 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
SEED
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEED
w
Toggle fields

SEED

Bits 0-31: Pseudo-random generator seed value.

ATOR

TAMP active tamper output register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INITS
r
SEEDF
r
PRNG
r
Toggle fields

PRNG

Bits 0-7: Pseudo-random generator value.

SEEDF

Bit 14: Seed running flag.

INITS

Bit 15: Active tamper initialization status.

ATCR2

TAMP active tamper control register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ATOSEL8
rw
ATOSEL7
rw
ATOSEL6
rw
ATOSEL5
rw
ATOSEL4
rw
ATOSEL3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATOSEL3
rw
ATOSEL2
rw
ATOSEL1
rw
Toggle fields

ATOSEL1

Bits 8-10: Active tamper shared output 1 selection.

ATOSEL2

Bits 11-13: Active tamper shared output 2 selection.

ATOSEL3

Bits 14-16: Active tamper shared output 3 selection.

ATOSEL4

Bits 17-19: Active tamper shared output 4 selection.

ATOSEL5

Bits 20-22: Active tamper shared output 5 selection.

ATOSEL6

Bits 23-25: Active tamper shared output 6 selection.

ATOSEL7

Bits 26-28: Active tamper shared output 7 selection.

ATOSEL8

Bits 29-31: Active tamper shared output 8 selection.

SECCFGR

TAMP secure configuration register

Offset: 0x20, 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
TAMPSEC
rw
BHKLOCK
rw
BKPWSEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT1SEC
rw
BKPRWSEC
rw
Toggle fields

BKPRWSEC

Bits 0-7: Backup registers read/write protection offset.

CNT1SEC

Bit 15: Monotonic counter 1 secure protection.

BKPWSEC

Bits 16-23: Backup registers write protection offset.

BHKLOCK

Bit 30: Boot hardware key lock.

TAMPSEC

Bit 31: Tamper protection (excluding monotonic counters and backup registers).

PRIVCFGR

TAMP privilege configuration register

Offset: 0x24, 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
TAMPPRIV
rw
BKPWPRIV
rw
BKPRWPRIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT1PRIV
rw
Toggle fields

CNT1PRIV

Bit 15: Monotonic counter 1 privilege protection.

BKPRWPRIV

Bit 29: Backup registers zone 1 privilege protection.

BKPWPRIV

Bit 30: Backup registers zone 2 privilege protection.

TAMPPRIV

Bit 31: Tamper privilege protection (excluding backup registers).

IER

TAMP interrupt enable register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

Toggle fields

TAMP1IE

Bit 0: Tamper 1 interrupt enable.

TAMP2IE

Bit 1: Tamper 2 interrupt enable.

TAMP3IE

Bit 2: Tamper 3 interrupt enable.

TAMP4IE

Bit 3: Tamper 4 interrupt enable.

TAMP5IE

Bit 4: Tamper 5 interrupt enable.

TAMP6IE

Bit 5: Tamper 6 interrupt enable.

TAMP7IE

Bit 6: Tamper 7interrupt enable.

TAMP8IE

Bit 7: Tamper 8 interrupt enable.

ITAMP1IE

Bit 16: Internal tamper 1 interrupt enable.

ITAMP2IE

Bit 17: Internal tamper 2 interrupt enable.

ITAMP3IE

Bit 18: Internal tamper 3 interrupt enable.

ITAMP4IE

Bit 19: Internal tamper 4 interrupt enable.

ITAMP5IE

Bit 20: Internal tamper 5 interrupt enable.

ITAMP6IE

Bit 21: Internal tamper 6 interrupt enable.

ITAMP7IE

Bit 22: Internal tamper 7 interrupt enable.

ITAMP8IE

Bit 23: Internal tamper 8 interrupt enable.

ITAMP9IE

Bit 24: Internal tamper 9 interrupt enable.

ITAMP11IE

Bit 26: Internal tamper 11 interrupt enable.

ITAMP12IE

Bit 27: Internal tamper 12 interrupt enable.

ITAMP13IE

Bit 28: Internal tamper 13 interrupt enable.

ITAMP15IE

Bit 30: Internal tamper 15 interrupt enable.

SR

TAMP status register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

20/21 fields covered.

Toggle fields

TAMP1F

Bit 0: TAMP1 detection flag.

TAMP2F

Bit 1: TAMP2 detection flag.

TAMP3F

Bit 2: TAMP3 detection flag.

TAMP4F

Bit 3: TAMP4 detection flag.

TAMP5F

Bit 4: TAMP5 detection flag.

TAMP6F

Bit 5: TAMP6 detection flag.

TAMP7F

Bit 6: TAMP7 detection flag.

TAMP8F

Bit 7: TAMP8 detection flag.

ITAMP1F

Bit 16: Internal tamper 1 flag.

ITAMP2F

Bit 17: Internal tamper 2 flag.

ITAMP3F

Bit 18: Internal tamper 3 flag.

ITAMP4F

Bit 19: Internal tamper 4 flag.

ITAMP5F

Bit 20: Internal tamper 5 flag.

ITAMP6F

Bit 21: Internal tamper 6 flag.

ITAMP7F

Bit 22: Internal tamper 7 flag.

ITAMP8F

Bit 23: Internal tamper 8 flag.

ITAMP9F

Bit 24: Internal tamper 9 flag.

ITAMP11F

Bit 26: Internal tamper 11 flag.

ITAMP12F

Bit 27: Internal tamper 12 flag.

ITAMP13F

Bit 28: Internal tamper 13 flag.

ITAMP15F

Bit 30: Internal tamper 15 flag.

MISR

TAMP nonsecure masked interrupt status register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

21/21 fields covered.

Toggle fields

TAMP1MF

Bit 0: TAMP1 nonsecure interrupt masked flag.

TAMP2MF

Bit 1: TAMP2 nonsecure interrupt masked flag.

TAMP3MF

Bit 2: TAMP3 nonsecure interrupt masked flag.

TAMP4MF

Bit 3: TAMP4 nonsecure interrupt masked flag.

TAMP5MF

Bit 4: TAMP5 nonsecure interrupt masked flag.

TAMP6MF

Bit 5: TAMP6 nonsecure interrupt masked flag.

TAMP7MF

Bit 6: TAMP7 nonsecure interrupt masked flag.

TAMP8MF

Bit 7: TAMP8 nonsecure interrupt masked flag.

ITAMP1MF

Bit 16: Internal tamper 1 nonsecure interrupt masked flag.

ITAMP2MF

Bit 17: Internal tamper 2 nonsecure interrupt masked flag.

ITAMP3MF

Bit 18: Internal tamper 3 nonsecure interrupt masked flag.

ITAMP4MF

Bit 19: Internal tamper 4 nonsecure interrupt masked flag.

ITAMP5MF

Bit 20: Internal tamper 5 nonsecure interrupt masked flag.

ITAMP6MF

Bit 21: Internal tamper 6 nonsecure interrupt masked flag.

ITAMP7MF

Bit 22: Internal tamper 7 tamper nonsecure interrupt masked flag.

ITAMP8MF

Bit 23: Internal tamper 8 nonsecure interrupt masked flag.

ITAMP9MF

Bit 24: internal tamper 9 nonsecure interrupt masked flag.

ITAMP11MF

Bit 26: internal tamper 11 nonsecure interrupt masked flag.

ITAMP12MF

Bit 27: internal tamper 12 nonsecure interrupt masked flag.

ITAMP13MF

Bit 28: internal tamper 13 nonsecure interrupt masked flag.

ITAMP15MF

Bit 30: internal tamper 15 nonsecure interrupt masked flag.

SMISR

TAMP secure masked interrupt status register

Offset: 0x38, size: 32, reset: 0x00000000, access: read-only

21/21 fields covered.

Toggle fields

TAMP1MF

Bit 0: TAMP1 secure interrupt masked flag.

TAMP2MF

Bit 1: TAMP2 secure interrupt masked flag.

TAMP3MF

Bit 2: TAMP3 secure interrupt masked flag.

TAMP4MF

Bit 3: TAMP4 secure interrupt masked flag.

TAMP5MF

Bit 4: TAMP5 secure interrupt masked flag.

TAMP6MF

Bit 5: TAMP6 secure interrupt masked flag.

TAMP7MF

Bit 6: TAMP7 secure interrupt masked flag.

TAMP8MF

Bit 7: TAMP8 secure interrupt masked flag.

ITAMP1MF

Bit 16: Internal tamper 1 secure interrupt masked flag.

ITAMP2MF

Bit 17: Internal tamper 2 secure interrupt masked flag.

ITAMP3MF

Bit 18: Internal tamper 3 secure interrupt masked flag.

ITAMP4MF

Bit 19: Internal tamper 4 secure interrupt masked flag.

ITAMP5MF

Bit 20: Internal tamper 5 secure interrupt masked flag.

ITAMP6MF

Bit 21: Internal tamper 6 secure interrupt masked flag.

ITAMP7MF

Bit 22: Internal tamper 7 secure interrupt masked flag.

ITAMP8MF

Bit 23: Internal tamper 8 secure interrupt masked flag.

ITAMP9MF

Bit 24: internal tamper 9 secure interrupt masked flag.

ITAMP11MF

Bit 26: internal tamper 11 secure interrupt masked flag.

ITAMP12MF

Bit 27: internal tamper 12 secure interrupt masked flag.

ITAMP13MF

Bit 28: internal tamper 13 secure interrupt masked flag.

ITAMP15MF

Bit 30: internal tamper 15 secure interrupt masked flag.

SCR

TAMP status clear register

Offset: 0x3c, size: 32, reset: 0x00000000, access: write-only

0/21 fields covered.

Toggle fields

CTAMP1F

Bit 0: Clear TAMP1 detection flag.

CTAMP2F

Bit 1: Clear TAMP2 detection flag.

CTAMP3F

Bit 2: Clear TAMP3 detection flag.

CTAMP4F

Bit 3: Clear TAMP4 detection flag.

CTAMP5F

Bit 4: Clear TAMP5 detection flag.

CTAMP6F

Bit 5: Clear TAMP6 detection flag.

CTAMP7F

Bit 6: Clear TAMP7 detection flag.

CTAMP8F

Bit 7: Clear TAMP8 detection flag.

CITAMP1F

Bit 16: Clear ITAMP1 detection flag.

CITAMP2F

Bit 17: Clear ITAMP2 detection flag.

CITAMP3F

Bit 18: Clear ITAMP3 detection flag.

CITAMP4F

Bit 19: Clear ITAMP4 detection flag.

CITAMP5F

Bit 20: Clear ITAMP5 detection flag.

CITAMP6F

Bit 21: Clear ITAMP6 detection flag.

CITAMP7F

Bit 22: Clear ITAMP7 detection flag.

CITAMP8F

Bit 23: Clear ITAMP8 detection flag.

CITAMP9F

Bit 24: Clear ITAMP9 detection flag.

CITAMP11F

Bit 26: Clear ITAMP11 detection flag.

CITAMP12F

Bit 27: Clear ITAMP12 detection flag.

CITAMP13F

Bit 28: Clear ITAMP13 detection flag.

CITAMP15F

Bit 30: Clear ITAMP15 detection flag.

COUNT1R

TAMP monotonic counter 1 register

Offset: 0x40, 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
COUNT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COUNT
r
Toggle fields

COUNT

Bits 0-31: This register is read-only only and is incremented by one when a write access is done to this register..

OR

TAMP option register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN4_RMP
rw
IN3_RMP
rw
IN2_RMP
rw
OUT5_RMP
rw
OUT3_RMP
rw
Toggle fields

OUT3_RMP

Bits 1-2: TAMP_OUT3 mapping.

OUT5_RMP

Bit 3: TAMP_OUT5 mapping.

IN2_RMP

Bit 8: TAMP_IN2 mapping.

IN3_RMP

Bit 9: TAMP_IN3 mapping.

IN4_RMP

Bit 10: TAMP_IN4 mapping.

RPCFGR

TAMP resources protection configuration register

Offset: 0x54, 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
RPCFG0
rw
Toggle fields

RPCFG0

Bit 0: Configurable resource 0 protection.

BKP0R

TAMP backup 0 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP1R

TAMP backup 1 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP2R

TAMP backup 2 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP3R

TAMP backup 3 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP4R

TAMP backup 4 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP5R

TAMP backup 5 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP6R

TAMP backup 6 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP7R

TAMP backup 7 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP8R

TAMP backup 8 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP9R

TAMP backup 9 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP10R

TAMP backup 10 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP11R

TAMP backup 11 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP12R

TAMP backup 12 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP13R

TAMP backup 13 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP14R

TAMP backup 14 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP15R

TAMP backup 15 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP16R

TAMP backup 16 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP17R

TAMP backup 17 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP18R

TAMP backup 18 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP19R

TAMP backup 19 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP20R

TAMP backup 20 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP21R

TAMP backup 21 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP22R

TAMP backup 22 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP23R

TAMP backup 23 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP24R

TAMP backup 24 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP25R

TAMP backup 25 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP26R

TAMP backup 26 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP27R

TAMP backup 27 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP28R

TAMP backup 28 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP29R

TAMP backup 29 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP30R

TAMP backup 30 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP31R

TAMP backup 31 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

TAMP_S

0x54007c00: TAMP register block

66/240 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0xc FLTCR
0x10 ATCR1
0x14 ATSEEDR
0x18 ATOR
0x1c ATCR2
0x20 SECCFGR
0x24 PRIVCFGR
0x2c IER
0x30 SR
0x34 MISR
0x38 SMISR
0x3c SCR
0x40 COUNT1R
0x50 OR
0x54 RPCFGR
0x100 BKP0R
0x104 BKP1R
0x108 BKP2R
0x10c BKP3R
0x110 BKP4R
0x114 BKP5R
0x118 BKP6R
0x11c BKP7R
0x120 BKP8R
0x124 BKP9R
0x128 BKP10R
0x12c BKP11R
0x130 BKP12R
0x134 BKP13R
0x138 BKP14R
0x13c BKP15R
0x140 BKP16R
0x144 BKP17R
0x148 BKP18R
0x14c BKP19R
0x150 BKP20R
0x154 BKP21R
0x158 BKP22R
0x15c BKP23R
0x160 BKP24R
0x164 BKP25R
0x168 BKP26R
0x16c BKP27R
0x170 BKP28R
0x174 BKP29R
0x178 BKP30R
0x17c BKP31R
Toggle registers

CR1

TAMP control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ITAMP15E
rw
ITAMP13E
rw
ITAMP12E
rw
ITAMP11E
rw
ITAMP9E
rw
ITAMP8E
rw
ITAMP7E
rw
ITAMP6E
rw
ITAMP5E
rw
ITAMP4E
rw
ITAMP3E
rw
ITAMP2E
rw
ITAMP1E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAMP8E
rw
TAMP7E
rw
TAMP6E
rw
TAMP5E
rw
TAMP4E
rw
TAMP3E
rw
TAMP2E
rw
TAMP1E
rw
Toggle fields

TAMP1E

Bit 0: Tamper detection on TAMP_IN1 enable.

TAMP2E

Bit 1: Tamper detection on TAMP_IN2 enableless thansup>(1)less than/sup>.

TAMP3E

Bit 2: Tamper detection on TAMP_IN3 enableless thansup>(1)less than/sup>.

TAMP4E

Bit 3: Tamper detection on TAMP_IN4 enableless thansup>(1)less than/sup>.

TAMP5E

Bit 4: Tamper detection on TAMP_IN5 enableless thansup>(1)less than/sup>.

TAMP6E

Bit 5: Tamper detection on TAMP_IN6 enableless thansup>(1)less than/sup>.

TAMP7E

Bit 6: Tamper detection on TAMP_IN7 enableless thansup>(1)less than/sup>.

TAMP8E

Bit 7: Tamper detection on TAMP_IN8 enableless thansup>(1)less than/sup>.

ITAMP1E

Bit 16: Internal tamper 1 enable.

ITAMP2E

Bit 17: Internal tamper 2 enable.

ITAMP3E

Bit 18: Internal tamper 3 enable.

ITAMP4E

Bit 19: Internal tamper 4 enable.

ITAMP5E

Bit 20: Internal tamper 5 enable.

ITAMP6E

Bit 21: Internal tamper 6 enable.

ITAMP7E

Bit 22: Internal tamper 7 enable.

ITAMP8E

Bit 23: Internal tamper 8 enable.

ITAMP9E

Bit 24: Internal tamper 9 enable.

ITAMP11E

Bit 26: Internal tamper 11 enable.

ITAMP12E

Bit 27: Internal tamper 12 enable.

ITAMP13E

Bit 28: Internal tamper 13 enable.

ITAMP15E

Bit 30: Internal tamper 15 enable.

CR2

TAMP control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

Toggle fields

TAMP1POM

Bit 0: Tamper 1 potential mode.

TAMP2POM

Bit 1: Tamper 2 potential mode.

TAMP3POM

Bit 2: Tamper 3 potential mode.

TAMP4POM

Bit 3: Tamper 4 potential mode.

TAMP5POM

Bit 4: Tamper 5 potential mode.

TAMP6POM

Bit 5: Tamper 6 potential mode.

TAMP7POM

Bit 6: Tamper 7 potential mode.

TAMP8POM

Bit 7: Tamper 8 potential mode.

TAMP1MSK

Bit 16: Tamper 1 mask.

TAMP2MSK

Bit 17: Tamper 2 mask.

TAMP3MSK

Bit 18: Tamper 3 mask.

BKBLOCK

Bit 22: Backup registers and device secretsless thansup>(1)less than/sup> access blocked.

BKERASE

Bit 23: Backup registers and device secretsless thansup>(1)less than/sup> erase.

TAMP1TRG

Bit 24: Active level for tamper 1 input.

TAMP2TRG

Bit 25: Active level for tamper 2 input.

TAMP3TRG

Bit 26: Active level for tamper 3 input.

TAMP4TRG

Bit 27: Active level for tamper 4 input (active mode disabled).

TAMP5TRG

Bit 28: Active level for tamper 5 input (active mode disabled).

TAMP6TRG

Bit 29: Active level for tamper 6 input (active mode disabled).

TAMP7TRG

Bit 30: Active level for tamper 7 input (active mode disabled).

TAMP8TRG

Bit 31: Active level for tamper 8 input (active mode disabled).

CR3

TAMP control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

Toggle fields

ITAMP1POM

Bit 0: Internal tamper 1 potential mode.

ITAMP2POM

Bit 1: Internal tamper 2 potential mode.

ITAMP3POM

Bit 2: Internal tamper 3 potential mode.

ITAMP4POM

Bit 3: Internal tamper 4 potential mode.

ITAMP5POM

Bit 4: Internal tamper 5 potential mode.

ITAMP6POM

Bit 5: Internal tamper 6 potential mode.

ITAMP7POM

Bit 6: Internal tamper 7 potential mode.

ITAMP8POM

Bit 7: Internal tamper 8 potential mode.

ITAMP9POM

Bit 8: Internal tamper 9 potential mode.

ITAMP11POM

Bit 10: Internal tamper 11 potential mode.

ITAMP12POM

Bit 11: Internal tamper 12 potential mode.

ITAMP13POM

Bit 12: Internal tamper 13 potential mode.

ITAMP15POM

Bit 14: Internal tamper 15 potential mode.

FLTCR

TAMP filter control register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAMPPUDIS
rw
TAMPPRCH
rw
TAMPFLT
rw
TAMPFREQ
rw
Toggle fields

TAMPFREQ

Bits 0-2: Tamper sampling frequency.

TAMPFLT

Bits 3-4: TAMP_INx filter count.

TAMPPRCH

Bits 5-6: TAMP_INx precharge duration.

TAMPPUDIS

Bit 7: TAMP_INx pull-up disable.

ATCR1

TAMP active tamper control register 1

Offset: 0x10, size: 32, reset: 0x00070000, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLTEN
rw
ATOSHARE
rw
ATPER
rw
ATCKSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATOSEL4
rw
ATOSEL3
rw
ATOSEL2
rw
ATOSEL1
rw
TAMP8AM
rw
TAMP7AM
rw
TAMP6AM
rw
TAMP5AM
rw
TAMP4AM
rw
TAMP3AM
rw
TAMP2AM
rw
TAMP1AM
rw
Toggle fields

TAMP1AM

Bit 0: Tamper 1 active mode.

TAMP2AM

Bit 1: Tamper 2 active mode.

TAMP3AM

Bit 2: Tamper 3 active mode.

TAMP4AM

Bit 3: Tamper 4 active mode.

TAMP5AM

Bit 4: Tamper 5 active mode.

TAMP6AM

Bit 5: Tamper 6 active mode.

TAMP7AM

Bit 6: Tamper 7 active mode.

TAMP8AM

Bit 7: Tamper 8 active mode.

ATOSEL1

Bits 8-9: Active tamper shared output 1 selection.

ATOSEL2

Bits 10-11: Active tamper shared output 2 selection.

ATOSEL3

Bits 12-13: Active tamper shared output 3 selection.

ATOSEL4

Bits 14-15: Active tamper shared output 4 selection.

ATCKSEL

Bits 16-19: Active tamper RTC asynchronous prescaler clock selection.

ATPER

Bits 24-26: Active tamper output change period.

ATOSHARE

Bit 30: Active tamper output sharing.

FLTEN

Bit 31: Active tamper filter enable.

ATSEEDR

TAMP active tamper seed register

Offset: 0x14, 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
SEED
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEED
w
Toggle fields

SEED

Bits 0-31: Pseudo-random generator seed value.

ATOR

TAMP active tamper output register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INITS
r
SEEDF
r
PRNG
r
Toggle fields

PRNG

Bits 0-7: Pseudo-random generator value.

SEEDF

Bit 14: Seed running flag.

INITS

Bit 15: Active tamper initialization status.

ATCR2

TAMP active tamper control register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ATOSEL8
rw
ATOSEL7
rw
ATOSEL6
rw
ATOSEL5
rw
ATOSEL4
rw
ATOSEL3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ATOSEL3
rw
ATOSEL2
rw
ATOSEL1
rw
Toggle fields

ATOSEL1

Bits 8-10: Active tamper shared output 1 selection.

ATOSEL2

Bits 11-13: Active tamper shared output 2 selection.

ATOSEL3

Bits 14-16: Active tamper shared output 3 selection.

ATOSEL4

Bits 17-19: Active tamper shared output 4 selection.

ATOSEL5

Bits 20-22: Active tamper shared output 5 selection.

ATOSEL6

Bits 23-25: Active tamper shared output 6 selection.

ATOSEL7

Bits 26-28: Active tamper shared output 7 selection.

ATOSEL8

Bits 29-31: Active tamper shared output 8 selection.

SECCFGR

TAMP secure configuration register

Offset: 0x20, 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
TAMPSEC
rw
BHKLOCK
rw
BKPWSEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT1SEC
rw
BKPRWSEC
rw
Toggle fields

BKPRWSEC

Bits 0-7: Backup registers read/write protection offset.

CNT1SEC

Bit 15: Monotonic counter 1 secure protection.

BKPWSEC

Bits 16-23: Backup registers write protection offset.

BHKLOCK

Bit 30: Boot hardware key lock.

TAMPSEC

Bit 31: Tamper protection (excluding monotonic counters and backup registers).

PRIVCFGR

TAMP privilege configuration register

Offset: 0x24, 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
TAMPPRIV
rw
BKPWPRIV
rw
BKPRWPRIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT1PRIV
rw
Toggle fields

CNT1PRIV

Bit 15: Monotonic counter 1 privilege protection.

BKPRWPRIV

Bit 29: Backup registers zone 1 privilege protection.

BKPWPRIV

Bit 30: Backup registers zone 2 privilege protection.

TAMPPRIV

Bit 31: Tamper privilege protection (excluding backup registers).

IER

TAMP interrupt enable register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

Toggle fields

TAMP1IE

Bit 0: Tamper 1 interrupt enable.

TAMP2IE

Bit 1: Tamper 2 interrupt enable.

TAMP3IE

Bit 2: Tamper 3 interrupt enable.

TAMP4IE

Bit 3: Tamper 4 interrupt enable.

TAMP5IE

Bit 4: Tamper 5 interrupt enable.

TAMP6IE

Bit 5: Tamper 6 interrupt enable.

TAMP7IE

Bit 6: Tamper 7interrupt enable.

TAMP8IE

Bit 7: Tamper 8 interrupt enable.

ITAMP1IE

Bit 16: Internal tamper 1 interrupt enable.

ITAMP2IE

Bit 17: Internal tamper 2 interrupt enable.

ITAMP3IE

Bit 18: Internal tamper 3 interrupt enable.

ITAMP4IE

Bit 19: Internal tamper 4 interrupt enable.

ITAMP5IE

Bit 20: Internal tamper 5 interrupt enable.

ITAMP6IE

Bit 21: Internal tamper 6 interrupt enable.

ITAMP7IE

Bit 22: Internal tamper 7 interrupt enable.

ITAMP8IE

Bit 23: Internal tamper 8 interrupt enable.

ITAMP9IE

Bit 24: Internal tamper 9 interrupt enable.

ITAMP11IE

Bit 26: Internal tamper 11 interrupt enable.

ITAMP12IE

Bit 27: Internal tamper 12 interrupt enable.

ITAMP13IE

Bit 28: Internal tamper 13 interrupt enable.

ITAMP15IE

Bit 30: Internal tamper 15 interrupt enable.

SR

TAMP status register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

20/21 fields covered.

Toggle fields

TAMP1F

Bit 0: TAMP1 detection flag.

TAMP2F

Bit 1: TAMP2 detection flag.

TAMP3F

Bit 2: TAMP3 detection flag.

TAMP4F

Bit 3: TAMP4 detection flag.

TAMP5F

Bit 4: TAMP5 detection flag.

TAMP6F

Bit 5: TAMP6 detection flag.

TAMP7F

Bit 6: TAMP7 detection flag.

TAMP8F

Bit 7: TAMP8 detection flag.

ITAMP1F

Bit 16: Internal tamper 1 flag.

ITAMP2F

Bit 17: Internal tamper 2 flag.

ITAMP3F

Bit 18: Internal tamper 3 flag.

ITAMP4F

Bit 19: Internal tamper 4 flag.

ITAMP5F

Bit 20: Internal tamper 5 flag.

ITAMP6F

Bit 21: Internal tamper 6 flag.

ITAMP7F

Bit 22: Internal tamper 7 flag.

ITAMP8F

Bit 23: Internal tamper 8 flag.

ITAMP9F

Bit 24: Internal tamper 9 flag.

ITAMP11F

Bit 26: Internal tamper 11 flag.

ITAMP12F

Bit 27: Internal tamper 12 flag.

ITAMP13F

Bit 28: Internal tamper 13 flag.

ITAMP15F

Bit 30: Internal tamper 15 flag.

MISR

TAMP nonsecure masked interrupt status register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

21/21 fields covered.

Toggle fields

TAMP1MF

Bit 0: TAMP1 nonsecure interrupt masked flag.

TAMP2MF

Bit 1: TAMP2 nonsecure interrupt masked flag.

TAMP3MF

Bit 2: TAMP3 nonsecure interrupt masked flag.

TAMP4MF

Bit 3: TAMP4 nonsecure interrupt masked flag.

TAMP5MF

Bit 4: TAMP5 nonsecure interrupt masked flag.

TAMP6MF

Bit 5: TAMP6 nonsecure interrupt masked flag.

TAMP7MF

Bit 6: TAMP7 nonsecure interrupt masked flag.

TAMP8MF

Bit 7: TAMP8 nonsecure interrupt masked flag.

ITAMP1MF

Bit 16: Internal tamper 1 nonsecure interrupt masked flag.

ITAMP2MF

Bit 17: Internal tamper 2 nonsecure interrupt masked flag.

ITAMP3MF

Bit 18: Internal tamper 3 nonsecure interrupt masked flag.

ITAMP4MF

Bit 19: Internal tamper 4 nonsecure interrupt masked flag.

ITAMP5MF

Bit 20: Internal tamper 5 nonsecure interrupt masked flag.

ITAMP6MF

Bit 21: Internal tamper 6 nonsecure interrupt masked flag.

ITAMP7MF

Bit 22: Internal tamper 7 tamper nonsecure interrupt masked flag.

ITAMP8MF

Bit 23: Internal tamper 8 nonsecure interrupt masked flag.

ITAMP9MF

Bit 24: internal tamper 9 nonsecure interrupt masked flag.

ITAMP11MF

Bit 26: internal tamper 11 nonsecure interrupt masked flag.

ITAMP12MF

Bit 27: internal tamper 12 nonsecure interrupt masked flag.

ITAMP13MF

Bit 28: internal tamper 13 nonsecure interrupt masked flag.

ITAMP15MF

Bit 30: internal tamper 15 nonsecure interrupt masked flag.

SMISR

TAMP secure masked interrupt status register

Offset: 0x38, size: 32, reset: 0x00000000, access: read-only

21/21 fields covered.

Toggle fields

TAMP1MF

Bit 0: TAMP1 secure interrupt masked flag.

TAMP2MF

Bit 1: TAMP2 secure interrupt masked flag.

TAMP3MF

Bit 2: TAMP3 secure interrupt masked flag.

TAMP4MF

Bit 3: TAMP4 secure interrupt masked flag.

TAMP5MF

Bit 4: TAMP5 secure interrupt masked flag.

TAMP6MF

Bit 5: TAMP6 secure interrupt masked flag.

TAMP7MF

Bit 6: TAMP7 secure interrupt masked flag.

TAMP8MF

Bit 7: TAMP8 secure interrupt masked flag.

ITAMP1MF

Bit 16: Internal tamper 1 secure interrupt masked flag.

ITAMP2MF

Bit 17: Internal tamper 2 secure interrupt masked flag.

ITAMP3MF

Bit 18: Internal tamper 3 secure interrupt masked flag.

ITAMP4MF

Bit 19: Internal tamper 4 secure interrupt masked flag.

ITAMP5MF

Bit 20: Internal tamper 5 secure interrupt masked flag.

ITAMP6MF

Bit 21: Internal tamper 6 secure interrupt masked flag.

ITAMP7MF

Bit 22: Internal tamper 7 secure interrupt masked flag.

ITAMP8MF

Bit 23: Internal tamper 8 secure interrupt masked flag.

ITAMP9MF

Bit 24: internal tamper 9 secure interrupt masked flag.

ITAMP11MF

Bit 26: internal tamper 11 secure interrupt masked flag.

ITAMP12MF

Bit 27: internal tamper 12 secure interrupt masked flag.

ITAMP13MF

Bit 28: internal tamper 13 secure interrupt masked flag.

ITAMP15MF

Bit 30: internal tamper 15 secure interrupt masked flag.

SCR

TAMP status clear register

Offset: 0x3c, size: 32, reset: 0x00000000, access: write-only

0/21 fields covered.

Toggle fields

CTAMP1F

Bit 0: Clear TAMP1 detection flag.

CTAMP2F

Bit 1: Clear TAMP2 detection flag.

CTAMP3F

Bit 2: Clear TAMP3 detection flag.

CTAMP4F

Bit 3: Clear TAMP4 detection flag.

CTAMP5F

Bit 4: Clear TAMP5 detection flag.

CTAMP6F

Bit 5: Clear TAMP6 detection flag.

CTAMP7F

Bit 6: Clear TAMP7 detection flag.

CTAMP8F

Bit 7: Clear TAMP8 detection flag.

CITAMP1F

Bit 16: Clear ITAMP1 detection flag.

CITAMP2F

Bit 17: Clear ITAMP2 detection flag.

CITAMP3F

Bit 18: Clear ITAMP3 detection flag.

CITAMP4F

Bit 19: Clear ITAMP4 detection flag.

CITAMP5F

Bit 20: Clear ITAMP5 detection flag.

CITAMP6F

Bit 21: Clear ITAMP6 detection flag.

CITAMP7F

Bit 22: Clear ITAMP7 detection flag.

CITAMP8F

Bit 23: Clear ITAMP8 detection flag.

CITAMP9F

Bit 24: Clear ITAMP9 detection flag.

CITAMP11F

Bit 26: Clear ITAMP11 detection flag.

CITAMP12F

Bit 27: Clear ITAMP12 detection flag.

CITAMP13F

Bit 28: Clear ITAMP13 detection flag.

CITAMP15F

Bit 30: Clear ITAMP15 detection flag.

COUNT1R

TAMP monotonic counter 1 register

Offset: 0x40, 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
COUNT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COUNT
r
Toggle fields

COUNT

Bits 0-31: This register is read-only only and is incremented by one when a write access is done to this register..

OR

TAMP option register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN4_RMP
rw
IN3_RMP
rw
IN2_RMP
rw
OUT5_RMP
rw
OUT3_RMP
rw
Toggle fields

OUT3_RMP

Bits 1-2: TAMP_OUT3 mapping.

OUT5_RMP

Bit 3: TAMP_OUT5 mapping.

IN2_RMP

Bit 8: TAMP_IN2 mapping.

IN3_RMP

Bit 9: TAMP_IN3 mapping.

IN4_RMP

Bit 10: TAMP_IN4 mapping.

RPCFGR

TAMP resources protection configuration register

Offset: 0x54, 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
RPCFG0
rw
Toggle fields

RPCFG0

Bit 0: Configurable resource 0 protection.

BKP0R

TAMP backup 0 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP1R

TAMP backup 1 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP2R

TAMP backup 2 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP3R

TAMP backup 3 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP4R

TAMP backup 4 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP5R

TAMP backup 5 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP6R

TAMP backup 6 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP7R

TAMP backup 7 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP8R

TAMP backup 8 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP9R

TAMP backup 9 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP10R

TAMP backup 10 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP11R

TAMP backup 11 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP12R

TAMP backup 12 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP13R

TAMP backup 13 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP14R

TAMP backup 14 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP15R

TAMP backup 15 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP16R

TAMP backup 16 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP17R

TAMP backup 17 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP18R

TAMP backup 18 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP19R

TAMP backup 19 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP20R

TAMP backup 20 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP21R

TAMP backup 21 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP22R

TAMP backup 22 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP23R

TAMP backup 23 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP24R

TAMP backup 24 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP25R

TAMP backup 25 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP26R

TAMP backup 26 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP27R

TAMP backup 27 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP28R

TAMP backup 28 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP29R

TAMP backup 29 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP30R

TAMP backup 30 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

BKP31R

TAMP backup 31 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
BKP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKP
rw
Toggle fields

BKP

Bits 0-31: The application can write or read data to and from these registers..

TIM1

0x40012c00: TIM1 address block description

181/231 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x30 (16-bit) RCR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x44 BDTR
0x48 CCR5
0x4c CCR6
0x50 CCMR3_Output
0x54 DTR2
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM1 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM1 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

16/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
MMS2
rw
OIS[6]
rw
OIS[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS[4]N
rw
OIS[4]
rw
OIS[3]N
rw
OIS[3]
rw
OIS[2]N
rw
OIS[2]
rw
OIS[1]N
rw
OIS[1]
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
Toggle fields

CCPC

Bit 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

CCUS

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

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

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

OIS[1]N

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

OIS[2]

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

OIS[2]N

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

OIS[3]

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

OIS[3]N

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

OIS[4]

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

OIS[4]N

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

OIS[5]

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

OIS[6]

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

MMS2

Bits 20-23: Master mode selection 2.

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM1 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM1 DMA/interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

COMIE

Bit 5: COM interrupt enable.

Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

BIE

Bit 7: Break interrupt enable.

Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

COMDE

Bit 13: COM DMA request enable.

Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM1 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
CC6IF
r/w0c
CC5IF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBIF
r/w0c
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
B2IF
r/w0c
BIF
r/w0c
TIF
r/w0c
COMIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

COMIF

Bit 5: COM interrupt flag.

Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

BIF

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

B2IF

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

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

SBIF

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

CC5IF

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.

CC6IF

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.

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM1 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B2G
w
BG
w
TG
w
COMG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

COMG

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

TG

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.

BG

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

B2G

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

CCMR1_Input

TIM1 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM1 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM1 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM1 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM1 capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC[6]P
rw
CC[6]E
rw
CC[5]P
rw
CC[5]E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]NP
rw
CC[4]NE
rw
CC[4]P
rw
CC[4]E
rw
CC[3]NP
rw
CC[3]NE
rw
CC[3]P
rw
CC[3]E
rw
CC[2]NP
rw
CC[2]NE
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NE

Bit 6: Capture/Compare 2 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NE

Bit 10: Capture/Compare 3 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NE

Bit 14: Capture/Compare 4 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[5]E

Bit 16: Capture/Compare 5 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[5]P

Bit 17: Capture/Compare 5 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[6]E

Bit 20: Capture/Compare 6 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[6]P

Bit 21: Capture/Compare 6 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CNT

TIM1 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM1 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM1 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

RCR

TIM1 repetition counter register

Offset: 0x30, 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
REP
rw
Toggle fields

REP

Bits 0-15: Repetition counter reload 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

BDTR

TIM1 break and dead-time register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

10/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BK2BID
rw
BKBID
rw
BK2DSRM
rw
BKDSRM
rw
BK2P
rw
BK2E
rw
BK2F
rw
BKF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOE
rw
AOE
rw
BKP
rw
BKE
rw
OSSR
rw
OSSI
rw
LOCK
rw
DTG
rw
Toggle fields

DTG

Bits 0-7: Dead-time generator setup.

Allowed values: 0x0-0xff

LOCK

Bits 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

OSSI

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

OSSR

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

BKE

Bit 12: Break enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BKP

Bit 13: Break polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

AOE

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)

MOE

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

BKF

Bits 16-19: Break filter.

BK2F

Bits 20-23: Break 2 filter.

BK2E

Bit 24: Break 2 enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BK2P

Bit 25: Break 2 polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

BKDSRM

Bit 26: Break disarm.

BK2DSRM

Bit 27: Break2 disarm.

BKBID

Bit 28: Break bidirectional.

BK2BID

Bit 29: Break2 bidirectional.

CCR5

capture/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
GC5C3
rw
GC5C2
rw
GC5C1
rw
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

GC5C1

Bit 29: Group channel 5 and channel 1.

GC5C2

Bit 30: Group channel 5 and channel 2.

GC5C3

Bit 31: Group channel 5 and channel 3.

CCR6

capture/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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

CCMR3_Output

TIM1 capture/compare mode register 3

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[6]M_3
rw
OC[5]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[6]CE
rw
OC[6]M
rw
OC[6]PE
rw
OC[6]FE
rw
OC[5]CE
rw
OC[5]M
rw
OC[5]PE
rw
OC[5]FE
rw
Toggle fields

OC[5]FE

Bit 2: Output compare 5 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[5]PE

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

OC[5]M

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

OC[5]CE

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

OC[6]FE

Bit 10: Output compare 6 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[6]PE

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

OC[6]M

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

OC[6]CE

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

OC[5]M_3

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)

OC[6]M_3

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)

DTR2

TIM1 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
DTPE
rw
DTAE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTGF
rw
Toggle fields

DTGF

Bits 0-7: Dead-time falling edge generator setup.

DTAE

Bit 16: Deadtime asymmetric enable.

DTPE

Bit 17: Deadtime preload enable.

ECR

TIM1 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM1 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM1 alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
BKCMP4P
rw
BKCMP3P
rw
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKCMP8E
rw
BKCMP7E
rw
BKCMP6E
rw
BKCMP5E
rw
BKCMP4E
rw
BKCMP3E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: TIMx_BKIN input enable.

BKCMP1E

Bit 1: tim_brk_cmp1 enable.

BKCMP2E

Bit 2: tim_brk_cmp2 enable.

BKCMP3E

Bit 3: tim_brk_cmp3 enable.

BKCMP4E

Bit 4: tim_brk_cmp4 enable.

BKCMP5E

Bit 5: tim_brk_cmp5 enable.

BKCMP6E

Bit 6: tim_brk_cmp6 enable.

BKCMP7E

Bit 7: tim_brk_cmp7 enable.

BKCMP8E

Bit 8: tim_brk_cmp8 enable.

BKINP

Bit 9: TIMx_BKIN input polarity.

BKCMP1P

Bit 10: tim_brk_cmp1 input polarity.

BKCMP2P

Bit 11: tim_brk_cmp2 input polarity.

BKCMP3P

Bit 12: tim_brk_cmp3 input polarity.

BKCMP4P

Bit 13: tim_brk_cmp4 input polarity.

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM1 alternate function register 2

Offset: 0x64, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BK2CMP4P
rw
BK2CMP3P
rw
BK2CMP2P
rw
BK2CMP1P
rw
BK2INP
rw
BK2CMP8E
rw
BK2CMP7E
rw
BK2CMP6E
rw
BK2CMP5E
rw
BK2CMP4E
rw
BK2CMP3E
rw
BK2CMP2E
rw
BK2CMP1E
rw
BK2INE
rw
Toggle fields

BK2INE

Bit 0: TIMx_BKIN2 input enable.

BK2CMP1E

Bit 1: tim_brk2_cmp1 enable.

BK2CMP2E

Bit 2: tim_brk2_cmp2 enable.

BK2CMP3E

Bit 3: tim_brk2_cmp3 enable.

BK2CMP4E

Bit 4: tim_brk2_cmp4 enable.

BK2CMP5E

Bit 5: tim_brk2_cmp5 enable.

BK2CMP6E

Bit 6: tim_brk2_cmp6 enable.

BK2CMP7E

Bit 7: tim_brk2_cmp7 enable.

BK2CMP8E

Bit 8: tim_brk2_cmp8 enable.

BK2INP

Bit 9: TIMx_BKIN2 input polarity.

BK2CMP1P

Bit 10: tim_brk2_cmp1 input polarity.

BK2CMP2P

Bit 11: tim_brk2_cmp2 input polarity.

BK2CMP3P

Bit 12: tim_brk2_cmp3 input polarity.

BK2CMP4P

Bit 13: tim_brk2_cmp4 input polarity.

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM1 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM1 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM15

0x40014000: TIM15 address block description

53/113 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 (16-bit) CR2
0x8 SMCR
0xc (16-bit) DIER
0x10 (16-bit) SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x30 (16-bit) RCR
0x34 CCR[1]
0x38 CCR[2]
0x44 BDTR
0x54 DTR2
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM15 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM15 control register 2

Offset: 0x4, size: 16, reset: 0x00000000, access: read-write

3/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS[2]
rw
OIS[1]N
rw
OIS[1]
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
Toggle fields

CCPC

Bit 0: Capture/compare preloaded control.

CCUS

Bit 2: Capture/compare control update selection.

CCDS

Bit 3: Capture/compare DMA selection.

MMS

Bits 4-6: Master mode selection.

TI1S

Bit 7: tim_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

OIS[1]N

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

OIS[2]

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

SMCR

TIM15 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

MSM

Bit 7: Master/slave mode.

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

SMSPE

Bit 24: SMS preload enable.

DIER

TIM15 DMA/interrupt enable register

Offset: 0xc, size: 16, reset: 0x00000000, access: read-write

5/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

COMIE

Bit 5: COM interrupt enable.

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

BIE

Bit 7: Break interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

COMDE

Bit 13: COM DMA request enable.

TDE

Bit 14: Trigger DMA request enable.

SR

TIM15 status register

Offset: 0x10, size: 16, reset: 0x00000000, access: read-write

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[2]OF
r/w0c
CC[1]OF
r/w0c
BIF
rw
TIF
r/w0c
COMIF
rw
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

COMIF

Bit 5: COM interrupt flag.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

BIF

Bit 7: Break interrupt flag.

CC[1]OF

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

CC[2]OF

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

EGR

TIM15 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: read-write

4/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BG
w
TG
w
COMG
rw
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

COMG

Bit 5: Capture/Compare control update generation.

TG

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.

BG

Bit 7: Break generation.

CCMR1_Input

TIM15 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM15 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

10/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

Bit 7: Output compare 1 clear enable.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

Bit 15: Output compare 2 clear enable.

OC[1]M_3

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)

OC[2]M_3

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)

CCER

TIM15 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

5/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[2]NP
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CNT

TIM15 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF Copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM15 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM15 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

RCR

TIM15 repetition counter register

Offset: 0x30, size: 16, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter reload 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

BDTR

TIM15 break and dead-time register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BKBID
rw
BKDSRM
rw
BKF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOE
rw
AOE
rw
BKP
rw
BKE
rw
OSSR
rw
OSSI
rw
LOCK
rw
DTG
rw
Toggle fields

DTG

Bits 0-7: Dead-time generator setup.

LOCK

Bits 8-9: Lock configuration.

OSSI

Bit 10: Off-state selection for Idle mode.

OSSR

Bit 11: Off-state selection for Run mode.

BKE

Bit 12: Break enable.

BKP

Bit 13: Break polarity.

AOE

Bit 14: Automatic output enable.

MOE

Bit 15: Main output enable.

BKF

Bits 16-19: Break filter.

BKDSRM

Bit 26: Break disarm.

BKBID

Bit 28: Break bidirectional.

DTR2

TIM15 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
DTPE
rw
DTAE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTGF
rw
Toggle fields

DTGF

Bits 0-7: Dead-time falling edge generator setup.

DTAE

Bit 16: Deadtime asymmetric enable.

DTPE

Bit 17: Deadtime preload enable.

TISEL

TIM15 input selection register

Offset: 0x5c, 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
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: selects tim_ti1_in[15:0] input.

TI2SEL

Bits 8-11: selects tim_ti2_in[15:0] input.

AF1

TIM15 alternate function register 1

Offset: 0x60, size: 32, reset: 0x00000001, access: read-write

0/14 fields covered.

Toggle fields

BKINE

Bit 0: TIMx_BKIN input enable.

BKCMP1E

Bit 1: tim_brk_cmp1 enable.

BKCMP2E

Bit 2: tim_brk_cmp2 enable.

BKCMP3E

Bit 3: tim_brk_cmp3 enable.

BKCMP4E

Bit 4: tim_brk_cmp4 enable.

BKCMP5E

Bit 5: tim_brk_cmp5 enable.

BKCMP6E

Bit 6: tim_brk_cmp6 enable.

BKCMP7E

Bit 7: tim_brk_cmp7 enable.

BKCMP8E

Bit 8: tim_brk_cmp8 enable.

BKINP

Bit 9: TIMx_BKIN input polarity.

BKCMP1P

Bit 10: tim_brk_cmp1 input polarity.

BKCMP2P

Bit 11: tim_brk_cmp2 input polarity.

BKCMP3P

Bit 12: tim_brk_cmp3 input polarity.

BKCMP4P

Bit 13: tim_brk_cmp4 input polarity.

AF2

TIM15 alternate function register 2

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

DCR

TIM15 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DBSS

Bits 16-19: DMA burst source selection.

DMAR

TIM15 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM15_S

0x50014000: TIM15 address block description

53/113 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 (16-bit) CR2
0x8 SMCR
0xc (16-bit) DIER
0x10 (16-bit) SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x30 (16-bit) RCR
0x34 CCR[1]
0x38 CCR[2]
0x44 BDTR
0x54 DTR2
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM15 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

8/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM15 control register 2

Offset: 0x4, size: 16, reset: 0x00000000, access: read-write

3/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS[2]
rw
OIS[1]N
rw
OIS[1]
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
Toggle fields

CCPC

Bit 0: Capture/compare preloaded control.

CCUS

Bit 2: Capture/compare control update selection.

CCDS

Bit 3: Capture/compare DMA selection.

MMS

Bits 4-6: Master mode selection.

TI1S

Bit 7: tim_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

OIS[1]N

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

OIS[2]

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

SMCR

TIM15 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

MSM

Bit 7: Master/slave mode.

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

SMSPE

Bit 24: SMS preload enable.

DIER

TIM15 DMA/interrupt enable register

Offset: 0xc, size: 16, reset: 0x00000000, access: read-write

5/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

COMIE

Bit 5: COM interrupt enable.

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

BIE

Bit 7: Break interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

COMDE

Bit 13: COM DMA request enable.

TDE

Bit 14: Trigger DMA request enable.

SR

TIM15 status register

Offset: 0x10, size: 16, reset: 0x00000000, access: read-write

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[2]OF
r/w0c
CC[1]OF
r/w0c
BIF
rw
TIF
r/w0c
COMIF
rw
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

COMIF

Bit 5: COM interrupt flag.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

BIF

Bit 7: Break interrupt flag.

CC[1]OF

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

CC[2]OF

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

EGR

TIM15 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: read-write

4/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BG
w
TG
w
COMG
rw
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

COMG

Bit 5: Capture/Compare control update generation.

TG

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.

BG

Bit 7: Break generation.

CCMR1_Input

TIM15 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM15 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

10/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

Bit 7: Output compare 1 clear enable.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

Bit 15: Output compare 2 clear enable.

OC[1]M_3

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)

OC[2]M_3

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)

CCER

TIM15 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

5/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[2]NP
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CNT

TIM15 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF Copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM15 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM15 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

RCR

TIM15 repetition counter register

Offset: 0x30, size: 16, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter reload 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

BDTR

TIM15 break and dead-time register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BKBID
rw
BKDSRM
rw
BKF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOE
rw
AOE
rw
BKP
rw
BKE
rw
OSSR
rw
OSSI
rw
LOCK
rw
DTG
rw
Toggle fields

DTG

Bits 0-7: Dead-time generator setup.

LOCK

Bits 8-9: Lock configuration.

OSSI

Bit 10: Off-state selection for Idle mode.

OSSR

Bit 11: Off-state selection for Run mode.

BKE

Bit 12: Break enable.

BKP

Bit 13: Break polarity.

AOE

Bit 14: Automatic output enable.

MOE

Bit 15: Main output enable.

BKF

Bits 16-19: Break filter.

BKDSRM

Bit 26: Break disarm.

BKBID

Bit 28: Break bidirectional.

DTR2

TIM15 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
DTPE
rw
DTAE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTGF
rw
Toggle fields

DTGF

Bits 0-7: Dead-time falling edge generator setup.

DTAE

Bit 16: Deadtime asymmetric enable.

DTPE

Bit 17: Deadtime preload enable.

TISEL

TIM15 input selection register

Offset: 0x5c, 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
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: selects tim_ti1_in[15:0] input.

TI2SEL

Bits 8-11: selects tim_ti2_in[15:0] input.

AF1

TIM15 alternate function register 1

Offset: 0x60, size: 32, reset: 0x00000001, access: read-write

0/14 fields covered.

Toggle fields

BKINE

Bit 0: TIMx_BKIN input enable.

BKCMP1E

Bit 1: tim_brk_cmp1 enable.

BKCMP2E

Bit 2: tim_brk_cmp2 enable.

BKCMP3E

Bit 3: tim_brk_cmp3 enable.

BKCMP4E

Bit 4: tim_brk_cmp4 enable.

BKCMP5E

Bit 5: tim_brk_cmp5 enable.

BKCMP6E

Bit 6: tim_brk_cmp6 enable.

BKCMP7E

Bit 7: tim_brk_cmp7 enable.

BKCMP8E

Bit 8: tim_brk_cmp8 enable.

BKINP

Bit 9: TIMx_BKIN input polarity.

BKCMP1P

Bit 10: tim_brk_cmp1 input polarity.

BKCMP2P

Bit 11: tim_brk_cmp2 input polarity.

BKCMP3P

Bit 12: tim_brk_cmp3 input polarity.

BKCMP4P

Bit 13: tim_brk_cmp4 input polarity.

AF2

TIM15 alternate function register 2

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

DCR

TIM15 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DBSS

Bits 16-19: DMA burst source selection.

DMAR

TIM15 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM1_S

0x50012c00: TIM1 address block description

181/231 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x30 (16-bit) RCR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x44 BDTR
0x48 CCR5
0x4c CCR6
0x50 CCMR3_Output
0x54 DTR2
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM1 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM1 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

16/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
MMS2
rw
OIS[6]
rw
OIS[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS[4]N
rw
OIS[4]
rw
OIS[3]N
rw
OIS[3]
rw
OIS[2]N
rw
OIS[2]
rw
OIS[1]N
rw
OIS[1]
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
Toggle fields

CCPC

Bit 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

CCUS

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

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

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

OIS[1]N

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

OIS[2]

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

OIS[2]N

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

OIS[3]

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

OIS[3]N

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

OIS[4]

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

OIS[4]N

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

OIS[5]

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

OIS[6]

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

MMS2

Bits 20-23: Master mode selection 2.

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM1 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM1 DMA/interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

COMIE

Bit 5: COM interrupt enable.

Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

BIE

Bit 7: Break interrupt enable.

Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

COMDE

Bit 13: COM DMA request enable.

Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM1 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
CC6IF
r/w0c
CC5IF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBIF
r/w0c
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
B2IF
r/w0c
BIF
r/w0c
TIF
r/w0c
COMIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

COMIF

Bit 5: COM interrupt flag.

Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

BIF

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

B2IF

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

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

SBIF

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

CC5IF

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.

CC6IF

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.

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM1 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B2G
w
BG
w
TG
w
COMG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

COMG

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

TG

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.

BG

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

B2G

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

CCMR1_Input

TIM1 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM1 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM1 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM1 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM1 capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC[6]P
rw
CC[6]E
rw
CC[5]P
rw
CC[5]E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]NP
rw
CC[4]NE
rw
CC[4]P
rw
CC[4]E
rw
CC[3]NP
rw
CC[3]NE
rw
CC[3]P
rw
CC[3]E
rw
CC[2]NP
rw
CC[2]NE
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NE

Bit 6: Capture/Compare 2 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NE

Bit 10: Capture/Compare 3 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NE

Bit 14: Capture/Compare 4 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[5]E

Bit 16: Capture/Compare 5 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[5]P

Bit 17: Capture/Compare 5 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[6]E

Bit 20: Capture/Compare 6 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[6]P

Bit 21: Capture/Compare 6 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CNT

TIM1 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM1 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM1 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

RCR

TIM1 repetition counter register

Offset: 0x30, 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
REP
rw
Toggle fields

REP

Bits 0-15: Repetition counter reload 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

BDTR

TIM1 break and dead-time register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

10/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BK2BID
rw
BKBID
rw
BK2DSRM
rw
BKDSRM
rw
BK2P
rw
BK2E
rw
BK2F
rw
BKF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOE
rw
AOE
rw
BKP
rw
BKE
rw
OSSR
rw
OSSI
rw
LOCK
rw
DTG
rw
Toggle fields

DTG

Bits 0-7: Dead-time generator setup.

Allowed values: 0x0-0xff

LOCK

Bits 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

OSSI

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

OSSR

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

BKE

Bit 12: Break enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BKP

Bit 13: Break polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

AOE

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)

MOE

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

BKF

Bits 16-19: Break filter.

BK2F

Bits 20-23: Break 2 filter.

BK2E

Bit 24: Break 2 enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BK2P

Bit 25: Break 2 polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

BKDSRM

Bit 26: Break disarm.

BK2DSRM

Bit 27: Break2 disarm.

BKBID

Bit 28: Break bidirectional.

BK2BID

Bit 29: Break2 bidirectional.

CCR5

capture/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
GC5C3
rw
GC5C2
rw
GC5C1
rw
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

GC5C1

Bit 29: Group channel 5 and channel 1.

GC5C2

Bit 30: Group channel 5 and channel 2.

GC5C3

Bit 31: Group channel 5 and channel 3.

CCR6

capture/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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

CCMR3_Output

TIM1 capture/compare mode register 3

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[6]M_3
rw
OC[5]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[6]CE
rw
OC[6]M
rw
OC[6]PE
rw
OC[6]FE
rw
OC[5]CE
rw
OC[5]M
rw
OC[5]PE
rw
OC[5]FE
rw
Toggle fields

OC[5]FE

Bit 2: Output compare 5 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[5]PE

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

OC[5]M

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

OC[5]CE

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

OC[6]FE

Bit 10: Output compare 6 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[6]PE

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

OC[6]M

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

OC[6]CE

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

OC[5]M_3

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)

OC[6]M_3

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)

DTR2

TIM1 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
DTPE
rw
DTAE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTGF
rw
Toggle fields

DTGF

Bits 0-7: Dead-time falling edge generator setup.

DTAE

Bit 16: Deadtime asymmetric enable.

DTPE

Bit 17: Deadtime preload enable.

ECR

TIM1 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM1 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM1 alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
BKCMP4P
rw
BKCMP3P
rw
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKCMP8E
rw
BKCMP7E
rw
BKCMP6E
rw
BKCMP5E
rw
BKCMP4E
rw
BKCMP3E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: TIMx_BKIN input enable.

BKCMP1E

Bit 1: tim_brk_cmp1 enable.

BKCMP2E

Bit 2: tim_brk_cmp2 enable.

BKCMP3E

Bit 3: tim_brk_cmp3 enable.

BKCMP4E

Bit 4: tim_brk_cmp4 enable.

BKCMP5E

Bit 5: tim_brk_cmp5 enable.

BKCMP6E

Bit 6: tim_brk_cmp6 enable.

BKCMP7E

Bit 7: tim_brk_cmp7 enable.

BKCMP8E

Bit 8: tim_brk_cmp8 enable.

BKINP

Bit 9: TIMx_BKIN input polarity.

BKCMP1P

Bit 10: tim_brk_cmp1 input polarity.

BKCMP2P

Bit 11: tim_brk_cmp2 input polarity.

BKCMP3P

Bit 12: tim_brk_cmp3 input polarity.

BKCMP4P

Bit 13: tim_brk_cmp4 input polarity.

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM1 alternate function register 2

Offset: 0x64, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BK2CMP4P
rw
BK2CMP3P
rw
BK2CMP2P
rw
BK2CMP1P
rw
BK2INP
rw
BK2CMP8E
rw
BK2CMP7E
rw
BK2CMP6E
rw
BK2CMP5E
rw
BK2CMP4E
rw
BK2CMP3E
rw
BK2CMP2E
rw
BK2CMP1E
rw
BK2INE
rw
Toggle fields

BK2INE

Bit 0: TIMx_BKIN2 input enable.

BK2CMP1E

Bit 1: tim_brk2_cmp1 enable.

BK2CMP2E

Bit 2: tim_brk2_cmp2 enable.

BK2CMP3E

Bit 3: tim_brk2_cmp3 enable.

BK2CMP4E

Bit 4: tim_brk2_cmp4 enable.

BK2CMP5E

Bit 5: tim_brk2_cmp5 enable.

BK2CMP6E

Bit 6: tim_brk2_cmp6 enable.

BK2CMP7E

Bit 7: tim_brk2_cmp7 enable.

BK2CMP8E

Bit 8: tim_brk2_cmp8 enable.

BK2INP

Bit 9: TIMx_BKIN2 input polarity.

BK2CMP1P

Bit 10: tim_brk2_cmp1 input polarity.

BK2CMP2P

Bit 11: tim_brk2_cmp2 input polarity.

BK2CMP3P

Bit 12: tim_brk2_cmp3 input polarity.

BK2CMP4P

Bit 13: tim_brk2_cmp4 input polarity.

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM1 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM1 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM2

0x40000000: TIM2 address block description

122/136 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM2 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM2 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM2 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM2 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM2 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM2 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM2 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM2 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM2 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM2 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM2 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM2 counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-31: Non-dithering mode (DITHEN = 0) The register holds the counter value. Dithering mode (DITHEN = 1) The register holds the non-dithered part. The fractional part is not available..

Allowed values: 0x0-0xffffffff

UIFCPY_CNT

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

UIFCPY

Bit 31: Read-only copy of the UIF bit of the TIMx_ISR register.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM2 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM2 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-31: Auto-reload value.

Allowed values: 0x0-0xffffffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare value.

Allowed values: 0x0-0xffffffff

ECR

TIM2 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM2 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM2 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM2 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM2 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM2 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM2_S

0x50000000: TIM2 address block description

122/136 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM2 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM2 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM2 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM2 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM2 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM2 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM2 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM2 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM2 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM2 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM2 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM2 counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-31: Non-dithering mode (DITHEN = 0) The register holds the counter value. Dithering mode (DITHEN = 1) The register holds the non-dithered part. The fractional part is not available..

Allowed values: 0x0-0xffffffff

UIFCPY_CNT

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

UIFCPY

Bit 31: Read-only copy of the UIF bit of the TIMx_ISR register.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM2 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM2 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-31: Auto-reload value.

Allowed values: 0x0-0xffffffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare value.

Allowed values: 0x0-0xffffffff

ECR

TIM2 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM2 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM2 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM2 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM2 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM2 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM3

0x40000400: TIM3 address block description

122/135 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM3 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM3 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM3 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM3 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM3 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM3 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM3 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM3 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM3 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM3 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM3 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM3 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
UIFCPY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM3 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM3 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Low Auto-reload value.

Allowed values: 0x0-0xfffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

ECR

TIM3 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM3 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM3 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM3 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM3 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM3 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM3_S

0x50000400: TIM3 address block description

122/135 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM3 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM3 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM3 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM3 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM3 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM3 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM3 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM3 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM3 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM3 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM3 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM3 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
UIFCPY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM3 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM3 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Low Auto-reload value.

Allowed values: 0x0-0xfffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

ECR

TIM3 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM3 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM3 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM3 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM3 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM3 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM4

0x40000800: TIM4 address block description

122/135 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM4 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM4 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM4 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM4 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM4 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM4 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM4 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM4 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM4 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM4 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM4 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM4 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
UIFCPY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM4 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM4 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Low Auto-reload value.

Allowed values: 0x0-0xfffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

ECR

TIM4 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM4 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM4 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM4 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM4 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM4 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM4_S

0x50000800: TIM4 address block description

122/135 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM4 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM4 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM4 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM4 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM4 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM4 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM4 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM4 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM4 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM4 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM4 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM4 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
UIFCPY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM4 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM4 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Low Auto-reload value.

Allowed values: 0x0-0xfffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

ECR

TIM4 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM4 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM4 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM4 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM4 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM4 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM5

0x40000c00: TIM5 address block description

122/136 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM5 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM5 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM5 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM5 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM5 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM5 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM5 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM5 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM5 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM5 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM5 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM5 counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-31: Non-dithering mode (DITHEN = 0) The register holds the counter value. Dithering mode (DITHEN = 1) The register holds the non-dithered part. The fractional part is not available..

Allowed values: 0x0-0xffffffff

UIFCPY_CNT

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

UIFCPY

Bit 31: Read-only copy of the UIF bit of the TIMx_ISR register.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM5 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM5 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-31: Auto-reload value.

Allowed values: 0x0-0xffffffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare value.

Allowed values: 0x0-0xffffffff

ECR

TIM5 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM5 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM5 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM5 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM5 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM5 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM5_S

0x50000c00: TIM5 address block description

122/136 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 (16-bit) CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM5 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering Enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM5 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM5 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM5 DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
TIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM5 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
TIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM5 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

TG

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.

CCMR1_Input

TIM5 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM5 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM5 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM5 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM5 capture/compare enable register

Offset: 0x20, size: 16, reset: 0x00000000, access: read-write

8/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

TIM5 counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-31: Non-dithering mode (DITHEN = 0) The register holds the counter value. Dithering mode (DITHEN = 1) The register holds the non-dithered part. The fractional part is not available..

Allowed values: 0x0-0xffffffff

UIFCPY_CNT

Bit 31: Value depends on IUFREMAP in TIMx_CR1..

UIFCPY

Bit 31: Read-only copy of the UIF bit of the TIMx_ISR register.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM5 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM5 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-31: Auto-reload value.

Allowed values: 0x0-0xffffffff

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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-31: Capture/Compare value.

Allowed values: 0x0-0xffffffff

ECR

TIM5 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM5 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM5 alternate function register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
Toggle fields

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM5 alternate function register 2

Offset: 0x64, 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
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM5 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM5 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM6

0x40001000: TIM6 address block description

16/16 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 (16-bit) CR2
0xc (16-bit) DIER
0x10 (16-bit) SR
0x14 (16-bit) EGR
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
Toggle registers

CR1

TIM6 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
ARPE
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM6 control register 2

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
MMS
rw
Toggle fields

MMS

Bits 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

DIER

TIM6 DMA/Interrupt enable register

Offset: 0xc, size: 16, 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
UDE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

SR

TIM6 status register

Offset: 0x10, 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
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

EGR

TIM6 event generation register

Offset: 0x14, 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
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CNT

TIM6 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM6 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM6 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

TIM6_S

0x50001000: TIM6 address block description

16/16 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 (16-bit) CR2
0xc (16-bit) DIER
0x10 (16-bit) SR
0x14 (16-bit) EGR
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
Toggle registers

CR1

TIM6 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
ARPE
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM6 control register 2

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
MMS
rw
Toggle fields

MMS

Bits 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

DIER

TIM6 DMA/Interrupt enable register

Offset: 0xc, size: 16, 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
UDE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

SR

TIM6 status register

Offset: 0x10, 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
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

EGR

TIM6 event generation register

Offset: 0x14, 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
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CNT

TIM6 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM6 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM6 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

TIM7

0x40001400: TIM7 address block description

16/16 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 (16-bit) CR2
0xc (16-bit) DIER
0x10 (16-bit) SR
0x14 (16-bit) EGR
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
Toggle registers

CR1

TIM6 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
ARPE
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM6 control register 2

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
MMS
rw
Toggle fields

MMS

Bits 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

DIER

TIM6 DMA/Interrupt enable register

Offset: 0xc, size: 16, 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
UDE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

SR

TIM6 status register

Offset: 0x10, 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
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

EGR

TIM6 event generation register

Offset: 0x14, 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
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CNT

TIM6 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM6 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM6 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

TIM7_S

0x50001400: TIM6 address block description

16/16 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 (16-bit) CR2
0xc (16-bit) DIER
0x10 (16-bit) SR
0x14 (16-bit) EGR
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
Toggle registers

CR1

TIM6 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
ARPE
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM6 control register 2

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
MMS
rw
Toggle fields

MMS

Bits 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

DIER

TIM6 DMA/Interrupt enable register

Offset: 0xc, size: 16, 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
UDE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

SR

TIM6 status register

Offset: 0x10, 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
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

EGR

TIM6 event generation register

Offset: 0x14, 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
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CNT

TIM6 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM6 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM6 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

TIM8

0x40013400: TIM8 address block description

181/231 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x30 (16-bit) RCR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x44 BDTR
0x48 CCR5
0x4c CCR6
0x50 CCMR3_Output
0x54 DTR2
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM8 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM8 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

16/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
MMS2
rw
OIS[6]
rw
OIS[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS[4]N
rw
OIS[4]
rw
OIS[3]N
rw
OIS[3]
rw
OIS[2]N
rw
OIS[2]
rw
OIS[1]N
rw
OIS[1]
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
Toggle fields

CCPC

Bit 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

CCUS

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

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

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

OIS[1]N

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

OIS[2]

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

OIS[2]N

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

OIS[3]

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

OIS[3]N

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

OIS[4]

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

OIS[4]N

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

OIS[5]

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

OIS[6]

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

MMS2

Bits 20-23: Master mode selection 2.

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM8 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM8 DMA/interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

COMIE

Bit 5: COM interrupt enable.

Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

BIE

Bit 7: Break interrupt enable.

Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

COMDE

Bit 13: COM DMA request enable.

Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM8 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
CC6IF
r/w0c
CC5IF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBIF
r/w0c
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
B2IF
r/w0c
BIF
r/w0c
TIF
r/w0c
COMIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

COMIF

Bit 5: COM interrupt flag.

Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

BIF

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

B2IF

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

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

SBIF

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

CC5IF

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.

CC6IF

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.

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM8 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B2G
w
BG
w
TG
w
COMG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

COMG

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

TG

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.

BG

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

B2G

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

CCMR1_Input

TIM8 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM8 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM8 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM8 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM8 capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC[6]P
rw
CC[6]E
rw
CC[5]P
rw
CC[5]E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]NP
rw
CC[4]NE
rw
CC[4]P
rw
CC[4]E
rw
CC[3]NP
rw
CC[3]NE
rw
CC[3]P
rw
CC[3]E
rw
CC[2]NP
rw
CC[2]NE
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NE

Bit 6: Capture/Compare 2 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NE

Bit 10: Capture/Compare 3 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NE

Bit 14: Capture/Compare 4 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[5]E

Bit 16: Capture/Compare 5 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[5]P

Bit 17: Capture/Compare 5 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[6]E

Bit 20: Capture/Compare 6 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[6]P

Bit 21: Capture/Compare 6 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CNT

TIM8 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM8 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM8 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

RCR

TIM8 repetition counter register

Offset: 0x30, 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
REP
rw
Toggle fields

REP

Bits 0-15: Repetition counter reload 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

BDTR

TIM8 break and dead-time register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

10/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BK2BID
rw
BKBID
rw
BK2DSRM
rw
BKDSRM
rw
BK2P
rw
BK2E
rw
BK2F
rw
BKF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOE
rw
AOE
rw
BKP
rw
BKE
rw
OSSR
rw
OSSI
rw
LOCK
rw
DTG
rw
Toggle fields

DTG

Bits 0-7: Dead-time generator setup.

Allowed values: 0x0-0xff

LOCK

Bits 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

OSSI

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

OSSR

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

BKE

Bit 12: Break enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BKP

Bit 13: Break polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

AOE

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)

MOE

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

BKF

Bits 16-19: Break filter.

BK2F

Bits 20-23: Break 2 filter.

BK2E

Bit 24: Break 2 enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BK2P

Bit 25: Break 2 polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

BKDSRM

Bit 26: Break disarm.

BK2DSRM

Bit 27: Break2 disarm.

BKBID

Bit 28: Break bidirectional.

BK2BID

Bit 29: Break2 bidirectional.

CCR5

capture/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
GC5C3
rw
GC5C2
rw
GC5C1
rw
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

GC5C1

Bit 29: Group channel 5 and channel 1.

GC5C2

Bit 30: Group channel 5 and channel 2.

GC5C3

Bit 31: Group channel 5 and channel 3.

CCR6

capture/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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

CCMR3_Output

TIM8 capture/compare mode register 3

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[6]M_3
rw
OC[5]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[6]CE
rw
OC[6]M
rw
OC[6]PE
rw
OC[6]FE
rw
OC[5]CE
rw
OC[5]M
rw
OC[5]PE
rw
OC[5]FE
rw
Toggle fields

OC[5]FE

Bit 2: Output compare 5 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[5]PE

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

OC[5]M

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

OC[5]CE

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

OC[6]FE

Bit 10: Output compare 6 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[6]PE

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

OC[6]M

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

OC[6]CE

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

OC[5]M_3

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)

OC[6]M_3

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)

DTR2

TIM8 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
DTPE
rw
DTAE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTGF
rw
Toggle fields

DTGF

Bits 0-7: Dead-time falling edge generator setup.

DTAE

Bit 16: Deadtime asymmetric enable.

DTPE

Bit 17: Deadtime preload enable.

ECR

TIM8 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM8 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM8 alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
BKCMP4P
rw
BKCMP3P
rw
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKCMP8E
rw
BKCMP7E
rw
BKCMP6E
rw
BKCMP5E
rw
BKCMP4E
rw
BKCMP3E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: TIMx_BKIN input enable.

BKCMP1E

Bit 1: tim_brk_cmp1 enable.

BKCMP2E

Bit 2: tim_brk_cmp2 enable.

BKCMP3E

Bit 3: tim_brk_cmp3 enable.

BKCMP4E

Bit 4: tim_brk_cmp4 enable.

BKCMP5E

Bit 5: tim_brk_cmp5 enable.

BKCMP6E

Bit 6: tim_brk_cmp6 enable.

BKCMP7E

Bit 7: tim_brk_cmp7 enable.

BKCMP8E

Bit 8: tim_brk_cmp8 enable.

BKINP

Bit 9: TIMx_BKIN input polarity.

BKCMP1P

Bit 10: tim_brk_cmp1 input polarity.

BKCMP2P

Bit 11: tim_brk_cmp2 input polarity.

BKCMP3P

Bit 12: tim_brk_cmp3 input polarity.

BKCMP4P

Bit 13: tim_brk_cmp4 input polarity.

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM8 alternate function register 2

Offset: 0x64, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BK2CMP4P
rw
BK2CMP3P
rw
BK2CMP2P
rw
BK2CMP1P
rw
BK2INP
rw
BK2CMP8E
rw
BK2CMP7E
rw
BK2CMP6E
rw
BK2CMP5E
rw
BK2CMP4E
rw
BK2CMP3E
rw
BK2CMP2E
rw
BK2CMP1E
rw
BK2INE
rw
Toggle fields

BK2INE

Bit 0: TIMx_BKIN2 input enable.

BK2CMP1E

Bit 1: tim_brk2_cmp1 enable.

BK2CMP2E

Bit 2: tim_brk2_cmp2 enable.

BK2CMP3E

Bit 3: tim_brk2_cmp3 enable.

BK2CMP4E

Bit 4: tim_brk2_cmp4 enable.

BK2CMP5E

Bit 5: tim_brk2_cmp5 enable.

BK2CMP6E

Bit 6: tim_brk2_cmp6 enable.

BK2CMP7E

Bit 7: tim_brk2_cmp7 enable.

BK2CMP8E

Bit 8: tim_brk2_cmp8 enable.

BK2INP

Bit 9: TIMx_BKIN2 input polarity.

BK2CMP1P

Bit 10: tim_brk2_cmp1 input polarity.

BK2CMP2P

Bit 11: tim_brk2_cmp2 input polarity.

BK2CMP3P

Bit 12: tim_brk2_cmp3 input polarity.

BK2CMP4P

Bit 13: tim_brk2_cmp4 input polarity.

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM8 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM8 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

TIM8_S

0x50013400: TIM8 address block description

181/231 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 (16-bit) EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 (16-bit) PSC
0x2c ARR
0x30 (16-bit) RCR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x44 BDTR
0x48 CCR5
0x4c CCR6
0x50 CCMR3_Output
0x54 DTR2
0x58 ECR
0x5c TISEL
0x60 AF1
0x64 AF2
0x3dc DCR
0x3e0 DMAR
Toggle registers

CR1

TIM8 control register 1

Offset: 0x0, size: 16, reset: 0x00000000, access: read-write

10/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DITHEN
rw
UIFREMAP
rw
CKD
rw
ARPE
rw
CMS
rw
DIR
rw
OPM
rw
URS
rw
UDIS
rw
CEN
rw
Toggle fields

CEN

Bit 0: Counter enable.

Allowed values:
0: Disabled: Counter disabled
1: Enabled: Counter enabled

UDIS

Bit 1: Update disable.

Allowed values:
0: Enabled: Update event enabled
1: Disabled: Update event disabled

URS

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

OPM

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)

DIR

Bit 4: Direction.

Allowed values:
0: Up: Counter used as upcounter
1: Down: Counter used as downcounter

CMS

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.

ARPE

Bit 7: Auto-reload preload enable.

Allowed values:
0: Disabled: TIMx_APRR register is not buffered
1: Enabled: TIMx_APRR register is buffered

CKD

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

UIFREMAP

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

DITHEN

Bit 12: Dithering enable.

Allowed values:
0: Disabled: Dithering disabled
1: Enabled: Dithering enabled

CR2

TIM8 control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

16/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MMS_3
rw
MMS2
rw
OIS[6]
rw
OIS[5]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS[4]N
rw
OIS[4]
rw
OIS[3]N
rw
OIS[3]
rw
OIS[2]N
rw
OIS[2]
rw
OIS[1]N
rw
OIS[1]
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
Toggle fields

CCPC

Bit 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

CCUS

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

CCDS

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

MMS

Bits 4-6: MMS[2:0]: Master mode selection.

Allowed values: 0x0-0x7

TI1S

Bit 7: tim_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

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

OIS[1]N

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

OIS[2]

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

OIS[2]N

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

OIS[3]

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

OIS[3]N

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

OIS[4]

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

OIS[4]N

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

OIS[5]

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

OIS[6]

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

MMS2

Bits 20-23: Master mode selection 2.

MMS_3

Bit 25: MMS[3].

Allowed values: 0x0-0x1

SMCR

TIM8 slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

11/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SMSPS
rw
SMSPE
rw
TS2
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
OCCS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: SMS[2:0]: Slave mode selection.

Allowed values: 0x0-0x7

OCCS

Bit 3: OCREF clear selection.

TS

Bits 4-6: TS[2:0]: Trigger selection.

Allowed values: 0x0-0x7

MSM

Bit 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.

ETF

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

ETPS

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

ECE

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.

ETP

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

SMS_3

Bit 16: Slave mode selection When external signals are selected the active edge of the trigger signal (tim_trgi) is linked to the polarity selected on the external input (see Input Control register and Control Register description. Note: The gated mode must not be used if tim_ti1f_ed is selected as the trigger input (TS=00100). Indeed, tim_ti1f_ed outputs 1 pulse for each transition on tim_ti1f, whereas the gated mode checks the level of the trigger signal. Note: The clock of the slave peripherals (timer, ADC, ...) receiving the tim_trgo signal must be enabled prior to receive events from the master timer, and the clock frequency (prescaler) must not be changed on-the-fly while triggers are received from the master timer..

Allowed values: 0x0-0x1

TS2

Bits 20-21: Trigger selection This bit-field selects the trigger input to be used to synchronize the counter. Others: Reserved See for product specific implementation details. Note: These bits must be changed only when they are not used (e.g. when SMS=000) to avoid wrong edge detections at the transition..

Allowed values: 0x0-0x3

SMSPE

Bit 24: SMS preload enable.

Allowed values:
0: NotPreloaded: SMSM[3:0] is not preloaded
1: PreloadEnabled: SMSM[3:0] is preload is enabled

SMSPS

Bit 25: SMS preload source.

Allowed values:
0: Update: SMSM[3:0] is preloaded from Update event
1: Index: SMSM[3:0] is preloaded from Index event

DIER

TIM8 DMA/interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

19/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRIE
rw
IERRIE
rw
DIRIE
rw
IDXIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[4]DE
rw
CC[3]DE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[4]IE
rw
CC[3]IE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
Toggle fields

UIE

Bit 0: Update interrupt enable.

Allowed values:
0: Disabled: Update interrupt disabled
1: Enabled: Update interrupt enabled

CC[1]IE

Bit 1: Capture/Compare 1 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

Allowed values:
0: Disabled: CCx interrupt disabled
1: Enabled: CCx interrupt enabled

COMIE

Bit 5: COM interrupt enable.

Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM interrupt enabled

TIE

Bit 6: Trigger interrupt enable.

Allowed values:
0: Disabled: Trigger interrupt disabled
1: Enabled: Trigger interrupt enabled

BIE

Bit 7: Break interrupt enable.

Allowed values:
0: Disabled: Break interrupt disabled
1: Enabled: Break interrupt enabled

UDE

Bit 8: Update DMA request enable.

Allowed values:
0: Disabled: Update DMA request disabled
1: Enabled: Update DMA request enabled

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

Allowed values:
0: Disabled: CCx DMA request disabled
1: Enabled: CCx DMA request enabled

COMDE

Bit 13: COM DMA request enable.

Allowed values:
0: Disabled: COM DMA request disabled
1: Enabled: COM DMA request enabled

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

IDXIE

Bit 20: Index interrupt enable.

Allowed values:
0: Disabled: Index change interrupt disabled
1: Enabled: Index change interrupt enabled

DIRIE

Bit 21: Direction change interrupt enable.

Allowed values:
0: Disabled: Direction change interrupt disabled
1: Enabled: Direction change interrupt enabled

IERRIE

Bit 22: Index error interrupt enable.

Allowed values:
0: Disabled: Index error interrupt disabled
1: Enabled: Index error interrupt enabled

TERRIE

Bit 23: Transition error interrupt enable.

Allowed values:
0: Disabled: Transition error interrupt disabled
1: Enabled: Transition error interrupt enabled

SR

TIM8 status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TERRF
r/w0c
IERRF
r/w0c
DIRF
r/w0c
IDXF
r/w0c
CC6IF
r/w0c
CC5IF
r/w0c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBIF
r/w0c
CC[4]OF
r/w0c
CC[3]OF
r/w0c
CC[2]OF
r/w0c
CC[1]OF
r/w0c
B2IF
r/w0c
BIF
r/w0c
TIF
r/w0c
COMIF
r/w0c
CC[4]IF
r/w0c
CC[3]IF
r/w0c
CC[2]IF
r/w0c
CC[1]IF
r/w0c
UIF
r/w0c
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

CC[1]IF

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.

CC[2]IF

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.

CC[3]IF

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.

CC[4]IF

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.

COMIF

Bit 5: COM interrupt flag.

Allowed values:
0: NoCOM: No COM event occurred
1: COM: COM interrupt pending

TIF

Bit 6: Trigger interrupt flag.

Allowed values:
0: NoTrigger: No trigger event occurred
1: Trigger: Trigger interrupt pending

BIF

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

B2IF

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

CC[1]OF

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

CC[2]OF

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

CC[3]OF

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

CC[4]OF

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

SBIF

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

CC5IF

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.

CC6IF

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.

IDXF

Bit 20: Index interrupt flag.

Allowed values:
0: NoTrigger: No index event occurred
1: Trigger: An index event has occurred

DIRF

Bit 21: Direction change interrupt flag.

Allowed values:
0: NoTrigger: No direction change has been detected
1: Trigger: A direction change has been detected

IERRF

Bit 22: Index error interrupt flag.

Allowed values:
0: NoTrigger: No index error has been detected
1: Trigger: An index erorr has been detected

TERRF

Bit 23: Transition error interrupt flag.

Allowed values:
0: NoTrigger: No encoder transition error has been detected
1: Trigger: An encoder transition error has been detected

EGR

TIM8 event generation register

Offset: 0x14, size: 16, reset: 0x00000000, access: write-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
B2G
w
BG
w
TG
w
COMG
w
CC[4]G
w
CC[3]G
w
CC[2]G
w
CC[1]G
w
UG
w
Toggle fields

UG

Bit 0: Update generation.

Allowed values:
1: Update: Re-initializes the timer counter and generates an update of the registers.

CC[1]G

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.

CC[2]G

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.

CC[3]G

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.

CC[4]G

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.

COMG

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

TG

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.

BG

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

B2G

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

CCMR1_Input

TIM8 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[2]F
rw
IC[2]PSC
rw
CC2S
rw
IC[1]F
rw
IC[1]PSC
rw
CC1S
rw
Toggle fields

CC1S

Bits 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

IC[1]PSC

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

IC[1]F

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

CC2S

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

IC[2]PSC

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

IC[2]F

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

CCMR1_Output

TIM8 capture/compare mode register 1

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]CE
rw
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]CE
rw
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[1]PE

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

OC[1]M

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

OC[1]CE

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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[2]PE

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

OC[2]M

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

OC[2]CE

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

OC[1]M_3

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)

OC[2]M_3

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)

CCMR2_Input

TIM8 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

6/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[4]F
rw
IC[4]PSC
rw
CC4S
rw
IC[3]F
rw
IC[3]PSC
rw
CC3S
rw
Toggle fields

CC3S

Bits 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

IC[3]PSC

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

IC[3]F

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

CC4S

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

IC[4]PSC

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

IC[4]F

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

CCMR2_Output

TIM8 capture/compare mode register 2

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[3]PE

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

OC[3]M

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

OC[3]CE

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

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CCx channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[4]PE

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

OC[4]M

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

OC[4]CE

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

OC[3]M_3

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)

OC[4]M_3

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)

CCER

TIM8 capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC[6]P
rw
CC[6]E
rw
CC[5]P
rw
CC[5]E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]NP
rw
CC[4]NE
rw
CC[4]P
rw
CC[4]E
rw
CC[3]NP
rw
CC[3]NE
rw
CC[3]P
rw
CC[3]E
rw
CC[2]NP
rw
CC[2]NE
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[2]E

Bit 4: Capture/Compare 2 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[2]NE

Bit 6: Capture/Compare 2 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[3]E

Bit 8: Capture/Compare 3 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[3]NE

Bit 10: Capture/Compare 3 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[4]E

Bit 12: Capture/Compare 4 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[4]NE

Bit 14: Capture/Compare 4 complementary output enable.

Allowed values:
0: Disabled: Complementary output disabled
1: Enabled: Complementary output enabled

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

Allowed values:
0: ActiveHigh: OCxN active high
1: ActiveLow: OCxN active low

CC[5]E

Bit 16: Capture/Compare 5 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[5]P

Bit 17: Capture/Compare 5 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CC[6]E

Bit 20: Capture/Compare 6 output enable.

Allowed values:
0: Disabled: Capture disabled
1: Enabled: Capture enabled

CC[6]P

Bit 21: Capture/Compare 6 output Polarity.

Allowed values:
0: RisingEdge: Noninverted/rising edge
1: FallingEdge: Inverted/falling edge

CNT

TIM8 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
UIFCPY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF copy.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

PSC

TIM8 prescaler

Offset: 0x28, 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
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

TIM8 auto-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
ARR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-19: Auto-reload value.

Allowed values: 0x0-0xfffff

RCR

TIM8 repetition counter register

Offset: 0x30, 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
REP
rw
Toggle fields

REP

Bits 0-15: Repetition counter reload 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

BDTR

TIM8 break and dead-time register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

10/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BK2BID
rw
BKBID
rw
BK2DSRM
rw
BKDSRM
rw
BK2P
rw
BK2E
rw
BK2F
rw
BKF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOE
rw
AOE
rw
BKP
rw
BKE
rw
OSSR
rw
OSSI
rw
LOCK
rw
DTG
rw
Toggle fields

DTG

Bits 0-7: Dead-time generator setup.

Allowed values: 0x0-0xff

LOCK

Bits 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

OSSI

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

OSSR

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

BKE

Bit 12: Break enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BKP

Bit 13: Break polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

AOE

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)

MOE

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

BKF

Bits 16-19: Break filter.

BK2F

Bits 20-23: Break 2 filter.

BK2E

Bit 24: Break 2 enable.

Allowed values:
0: Disabled: Break function x disabled
1: Enabled: Break function x enabled

BK2P

Bit 25: Break 2 polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

BKDSRM

Bit 26: Break disarm.

BK2DSRM

Bit 27: Break2 disarm.

BKBID

Bit 28: Break bidirectional.

BK2BID

Bit 29: Break2 bidirectional.

CCR5

capture/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
GC5C3
rw
GC5C2
rw
GC5C1
rw
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

GC5C1

Bit 29: Group channel 5 and channel 1.

GC5C2

Bit 30: Group channel 5 and channel 2.

GC5C3

Bit 31: Group channel 5 and channel 3.

CCR6

capture/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
CCR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-19: Capture/Compare value.

Allowed values: 0x0-0xfffff

CCMR3_Output

TIM8 capture/compare mode register 3

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[6]M_3
rw
OC[5]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[6]CE
rw
OC[6]M
rw
OC[6]PE
rw
OC[6]FE
rw
OC[5]CE
rw
OC[5]M
rw
OC[5]PE
rw
OC[5]FE
rw
Toggle fields

OC[5]FE

Bit 2: Output compare 5 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[5]PE

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

OC[5]M

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

OC[5]CE

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

OC[6]FE

Bit 10: Output compare 6 fast enable.

Allowed values:
0: Disabled: Fast output disabled
1: Enabled: Fast output enabled

OC[6]PE

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

OC[6]M

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

OC[6]CE

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

OC[5]M_3

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)

OC[6]M_3

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)

DTR2

TIM8 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
DTPE
rw
DTAE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTGF
rw
Toggle fields

DTGF

Bits 0-7: Dead-time falling edge generator setup.

DTAE

Bit 16: Deadtime asymmetric enable.

DTPE

Bit 17: Deadtime preload enable.

ECR

TIM8 timer encoder 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
PWPRSC
rw
PW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPOS
rw
FIDX
rw
IBLK
rw
IDIR
rw
IE
rw
Toggle fields

IE

Bit 0: Index enable.

IDIR

Bits 1-2: Index direction.

IBLK

Bits 3-4: Index blanking.

FIDX

Bit 5: First index.

IPOS

Bits 6-7: Index positioning.

PW

Bits 16-23: Pulse width.

PWPRSC

Bits 24-26: Pulse width prescaler.

TISEL

TIM8 timer input selection register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TI4SEL
rw
TI3SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI2SEL
rw
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: Selects tim_ti1[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI2SEL

Bits 8-11: Selects tim_ti2[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI3SEL

Bits 16-19: Selects tim_ti3[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

TI4SEL

Bits 24-27: Selects tim_ti4[15:0] input.

Allowed values:
0: Selected: TIM1_CHx input selected

AF1

TIM8 alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
BKCMP4P
rw
BKCMP3P
rw
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKCMP8E
rw
BKCMP7E
rw
BKCMP6E
rw
BKCMP5E
rw
BKCMP4E
rw
BKCMP3E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: TIMx_BKIN input enable.

BKCMP1E

Bit 1: tim_brk_cmp1 enable.

BKCMP2E

Bit 2: tim_brk_cmp2 enable.

BKCMP3E

Bit 3: tim_brk_cmp3 enable.

BKCMP4E

Bit 4: tim_brk_cmp4 enable.

BKCMP5E

Bit 5: tim_brk_cmp5 enable.

BKCMP6E

Bit 6: tim_brk_cmp6 enable.

BKCMP7E

Bit 7: tim_brk_cmp7 enable.

BKCMP8E

Bit 8: tim_brk_cmp8 enable.

BKINP

Bit 9: TIMx_BKIN input polarity.

BKCMP1P

Bit 10: tim_brk_cmp1 input polarity.

BKCMP2P

Bit 11: tim_brk_cmp2 input polarity.

BKCMP3P

Bit 12: tim_brk_cmp3 input polarity.

BKCMP4P

Bit 13: tim_brk_cmp4 input polarity.

ETRSEL

Bits 14-17: etr_in source selection.

Allowed values:
0: Legacy: ETR legacy mode
1: COMP1: COMP1 output
2: COMP2: COMP2 output

AF2

TIM8 alternate function register 2

Offset: 0x64, size: 32, reset: 0x00000001, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BK2CMP4P
rw
BK2CMP3P
rw
BK2CMP2P
rw
BK2CMP1P
rw
BK2INP
rw
BK2CMP8E
rw
BK2CMP7E
rw
BK2CMP6E
rw
BK2CMP5E
rw
BK2CMP4E
rw
BK2CMP3E
rw
BK2CMP2E
rw
BK2CMP1E
rw
BK2INE
rw
Toggle fields

BK2INE

Bit 0: TIMx_BKIN2 input enable.

BK2CMP1E

Bit 1: tim_brk2_cmp1 enable.

BK2CMP2E

Bit 2: tim_brk2_cmp2 enable.

BK2CMP3E

Bit 3: tim_brk2_cmp3 enable.

BK2CMP4E

Bit 4: tim_brk2_cmp4 enable.

BK2CMP5E

Bit 5: tim_brk2_cmp5 enable.

BK2CMP6E

Bit 6: tim_brk2_cmp6 enable.

BK2CMP7E

Bit 7: tim_brk2_cmp7 enable.

BK2CMP8E

Bit 8: tim_brk2_cmp8 enable.

BK2INP

Bit 9: TIMx_BKIN2 input polarity.

BK2CMP1P

Bit 10: tim_brk2_cmp1 input polarity.

BK2CMP2P

Bit 11: tim_brk2_cmp2 input polarity.

BK2CMP3P

Bit 12: tim_brk2_cmp3 input polarity.

BK2CMP4P

Bit 13: tim_brk2_cmp4 input polarity.

OCRSEL

Bits 16-18: ocref_clr source selection.

Allowed values: 0x0-0x7

DCR

TIM8 DMA control register

Offset: 0x3dc, 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
DBSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

Allowed values: 0x0-0x1f

DBL

Bits 8-12: DMA burst length.

Allowed values: 0x0-0x12

DBSS

Bits 16-19: DMA burst source selection.

Allowed values: 0x0-0x7

DMAR

TIM8 DMA 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
DMAB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAB
rw
Toggle fields

DMAB

Bits 0-31: DMA register for burst accesses.

UART4

0x40004c00: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

UART4_S

0x50004c00: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

UART5

0x40005000: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

UART5_S

0x50005000: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

UCPD1

0x4000dc00: UCPD register block

24/95 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CFGR1
0x4 CFGR2
0x8 CFGR3
0xc CR
0x10 IMR
0x14 SR
0x18 ICR
0x1c TX_ORDSETR
0x20 TX_PAYSZR
0x24 TXDR
0x28 RX_ORDSETR
0x2c RX_PAYSZR
0x30 RXDR
0x34 RX_ORDEXTR1
0x38 RX_ORDEXTR2
Toggle registers

CFGR1

UCPD configuration register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

Toggle fields

HBITCLKDIV

Bits 0-5: Division ratio for producing half-bit clock.

IFRGAP

Bits 6-10: Division ratio for producing inter-frame gap timer clock.

TRANSWIN

Bits 11-15: Transition window duration.

PSC_USBPDCLK

Bits 17-19: Pre-scaler division ratio for generating ucpd_clk.

RXORDSETEN0

Bit 20: SOP detection.

RXORDSETEN1

Bit 21: SOP' detection.

RXORDSETEN2

Bit 22: SOP'' detection.

RXORDSETEN3

Bit 23: Hard Reset detection.

RXORDSETEN4

Bit 24: Cable Detect reset.

RXORDSETEN5

Bit 25: SOP'_Debug.

RXORDSETEN6

Bit 26: SOP'' Debug.

RXORDSETEN7

Bit 27: SOP extension #1.

RXORDSETEN8

Bit 28: SOP extension #2.

TXDMAEN

Bit 29: Transmission DMA mode enable.

RXDMAEN

Bit 30: Reception DMA mode enable.

UCPDEN

Bit 31: UCPD peripheral enable.

CFGR2

UCPD configuration register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXAFILTEN
rw
WUPEN
rw
FORCECLK
rw
RXFILT2N3
rw
RXFILTDIS
rw
Toggle fields

RXFILTDIS

Bit 0: BMC decoder Rx pre-filter enable.

RXFILT2N3

Bit 1: BMC decoder Rx pre-filter sampling method.

FORCECLK

Bit 2: Force ClkReq clock request.

WUPEN

Bit 3: Wake-up from Stop mode enable.

RXAFILTEN

Bit 8: Rx analog filter enable.

CFGR3

UCPD configuration register 3

Offset: 0x8, 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
TRIM_CC2_RP
rw
TRIM_CC2_RD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIM_CC1_RP
rw
TRIM_CC1_RD
rw
Toggle fields

TRIM_CC1_RD

Bits 0-3: SW trim value for Rd resistor on the CC1 line.

TRIM_CC1_RP

Bits 9-12: SW trim value for Rp current sources on the CC1 line.

TRIM_CC2_RD

Bits 16-19: SW trim value for Rd resistor on the CC2 line.

TRIM_CC2_RP

Bits 25-28: SW trim value for Rp current sources on the CC2 line.

CR

UCPD control register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC2TCDIS
rw
CC1TCDIS
rw
RDCH
rw
FRSTX
rw
FRSRXEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCENABLE
rw
ANAMODE
rw
ANASUBMODE
rw
PHYCCSEL
rw
PHYRXEN
rw
RXMODE
rw
TXHRST
rw
TXSEND
rw
TXMODE
rw
Toggle fields

TXMODE

Bits 0-1: Type of Tx packet.

TXSEND

Bit 2: Command to send a Tx packet.

TXHRST

Bit 3: Command to send a Tx Hard Reset.

RXMODE

Bit 4: Receiver mode.

PHYRXEN

Bit 5: USB Power Delivery receiver enable.

PHYCCSEL

Bit 6: CC1/CC2 line selector for USB Power Delivery signaling.

ANASUBMODE

Bits 7-8: Analog PHY sub-mode.

ANAMODE

Bit 9: Analog PHY operating mode.

CCENABLE

Bits 10-11: CC line enable.

FRSRXEN

Bit 16: FRS event detection enable.

FRSTX

Bit 17: FRS Tx signaling enable..

RDCH

Bit 18: Rdch condition drive.

CC1TCDIS

Bit 20: CC1 Type-C detector disable.

CC2TCDIS

Bit 21: CC2 Type-C detector disable.

IMR

UCPD interrupt mask register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FRSEVTIE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TYPECEVT2IE
rw
TYPECEVT1IE
rw
RXMSGENDIE
rw
RXOVRIE
rw
RXHRSTDETIE
rw
RXORDDETIE
rw
RXNEIE
rw
TXUNDIE
rw
HRSTSENTIE
rw
HRSTDISCIE
rw
TXMSGABTIE
rw
TXMSGSENTIE
rw
TXMSGDISCIE
rw
TXISIE
rw
Toggle fields

TXISIE

Bit 0: TXIS interrupt enable.

TXMSGDISCIE

Bit 1: TXMSGDISC interrupt enable.

TXMSGSENTIE

Bit 2: TXMSGSENT interrupt enable.

TXMSGABTIE

Bit 3: TXMSGABT interrupt enable.

HRSTDISCIE

Bit 4: HRSTDISC interrupt enable.

HRSTSENTIE

Bit 5: HRSTSENT interrupt enable.

TXUNDIE

Bit 6: TXUND interrupt enable.

RXNEIE

Bit 8: RXNE interrupt enable.

RXORDDETIE

Bit 9: RXORDDET interrupt enable.

RXHRSTDETIE

Bit 10: RXHRSTDET interrupt enable.

RXOVRIE

Bit 11: RXOVR interrupt enable.

RXMSGENDIE

Bit 12: RXMSGEND interrupt enable.

TYPECEVT1IE

Bit 14: TYPECEVT1 interrupt enable.

TYPECEVT2IE

Bit 15: TYPECEVT2 interrupt enable.

FRSEVTIE

Bit 20: FRSEVT interrupt enable.

SR

UCPD status register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

Toggle fields

TXIS

Bit 0: Transmit interrupt status.

TXMSGDISC

Bit 1: Message transmission discarded.

TXMSGSENT

Bit 2: Message transmission completed.

TXMSGABT

Bit 3: Transmit message abort.

HRSTDISC

Bit 4: Hard Reset discarded.

HRSTSENT

Bit 5: Hard Reset message sent.

TXUND

Bit 6: Tx data underrun detection.

RXNE

Bit 8: Receive data register not empty detection.

RXORDDET

Bit 9: Rx ordered set (4 K-codes) detection.

RXHRSTDET

Bit 10: Rx Hard Reset receipt detection.

RXOVR

Bit 11: Rx data overflow detection.

RXMSGEND

Bit 12: Rx message received.

RXERR

Bit 13: Receive message error.

TYPECEVT1

Bit 14: Type-C voltage level event on CC1 line.

TYPECEVT2

Bit 15: Type-C voltage level event on CC2 line.

TYPEC_VSTATE_CC1

Bits 16-17: The status bitfield indicates the voltage level on the CC1 line in its steady state..

TYPEC_VSTATE_CC2

Bits 18-19: CC2 line voltage level.

FRSEVT

Bit 20: FRS detection event.

ICR

UCPD interrupt clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

0/13 fields covered.

Toggle fields

TXMSGDISCCF

Bit 1: Tx message discard flag (TXMSGDISC) clear.

TXMSGSENTCF

Bit 2: Tx message send flag (TXMSGSENT) clear.

TXMSGABTCF

Bit 3: Tx message abort flag (TXMSGABT) clear.

HRSTDISCCF

Bit 4: Hard reset discard flag (HRSTDISC) clear.

HRSTSENTCF

Bit 5: Hard reset send flag (HRSTSENT) clear.

TXUNDCF

Bit 6: Tx underflow flag (TXUND) clear.

RXORDDETCF

Bit 9: Rx ordered set detect flag (RXORDDET) clear.

RXHRSTDETCF

Bit 10: Rx Hard Reset detect flag (RXHRSTDET) clear.

RXOVRCF

Bit 11: Rx overflow flag (RXOVR) clear.

RXMSGENDCF

Bit 12: Rx message received flag (RXMSGEND) clear.

TYPECEVT1CF

Bit 14: Type-C CC1 event flag (TYPECEVT1) clear.

TYPECEVT2CF

Bit 15: Type-C CC2 line event flag (TYPECEVT2) clear.

FRSEVTCF

Bit 20: FRS event flag (FRSEVT) clear.

TX_ORDSETR

UCPD Tx ordered set type register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXORDSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXORDSET
rw
Toggle fields

TXORDSET

Bits 0-19: Ordered set to transmit.

TX_PAYSZR

UCPD Tx payload size register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXPAYSZ
rw
Toggle fields

TXPAYSZ

Bits 0-9: Payload size yet to transmit.

TXDR

UCPD Tx data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: Data byte to transmit.

RX_ORDSETR

UCPD Rx ordered set register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSOPKINVALID
r
RXSOP3OF4
r
RXORDSET
r
Toggle fields

RXORDSET

Bits 0-2: Rx ordered set code detected.

RXSOP3OF4

Bit 3: The bit indicates the number of correct K-codes..

RXSOPKINVALID

Bits 4-6: The bitfield is for debug purposes only..

RX_PAYSZR

UCPD Rx payload size register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXPAYSZ
r
Toggle fields

RXPAYSZ

Bits 0-9: Rx payload size received.

RXDR

UCPD receive data register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: Data byte received.

RX_ORDEXTR1

UCPD Rx ordered set extension register 1

Offset: 0x34, 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
RXSOPX1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSOPX1
rw
Toggle fields

RXSOPX1

Bits 0-19: Ordered set 1 received.

RX_ORDEXTR2

UCPD Rx ordered set extension register 2

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
RXSOPX2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSOPX2
rw
Toggle fields

RXSOPX2

Bits 0-19: Ordered set 2 received.

UCPD1_S

0x5000dc00: UCPD register block

24/95 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CFGR1
0x4 CFGR2
0x8 CFGR3
0xc CR
0x10 IMR
0x14 SR
0x18 ICR
0x1c TX_ORDSETR
0x20 TX_PAYSZR
0x24 TXDR
0x28 RX_ORDSETR
0x2c RX_PAYSZR
0x30 RXDR
0x34 RX_ORDEXTR1
0x38 RX_ORDEXTR2
Toggle registers

CFGR1

UCPD configuration register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

Toggle fields

HBITCLKDIV

Bits 0-5: Division ratio for producing half-bit clock.

IFRGAP

Bits 6-10: Division ratio for producing inter-frame gap timer clock.

TRANSWIN

Bits 11-15: Transition window duration.

PSC_USBPDCLK

Bits 17-19: Pre-scaler division ratio for generating ucpd_clk.

RXORDSETEN0

Bit 20: SOP detection.

RXORDSETEN1

Bit 21: SOP' detection.

RXORDSETEN2

Bit 22: SOP'' detection.

RXORDSETEN3

Bit 23: Hard Reset detection.

RXORDSETEN4

Bit 24: Cable Detect reset.

RXORDSETEN5

Bit 25: SOP'_Debug.

RXORDSETEN6

Bit 26: SOP'' Debug.

RXORDSETEN7

Bit 27: SOP extension #1.

RXORDSETEN8

Bit 28: SOP extension #2.

TXDMAEN

Bit 29: Transmission DMA mode enable.

RXDMAEN

Bit 30: Reception DMA mode enable.

UCPDEN

Bit 31: UCPD peripheral enable.

CFGR2

UCPD configuration register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXAFILTEN
rw
WUPEN
rw
FORCECLK
rw
RXFILT2N3
rw
RXFILTDIS
rw
Toggle fields

RXFILTDIS

Bit 0: BMC decoder Rx pre-filter enable.

RXFILT2N3

Bit 1: BMC decoder Rx pre-filter sampling method.

FORCECLK

Bit 2: Force ClkReq clock request.

WUPEN

Bit 3: Wake-up from Stop mode enable.

RXAFILTEN

Bit 8: Rx analog filter enable.

CFGR3

UCPD configuration register 3

Offset: 0x8, 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
TRIM_CC2_RP
rw
TRIM_CC2_RD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIM_CC1_RP
rw
TRIM_CC1_RD
rw
Toggle fields

TRIM_CC1_RD

Bits 0-3: SW trim value for Rd resistor on the CC1 line.

TRIM_CC1_RP

Bits 9-12: SW trim value for Rp current sources on the CC1 line.

TRIM_CC2_RD

Bits 16-19: SW trim value for Rd resistor on the CC2 line.

TRIM_CC2_RP

Bits 25-28: SW trim value for Rp current sources on the CC2 line.

CR

UCPD control register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC2TCDIS
rw
CC1TCDIS
rw
RDCH
rw
FRSTX
rw
FRSRXEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCENABLE
rw
ANAMODE
rw
ANASUBMODE
rw
PHYCCSEL
rw
PHYRXEN
rw
RXMODE
rw
TXHRST
rw
TXSEND
rw
TXMODE
rw
Toggle fields

TXMODE

Bits 0-1: Type of Tx packet.

TXSEND

Bit 2: Command to send a Tx packet.

TXHRST

Bit 3: Command to send a Tx Hard Reset.

RXMODE

Bit 4: Receiver mode.

PHYRXEN

Bit 5: USB Power Delivery receiver enable.

PHYCCSEL

Bit 6: CC1/CC2 line selector for USB Power Delivery signaling.

ANASUBMODE

Bits 7-8: Analog PHY sub-mode.

ANAMODE

Bit 9: Analog PHY operating mode.

CCENABLE

Bits 10-11: CC line enable.

FRSRXEN

Bit 16: FRS event detection enable.

FRSTX

Bit 17: FRS Tx signaling enable..

RDCH

Bit 18: Rdch condition drive.

CC1TCDIS

Bit 20: CC1 Type-C detector disable.

CC2TCDIS

Bit 21: CC2 Type-C detector disable.

IMR

UCPD interrupt mask register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FRSEVTIE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TYPECEVT2IE
rw
TYPECEVT1IE
rw
RXMSGENDIE
rw
RXOVRIE
rw
RXHRSTDETIE
rw
RXORDDETIE
rw
RXNEIE
rw
TXUNDIE
rw
HRSTSENTIE
rw
HRSTDISCIE
rw
TXMSGABTIE
rw
TXMSGSENTIE
rw
TXMSGDISCIE
rw
TXISIE
rw
Toggle fields

TXISIE

Bit 0: TXIS interrupt enable.

TXMSGDISCIE

Bit 1: TXMSGDISC interrupt enable.

TXMSGSENTIE

Bit 2: TXMSGSENT interrupt enable.

TXMSGABTIE

Bit 3: TXMSGABT interrupt enable.

HRSTDISCIE

Bit 4: HRSTDISC interrupt enable.

HRSTSENTIE

Bit 5: HRSTSENT interrupt enable.

TXUNDIE

Bit 6: TXUND interrupt enable.

RXNEIE

Bit 8: RXNE interrupt enable.

RXORDDETIE

Bit 9: RXORDDET interrupt enable.

RXHRSTDETIE

Bit 10: RXHRSTDET interrupt enable.

RXOVRIE

Bit 11: RXOVR interrupt enable.

RXMSGENDIE

Bit 12: RXMSGEND interrupt enable.

TYPECEVT1IE

Bit 14: TYPECEVT1 interrupt enable.

TYPECEVT2IE

Bit 15: TYPECEVT2 interrupt enable.

FRSEVTIE

Bit 20: FRSEVT interrupt enable.

SR

UCPD status register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

Toggle fields

TXIS

Bit 0: Transmit interrupt status.

TXMSGDISC

Bit 1: Message transmission discarded.

TXMSGSENT

Bit 2: Message transmission completed.

TXMSGABT

Bit 3: Transmit message abort.

HRSTDISC

Bit 4: Hard Reset discarded.

HRSTSENT

Bit 5: Hard Reset message sent.

TXUND

Bit 6: Tx data underrun detection.

RXNE

Bit 8: Receive data register not empty detection.

RXORDDET

Bit 9: Rx ordered set (4 K-codes) detection.

RXHRSTDET

Bit 10: Rx Hard Reset receipt detection.

RXOVR

Bit 11: Rx data overflow detection.

RXMSGEND

Bit 12: Rx message received.

RXERR

Bit 13: Receive message error.

TYPECEVT1

Bit 14: Type-C voltage level event on CC1 line.

TYPECEVT2

Bit 15: Type-C voltage level event on CC2 line.

TYPEC_VSTATE_CC1

Bits 16-17: The status bitfield indicates the voltage level on the CC1 line in its steady state..

TYPEC_VSTATE_CC2

Bits 18-19: CC2 line voltage level.

FRSEVT

Bit 20: FRS detection event.

ICR

UCPD interrupt clear register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

0/13 fields covered.

Toggle fields

TXMSGDISCCF

Bit 1: Tx message discard flag (TXMSGDISC) clear.

TXMSGSENTCF

Bit 2: Tx message send flag (TXMSGSENT) clear.

TXMSGABTCF

Bit 3: Tx message abort flag (TXMSGABT) clear.

HRSTDISCCF

Bit 4: Hard reset discard flag (HRSTDISC) clear.

HRSTSENTCF

Bit 5: Hard reset send flag (HRSTSENT) clear.

TXUNDCF

Bit 6: Tx underflow flag (TXUND) clear.

RXORDDETCF

Bit 9: Rx ordered set detect flag (RXORDDET) clear.

RXHRSTDETCF

Bit 10: Rx Hard Reset detect flag (RXHRSTDET) clear.

RXOVRCF

Bit 11: Rx overflow flag (RXOVR) clear.

RXMSGENDCF

Bit 12: Rx message received flag (RXMSGEND) clear.

TYPECEVT1CF

Bit 14: Type-C CC1 event flag (TYPECEVT1) clear.

TYPECEVT2CF

Bit 15: Type-C CC2 line event flag (TYPECEVT2) clear.

FRSEVTCF

Bit 20: FRS event flag (FRSEVT) clear.

TX_ORDSETR

UCPD Tx ordered set type register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXORDSET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXORDSET
rw
Toggle fields

TXORDSET

Bits 0-19: Ordered set to transmit.

TX_PAYSZR

UCPD Tx payload size register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXPAYSZ
rw
Toggle fields

TXPAYSZ

Bits 0-9: Payload size yet to transmit.

TXDR

UCPD Tx data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXDATA
rw
Toggle fields

TXDATA

Bits 0-7: Data byte to transmit.

RX_ORDSETR

UCPD Rx ordered set register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSOPKINVALID
r
RXSOP3OF4
r
RXORDSET
r
Toggle fields

RXORDSET

Bits 0-2: Rx ordered set code detected.

RXSOP3OF4

Bit 3: The bit indicates the number of correct K-codes..

RXSOPKINVALID

Bits 4-6: The bitfield is for debug purposes only..

RX_PAYSZR

UCPD Rx payload size register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXPAYSZ
r
Toggle fields

RXPAYSZ

Bits 0-9: Rx payload size received.

RXDR

UCPD receive data register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDATA
r
Toggle fields

RXDATA

Bits 0-7: Data byte received.

RX_ORDEXTR1

UCPD Rx ordered set extension register 1

Offset: 0x34, 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
RXSOPX1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSOPX1
rw
Toggle fields

RXSOPX1

Bits 0-19: Ordered set 1 received.

RX_ORDEXTR2

UCPD Rx ordered set extension register 2

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
RXSOPX2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSOPX2
rw
Toggle fields

RXSOPX2

Bits 0-19: Ordered set 2 received.

USART1

0x40013800: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART1_S

0x50013800: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART2

0x40004400: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART2_S

0x50004400: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART3

0x40004800: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART3_S

0x50004800: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART6

0x40006400: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USART6_S

0x50006400: USART address block description

124/145 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CR1
0x4 CR2
0x8 CR3
0x8 CR3_ALTERNATE1
0xc BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

USART control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXFFIE
rw
TXFEIE
rw
FIFOEN
rw
M1
rw
EOBIE
rw
RTOIE
rw
DEAT
rw
DEDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVER8
rw
CMIE
rw
MME
rw
M0
rw
WAKE
rw
PCE
rw
PS
rw
PEIE
rw
TXEIE
rw
TCIE
rw
RXNEIE
rw
IDLEIE
rw
TE
rw
RE
rw
UESM
rw
UE
rw
Toggle fields

UE

Bit 0: USART enable.

Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled

UESM

Bit 1: USART enable in low-power 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

RE

Bit 2: Receiver enable.

Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled

TE

Bit 3: Transmitter enable.

Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled

IDLEIE

Bit 4: IDLE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register

RXNEIE

Bit 5: RXFIFO not empty interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

TCIE

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

TXEIE

Bit 7: TXFIFO not full interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register

PEIE

Bit 8: PE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register

PS

Bit 9: Parity selection.

Allowed values:
0: Even: Even parity
1: Odd: Odd parity

PCE

Bit 10: Parity control enable.

Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled

WAKE

Bit 11: Receiver wake-up method.

Allowed values:
0: Idle: Idle line
1: Address: Address mask

M0

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

MME

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

CMIE

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

OVER8

Bit 15: Oversampling mode.

Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8

DEDT

Bits 16-20: Driver Enable deassertion time.

Allowed values: 0x0-0x1f

DEAT

Bits 21-25: Driver Enable assertion time.

Allowed values: 0x0-0x1f

RTOIE

Bit 26: Receiver timeout interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register

EOBIE

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

M1

Bit 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

FIFOEN

Bit 29: FIFO mode enable.

Allowed values:
0: Disabled: FIFO mode is disabled
1: Enabled: FIFO mode is enabled

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when TXFE = 1 in the USART_ISR register

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when RXFF = 1 in the USART_ISR register

CR2

USART control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous slave mode enable.

Allowed values:
0: Disabled: Slave mode disabled
1: Enabled: Slave mode enabled

DIS_NSS

Bit 3: When the DIS_NSS bit is set, the NSS pin input is ignored..

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

ADDM7

Bit 4: 7-bit Address Detection/4-bit Address Detection.

Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection

LBDL

Bit 5: LIN break detection length.

Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection

LBDIE

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

LBCL

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

CPHA

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

CPOL

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

CLKEN

Bit 11: Clock enable.

Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled

STOP

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

LINEN

Bit 14: LIN mode enable.

Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled

SWAP

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

RXINV

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

TXINV

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

DATAINV

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

MSBFIRST

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

ABREN

Bit 20: Auto baud rate enable.

Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled

ABRMOD

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

RTOEN

Bit 23: Receiver timeout enable.

Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled

ADD

Bits 24-31: Address of the USART node.

Allowed values: 0x0-0xff

CR3

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TCBGTIE
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register

IREN

Bit 1: IrDA mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: IrDA low-power.

Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode

HDSEL

Bit 3: Half-duplex selection.

Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected

NACK

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

SCEN

Bit 5: Smartcard mode enable.

Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled

DMAR

Bit 6: DMA enable receiver.

Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception

DMAT

Bit 7: DMA enable transmitter.

Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission

RTSE

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

CTSE

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

CTSIE

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

ONEBIT

Bit 11: One sample bit method enable.

Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method

OVRDIS

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

DDRE

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

DEM

Bit 14: Driver enable mode.

Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin

DEP

Bit 15: Driver enable polarity selection.

Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low

SCARCNT

Bits 17-19: Smartcard auto-retry count.

Allowed values: 0x0-0x7

WUS

Bits 20-21: Wake-up from low-power 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

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Transmit FIFO reaches the threshold programmed in TXFTCFG

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated whenever TCBGT=1 in the USART_ISR register

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

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

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

Allowed values:
0: Disabled: Interrupt inhibited
1: Enabled: USART interrupt generated when Receive FIFO reaches the threshold programmed in RXFTCFG

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

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

CR3_ALTERNATE1

USART control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCBGTIE
rw
WUFIE
rw
WUS1
rw
WUS0
rw
SCARCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
ONEBIT
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
SCEN
rw
NACK
rw
HDSEL
rw
IRLP
rw
IREN
rw
EIE
rw
Toggle fields

EIE

Bit 0: Error interrupt enable.

IREN

Bit 1: IrDA mode enable.

IRLP

Bit 2: IrDA low-power.

HDSEL

Bit 3: Half-duplex selection.

NACK

Bit 4: Smartcard NACK enable.

SCEN

Bit 5: Smartcard mode enable.

DMAR

Bit 6: DMA enable receiver.

DMAT

Bit 7: DMA enable transmitter.

RTSE

Bit 8: RTS enable.

CTSE

Bit 9: CTS enable.

CTSIE

Bit 10: CTS interrupt enable.

ONEBIT

Bit 11: One sample bit method enable.

OVRDIS

Bit 12: Overrun Disable.

DDRE

Bit 13: DMA Disable on reception Error.

DEM

Bit 14: Driver enable mode.

DEP

Bit 15: Driver enable polarity selection.

SCARCNT

Bits 17-19: Smartcard auto-retry count.

WUS0

Bit 20: Wake-up from low-power mode interrupt flag selection.

WUS1

Bit 21: Wake-up from low-power mode interrupt flag selection.

WUFIE

Bit 22: Wake-up from low-power mode interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

BRR

USART baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BRR
rw
Toggle fields

BRR

Bits 0-15: USART baud rate.

Allowed values: 0x0-0xffff

GTPR

USART guard 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

Allowed values: 0x0-0xff

GT

Bits 8-15: Guard time value.

Allowed values: 0x0-0xff

RTOR

USART receiver 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
BLEN
rw
RTO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
Toggle fields

RTO

Bits 0-23: Receiver timeout value.

Allowed values: 0x0-0xffffff

BLEN

Bits 24-31: Block Length.

Allowed values: 0x0-0xff

RQR

USART request register

Offset: 0x18, size: 32, reset: 0x00000000, access: write-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame

SBKRQ

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

MMRQ

Bit 2: Mute mode request.

Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag

RXFRQ

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

TXFRQ

Bit 4: Transmit data flush request.

Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data

ISR

USART interrupt and status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXFNF
r
TC
r
RXFNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: Parity error.

Allowed values:
0: NoError: No parity error
1: Error: Parity error

FE

Bit 1: Framing error.

Allowed values:
0: NoError: No Framing error is detected
1: Error: Framing error or break character is detected

NE

Bit 2: Noise detection flag.

Allowed values:
0: NoNoise: No noise is detected
1: Noise: Noise is detected

ORE

Bit 3: Overrun error.

Allowed values:
0: NoOverrun: No Overrun error
1: Overrun: Overrun error is detected

IDLE

Bit 4: Idle line detected.

Allowed values:
0: NoIdle: No Idle Line is detected
1: Idle: Idle Line is detected

RXFNE

Bit 5: RXFIFO not empty.

Allowed values:
0: NoData: Data is not received
1: DataReady: Received data is ready to be read

TC

Bit 6: Transmission complete.

Allowed values:
0: TxNotComplete: Transmission is not complete
1: TxComplete: Transmission is complete

TXFNF

Bit 7: TXFIFO not full.

Allowed values:
0: Full: Transmit FIFO is full
1: NotFull: Transmit FIFO is not full

LBDF

Bit 8: LIN break detection flag.

Allowed values:
0: NotDetected: LIN break not detected
1: Detected: LIN break detected

CTSIF

Bit 9: CTS interrupt flag.

Allowed values:
0: NotChanged: No change occurred on the CTS status line
1: Changed: A change occurred on the CTS status line

CTS

Bit 10: CTS flag.

Allowed values:
0: Set: CTS line set
1: Reset: CTS line reset

RTOF

Bit 11: Receiver timeout.

Allowed values:
0: NotReached: Timeout value not reached
1: Reached: Timeout value reached without any data reception

EOBF

Bit 12: End of block flag.

Allowed values:
0: NotReached: End of Block not reached
1: Reached: End of Block (number of characters) reached

UDR

Bit 13: SPI slave underrun error flag.

Allowed values:
0: NoUnderrun: No underrun error
1: Underrun: underrun error

ABRE

Bit 14: Auto baud rate error.

ABRF

Bit 15: Auto baud rate flag.

BUSY

Bit 16: Busy flag.

Allowed values:
0: Idle: USART is idle (no reception)
1: Busy: Reception on going

CMF

Bit 17: Character match flag.

Allowed values:
0: NoMatch: No Character match detected
1: Match: Character match detected

SBKF

Bit 18: Send break flag.

Allowed values:
0: NoBreak: No break character transmitted
1: Break: Break character transmitted

RWU

Bit 19: Receiver wake-up from mute mode.

Allowed values:
0: Active: Receiver in Active mode
1: Mute: Receiver in Mute mode

WUF

Bit 20: Wake-up from low-power mode flag.

TEACK

Bit 21: Transmit enable acknowledge flag.

REACK

Bit 22: Receive enable acknowledge flag.

TXFE

Bit 23: TXFIFO Empty.

Allowed values:
0: NotEmpty: TXFIFO not empty.
1: Empty: TXFIFO empty.

RXFF

Bit 24: RXFIFO Full.

Allowed values:
0: NotFull: RXFIFO not full.
1: Full: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

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)

RXFT

Bit 26: RXFIFO threshold flag.

Allowed values:
0: NotReached: Receive FIFO does not reach the programmed threshold.
1: Reached: Receive FIFO reached the programmed threshold.

TXFT

Bit 27: TXFIFO threshold flag.

Allowed values:
0: NotReached: TXFIFO does not reach the programmed threshold.
1: Reached: TXFIFO reached the programmed threshold.

ICR

USART interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w1c
CMCF
w1c
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w1c
EOBCF
w1c
RTOCF
w1c
CTSCF
w1c
LBDCF
w1c
TCBGTCF
w1c
TCCF
w1c
TXFECF
w1c
IDLECF
w1c
ORECF
w1c
NECF
w1c
FECF
w1c
PECF
w1c
Toggle fields

PECF

Bit 0: Parity error clear flag.

Allowed values:
1: Clear: Clears the PE flag in the ISR register

FECF

Bit 1: Framing error clear flag.

Allowed values:
1: Clear: Clears the FE flag in the ISR register

NECF

Bit 2: Noise detected clear flag.

Allowed values:
1: Clear: Clears the NF flag in the ISR register

ORECF

Bit 3: Overrun error clear flag.

Allowed values:
1: Clear: Clears the ORE flag in the ISR register

IDLECF

Bit 4: Idle line detected clear flag.

Allowed values:
1: Clear: Clears the IDLE flag in the ISR register

TXFECF

Bit 5: TXFIFO empty clear flag.

Allowed values:
1: Clear: Clear the TXFE flag in the ISR register

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTCF

Bit 7: Transmission complete before Guard time clear flag.

Allowed values:
1: Clear: Clear the TCBGT flag in the ISR register

LBDCF

Bit 8: LIN break detection clear flag.

Allowed values:
1: Clear: Clears the LBDF flag in the ISR register

CTSCF

Bit 9: CTS clear flag.

Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register

RTOCF

Bit 11: Receiver timeout clear flag.

Allowed values:
1: Clear: Clears the RTOF flag in the ISR register

EOBCF

Bit 12: End of block clear flag.

Allowed values:
1: Clear: Clears the EOBF flag in the ISR register

UDRCF

Bit 13: SPI slave underrun clear flag.

Allowed values:
1: Clear: Clear the UDR flag in the ISR register

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wake-up from low-power mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

USART receive data register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDR
r
Toggle fields

RDR

Bits 0-8: Receive data value.

Allowed values: 0x0-0x1ff

TDR

USART transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

Allowed values: 0x0-0x1ff

PRESC

USART 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
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock 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

USB

0x40016000: USB address block description

25/189 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CHEP[0]R
0x4 CHEP[1]R
0x8 CHEP[2]R
0xc CHEP[3]R
0x10 CHEP[4]R
0x14 CHEP[5]R
0x18 CHEP[6]R
0x1c CHEP[7]R
0x40 CNTR
0x44 ISTR
0x48 FNR
0x4c DADDR
0x54 LPMCSR
0x58 BCDR
Toggle registers

CHEP[0]R

USB endpoint/channel 0 register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[1]R

USB endpoint/channel 1 register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[2]R

USB endpoint/channel 2 register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[3]R

USB endpoint/channel 3 register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[4]R

USB endpoint/channel 4 register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[5]R

USB endpoint/channel 5 register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[6]R

USB endpoint/channel 6 register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[7]R

USB endpoint/channel 7 register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CNTR

USB control register

Offset: 0x40, size: 32, reset: 0x00000003, access: read-write

1/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HOST
rw
DDISCM
rw
THR512M
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTRM
rw
PMAOVRM
rw
ERRM
rw
WKUPM
rw
SUSPM
rw
RST_DCONM
rw
SOFM
rw
ESOFM
rw
L1REQM
rw
L1RES
rw
L2RES
rw
SUSPEN
rw
SUSPRDY
r
PDWN
rw
USBRST
rw
Toggle fields

USBRST

Bit 0: USB Reset.

PDWN

Bit 1: Power down.

SUSPRDY

Bit 2: Suspend state effective.

SUSPEN

Bit 3: Suspend state enable.

L2RES

Bit 4: L2 remote wake-up / resume driver.

L1RES

Bit 5: L1 remote wake-up / resume driver.

L1REQM

Bit 7: LPM L1 state request interrupt mask.

ESOFM

Bit 8: Expected start of frame interrupt mask.

SOFM

Bit 9: Start of frame interrupt mask.

RST_DCONM

Bit 10: USB reset request (Device mode) or device connect/disconnect (Host mode) interrupt mask.

SUSPM

Bit 11: Suspend mode interrupt mask.

WKUPM

Bit 12: Wake-up interrupt mask.

ERRM

Bit 13: Error interrupt mask.

PMAOVRM

Bit 14: Packet memory area over / underrun interrupt mask.

CTRM

Bit 15: Correct transfer interrupt mask.

THR512M

Bit 16: 512 byte threshold interrupt mask.

DDISCM

Bit 17: Device disconnection mask.

HOST

Bit 31: HOST mode.

ISTR

USB interrupt status register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

5/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LS_DCON
r
DCON_STAT
r
DDISC
rw
THR512
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTR
r
PMAOVR
rw
ERR
rw
WKUP
rw
SUSP
rw
RST_DCON
rw
SOF
rw
ESOF
rw
L1REQ
rw
DIR
r
IDN
r
Toggle fields

IDN

Bits 0-3: Device Endpoint / host channel identification number.

DIR

Bit 4: Direction of transaction.

L1REQ

Bit 7: LPM L1 state request.

ESOF

Bit 8: Expected start of frame.

SOF

Bit 9: Start of frame.

RST_DCON

Bit 10: USB reset request (Device mode) or device connect/disconnect (Host mode).

SUSP

Bit 11: Suspend mode request.

WKUP

Bit 12: Wake-up.

ERR

Bit 13: Error.

PMAOVR

Bit 14: Packet memory area over / underrun.

CTR

Bit 15: Completed transfer in host mode.

THR512

Bit 16: 512 byte threshold interrupt.

DDISC

Bit 17: Device connection.

DCON_STAT

Bit 29: Device connection status.

LS_DCON

Bit 30: Low speed device connected.

FNR

USB frame number register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDP
r
RXDM
r
LCK
r
LSOF
r
FN
r
Toggle fields

FN

Bits 0-10: Frame number.

LSOF

Bits 11-12: Lost SOF.

LCK

Bit 13: Locked.

RXDM

Bit 14: Receive data - line status.

RXDP

Bit 15: Receive data + line status.

DADDR

USB Device address

Offset: 0x4c, 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
EF
rw
ADD
rw
Toggle fields

ADD

Bits 0-6: Device address.

EF

Bit 7: Enable function.

LPMCSR

LPM control and status register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BESL
r
REMWAKE
r
LPMACK
rw
LPMEN
rw
Toggle fields

LPMEN

Bit 0: LPM support enable.

LPMACK

Bit 1: LPM token acknowledge enable.

REMWAKE

Bit 3: bRemoteWake value.

BESL

Bits 4-7: BESL value.

BCDR

Battery charging detector

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

4/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPPU_DPD
rw
PS2DET
r
SDET
r
PDET
r
DCDET
r
SDEN
rw
PDEN
rw
DCDEN
rw
BCDEN
rw
Toggle fields

BCDEN

Bit 0: Battery charging detector (BCD) enable.

DCDEN

Bit 1: Data contact detection (DCD) mode enable.

PDEN

Bit 2: Primary detection (PD) mode enable.

SDEN

Bit 3: Secondary detection (SD) mode enable.

DCDET

Bit 4: Data contact detection (DCD) status.

PDET

Bit 5: Primary detection (PD) status.

SDET

Bit 6: Secondary detection (SD) status.

PS2DET

Bit 7: DM pull-up detection status.

DPPU_DPD

Bit 15: DP pull-up / DPDM pull-down.

USB_S

0x50016000: USB address block description

25/189 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CHEP[0]R
0x4 CHEP[1]R
0x8 CHEP[2]R
0xc CHEP[3]R
0x10 CHEP[4]R
0x14 CHEP[5]R
0x18 CHEP[6]R
0x1c CHEP[7]R
0x40 CNTR
0x44 ISTR
0x48 FNR
0x4c DADDR
0x54 LPMCSR
0x58 BCDR
Toggle registers

CHEP[0]R

USB endpoint/channel 0 register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[1]R

USB endpoint/channel 1 register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[2]R

USB endpoint/channel 2 register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[3]R

USB endpoint/channel 3 register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[4]R

USB endpoint/channel 4 register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[5]R

USB endpoint/channel 5 register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[6]R

USB endpoint/channel 6 register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CHEP[7]R

USB endpoint/channel 7 register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THREE_ERR_RX
rw
THREE_ERR_TX
rw
ERR_RX
rw
ERR_TX
rw
LS_EP
rw
NAK
rw
DEVADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VTRX
rw
DTOGRX
w
STATRX
w
SETUP
r
UTYPE
rw
EPKIND
rw
VTTX
rw
DTOGTX
w
STATTX
w
EA
rw
Toggle fields

EA

Bits 0-3: endpoint/channel address.

STATTX

Bits 4-5: Status bits, for transmission transfers.

DTOGTX

Bit 6: Data toggle, for transmission transfers.

VTTX

Bit 7: Valid USB transaction transmitted.

EPKIND

Bit 8: endpoint/channel kind.

UTYPE

Bits 9-10: USB type of transaction.

SETUP

Bit 11: Setup transaction completed.

STATRX

Bits 12-13: Status bits, for reception transfers.

DTOGRX

Bit 14: Data Toggle, for reception transfers.

VTRX

Bit 15: USB valid transaction received.

DEVADDR

Bits 16-22: Host mode.

NAK

Bit 23: Host mode.

LS_EP

Bit 24: Low speed endpoint host with HUB only.

ERR_TX

Bit 25: Received error for an OUT/SETUP transaction.

ERR_RX

Bit 26: Received error for an IN transaction.

THREE_ERR_TX

Bits 27-28: Three errors for an OUT or SETUP transaction.

THREE_ERR_RX

Bits 29-30: Three errors for an IN transaction.

CNTR

USB control register

Offset: 0x40, size: 32, reset: 0x00000003, access: read-write

1/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HOST
rw
DDISCM
rw
THR512M
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTRM
rw
PMAOVRM
rw
ERRM
rw
WKUPM
rw
SUSPM
rw
RST_DCONM
rw
SOFM
rw
ESOFM
rw
L1REQM
rw
L1RES
rw
L2RES
rw
SUSPEN
rw
SUSPRDY
r
PDWN
rw
USBRST
rw
Toggle fields

USBRST

Bit 0: USB Reset.

PDWN

Bit 1: Power down.

SUSPRDY

Bit 2: Suspend state effective.

SUSPEN

Bit 3: Suspend state enable.

L2RES

Bit 4: L2 remote wake-up / resume driver.

L1RES

Bit 5: L1 remote wake-up / resume driver.

L1REQM

Bit 7: LPM L1 state request interrupt mask.

ESOFM

Bit 8: Expected start of frame interrupt mask.

SOFM

Bit 9: Start of frame interrupt mask.

RST_DCONM

Bit 10: USB reset request (Device mode) or device connect/disconnect (Host mode) interrupt mask.

SUSPM

Bit 11: Suspend mode interrupt mask.

WKUPM

Bit 12: Wake-up interrupt mask.

ERRM

Bit 13: Error interrupt mask.

PMAOVRM

Bit 14: Packet memory area over / underrun interrupt mask.

CTRM

Bit 15: Correct transfer interrupt mask.

THR512M

Bit 16: 512 byte threshold interrupt mask.

DDISCM

Bit 17: Device disconnection mask.

HOST

Bit 31: HOST mode.

ISTR

USB interrupt status register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

5/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LS_DCON
r
DCON_STAT
r
DDISC
rw
THR512
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTR
r
PMAOVR
rw
ERR
rw
WKUP
rw
SUSP
rw
RST_DCON
rw
SOF
rw
ESOF
rw
L1REQ
rw
DIR
r
IDN
r
Toggle fields

IDN

Bits 0-3: Device Endpoint / host channel identification number.

DIR

Bit 4: Direction of transaction.

L1REQ

Bit 7: LPM L1 state request.

ESOF

Bit 8: Expected start of frame.

SOF

Bit 9: Start of frame.

RST_DCON

Bit 10: USB reset request (Device mode) or device connect/disconnect (Host mode).

SUSP

Bit 11: Suspend mode request.

WKUP

Bit 12: Wake-up.

ERR

Bit 13: Error.

PMAOVR

Bit 14: Packet memory area over / underrun.

CTR

Bit 15: Completed transfer in host mode.

THR512

Bit 16: 512 byte threshold interrupt.

DDISC

Bit 17: Device connection.

DCON_STAT

Bit 29: Device connection status.

LS_DCON

Bit 30: Low speed device connected.

FNR

USB frame number register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDP
r
RXDM
r
LCK
r
LSOF
r
FN
r
Toggle fields

FN

Bits 0-10: Frame number.

LSOF

Bits 11-12: Lost SOF.

LCK

Bit 13: Locked.

RXDM

Bit 14: Receive data - line status.

RXDP

Bit 15: Receive data + line status.

DADDR

USB Device address

Offset: 0x4c, 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
EF
rw
ADD
rw
Toggle fields

ADD

Bits 0-6: Device address.

EF

Bit 7: Enable function.

LPMCSR

LPM control and status register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BESL
r
REMWAKE
r
LPMACK
rw
LPMEN
rw
Toggle fields

LPMEN

Bit 0: LPM support enable.

LPMACK

Bit 1: LPM token acknowledge enable.

REMWAKE

Bit 3: bRemoteWake value.

BESL

Bits 4-7: BESL value.

BCDR

Battery charging detector

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

4/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPPU_DPD
rw
PS2DET
r
SDET
r
PDET
r
DCDET
r
SDEN
rw
PDEN
rw
DCDEN
rw
BCDEN
rw
Toggle fields

BCDEN

Bit 0: Battery charging detector (BCD) enable.

DCDEN

Bit 1: Data contact detection (DCD) mode enable.

PDEN

Bit 2: Primary detection (PD) mode enable.

SDEN

Bit 3: Secondary detection (SD) mode enable.

DCDET

Bit 4: Data contact detection (DCD) status.

PDET

Bit 5: Primary detection (PD) status.

SDET

Bit 6: Secondary detection (SD) status.

PS2DET

Bit 7: DM pull-up detection status.

DPPU_DPD

Bit 15: DP pull-up / DPDM pull-down.

USBSRAM

0x40016400: USBSRAM address block description

16/96 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 TXRXBD_0
0x0 TXRXBD_0_ALTERNATE1
0x4 RXTXBD_0
0x4 RXTXBD_0_ALTERNATE1
0x8 TXRXBD_1
0x8 TXRXBD_1_ALTERNATE1
0xc RXTXBD_1
0xc RXTXBD_1_ALTERNATE1
0x10 TXRXBD_2
0x10 TXRXBD_2_ALTERNATE1
0x14 RXTXBD_2
0x14 RXTXBD_2_ALTERNATE1
0x18 TXRXBD_3
0x18 TXRXBD_3_ALTERNATE1
0x1c RXTXBD_3
0x1c RXTXBD_3_ALTERNATE1
0x20 TXRXBD_4
0x20 TXRXBD_4_ALTERNATE1
0x24 RXTXBD_4
0x24 RXTXBD_4_ALTERNATE1
0x28 TXRXBD_5
0x28 TXRXBD_5_ALTERNATE1
0x2c RXTXBD_5
0x2c RXTXBD_5_ALTERNATE1
0x30 TXRXBD_6
0x30 TXRXBD_6_ALTERNATE1
0x34 RXTXBD_6
0x34 RXTXBD_6_ALTERNATE1
0x38 TXRXBD_7
0x38 TXRXBD_7_ALTERNATE1
0x3c RXTXBD_7
0x3c RXTXBD_7_ALTERNATE1
Toggle registers

TXRXBD_0

Channel/endpoint transmit buffer descriptor 0

Offset: 0x0, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_0_ALTERNATE1

Channel/endpoint receive buffer descriptor 0

Offset: 0x0, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_0

Channel/endpoint receive buffer descriptor 0

Offset: 0x4, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_0_ALTERNATE1

Channel/endpoint transmit buffer descriptor 0

Offset: 0x4, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_1

Channel/endpoint transmit buffer descriptor 1

Offset: 0x8, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_1_ALTERNATE1

Channel/endpoint receive buffer descriptor 1

Offset: 0x8, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_1

Channel/endpoint receive buffer descriptor 1

Offset: 0xc, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_1_ALTERNATE1

Channel/endpoint transmit buffer descriptor 1

Offset: 0xc, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_2

Channel/endpoint transmit buffer descriptor 2

Offset: 0x10, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_2_ALTERNATE1

Channel/endpoint receive buffer descriptor 2

Offset: 0x10, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_2

Channel/endpoint receive buffer descriptor 2

Offset: 0x14, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_2_ALTERNATE1

Channel/endpoint transmit buffer descriptor 2

Offset: 0x14, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_3

Channel/endpoint transmit buffer descriptor 3

Offset: 0x18, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_3_ALTERNATE1

Channel/endpoint receive buffer descriptor 3

Offset: 0x18, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_3

Channel/endpoint receive buffer descriptor 3

Offset: 0x1c, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_3_ALTERNATE1

Channel/endpoint transmit buffer descriptor 3

Offset: 0x1c, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_4

Channel/endpoint transmit buffer descriptor 4

Offset: 0x20, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_4_ALTERNATE1

Channel/endpoint receive buffer descriptor 4

Offset: 0x20, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_4

Channel/endpoint receive buffer descriptor 4

Offset: 0x24, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_4_ALTERNATE1

Channel/endpoint transmit buffer descriptor 4

Offset: 0x24, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_5

Channel/endpoint transmit buffer descriptor 5

Offset: 0x28, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_5_ALTERNATE1

Channel/endpoint receive buffer descriptor 5

Offset: 0x28, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_5

Channel/endpoint receive buffer descriptor 5

Offset: 0x2c, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_5_ALTERNATE1

Channel/endpoint transmit buffer descriptor 5

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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_6

Channel/endpoint transmit buffer descriptor 6

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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_6_ALTERNATE1

Channel/endpoint receive buffer descriptor 6

Offset: 0x30, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_6

Channel/endpoint receive buffer descriptor 6

Offset: 0x34, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_6_ALTERNATE1

Channel/endpoint transmit buffer descriptor 6

Offset: 0x34, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_7

Channel/endpoint transmit buffer descriptor 7

Offset: 0x38, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_7_ALTERNATE1

Channel/endpoint receive buffer descriptor 7

Offset: 0x38, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_7

Channel/endpoint receive buffer descriptor 7

Offset: 0x3c, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_7_ALTERNATE1

Channel/endpoint transmit buffer descriptor 7

Offset: 0x3c, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

USBSRAM_S

0x50016400: USBSRAM address block description

16/96 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 TXRXBD_0
0x0 TXRXBD_0_ALTERNATE1
0x4 RXTXBD_0
0x4 RXTXBD_0_ALTERNATE1
0x8 TXRXBD_1
0x8 TXRXBD_1_ALTERNATE1
0xc RXTXBD_1
0xc RXTXBD_1_ALTERNATE1
0x10 TXRXBD_2
0x10 TXRXBD_2_ALTERNATE1
0x14 RXTXBD_2
0x14 RXTXBD_2_ALTERNATE1
0x18 TXRXBD_3
0x18 TXRXBD_3_ALTERNATE1
0x1c RXTXBD_3
0x1c RXTXBD_3_ALTERNATE1
0x20 TXRXBD_4
0x20 TXRXBD_4_ALTERNATE1
0x24 RXTXBD_4
0x24 RXTXBD_4_ALTERNATE1
0x28 TXRXBD_5
0x28 TXRXBD_5_ALTERNATE1
0x2c RXTXBD_5
0x2c RXTXBD_5_ALTERNATE1
0x30 TXRXBD_6
0x30 TXRXBD_6_ALTERNATE1
0x34 RXTXBD_6
0x34 RXTXBD_6_ALTERNATE1
0x38 TXRXBD_7
0x38 TXRXBD_7_ALTERNATE1
0x3c RXTXBD_7
0x3c RXTXBD_7_ALTERNATE1
Toggle registers

TXRXBD_0

Channel/endpoint transmit buffer descriptor 0

Offset: 0x0, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_0_ALTERNATE1

Channel/endpoint receive buffer descriptor 0

Offset: 0x0, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_0

Channel/endpoint receive buffer descriptor 0

Offset: 0x4, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_0_ALTERNATE1

Channel/endpoint transmit buffer descriptor 0

Offset: 0x4, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_1

Channel/endpoint transmit buffer descriptor 1

Offset: 0x8, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_1_ALTERNATE1

Channel/endpoint receive buffer descriptor 1

Offset: 0x8, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_1

Channel/endpoint receive buffer descriptor 1

Offset: 0xc, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_1_ALTERNATE1

Channel/endpoint transmit buffer descriptor 1

Offset: 0xc, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_2

Channel/endpoint transmit buffer descriptor 2

Offset: 0x10, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_2_ALTERNATE1

Channel/endpoint receive buffer descriptor 2

Offset: 0x10, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_2

Channel/endpoint receive buffer descriptor 2

Offset: 0x14, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_2_ALTERNATE1

Channel/endpoint transmit buffer descriptor 2

Offset: 0x14, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_3

Channel/endpoint transmit buffer descriptor 3

Offset: 0x18, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_3_ALTERNATE1

Channel/endpoint receive buffer descriptor 3

Offset: 0x18, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_3

Channel/endpoint receive buffer descriptor 3

Offset: 0x1c, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_3_ALTERNATE1

Channel/endpoint transmit buffer descriptor 3

Offset: 0x1c, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_4

Channel/endpoint transmit buffer descriptor 4

Offset: 0x20, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_4_ALTERNATE1

Channel/endpoint receive buffer descriptor 4

Offset: 0x20, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_4

Channel/endpoint receive buffer descriptor 4

Offset: 0x24, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_4_ALTERNATE1

Channel/endpoint transmit buffer descriptor 4

Offset: 0x24, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_5

Channel/endpoint transmit buffer descriptor 5

Offset: 0x28, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_5_ALTERNATE1

Channel/endpoint receive buffer descriptor 5

Offset: 0x28, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_5

Channel/endpoint receive buffer descriptor 5

Offset: 0x2c, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_5_ALTERNATE1

Channel/endpoint transmit buffer descriptor 5

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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_6

Channel/endpoint transmit buffer descriptor 6

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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_6_ALTERNATE1

Channel/endpoint receive buffer descriptor 6

Offset: 0x30, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_6

Channel/endpoint receive buffer descriptor 6

Offset: 0x34, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_6_ALTERNATE1

Channel/endpoint transmit buffer descriptor 6

Offset: 0x34, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_7

Channel/endpoint transmit buffer descriptor 7

Offset: 0x38, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

TXRXBD_7_ALTERNATE1

Channel/endpoint receive buffer descriptor 7

Offset: 0x38, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_7

Channel/endpoint receive buffer descriptor 7

Offset: 0x3c, 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
BLSIZE
rw
NUM_BLOCK
rw
COUNT_RX
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_RX
rw
Toggle fields

ADDR_RX

Bits 0-15: Reception buffer address.

COUNT_RX

Bits 16-25: Reception byte count.

NUM_BLOCK

Bits 26-30: Number of blocks.

BLSIZE

Bit 31: Block size.

RXTXBD_7_ALTERNATE1

Channel/endpoint transmit buffer descriptor 7

Offset: 0x3c, 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
COUNT_TX
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR_TX
rw
Toggle fields

ADDR_TX

Bits 0-15: Transmission buffer address.

COUNT_TX

Bits 16-25: Transmission byte count.

VREFBUF

0x44007400: VREFBUF address block description

1/5 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CSR
0x4 CCR
Toggle registers

CSR

VREFBUF control and status register

Offset: 0x0, size: 32, reset: 0x00000002, access: read-write

1/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VRS
rw
VRR
r
HIZ
rw
ENVR
rw
Toggle fields

ENVR

Bit 0: Voltage reference buffer mode enable.

HIZ

Bit 1: High impedance mode.

VRR

Bit 3: Voltage reference buffer ready.

VRS

Bits 4-6: Voltage reference scale.

CCR

VREFBUF calibration control register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIM
rw
Toggle fields

TRIM

Bits 0-5: Trimming code.

VREFBUF_S

0x54007400: VREFBUF address block description

1/5 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 CSR
0x4 CCR
Toggle registers

CSR

VREFBUF control and status register

Offset: 0x0, size: 32, reset: 0x00000002, access: read-write

1/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VRS
rw
VRR
r
HIZ
rw
ENVR
rw
Toggle fields

ENVR

Bit 0: Voltage reference buffer mode enable.

HIZ

Bit 1: High impedance mode.

VRR

Bit 3: Voltage reference buffer ready.

VRS

Bits 4-6: Voltage reference scale.

CCR

VREFBUF calibration control register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIM
rw
Toggle fields

TRIM

Bits 0-5: Trimming code.

WWDG

0x40002c00: WWDG address block description

6/6 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR
0x4 (16-bit) CFR
0x8 (16-bit) SR
Toggle registers

CR

WWDG control 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
WDGA
rw
T
rw
Toggle fields

T

Bits 0-6: 7-bit counter (MSB to LSB).

Allowed values: 0x0-0x7f

WDGA

Bit 7: Activation bit.

Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled

CFR

WWDG 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
WDGTB
rw
EWI
rw
W
rw
Toggle fields

W

Bits 0-6: 7-bit window value.

Allowed values: 0x0-0x7f

EWI

Bit 9: Early wake-up interrupt enable.

Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40

WDGTB

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

SR

WWDG 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
EWIF
r/w0c
Toggle fields

EWIF

Bit 0: Early wake-up interrupt flag.

Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered

WWDG_S

0x50002c00: WWDG address block description

6/6 fields covered.

Toggle register map
Offset Name
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x0 (16-bit) CR
0x4 (16-bit) CFR
0x8 (16-bit) SR
Toggle registers

CR

WWDG control 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
WDGA
rw
T
rw
Toggle fields

T

Bits 0-6: 7-bit counter (MSB to LSB).

Allowed values: 0x0-0x7f

WDGA

Bit 7: Activation bit.

Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled

CFR

WWDG 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
WDGTB
rw
EWI
rw
W
rw
Toggle fields

W

Bits 0-6: 7-bit window value.

Allowed values: 0x0-0x7f

EWI

Bit 9: Early wake-up interrupt enable.

Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40

WDGTB

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

SR

WWDG 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
EWIF
r/w0c
Toggle fields

EWIF

Bit 0: Early wake-up interrupt flag.

Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered