Overall: 9245/19527 fields covered

AC

0xe000ef90: Access control

0/22 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 ITCMCR
0x4 DTCMCR
0x8 AHBPCR
0xc CACR
0x10 AHBSCR
0x18 ABFSR
Toggle registers

ITCMCR

Instruction and Data Tightly-Coupled Memory Control Registers

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
SZ
rw
RETEN
rw
RMW
rw
EN
rw
Toggle fields

EN

Bit 0: EN.

RMW

Bit 1: RMW.

RETEN

Bit 2: RETEN.

SZ

Bits 3-6: SZ.

DTCMCR

Instruction and Data Tightly-Coupled Memory Control Registers

Offset: 0x4, 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
SZ
rw
RETEN
rw
RMW
rw
EN
rw
Toggle fields

EN

Bit 0: EN.

RMW

Bit 1: RMW.

RETEN

Bit 2: RETEN.

SZ

Bits 3-6: SZ.

AHBPCR

AHBP Control 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
SZ
rw
EN
rw
Toggle fields

EN

Bit 0: EN.

SZ

Bits 1-3: SZ.

CACR

Auxiliary Cache Control register

Offset: 0xc, 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
FORCEWT
rw
ECCEN
rw
SIWT
rw
Toggle fields

SIWT

Bit 0: SIWT.

ECCEN

Bit 1: ECCEN.

FORCEWT

Bit 2: FORCEWT.

AHBSCR

AHB Slave Control register

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

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INITCOUNT
rw
TPRI
rw
CTL
rw
Toggle fields

CTL

Bits 0-1: CTL.

TPRI

Bits 2-10: TPRI.

INITCOUNT

Bits 11-15: INITCOUNT.

ABFSR

Auxiliary Bus Fault Status register

Offset: 0x18, 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
AXIMTYPE
rw
EPPB
rw
AXIM
rw
AHBP
rw
DTCM
rw
ITCM
rw
Toggle fields

ITCM

Bit 0: ITCM.

DTCM

Bit 1: DTCM.

AHBP

Bit 2: AHBP.

AXIM

Bit 3: AXIM.

EPPB

Bit 4: EPPB.

AXIMTYPE

Bits 8-9: AXIMTYPE.

ADC1

0x40022000: Analog to Digital Converter

199/199 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
0x1c PCSEL
0x20 LTR1
0x24 HTR1
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR1
0x64 OFR2
0x68 OFR3
0x6c OFR4
0x80 JDR1
0x84 JDR2
0x88 JDR3
0x8c JDR4
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 LTR2
0xb4 HTR2
0xb8 LTR3
0xbc HTR3
0xc0 DIFSEL
0xc4 CALFACT
0xc8 CALFACT2
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
rw
AWD3
rw
AWD2
rw
AWD1
rw
JEOS
rw
JEOC
rw
OVR
rw
EOS
rw
EOC
rw
EOSMP
rw
ADRDY
rw
Toggle fields

ADRDY

Bit 0: ADC ready flag.

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

EOSMP

Bit 1: ADC group regular 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: ADC group regular end of unitary conversion flag.

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

EOS

Bit 3: ADC group regular end of sequence conversions flag.

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

OVR

Bit 4: ADC group regular overrun flag.

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

JEOC

Bit 5: ADC group injected end of unitary conversion flag.

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

JEOS

Bit 6: ADC group injected end of sequence conversions flag.

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

AWD1

Bit 7: ADC analog watchdog 1 flag.

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

AWD2

Bit 8: ADC analog watchdog 2 flag.

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

AWD3

Bit 9: ADC analog watchdog 3 flag.

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

JQOVF

Bit 10: ADC group injected contexts queue overflow flag.

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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVFIE
rw
AWD3IE
rw
AWD2IE
rw
AWD1IE
rw
JEOSIE
rw
JEOCIE
rw
OVRIE
rw
EOSIE
rw
EOCIE
rw
EOSMPIE
rw
ADRDYIE
rw
Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt.

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

EOSMPIE

Bit 1: ADC group regular end of sampling interrupt.

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: ADC group regular end of unitary conversion interrupt.

Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled

EOSIE

Bit 3: ADC group regular end of sequence conversions interrupt.

Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled

OVRIE

Bit 4: ADC group regular overrun interrupt.

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

JEOCIE

Bit 5: ADC group injected end of unitary conversion interrupt.

Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled

JEOSIE

Bit 6: ADC group injected end of sequence conversions interrupt.

Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled

AWD1IE

Bit 7: ADC analog watchdog 1 interrupt.

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

AWD2IE

Bit 8: ADC analog watchdog 2 interrupt.

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

AWD3IE

Bit 9: ADC analog watchdog 3 interrupt.

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

JQOVFIE

Bit 10: ADC group injected contexts queue overflow interrupt.

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: 0x00000000, access: read-write

18/18 fields covered.

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

ADEN

Bit 0: ADC enable.

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

ADDIS

Bit 1: ADC disable.

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

ADSTART

Bit 2: ADC group regular conversion start.

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

JADSTART

Bit 3: ADC group injected conversion start.

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

ADSTP

Bit 4: ADC group regular conversion stop.

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

JADSTP

Bit 5: ADC group injected conversion stop.

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

BOOST

Bits 8-9: Boost mode control.

Allowed values:
0: LT6_25: Boost mode used when ADC clock ≤ 6.25 MHz
1: LT12_5: Boost mode used when 6.25 MHz < ADC clock ≤ 12.5 MHz
2: LT25: Boost mode used when 12.5 MHz < ADC clock ≤ 25.0 MHz
3: LT50: Boost mode used when 25.0 MHz < ADC clock ≤ 50.0 MHz

ADCALLIN

Bit 16: Linearity calibration.

Allowed values:
0: NoLinearity: ADC calibration without linearaity calibration
1: Linearity: ADC calibration with linearaity calibration

LINCALRDYW1

Bit 22: Linearity calibration ready Word 1.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW2

Bit 23: Linearity calibration ready Word 2.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW3

Bit 24: Linearity calibration ready Word 3.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW4

Bit 25: Linearity calibration ready Word 4.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW5

Bit 26: Linearity calibration ready Word 5.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW6

Bit 27: Linearity calibration ready Word 6.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

ADVREGEN

Bit 28: ADC voltage regulator enable.

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

DEEPPWD

Bit 29: ADC deep power down enable.

Allowed values:
0: PowerUp: ADC not in deep power down
1: PowerDown: ADC in deep power down

ADCALDIF

Bit 30: ADC 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: Complete: Calibration complete
1: Calibration: Start the calibration of the ADC

CFGR

ADC configuration register 1

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
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
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMNGT
rw
Toggle fields

DMNGT

Bits 0-1: ADC DMA transfer enable.

Allowed values:
0: DR: Store output data in DR only
1: DMA_OneShot: DMA One Shot Mode selected
2: DFSDM: DFSDM mode selected
3: DMA_Circular: DMA Circular Mode selected

RES

Bits 2-4: ADC data resolution.

Allowed values:
0: SixteenBit: 16-bit resolution
1: FourteenBit: 14-bit resolution in legacy mode (not optimized power consumption)
2: TwelveBit: 12-bit resolution in legacy mode (not optimized power consumption)
3: TenBit: 10-bit resolution
5: FourteenBitV: 14-bit resolution
6: TwelveBitV: 12-bit resolution
7: EightBit: 8-bit resolution

EXTSEL

Bits 5-9: ADC group regular external trigger source.

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
5: TIM4_CC4: Timer 4 CC4 event
6: EXTI11: EXTI line 11
7: TIM8_TRGO: Timer 8 TRGO event
8: TIM8_TRGO2: Timer 8 TRGO2 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
12: TIM4_TRGO: Timer 4 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
16: HRTIM1_ADCTRG1: HRTIM1_ADCTRG1 event
17: HRTIM1_ADCTRG3: HRTIM1_ADCTRG3 event
18: LPTIM1_OUT: LPTIM1_OUT event
19: LPTIM2_OUT: LPTIM2_OUT event
20: LPTIM3_OUT: LPTIM3_OUT event

EXTEN

Bits 10-11: ADC group regular external trigger polarity.

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: ADC group regular overrun configuration.

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: ADC group regular continuous conversion mode.

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

AUTDLY

Bit 14: ADC low power auto wait.

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

DISCEN

Bit 16: ADC group regular sequencer discontinuous mode.

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

DISCNUM

Bits 17-19: ADC group regular sequencer discontinuous number of ranks.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: ADC group injected sequencer discontinuous mode.

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

JQM

Bit 21: ADC group injected contexts 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: ADC analog watchdog 1 monitoring a single channel or 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: ADC analog watchdog 1 enable on scope ADC group regular.

Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels

JAWD1EN

Bit 24: ADC analog watchdog 1 enable on scope ADC group injected.

Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels

JAUTO

Bit 25: ADC group injected automatic trigger mode.

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

AWD1CH

Bits 26-30: ADC analog watchdog 1 monitored channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: ADC group injected contexts queue disable.

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

CFGR2

ADC configuration register 2

Offset: 0x10, 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
LSHIFT
rw
OSVR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSHIFT4
rw
RSHIFT3
rw
RSHIFT2
rw
RSHIFT1
rw
ROVSM
rw
TROVS
rw
OVSS
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: ADC oversampler enable on scope ADC group regular.

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

JOVSE

Bit 1: ADC oversampler enable on scope ADC group injected.

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

OVSS

Bits 5-8: ADC oversampling shift.

Allowed values: 0x0-0xb

TROVS

Bit 9: ADC oversampling discontinuous mode (triggered mode) for ADC group regular.

Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular Oversampling mode.

Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence

RSHIFT1

Bit 11: Right-shift data after Offset 1 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT2

Bit 12: Right-shift data after Offset 2 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT3

Bit 13: Right-shift data after Offset 3 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT4

Bit 14: Right-shift data after Offset 4 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

OSVR

Bits 16-25: Oversampling ratio.

Allowed values: 0x0-0x3ff

LSHIFT

Bits 28-31: Left shift factor.

Allowed values: 0x0-0xf

SMPR1

ADC sampling time register 1

Offset: 0x14, 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
SMP9
rw
SMP8
rw
SMP7
rw
SMP6
rw
SMP5
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP5
rw
SMP4
rw
SMP3
rw
SMP2
rw
SMP1
rw
SMP0
rw
Toggle fields

SMP0

Bits 0-2: ADC channel 0 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP1

Bits 3-5: ADC channel 1 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP2

Bits 6-8: ADC channel 2 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP3

Bits 9-11: ADC channel 3 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP4

Bits 12-14: ADC channel 4 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP5

Bits 15-17: ADC channel 5 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP6

Bits 18-20: ADC channel 6 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP7

Bits 21-23: ADC channel 7 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP8

Bits 24-26: ADC channel 8 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP9

Bits 27-29: ADC channel 9 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMPR2

ADC sampling 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
SMP19
rw
SMP18
rw
SMP17
rw
SMP16
rw
SMP15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP15
rw
SMP14
rw
SMP13
rw
SMP12
rw
SMP11
rw
SMP10
rw
Toggle fields

SMP10

Bits 0-2: ADC channel 10 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP11

Bits 3-5: ADC channel 11 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP12

Bits 6-8: ADC channel 12 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP13

Bits 9-11: ADC channel 13 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP14

Bits 12-14: ADC channel 14 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP15

Bits 15-17: ADC channel 15 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP16

Bits 18-20: ADC channel 16 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP17

Bits 21-23: ADC channel 17 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP18

Bits 24-26: ADC channel 18 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP19

Bits 27-29: ADC channel 19 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

PCSEL

ADC pre channel selection register

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

1/1 fields covered.

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

PCSEL

Bits 0-19: Channel x (VINP[i]) pre selection.

Allowed values:
0: NotPreselected: Input channel x is not pre-selected
1: Preselected: Pre-select input channel x

LTR1

ADC analog watchdog 1 threshold register

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

1/1 fields covered.

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

LTR1

Bits 0-25: ADC analog watchdog 1 threshold low.

Allowed values: 0x0-0x3ffffff

HTR1

ADC analog watchdog 2 threshold register

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

1/1 fields covered.

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

HTR1

Bits 0-25: ADC analog watchdog 2 threshold low.

Allowed values: 0x0-0x3ffffff

SQR1

ADC group regular sequencer ranks register 1

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

5/5 fields covered.

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

L

Bits 0-3: L3.

Allowed values: 0x0-0xf

SQ1

Bits 6-10: ADC group regular sequencer rank 1.

Allowed values: 0x0-0x13

SQ2

Bits 12-16: ADC group regular sequencer rank 2.

Allowed values: 0x0-0x13

SQ3

Bits 18-22: ADC group regular sequencer rank 3.

Allowed values: 0x0-0x13

SQ4

Bits 24-28: ADC group regular sequencer rank 4.

Allowed values: 0x0-0x13

SQR2

ADC group regular sequencer ranks register 2

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

5/5 fields covered.

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

SQ5

Bits 0-4: ADC group regular sequencer rank 5.

Allowed values: 0x0-0x13

SQ6

Bits 6-10: ADC group regular sequencer rank 6.

Allowed values: 0x0-0x13

SQ7

Bits 12-16: ADC group regular sequencer rank 7.

Allowed values: 0x0-0x13

SQ8

Bits 18-22: ADC group regular sequencer rank 8.

Allowed values: 0x0-0x13

SQ9

Bits 24-28: ADC group regular sequencer rank 9.

Allowed values: 0x0-0x13

SQR3

ADC group regular sequencer ranks register 3

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

5/5 fields covered.

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

SQ10

Bits 0-4: ADC group regular sequencer rank 10.

Allowed values: 0x0-0x13

SQ11

Bits 6-10: ADC group regular sequencer rank 11.

Allowed values: 0x0-0x13

SQ12

Bits 12-16: ADC group regular sequencer rank 12.

Allowed values: 0x0-0x13

SQ13

Bits 18-22: ADC group regular sequencer rank 13.

Allowed values: 0x0-0x13

SQ14

Bits 24-28: ADC group regular sequencer rank 14.

Allowed values: 0x0-0x13

SQR4

ADC group regular sequencer ranks 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
SQ16
rw
SQ15
rw
Toggle fields

SQ15

Bits 0-4: ADC group regular sequencer rank 15.

Allowed values: 0x0-0x13

SQ16

Bits 6-10: ADC group regular sequencer rank 16.

Allowed values: 0x0-0x13

DR

ADC group regular conversion data 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-31: ADC group regular conversion data.

JSQR

ADC group injected sequencer register

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

7/7 fields covered.

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

JL

Bits 0-1: ADC group injected sequencer scan length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: ADC group injected external trigger source.

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
5: TIM4_TRGO: Timer 4 TRGO event
6: EXTI15: EXTI line 15
7: TIM8_CC4: Timer 8 CC4 event
8: TIM1_TRGO2: Timer 1 TRGO2 event
9: TIM8_TRGO: Timer 8 TRGO event
10: TIM8_TRGO2: Timer 8 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
16: HRTIM1_ADCTRG2: HRTIM1_ADCTRG2 event
17: HRTIM1_ADCTRG4: HRTIM1_ADCTRG4 event
18: LPTIM1_OUT: LPTIM1_OUT event
19: LPTIM2_OUT: LPTIM2_OUT event
20: LPTIM3_OUT: LPTIM3_OUT event

JEXTEN

Bits 7-8: ADC group injected external trigger polarity.

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

JSQ1

Bits 9-13: ADC group injected sequencer rank 1.

Allowed values: 0x0-0x13

JSQ2

Bits 15-19: ADC group injected sequencer rank 2.

Allowed values: 0x0-0x13

JSQ3

Bits 21-25: ADC group injected sequencer rank 3.

Allowed values: 0x0-0x13

JSQ4

Bits 27-31: ADC group injected sequencer rank 4.

Allowed values: 0x0-0x13

OFR1

ADC offset number 1 register

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

OFFSET1

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET1_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR2

ADC offset number 2 register

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

OFFSET2

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET2_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR3

ADC offset number 3 register

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

OFFSET3

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET3_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR4

ADC offset number 4 register

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

OFFSET4

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET4_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

JDR1

ADC group injected sequencer rank 1 register

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

JDATA1

Bits 0-31: ADC group injected sequencer rank 1 conversion data.

JDR2

ADC group injected sequencer rank 2 register

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

JDATA2

Bits 0-31: ADC group injected sequencer rank 2 conversion data.

JDR3

ADC group injected sequencer rank 3 register

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

JDATA3

Bits 0-31: ADC group injected sequencer rank 3 conversion data.

JDR4

ADC group injected sequencer rank 4 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
JDATA4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA4
r
Toggle fields

JDATA4

Bits 0-31: ADC group injected sequencer rank 4 conversion data.

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, 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
AWD2CH19
rw
AWD2CH18
rw
AWD2CH17
rw
AWD2CH16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWD2CH15
rw
AWD2CH14
rw
AWD2CH13
rw
AWD2CH12
rw
AWD2CH11
rw
AWD2CH10
rw
AWD2CH9
rw
AWD2CH8
rw
AWD2CH7
rw
AWD2CH6
rw
AWD2CH5
rw
AWD2CH4
rw
AWD2CH3
rw
AWD2CH2
rw
AWD2CH1
rw
AWD2CH0
rw
Toggle fields

AWD2CH0

Bit 0: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH1

Bit 1: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH2

Bit 2: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH3

Bit 3: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH4

Bit 4: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH5

Bit 5: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH6

Bit 6: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH7

Bit 7: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH8

Bit 8: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH9

Bit 9: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH10

Bit 10: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH11

Bit 11: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH12

Bit 12: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH13

Bit 13: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH14

Bit 14: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH15

Bit 15: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH16

Bit 16: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH17

Bit 17: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH18

Bit 18: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH19

Bit 19: ADC analog watchdog 2 monitored 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.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AWD3CH19
rw
AWD3CH18
rw
AWD3CH17
rw
AWD3CH16
rw
AWD3CH15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWD3CH14
rw
AWD3CH13
rw
AWD3CH12
rw
AWD3CH11
rw
AWD3CH10
rw
AWD3CH9
rw
AWD3CH8
rw
AWD3CH7
rw
AWD3CH6
rw
AWD3CH5
rw
AWD3CH4
rw
AWD3CH3
rw
AWD3CH2
rw
AWD3CH1
rw
AWD3CH0
rw
Toggle fields

AWD3CH0

Bit 1: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH1

Bit 2: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH2

Bit 3: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH3

Bit 4: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH4

Bit 5: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH5

Bit 6: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH6

Bit 7: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH7

Bit 8: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH8

Bit 9: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH9

Bit 10: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH10

Bit 11: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH11

Bit 12: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH12

Bit 13: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH13

Bit 14: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH14

Bit 15: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH15

Bit 16: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH16

Bit 17: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH17

Bit 18: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH18

Bit 19: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH19

Bit 20: ADC analog watchdog 3 monitored channel selection.

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

LTR2

ADC watchdog lower threshold register 2

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

LTR2

Bits 0-25: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0x3ffffff

HTR2

ADC watchdog higher threshold register 2

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

HTR2

Bits 0-25: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0x3ffffff

LTR3

ADC watchdog lower threshold register 3

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

LTR3

Bits 0-25: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0x3ffffff

HTR3

ADC watchdog higher threshold register 3

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

HTR3

Bits 0-25: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0x3ffffff

DIFSEL

ADC channel differential or single-ended mode selection register

Offset: 0xc0, 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
DIFSEL19
rw
DIFSEL18
rw
DIFSEL17
rw
DIFSEL16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIFSEL15
rw
DIFSEL14
rw
DIFSEL13
rw
DIFSEL12
rw
DIFSEL11
rw
DIFSEL10
rw
DIFSEL9
rw
DIFSEL8
rw
DIFSEL7
rw
DIFSEL6
rw
DIFSEL5
rw
DIFSEL4
rw
DIFSEL3
rw
DIFSEL2
rw
DIFSEL1
rw
DIFSEL0
rw
Toggle fields

DIFSEL0

Bit 0: ADC channel differential or single-ended mode for channel.

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

DIFSEL1

Bit 1: ADC channel differential or single-ended mode for channel.

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

DIFSEL2

Bit 2: ADC channel differential or single-ended mode for channel.

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

DIFSEL3

Bit 3: ADC channel differential or single-ended mode for channel.

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

DIFSEL4

Bit 4: ADC channel differential or single-ended mode for channel.

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

DIFSEL5

Bit 5: ADC channel differential or single-ended mode for channel.

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

DIFSEL6

Bit 6: ADC channel differential or single-ended mode for channel.

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

DIFSEL7

Bit 7: ADC channel differential or single-ended mode for channel.

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

DIFSEL8

Bit 8: ADC channel differential or single-ended mode for channel.

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

DIFSEL9

Bit 9: ADC channel differential or single-ended mode for channel.

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

DIFSEL10

Bit 10: ADC channel differential or single-ended mode for channel.

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

DIFSEL11

Bit 11: ADC channel differential or single-ended mode for channel.

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

DIFSEL12

Bit 12: ADC channel differential or single-ended mode for channel.

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

DIFSEL13

Bit 13: ADC channel differential or single-ended mode for channel.

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

DIFSEL14

Bit 14: ADC channel differential or single-ended mode for channel.

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

DIFSEL15

Bit 15: ADC channel differential or single-ended mode for channel.

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

DIFSEL16

Bit 16: ADC channel differential or single-ended mode for channel.

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

DIFSEL17

Bit 17: ADC channel differential or single-ended mode for channel.

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

DIFSEL18

Bit 18: ADC channel differential or single-ended mode for channel.

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

DIFSEL19

Bit 19: ADC channel differential or single-ended mode for channel.

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 register

Offset: 0xc4, 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-10: ADC calibration factor in single-ended mode.

Allowed values: 0x0-0x7ff

CALFACT_D

Bits 16-26: ADC calibration factor in differential mode.

Allowed values: 0x0-0x7ff

CALFACT2

ADC Calibration Factor register 2

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

LINCALFACT

Bits 0-29: Linearity Calibration Factor.

Allowed values: 0x0-0x3fffffff

ADC12_Common

0x40022300: Analog-to-Digital Converter

33/33 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
0x10 CDR2
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.

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

EOSMP_MST

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

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

EOC_MST

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

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

EOS_MST

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

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

OVR_MST

Bit 4: Overrun flag of the master ADC.

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

JEOC_MST

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

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

JEOS_MST

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

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

AWD1_MST

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

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

AWD2_MST

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

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

AWD3_MST

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

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

JQOVF_MST

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

Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred

ADRDY_SLV

Bit 16: Slave ADC ready.

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

EOSMP_SLV

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

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

EOC_SLV

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

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

EOS_SLV

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

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

OVR_SLV

Bit 20: Overrun flag of the slave ADC.

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

JEOC_SLV

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

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

JEOS_SLV

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

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

AWD1_SLV

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

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

AWD2_SLV

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

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

AWD3_SLV

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

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

JQOVF_SLV

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

Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred

CCR

ADC common control register

Offset: 0x8, 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
VBATEN
rw
VSENSEEN
rw
VREFEN
rw
PRESC
rw
CKMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAMDF
rw
DELAY
rw
DUAL
rw
Toggle fields

DUAL

Bits 0-4: Dual ADC mode selection.

Allowed values:
0: Independent: Independent mode
1: DualRJ: Dual, combined regular simultaneous + injected simultaneous mode
2: DualRA: Dual, combined regular simultaneous + alternate trigger mode
3: DualIJ: Dual, combined interleaved mode + injected simultaneous mode
5: DualJ: Dual, injected simultaneous mode only
6: DualR: Dual, regular simultaneous mode only
7: DualI: Dual, interleaved mode only
9: DualA: Dual, alternate trigger mode only

DELAY

Bits 8-11: Delay between 2 sampling phases.

Allowed values: 0x0-0xf

DAMDF

Bits 14-15: Dual ADC Mode Data Format.

Allowed values:
0: NoPack: Without data packing, CDR/CDR2 not used
2: Format32to10: CDR formatted for 32-bit down to 10-bit resolution
3: Format8: CDR formatted for 8-bit resolution

CKMODE

Bits 16-17: ADC clock mode.

Allowed values:
0: Asynchronous: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
1: SyncDiv1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
2: SyncDiv2: Use AHB clock rcc_hclk3 divided by 2
3: SyncDiv4: Use AHB clock rcc_hclk3 divided by 4

PRESC

Bits 18-21: ADC prescaler.

Allowed values:
0: Div1: adc_ker_ck_input not divided
1: Div2: adc_ker_ck_input divided by 2
2: Div4: adc_ker_ck_input divided by 4
3: Div6: adc_ker_ck_input divided by 6
4: Div8: adc_ker_ck_input divided by 8
5: Div10: adc_ker_ck_input divided by 10
6: Div12: adc_ker_ck_input divided by 12
7: Div16: adc_ker_ck_input divided by 16
8: Div32: adc_ker_ck_input divided by 32
9: Div64: adc_ker_ck_input divided by 64
10: Div128: adc_ker_ck_input divided by 128
11: Div256: adc_ker_ck_input divided by 256

VREFEN

Bit 22: VREFINT enable.

Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled

VSENSEEN

Bit 23: Temperature sensor enable.

Allowed values:
0: Disabled: Temperature sensor channel disabled
1: Enabled: Temperature sensor channel enabled

VBATEN

Bit 24: VBAT enable.

Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled

CDR

ADC common regular data register for dual and triple modes

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

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDATA_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.

CDR2

ADC x common regular data register for 32-bit dual mode

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

RDATA_ALT

Bits 0-31: Regular data of the master/slave alternated ADCs.

ADC2

0x40022100: Analog to Digital Converter

199/199 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
0x1c PCSEL
0x20 LTR1
0x24 HTR1
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR1
0x64 OFR2
0x68 OFR3
0x6c OFR4
0x80 JDR1
0x84 JDR2
0x88 JDR3
0x8c JDR4
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 LTR2
0xb4 HTR2
0xb8 LTR3
0xbc HTR3
0xc0 DIFSEL
0xc4 CALFACT
0xc8 CALFACT2
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
rw
AWD3
rw
AWD2
rw
AWD1
rw
JEOS
rw
JEOC
rw
OVR
rw
EOS
rw
EOC
rw
EOSMP
rw
ADRDY
rw
Toggle fields

ADRDY

Bit 0: ADC ready flag.

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

EOSMP

Bit 1: ADC group regular 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: ADC group regular end of unitary conversion flag.

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

EOS

Bit 3: ADC group regular end of sequence conversions flag.

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

OVR

Bit 4: ADC group regular overrun flag.

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

JEOC

Bit 5: ADC group injected end of unitary conversion flag.

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

JEOS

Bit 6: ADC group injected end of sequence conversions flag.

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

AWD1

Bit 7: ADC analog watchdog 1 flag.

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

AWD2

Bit 8: ADC analog watchdog 2 flag.

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

AWD3

Bit 9: ADC analog watchdog 3 flag.

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

JQOVF

Bit 10: ADC group injected contexts queue overflow flag.

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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVFIE
rw
AWD3IE
rw
AWD2IE
rw
AWD1IE
rw
JEOSIE
rw
JEOCIE
rw
OVRIE
rw
EOSIE
rw
EOCIE
rw
EOSMPIE
rw
ADRDYIE
rw
Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt.

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

EOSMPIE

Bit 1: ADC group regular end of sampling interrupt.

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: ADC group regular end of unitary conversion interrupt.

Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled

EOSIE

Bit 3: ADC group regular end of sequence conversions interrupt.

Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled

OVRIE

Bit 4: ADC group regular overrun interrupt.

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

JEOCIE

Bit 5: ADC group injected end of unitary conversion interrupt.

Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled

JEOSIE

Bit 6: ADC group injected end of sequence conversions interrupt.

Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled

AWD1IE

Bit 7: ADC analog watchdog 1 interrupt.

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

AWD2IE

Bit 8: ADC analog watchdog 2 interrupt.

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

AWD3IE

Bit 9: ADC analog watchdog 3 interrupt.

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

JQOVFIE

Bit 10: ADC group injected contexts queue overflow interrupt.

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: 0x00000000, access: read-write

18/18 fields covered.

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

ADEN

Bit 0: ADC enable.

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

ADDIS

Bit 1: ADC disable.

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

ADSTART

Bit 2: ADC group regular conversion start.

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

JADSTART

Bit 3: ADC group injected conversion start.

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

ADSTP

Bit 4: ADC group regular conversion stop.

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

JADSTP

Bit 5: ADC group injected conversion stop.

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

BOOST

Bits 8-9: Boost mode control.

Allowed values:
0: LT6_25: Boost mode used when ADC clock ≤ 6.25 MHz
1: LT12_5: Boost mode used when 6.25 MHz < ADC clock ≤ 12.5 MHz
2: LT25: Boost mode used when 12.5 MHz < ADC clock ≤ 25.0 MHz
3: LT50: Boost mode used when 25.0 MHz < ADC clock ≤ 50.0 MHz

ADCALLIN

Bit 16: Linearity calibration.

Allowed values:
0: NoLinearity: ADC calibration without linearaity calibration
1: Linearity: ADC calibration with linearaity calibration

LINCALRDYW1

Bit 22: Linearity calibration ready Word 1.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW2

Bit 23: Linearity calibration ready Word 2.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW3

Bit 24: Linearity calibration ready Word 3.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW4

Bit 25: Linearity calibration ready Word 4.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW5

Bit 26: Linearity calibration ready Word 5.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW6

Bit 27: Linearity calibration ready Word 6.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

ADVREGEN

Bit 28: ADC voltage regulator enable.

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

DEEPPWD

Bit 29: ADC deep power down enable.

Allowed values:
0: PowerUp: ADC not in deep power down
1: PowerDown: ADC in deep power down

ADCALDIF

Bit 30: ADC 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: Complete: Calibration complete
1: Calibration: Start the calibration of the ADC

CFGR

ADC configuration register 1

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
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
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMNGT
rw
Toggle fields

DMNGT

Bits 0-1: ADC DMA transfer enable.

Allowed values:
0: DR: Store output data in DR only
1: DMA_OneShot: DMA One Shot Mode selected
2: DFSDM: DFSDM mode selected
3: DMA_Circular: DMA Circular Mode selected

RES

Bits 2-4: ADC data resolution.

Allowed values:
0: SixteenBit: 16-bit resolution
1: FourteenBit: 14-bit resolution in legacy mode (not optimized power consumption)
2: TwelveBit: 12-bit resolution in legacy mode (not optimized power consumption)
3: TenBit: 10-bit resolution
5: FourteenBitV: 14-bit resolution
6: TwelveBitV: 12-bit resolution
7: EightBit: 8-bit resolution

EXTSEL

Bits 5-9: ADC group regular external trigger source.

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
5: TIM4_CC4: Timer 4 CC4 event
6: EXTI11: EXTI line 11
7: TIM8_TRGO: Timer 8 TRGO event
8: TIM8_TRGO2: Timer 8 TRGO2 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
12: TIM4_TRGO: Timer 4 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
16: HRTIM1_ADCTRG1: HRTIM1_ADCTRG1 event
17: HRTIM1_ADCTRG3: HRTIM1_ADCTRG3 event
18: LPTIM1_OUT: LPTIM1_OUT event
19: LPTIM2_OUT: LPTIM2_OUT event
20: LPTIM3_OUT: LPTIM3_OUT event

EXTEN

Bits 10-11: ADC group regular external trigger polarity.

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: ADC group regular overrun configuration.

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: ADC group regular continuous conversion mode.

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

AUTDLY

Bit 14: ADC low power auto wait.

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

DISCEN

Bit 16: ADC group regular sequencer discontinuous mode.

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

DISCNUM

Bits 17-19: ADC group regular sequencer discontinuous number of ranks.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: ADC group injected sequencer discontinuous mode.

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

JQM

Bit 21: ADC group injected contexts 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: ADC analog watchdog 1 monitoring a single channel or 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: ADC analog watchdog 1 enable on scope ADC group regular.

Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels

JAWD1EN

Bit 24: ADC analog watchdog 1 enable on scope ADC group injected.

Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels

JAUTO

Bit 25: ADC group injected automatic trigger mode.

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

AWD1CH

Bits 26-30: ADC analog watchdog 1 monitored channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: ADC group injected contexts queue disable.

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

CFGR2

ADC configuration register 2

Offset: 0x10, 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
LSHIFT
rw
OSVR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSHIFT4
rw
RSHIFT3
rw
RSHIFT2
rw
RSHIFT1
rw
ROVSM
rw
TROVS
rw
OVSS
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: ADC oversampler enable on scope ADC group regular.

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

JOVSE

Bit 1: ADC oversampler enable on scope ADC group injected.

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

OVSS

Bits 5-8: ADC oversampling shift.

Allowed values: 0x0-0xb

TROVS

Bit 9: ADC oversampling discontinuous mode (triggered mode) for ADC group regular.

Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular Oversampling mode.

Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence

RSHIFT1

Bit 11: Right-shift data after Offset 1 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT2

Bit 12: Right-shift data after Offset 2 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT3

Bit 13: Right-shift data after Offset 3 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT4

Bit 14: Right-shift data after Offset 4 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

OSVR

Bits 16-25: Oversampling ratio.

Allowed values: 0x0-0x3ff

LSHIFT

Bits 28-31: Left shift factor.

Allowed values: 0x0-0xf

SMPR1

ADC sampling time register 1

Offset: 0x14, 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
SMP9
rw
SMP8
rw
SMP7
rw
SMP6
rw
SMP5
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP5
rw
SMP4
rw
SMP3
rw
SMP2
rw
SMP1
rw
SMP0
rw
Toggle fields

SMP0

Bits 0-2: ADC channel 0 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP1

Bits 3-5: ADC channel 1 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP2

Bits 6-8: ADC channel 2 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP3

Bits 9-11: ADC channel 3 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP4

Bits 12-14: ADC channel 4 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP5

Bits 15-17: ADC channel 5 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP6

Bits 18-20: ADC channel 6 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP7

Bits 21-23: ADC channel 7 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP8

Bits 24-26: ADC channel 8 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP9

Bits 27-29: ADC channel 9 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMPR2

ADC sampling 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
SMP19
rw
SMP18
rw
SMP17
rw
SMP16
rw
SMP15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP15
rw
SMP14
rw
SMP13
rw
SMP12
rw
SMP11
rw
SMP10
rw
Toggle fields

SMP10

Bits 0-2: ADC channel 10 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP11

Bits 3-5: ADC channel 11 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP12

Bits 6-8: ADC channel 12 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP13

Bits 9-11: ADC channel 13 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP14

Bits 12-14: ADC channel 14 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP15

Bits 15-17: ADC channel 15 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP16

Bits 18-20: ADC channel 16 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP17

Bits 21-23: ADC channel 17 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP18

Bits 24-26: ADC channel 18 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP19

Bits 27-29: ADC channel 19 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

PCSEL

ADC pre channel selection register

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

1/1 fields covered.

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

PCSEL

Bits 0-19: Channel x (VINP[i]) pre selection.

Allowed values:
0: NotPreselected: Input channel x is not pre-selected
1: Preselected: Pre-select input channel x

LTR1

ADC analog watchdog 1 threshold register

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

1/1 fields covered.

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

LTR1

Bits 0-25: ADC analog watchdog 1 threshold low.

Allowed values: 0x0-0x3ffffff

HTR1

ADC analog watchdog 2 threshold register

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

1/1 fields covered.

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

HTR1

Bits 0-25: ADC analog watchdog 2 threshold low.

Allowed values: 0x0-0x3ffffff

SQR1

ADC group regular sequencer ranks register 1

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

5/5 fields covered.

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

L

Bits 0-3: L3.

Allowed values: 0x0-0xf

SQ1

Bits 6-10: ADC group regular sequencer rank 1.

Allowed values: 0x0-0x13

SQ2

Bits 12-16: ADC group regular sequencer rank 2.

Allowed values: 0x0-0x13

SQ3

Bits 18-22: ADC group regular sequencer rank 3.

Allowed values: 0x0-0x13

SQ4

Bits 24-28: ADC group regular sequencer rank 4.

Allowed values: 0x0-0x13

SQR2

ADC group regular sequencer ranks register 2

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

5/5 fields covered.

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

SQ5

Bits 0-4: ADC group regular sequencer rank 5.

Allowed values: 0x0-0x13

SQ6

Bits 6-10: ADC group regular sequencer rank 6.

Allowed values: 0x0-0x13

SQ7

Bits 12-16: ADC group regular sequencer rank 7.

Allowed values: 0x0-0x13

SQ8

Bits 18-22: ADC group regular sequencer rank 8.

Allowed values: 0x0-0x13

SQ9

Bits 24-28: ADC group regular sequencer rank 9.

Allowed values: 0x0-0x13

SQR3

ADC group regular sequencer ranks register 3

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

5/5 fields covered.

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

SQ10

Bits 0-4: ADC group regular sequencer rank 10.

Allowed values: 0x0-0x13

SQ11

Bits 6-10: ADC group regular sequencer rank 11.

Allowed values: 0x0-0x13

SQ12

Bits 12-16: ADC group regular sequencer rank 12.

Allowed values: 0x0-0x13

SQ13

Bits 18-22: ADC group regular sequencer rank 13.

Allowed values: 0x0-0x13

SQ14

Bits 24-28: ADC group regular sequencer rank 14.

Allowed values: 0x0-0x13

SQR4

ADC group regular sequencer ranks 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
SQ16
rw
SQ15
rw
Toggle fields

SQ15

Bits 0-4: ADC group regular sequencer rank 15.

Allowed values: 0x0-0x13

SQ16

Bits 6-10: ADC group regular sequencer rank 16.

Allowed values: 0x0-0x13

DR

ADC group regular conversion data 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-31: ADC group regular conversion data.

JSQR

ADC group injected sequencer register

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

7/7 fields covered.

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

JL

Bits 0-1: ADC group injected sequencer scan length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: ADC group injected external trigger source.

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
5: TIM4_TRGO: Timer 4 TRGO event
6: EXTI15: EXTI line 15
7: TIM8_CC4: Timer 8 CC4 event
8: TIM1_TRGO2: Timer 1 TRGO2 event
9: TIM8_TRGO: Timer 8 TRGO event
10: TIM8_TRGO2: Timer 8 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
16: HRTIM1_ADCTRG2: HRTIM1_ADCTRG2 event
17: HRTIM1_ADCTRG4: HRTIM1_ADCTRG4 event
18: LPTIM1_OUT: LPTIM1_OUT event
19: LPTIM2_OUT: LPTIM2_OUT event
20: LPTIM3_OUT: LPTIM3_OUT event

JEXTEN

Bits 7-8: ADC group injected external trigger polarity.

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

JSQ1

Bits 9-13: ADC group injected sequencer rank 1.

Allowed values: 0x0-0x13

JSQ2

Bits 15-19: ADC group injected sequencer rank 2.

Allowed values: 0x0-0x13

JSQ3

Bits 21-25: ADC group injected sequencer rank 3.

Allowed values: 0x0-0x13

JSQ4

Bits 27-31: ADC group injected sequencer rank 4.

Allowed values: 0x0-0x13

OFR1

ADC offset number 1 register

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

OFFSET1

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET1_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR2

ADC offset number 2 register

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

OFFSET2

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET2_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR3

ADC offset number 3 register

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

OFFSET3

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET3_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR4

ADC offset number 4 register

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

OFFSET4

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET4_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

JDR1

ADC group injected sequencer rank 1 register

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

JDATA1

Bits 0-31: ADC group injected sequencer rank 1 conversion data.

JDR2

ADC group injected sequencer rank 2 register

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

JDATA2

Bits 0-31: ADC group injected sequencer rank 2 conversion data.

JDR3

ADC group injected sequencer rank 3 register

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

JDATA3

Bits 0-31: ADC group injected sequencer rank 3 conversion data.

JDR4

ADC group injected sequencer rank 4 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
JDATA4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA4
r
Toggle fields

JDATA4

Bits 0-31: ADC group injected sequencer rank 4 conversion data.

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, 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
AWD2CH19
rw
AWD2CH18
rw
AWD2CH17
rw
AWD2CH16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWD2CH15
rw
AWD2CH14
rw
AWD2CH13
rw
AWD2CH12
rw
AWD2CH11
rw
AWD2CH10
rw
AWD2CH9
rw
AWD2CH8
rw
AWD2CH7
rw
AWD2CH6
rw
AWD2CH5
rw
AWD2CH4
rw
AWD2CH3
rw
AWD2CH2
rw
AWD2CH1
rw
AWD2CH0
rw
Toggle fields

AWD2CH0

Bit 0: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH1

Bit 1: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH2

Bit 2: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH3

Bit 3: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH4

Bit 4: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH5

Bit 5: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH6

Bit 6: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH7

Bit 7: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH8

Bit 8: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH9

Bit 9: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH10

Bit 10: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH11

Bit 11: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH12

Bit 12: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH13

Bit 13: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH14

Bit 14: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH15

Bit 15: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH16

Bit 16: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH17

Bit 17: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH18

Bit 18: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH19

Bit 19: ADC analog watchdog 2 monitored 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.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AWD3CH19
rw
AWD3CH18
rw
AWD3CH17
rw
AWD3CH16
rw
AWD3CH15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWD3CH14
rw
AWD3CH13
rw
AWD3CH12
rw
AWD3CH11
rw
AWD3CH10
rw
AWD3CH9
rw
AWD3CH8
rw
AWD3CH7
rw
AWD3CH6
rw
AWD3CH5
rw
AWD3CH4
rw
AWD3CH3
rw
AWD3CH2
rw
AWD3CH1
rw
AWD3CH0
rw
Toggle fields

AWD3CH0

Bit 1: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH1

Bit 2: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH2

Bit 3: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH3

Bit 4: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH4

Bit 5: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH5

Bit 6: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH6

Bit 7: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH7

Bit 8: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH8

Bit 9: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH9

Bit 10: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH10

Bit 11: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH11

Bit 12: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH12

Bit 13: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH13

Bit 14: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH14

Bit 15: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH15

Bit 16: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH16

Bit 17: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH17

Bit 18: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH18

Bit 19: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH19

Bit 20: ADC analog watchdog 3 monitored channel selection.

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

LTR2

ADC watchdog lower threshold register 2

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

LTR2

Bits 0-25: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0x3ffffff

HTR2

ADC watchdog higher threshold register 2

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

HTR2

Bits 0-25: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0x3ffffff

LTR3

ADC watchdog lower threshold register 3

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

LTR3

Bits 0-25: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0x3ffffff

HTR3

ADC watchdog higher threshold register 3

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

HTR3

Bits 0-25: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0x3ffffff

DIFSEL

ADC channel differential or single-ended mode selection register

Offset: 0xc0, 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
DIFSEL19
rw
DIFSEL18
rw
DIFSEL17
rw
DIFSEL16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIFSEL15
rw
DIFSEL14
rw
DIFSEL13
rw
DIFSEL12
rw
DIFSEL11
rw
DIFSEL10
rw
DIFSEL9
rw
DIFSEL8
rw
DIFSEL7
rw
DIFSEL6
rw
DIFSEL5
rw
DIFSEL4
rw
DIFSEL3
rw
DIFSEL2
rw
DIFSEL1
rw
DIFSEL0
rw
Toggle fields

DIFSEL0

Bit 0: ADC channel differential or single-ended mode for channel.

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

DIFSEL1

Bit 1: ADC channel differential or single-ended mode for channel.

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

DIFSEL2

Bit 2: ADC channel differential or single-ended mode for channel.

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

DIFSEL3

Bit 3: ADC channel differential or single-ended mode for channel.

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

DIFSEL4

Bit 4: ADC channel differential or single-ended mode for channel.

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

DIFSEL5

Bit 5: ADC channel differential or single-ended mode for channel.

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

DIFSEL6

Bit 6: ADC channel differential or single-ended mode for channel.

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

DIFSEL7

Bit 7: ADC channel differential or single-ended mode for channel.

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

DIFSEL8

Bit 8: ADC channel differential or single-ended mode for channel.

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

DIFSEL9

Bit 9: ADC channel differential or single-ended mode for channel.

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

DIFSEL10

Bit 10: ADC channel differential or single-ended mode for channel.

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

DIFSEL11

Bit 11: ADC channel differential or single-ended mode for channel.

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

DIFSEL12

Bit 12: ADC channel differential or single-ended mode for channel.

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

DIFSEL13

Bit 13: ADC channel differential or single-ended mode for channel.

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

DIFSEL14

Bit 14: ADC channel differential or single-ended mode for channel.

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

DIFSEL15

Bit 15: ADC channel differential or single-ended mode for channel.

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

DIFSEL16

Bit 16: ADC channel differential or single-ended mode for channel.

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

DIFSEL17

Bit 17: ADC channel differential or single-ended mode for channel.

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

DIFSEL18

Bit 18: ADC channel differential or single-ended mode for channel.

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

DIFSEL19

Bit 19: ADC channel differential or single-ended mode for channel.

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 register

Offset: 0xc4, 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-10: ADC calibration factor in single-ended mode.

Allowed values: 0x0-0x7ff

CALFACT_D

Bits 16-26: ADC calibration factor in differential mode.

Allowed values: 0x0-0x7ff

CALFACT2

ADC Calibration Factor register 2

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

LINCALFACT

Bits 0-29: Linearity Calibration Factor.

Allowed values: 0x0-0x3fffffff

ADC3

0x58026000: Analog to Digital Converter

199/199 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
0x1c PCSEL
0x20 LTR1
0x24 HTR1
0x30 SQR1
0x34 SQR2
0x38 SQR3
0x3c SQR4
0x40 DR
0x4c JSQR
0x60 OFR1
0x64 OFR2
0x68 OFR3
0x6c OFR4
0x80 JDR1
0x84 JDR2
0x88 JDR3
0x8c JDR4
0xa0 AWD2CR
0xa4 AWD3CR
0xb0 LTR2
0xb4 HTR2
0xb8 LTR3
0xbc HTR3
0xc0 DIFSEL
0xc4 CALFACT
0xc8 CALFACT2
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
rw
AWD3
rw
AWD2
rw
AWD1
rw
JEOS
rw
JEOC
rw
OVR
rw
EOS
rw
EOC
rw
EOSMP
rw
ADRDY
rw
Toggle fields

ADRDY

Bit 0: ADC ready flag.

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

EOSMP

Bit 1: ADC group regular 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: ADC group regular end of unitary conversion flag.

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

EOS

Bit 3: ADC group regular end of sequence conversions flag.

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

OVR

Bit 4: ADC group regular overrun flag.

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

JEOC

Bit 5: ADC group injected end of unitary conversion flag.

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

JEOS

Bit 6: ADC group injected end of sequence conversions flag.

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

AWD1

Bit 7: ADC analog watchdog 1 flag.

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

AWD2

Bit 8: ADC analog watchdog 2 flag.

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

AWD3

Bit 9: ADC analog watchdog 3 flag.

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

JQOVF

Bit 10: ADC group injected contexts queue overflow flag.

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.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JQOVFIE
rw
AWD3IE
rw
AWD2IE
rw
AWD1IE
rw
JEOSIE
rw
JEOCIE
rw
OVRIE
rw
EOSIE
rw
EOCIE
rw
EOSMPIE
rw
ADRDYIE
rw
Toggle fields

ADRDYIE

Bit 0: ADC ready interrupt.

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

EOSMPIE

Bit 1: ADC group regular end of sampling interrupt.

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: ADC group regular end of unitary conversion interrupt.

Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled

EOSIE

Bit 3: ADC group regular end of sequence conversions interrupt.

Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled

OVRIE

Bit 4: ADC group regular overrun interrupt.

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

JEOCIE

Bit 5: ADC group injected end of unitary conversion interrupt.

Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled

JEOSIE

Bit 6: ADC group injected end of sequence conversions interrupt.

Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled

AWD1IE

Bit 7: ADC analog watchdog 1 interrupt.

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

AWD2IE

Bit 8: ADC analog watchdog 2 interrupt.

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

AWD3IE

Bit 9: ADC analog watchdog 3 interrupt.

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

JQOVFIE

Bit 10: ADC group injected contexts queue overflow interrupt.

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: 0x00000000, access: read-write

18/18 fields covered.

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

ADEN

Bit 0: ADC enable.

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

ADDIS

Bit 1: ADC disable.

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

ADSTART

Bit 2: ADC group regular conversion start.

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

JADSTART

Bit 3: ADC group injected conversion start.

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

ADSTP

Bit 4: ADC group regular conversion stop.

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

JADSTP

Bit 5: ADC group injected conversion stop.

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

BOOST

Bits 8-9: Boost mode control.

Allowed values:
0: LT6_25: Boost mode used when ADC clock ≤ 6.25 MHz
1: LT12_5: Boost mode used when 6.25 MHz < ADC clock ≤ 12.5 MHz
2: LT25: Boost mode used when 12.5 MHz < ADC clock ≤ 25.0 MHz
3: LT50: Boost mode used when 25.0 MHz < ADC clock ≤ 50.0 MHz

ADCALLIN

Bit 16: Linearity calibration.

Allowed values:
0: NoLinearity: ADC calibration without linearaity calibration
1: Linearity: ADC calibration with linearaity calibration

LINCALRDYW1

Bit 22: Linearity calibration ready Word 1.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW2

Bit 23: Linearity calibration ready Word 2.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW3

Bit 24: Linearity calibration ready Word 3.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW4

Bit 25: Linearity calibration ready Word 4.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW5

Bit 26: Linearity calibration ready Word 5.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

LINCALRDYW6

Bit 27: Linearity calibration ready Word 6.

Allowed values:
0: Reset: LINCALFACT Word Read
1: Set: LINCALFACT Word Write

ADVREGEN

Bit 28: ADC voltage regulator enable.

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

DEEPPWD

Bit 29: ADC deep power down enable.

Allowed values:
0: PowerUp: ADC not in deep power down
1: PowerDown: ADC in deep power down

ADCALDIF

Bit 30: ADC 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: Complete: Calibration complete
1: Calibration: Start the calibration of the ADC

CFGR

ADC configuration register 1

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
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
AUTDLY
rw
CONT
rw
OVRMOD
rw
EXTEN
rw
EXTSEL
rw
RES
rw
DMNGT
rw
Toggle fields

DMNGT

Bits 0-1: ADC DMA transfer enable.

Allowed values:
0: DR: Store output data in DR only
1: DMA_OneShot: DMA One Shot Mode selected
2: DFSDM: DFSDM mode selected
3: DMA_Circular: DMA Circular Mode selected

RES

Bits 2-4: ADC data resolution.

Allowed values:
0: SixteenBit: 16-bit resolution
1: FourteenBit: 14-bit resolution in legacy mode (not optimized power consumption)
2: TwelveBit: 12-bit resolution in legacy mode (not optimized power consumption)
3: TenBit: 10-bit resolution
5: FourteenBitV: 14-bit resolution
6: TwelveBitV: 12-bit resolution
7: EightBit: 8-bit resolution

EXTSEL

Bits 5-9: ADC group regular external trigger source.

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
5: TIM4_CC4: Timer 4 CC4 event
6: EXTI11: EXTI line 11
7: TIM8_TRGO: Timer 8 TRGO event
8: TIM8_TRGO2: Timer 8 TRGO2 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
12: TIM4_TRGO: Timer 4 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
16: HRTIM1_ADCTRG1: HRTIM1_ADCTRG1 event
17: HRTIM1_ADCTRG3: HRTIM1_ADCTRG3 event
18: LPTIM1_OUT: LPTIM1_OUT event
19: LPTIM2_OUT: LPTIM2_OUT event
20: LPTIM3_OUT: LPTIM3_OUT event

EXTEN

Bits 10-11: ADC group regular external trigger polarity.

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: ADC group regular overrun configuration.

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: ADC group regular continuous conversion mode.

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

AUTDLY

Bit 14: ADC low power auto wait.

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

DISCEN

Bit 16: ADC group regular sequencer discontinuous mode.

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

DISCNUM

Bits 17-19: ADC group regular sequencer discontinuous number of ranks.

Allowed values: 0x0-0x7

JDISCEN

Bit 20: ADC group injected sequencer discontinuous mode.

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

JQM

Bit 21: ADC group injected contexts 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: ADC analog watchdog 1 monitoring a single channel or 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: ADC analog watchdog 1 enable on scope ADC group regular.

Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels

JAWD1EN

Bit 24: ADC analog watchdog 1 enable on scope ADC group injected.

Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels

JAUTO

Bit 25: ADC group injected automatic trigger mode.

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

AWD1CH

Bits 26-30: ADC analog watchdog 1 monitored channel selection.

Allowed values: 0x0-0x13

JQDIS

Bit 31: ADC group injected contexts queue disable.

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

CFGR2

ADC configuration register 2

Offset: 0x10, 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
LSHIFT
rw
OSVR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSHIFT4
rw
RSHIFT3
rw
RSHIFT2
rw
RSHIFT1
rw
ROVSM
rw
TROVS
rw
OVSS
rw
JOVSE
rw
ROVSE
rw
Toggle fields

ROVSE

Bit 0: ADC oversampler enable on scope ADC group regular.

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

JOVSE

Bit 1: ADC oversampler enable on scope ADC group injected.

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

OVSS

Bits 5-8: ADC oversampling shift.

Allowed values: 0x0-0xb

TROVS

Bit 9: ADC oversampling discontinuous mode (triggered mode) for ADC group regular.

Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger

ROVSM

Bit 10: Regular Oversampling mode.

Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence

RSHIFT1

Bit 11: Right-shift data after Offset 1 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT2

Bit 12: Right-shift data after Offset 2 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT3

Bit 13: Right-shift data after Offset 3 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

RSHIFT4

Bit 14: Right-shift data after Offset 4 correction.

Allowed values:
0: Disabled: Right-shifting disabled
1: Enabled: Data is right-shifted 1-bit

OSVR

Bits 16-25: Oversampling ratio.

Allowed values: 0x0-0x3ff

LSHIFT

Bits 28-31: Left shift factor.

Allowed values: 0x0-0xf

SMPR1

ADC sampling time register 1

Offset: 0x14, 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
SMP9
rw
SMP8
rw
SMP7
rw
SMP6
rw
SMP5
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP5
rw
SMP4
rw
SMP3
rw
SMP2
rw
SMP1
rw
SMP0
rw
Toggle fields

SMP0

Bits 0-2: ADC channel 0 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP1

Bits 3-5: ADC channel 1 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP2

Bits 6-8: ADC channel 2 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP3

Bits 9-11: ADC channel 3 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP4

Bits 12-14: ADC channel 4 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP5

Bits 15-17: ADC channel 5 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP6

Bits 18-20: ADC channel 6 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP7

Bits 21-23: ADC channel 7 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP8

Bits 24-26: ADC channel 8 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP9

Bits 27-29: ADC channel 9 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMPR2

ADC sampling 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
SMP19
rw
SMP18
rw
SMP17
rw
SMP16
rw
SMP15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMP15
rw
SMP14
rw
SMP13
rw
SMP12
rw
SMP11
rw
SMP10
rw
Toggle fields

SMP10

Bits 0-2: ADC channel 10 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP11

Bits 3-5: ADC channel 11 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP12

Bits 6-8: ADC channel 12 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP13

Bits 9-11: ADC channel 13 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP14

Bits 12-14: ADC channel 14 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP15

Bits 15-17: ADC channel 15 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP16

Bits 18-20: ADC channel 16 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP17

Bits 21-23: ADC channel 17 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP18

Bits 24-26: ADC channel 18 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

SMP19

Bits 27-29: ADC channel 19 sampling time selection.

Allowed values:
0: Cycles1_5: 1.5 ADC clock cycles
1: Cycles2_5: 2.5 ADC clock cycles
2: Cycles8_5: 8.5 ADC clock cycles
3: Cycles16_5: 16.5 ADC clock cycles
4: Cycles32_5: 32.5 ADC clock cycles
5: Cycles64_5: 64.5 ADC clock cycles
6: Cycles387_5: 387.5 ADC clock cycles
7: Cycles810_5: 810.5 ADC clock cycles

PCSEL

ADC pre channel selection register

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

1/1 fields covered.

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

PCSEL

Bits 0-19: Channel x (VINP[i]) pre selection.

Allowed values:
0: NotPreselected: Input channel x is not pre-selected
1: Preselected: Pre-select input channel x

LTR1

ADC analog watchdog 1 threshold register

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

1/1 fields covered.

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

LTR1

Bits 0-25: ADC analog watchdog 1 threshold low.

Allowed values: 0x0-0x3ffffff

HTR1

ADC analog watchdog 2 threshold register

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

1/1 fields covered.

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

HTR1

Bits 0-25: ADC analog watchdog 2 threshold low.

Allowed values: 0x0-0x3ffffff

SQR1

ADC group regular sequencer ranks register 1

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

5/5 fields covered.

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

L

Bits 0-3: L3.

Allowed values: 0x0-0xf

SQ1

Bits 6-10: ADC group regular sequencer rank 1.

Allowed values: 0x0-0x13

SQ2

Bits 12-16: ADC group regular sequencer rank 2.

Allowed values: 0x0-0x13

SQ3

Bits 18-22: ADC group regular sequencer rank 3.

Allowed values: 0x0-0x13

SQ4

Bits 24-28: ADC group regular sequencer rank 4.

Allowed values: 0x0-0x13

SQR2

ADC group regular sequencer ranks register 2

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

5/5 fields covered.

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

SQ5

Bits 0-4: ADC group regular sequencer rank 5.

Allowed values: 0x0-0x13

SQ6

Bits 6-10: ADC group regular sequencer rank 6.

Allowed values: 0x0-0x13

SQ7

Bits 12-16: ADC group regular sequencer rank 7.

Allowed values: 0x0-0x13

SQ8

Bits 18-22: ADC group regular sequencer rank 8.

Allowed values: 0x0-0x13

SQ9

Bits 24-28: ADC group regular sequencer rank 9.

Allowed values: 0x0-0x13

SQR3

ADC group regular sequencer ranks register 3

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

5/5 fields covered.

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

SQ10

Bits 0-4: ADC group regular sequencer rank 10.

Allowed values: 0x0-0x13

SQ11

Bits 6-10: ADC group regular sequencer rank 11.

Allowed values: 0x0-0x13

SQ12

Bits 12-16: ADC group regular sequencer rank 12.

Allowed values: 0x0-0x13

SQ13

Bits 18-22: ADC group regular sequencer rank 13.

Allowed values: 0x0-0x13

SQ14

Bits 24-28: ADC group regular sequencer rank 14.

Allowed values: 0x0-0x13

SQR4

ADC group regular sequencer ranks 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
SQ16
rw
SQ15
rw
Toggle fields

SQ15

Bits 0-4: ADC group regular sequencer rank 15.

Allowed values: 0x0-0x13

SQ16

Bits 6-10: ADC group regular sequencer rank 16.

Allowed values: 0x0-0x13

DR

ADC group regular conversion data 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
Toggle fields

RDATA

Bits 0-31: ADC group regular conversion data.

JSQR

ADC group injected sequencer register

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

7/7 fields covered.

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

JL

Bits 0-1: ADC group injected sequencer scan length.

Allowed values: 0x0-0x3

JEXTSEL

Bits 2-6: ADC group injected external trigger source.

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
5: TIM4_TRGO: Timer 4 TRGO event
6: EXTI15: EXTI line 15
7: TIM8_CC4: Timer 8 CC4 event
8: TIM1_TRGO2: Timer 1 TRGO2 event
9: TIM8_TRGO: Timer 8 TRGO event
10: TIM8_TRGO2: Timer 8 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
16: HRTIM1_ADCTRG2: HRTIM1_ADCTRG2 event
17: HRTIM1_ADCTRG4: HRTIM1_ADCTRG4 event
18: LPTIM1_OUT: LPTIM1_OUT event
19: LPTIM2_OUT: LPTIM2_OUT event
20: LPTIM3_OUT: LPTIM3_OUT event

JEXTEN

Bits 7-8: ADC group injected external trigger polarity.

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

JSQ1

Bits 9-13: ADC group injected sequencer rank 1.

Allowed values: 0x0-0x13

JSQ2

Bits 15-19: ADC group injected sequencer rank 2.

Allowed values: 0x0-0x13

JSQ3

Bits 21-25: ADC group injected sequencer rank 3.

Allowed values: 0x0-0x13

JSQ4

Bits 27-31: ADC group injected sequencer rank 4.

Allowed values: 0x0-0x13

OFR1

ADC offset number 1 register

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

OFFSET1

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET1_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR2

ADC offset number 2 register

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

OFFSET2

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET2_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR3

ADC offset number 3 register

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

OFFSET3

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET3_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

OFR4

ADC offset number 4 register

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

OFFSET4

Bits 0-25: ADC offset number 1 offset level.

Allowed values: 0x0-0x3ffffff

OFFSET4_CH

Bits 26-30: ADC offset number 1 channel selection.

Allowed values: 0x0-0x1f

SSATE

Bit 31: Signed saturation enable.

Allowed values:
0: Disabled: Offset is subtracted maintaining data integrity and extending result size (9-bit and 17-bit signed format)
1: Enabled: Offset is subtracted and result is saturated to maintain result size

JDR1

ADC group injected sequencer rank 1 register

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

JDATA1

Bits 0-31: ADC group injected sequencer rank 1 conversion data.

JDR2

ADC group injected sequencer rank 2 register

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

JDATA2

Bits 0-31: ADC group injected sequencer rank 2 conversion data.

JDR3

ADC group injected sequencer rank 3 register

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

JDATA3

Bits 0-31: ADC group injected sequencer rank 3 conversion data.

JDR4

ADC group injected sequencer rank 4 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
JDATA4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JDATA4
r
Toggle fields

JDATA4

Bits 0-31: ADC group injected sequencer rank 4 conversion data.

AWD2CR

ADC analog watchdog 2 configuration register

Offset: 0xa0, 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
AWD2CH19
rw
AWD2CH18
rw
AWD2CH17
rw
AWD2CH16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWD2CH15
rw
AWD2CH14
rw
AWD2CH13
rw
AWD2CH12
rw
AWD2CH11
rw
AWD2CH10
rw
AWD2CH9
rw
AWD2CH8
rw
AWD2CH7
rw
AWD2CH6
rw
AWD2CH5
rw
AWD2CH4
rw
AWD2CH3
rw
AWD2CH2
rw
AWD2CH1
rw
AWD2CH0
rw
Toggle fields

AWD2CH0

Bit 0: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH1

Bit 1: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH2

Bit 2: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH3

Bit 3: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH4

Bit 4: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH5

Bit 5: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH6

Bit 6: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH7

Bit 7: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH8

Bit 8: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH9

Bit 9: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH10

Bit 10: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH11

Bit 11: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH12

Bit 12: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH13

Bit 13: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH14

Bit 14: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH15

Bit 15: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH16

Bit 16: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH17

Bit 17: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH18

Bit 18: ADC analog watchdog 2 monitored channel selection.

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

AWD2CH19

Bit 19: ADC analog watchdog 2 monitored 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.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AWD3CH19
rw
AWD3CH18
rw
AWD3CH17
rw
AWD3CH16
rw
AWD3CH15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AWD3CH14
rw
AWD3CH13
rw
AWD3CH12
rw
AWD3CH11
rw
AWD3CH10
rw
AWD3CH9
rw
AWD3CH8
rw
AWD3CH7
rw
AWD3CH6
rw
AWD3CH5
rw
AWD3CH4
rw
AWD3CH3
rw
AWD3CH2
rw
AWD3CH1
rw
AWD3CH0
rw
Toggle fields

AWD3CH0

Bit 1: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH1

Bit 2: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH2

Bit 3: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH3

Bit 4: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH4

Bit 5: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH5

Bit 6: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH6

Bit 7: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH7

Bit 8: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH8

Bit 9: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH9

Bit 10: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH10

Bit 11: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH11

Bit 12: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH12

Bit 13: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH13

Bit 14: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH14

Bit 15: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH15

Bit 16: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH16

Bit 17: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH17

Bit 18: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH18

Bit 19: ADC analog watchdog 3 monitored channel selection.

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

AWD3CH19

Bit 20: ADC analog watchdog 3 monitored channel selection.

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

LTR2

ADC watchdog lower threshold register 2

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

LTR2

Bits 0-25: Analog watchdog 2 lower threshold.

Allowed values: 0x0-0x3ffffff

HTR2

ADC watchdog higher threshold register 2

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

HTR2

Bits 0-25: Analog watchdog 2 higher threshold.

Allowed values: 0x0-0x3ffffff

LTR3

ADC watchdog lower threshold register 3

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

LTR3

Bits 0-25: Analog watchdog 3 lower threshold.

Allowed values: 0x0-0x3ffffff

HTR3

ADC watchdog higher threshold register 3

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

HTR3

Bits 0-25: Analog watchdog 3 higher threshold.

Allowed values: 0x0-0x3ffffff

DIFSEL

ADC channel differential or single-ended mode selection register

Offset: 0xc0, 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
DIFSEL19
rw
DIFSEL18
rw
DIFSEL17
rw
DIFSEL16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIFSEL15
rw
DIFSEL14
rw
DIFSEL13
rw
DIFSEL12
rw
DIFSEL11
rw
DIFSEL10
rw
DIFSEL9
rw
DIFSEL8
rw
DIFSEL7
rw
DIFSEL6
rw
DIFSEL5
rw
DIFSEL4
rw
DIFSEL3
rw
DIFSEL2
rw
DIFSEL1
rw
DIFSEL0
rw
Toggle fields

DIFSEL0

Bit 0: ADC channel differential or single-ended mode for channel.

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

DIFSEL1

Bit 1: ADC channel differential or single-ended mode for channel.

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

DIFSEL2

Bit 2: ADC channel differential or single-ended mode for channel.

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

DIFSEL3

Bit 3: ADC channel differential or single-ended mode for channel.

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

DIFSEL4

Bit 4: ADC channel differential or single-ended mode for channel.

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

DIFSEL5

Bit 5: ADC channel differential or single-ended mode for channel.

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

DIFSEL6

Bit 6: ADC channel differential or single-ended mode for channel.

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

DIFSEL7

Bit 7: ADC channel differential or single-ended mode for channel.

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

DIFSEL8

Bit 8: ADC channel differential or single-ended mode for channel.

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

DIFSEL9

Bit 9: ADC channel differential or single-ended mode for channel.

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

DIFSEL10

Bit 10: ADC channel differential or single-ended mode for channel.

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

DIFSEL11

Bit 11: ADC channel differential or single-ended mode for channel.

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

DIFSEL12

Bit 12: ADC channel differential or single-ended mode for channel.

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

DIFSEL13

Bit 13: ADC channel differential or single-ended mode for channel.

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

DIFSEL14

Bit 14: ADC channel differential or single-ended mode for channel.

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

DIFSEL15

Bit 15: ADC channel differential or single-ended mode for channel.

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

DIFSEL16

Bit 16: ADC channel differential or single-ended mode for channel.

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

DIFSEL17

Bit 17: ADC channel differential or single-ended mode for channel.

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

DIFSEL18

Bit 18: ADC channel differential or single-ended mode for channel.

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

DIFSEL19

Bit 19: ADC channel differential or single-ended mode for channel.

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 register

Offset: 0xc4, 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-10: ADC calibration factor in single-ended mode.

Allowed values: 0x0-0x7ff

CALFACT_D

Bits 16-26: ADC calibration factor in differential mode.

Allowed values: 0x0-0x7ff

CALFACT2

ADC Calibration Factor register 2

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

LINCALFACT

Bits 0-29: Linearity Calibration Factor.

Allowed values: 0x0-0x3fffffff

ADC3_Common

0x58026300: Analog-to-Digital Converter

33/33 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
0x10 CDR2
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.

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

EOSMP_MST

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

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

EOC_MST

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

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

EOS_MST

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

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

OVR_MST

Bit 4: Overrun flag of the master ADC.

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

JEOC_MST

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

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

JEOS_MST

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

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

AWD1_MST

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

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

AWD2_MST

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

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

AWD3_MST

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

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

JQOVF_MST

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

Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred

ADRDY_SLV

Bit 16: Slave ADC ready.

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

EOSMP_SLV

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

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

EOC_SLV

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

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

EOS_SLV

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

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

OVR_SLV

Bit 20: Overrun flag of the slave ADC.

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

JEOC_SLV

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

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

JEOS_SLV

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

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

AWD1_SLV

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

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

AWD2_SLV

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

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

AWD3_SLV

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

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

JQOVF_SLV

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

Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred

CCR

ADC common control register

Offset: 0x8, 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
VBATEN
rw
VSENSEEN
rw
VREFEN
rw
PRESC
rw
CKMODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAMDF
rw
DELAY
rw
DUAL
rw
Toggle fields

DUAL

Bits 0-4: Dual ADC mode selection.

Allowed values:
0: Independent: Independent mode
1: DualRJ: Dual, combined regular simultaneous + injected simultaneous mode
2: DualRA: Dual, combined regular simultaneous + alternate trigger mode
3: DualIJ: Dual, combined interleaved mode + injected simultaneous mode
5: DualJ: Dual, injected simultaneous mode only
6: DualR: Dual, regular simultaneous mode only
7: DualI: Dual, interleaved mode only
9: DualA: Dual, alternate trigger mode only

DELAY

Bits 8-11: Delay between 2 sampling phases.

Allowed values: 0x0-0xf

DAMDF

Bits 14-15: Dual ADC Mode Data Format.

Allowed values:
0: NoPack: Without data packing, CDR/CDR2 not used
2: Format32to10: CDR formatted for 32-bit down to 10-bit resolution
3: Format8: CDR formatted for 8-bit resolution

CKMODE

Bits 16-17: ADC clock mode.

Allowed values:
0: Asynchronous: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
1: SyncDiv1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
2: SyncDiv2: Use AHB clock rcc_hclk3 divided by 2
3: SyncDiv4: Use AHB clock rcc_hclk3 divided by 4

PRESC

Bits 18-21: ADC prescaler.

Allowed values:
0: Div1: adc_ker_ck_input not divided
1: Div2: adc_ker_ck_input divided by 2
2: Div4: adc_ker_ck_input divided by 4
3: Div6: adc_ker_ck_input divided by 6
4: Div8: adc_ker_ck_input divided by 8
5: Div10: adc_ker_ck_input divided by 10
6: Div12: adc_ker_ck_input divided by 12
7: Div16: adc_ker_ck_input divided by 16
8: Div32: adc_ker_ck_input divided by 32
9: Div64: adc_ker_ck_input divided by 64
10: Div128: adc_ker_ck_input divided by 128
11: Div256: adc_ker_ck_input divided by 256

VREFEN

Bit 22: VREFINT enable.

Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled

VSENSEEN

Bit 23: Temperature sensor enable.

Allowed values:
0: Disabled: Temperature sensor channel disabled
1: Enabled: Temperature sensor channel enabled

VBATEN

Bit 24: VBAT enable.

Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled

CDR

ADC common regular data register for dual and triple modes

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

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDATA_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.

CDR2

ADC x common regular data register for 32-bit dual mode

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

RDATA_ALT

Bits 0-31: Regular data of the master/slave alternated ADCs.

ART

0x40024400: accelerator - control register (ART_CTR)

0/2 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 CTR
Toggle registers

CTR

control register

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

0/2 fields covered.

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

EN

Bit 0: Cache enable.

PCACHEADDR

Bits 8-19: Cacheable page index.

AXI

0x51000000: AXI interconnect registers

15/70 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
0x1fd0 PERIPH_ID_4
0x1fe0 PERIPH_ID_0
0x1fe4 PERIPH_ID_1
0x1fe8 PERIPH_ID_2
0x1fec PERIPH_ID_3
0x1ff0 COMP_ID_0
0x1ff4 COMP_ID_1
0x1ff8 COMP_ID_2
0x1ffc COMP_ID_3
0x2008 TARG1_FN_MOD_ISS_BM
0x2024 TARG1_FN_MOD2
0x202c TARG1_FN_MOD_LB
0x2108 TARG1_FN_MOD
0x3008 TARG2_FN_MOD_ISS_BM
0x3024 TARG2_FN_MOD2
0x302c TARG2_FN_MOD_LB
0x3108 TARG2_FN_MOD
0x4008 TARG3_FN_MOD_ISS_BM
0x5008 TARG4_FN_MOD_ISS_BM
0x6008 TARG5_FN_MOD_ISS_BM
0x7008 TARG6_FN_MOD_ISS_BM
0x800c TARG7_FN_MOD_ISS_BM
0x8024 TARG7_FN_MOD2
0x8108 TARG7_FN_MOD
0x42024 INI1_FN_MOD2
0x42028 INI1_FN_MOD_AHB
0x42100 INI1_READ_QOS
0x42104 INI1_WRITE_QOS
0x42108 INI1_FN_MOD
0x43100 INI2_READ_QOS
0x43104 INI2_WRITE_QOS
0x43108 INI2_FN_MOD
0x44024 INI3_FN_MOD2
0x44028 INI3_FN_MOD_AHB
0x44100 INI3_READ_QOS
0x44104 INI3_WRITE_QOS
0x44108 INI3_FN_MOD
0x45100 INI4_READ_QOS
0x45104 INI4_WRITE_QOS
0x45108 INI4_FN_MOD
0x46100 INI5_READ_QOS
0x46104 INI5_WRITE_QOS
0x46108 INI5_FN_MOD
0x47100 INI6_READ_QOS
0x47104 INI6_WRITE_QOS
0x47108 INI6_FN_MOD
Toggle registers

PERIPH_ID_4

AXI interconnect - peripheral ID4 register

Offset: 0x1fd0, size: 32, reset: 0x00000004, access: read-only

2/2 fields covered.

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

JEP106CON

Bits 0-3: JEP106 continuation code.

KCOUNT4

Bits 4-7: Register file size.

PERIPH_ID_0

AXI interconnect - peripheral ID0 register

Offset: 0x1fe0, size: 32, reset: 0x00000004, 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: Peripheral part number bits 0 to 7.

PERIPH_ID_1

AXI interconnect - peripheral ID1 register

Offset: 0x1fe4, size: 32, reset: 0x00000004, access: read-only

2/2 fields covered.

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

PARTNUM

Bits 0-3: Peripheral part number bits 8 to 11.

JEP106I

Bits 4-7: JEP106 identity bits 0 to 3.

PERIPH_ID_2

AXI interconnect - peripheral ID2 register

Offset: 0x1fe8, size: 32, reset: 0x00000004, 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 bits 4 to 6.

JEDEC

Bit 3: JEP106 code flag.

REVISION

Bits 4-7: Peripheral revision number.

PERIPH_ID_3

AXI interconnect - peripheral ID3 register

Offset: 0x1fec, size: 32, reset: 0x00000004, access: read-only

2/2 fields covered.

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

CUST_MOD_NUM

Bits 0-3: Customer modification.

REV_AND

Bits 4-7: Customer version.

COMP_ID_0

AXI interconnect - component ID0 register

Offset: 0x1ff0, size: 32, reset: 0x00000004, 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: Preamble bits 0 to 7.

COMP_ID_1

AXI interconnect - component ID1 register

Offset: 0x1ff4, size: 32, reset: 0x00000004, 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: Preamble bits 8 to 11.

CLASS

Bits 4-7: Component class.

COMP_ID_2

AXI interconnect - component ID2 register

Offset: 0x1ff8, size: 32, reset: 0x00000004, 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: Preamble bits 12 to 19.

COMP_ID_3

AXI interconnect - component ID3 register

Offset: 0x1ffc, size: 32, reset: 0x00000004, 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: Preamble bits 20 to 27.

TARG1_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x2008, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG1_FN_MOD2

AXI interconnect - TARG x bus matrix functionality 2 register

Offset: 0x2024, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

BYPASS_MERGE

Bit 0: Disable packing of beats to match the output data width.

TARG1_FN_MOD_LB

AXI interconnect - TARG x long burst functionality modification

Offset: 0x202c, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

FN_MOD_LB

Bit 0: Controls burst breaking of long bursts.

TARG1_FN_MOD

AXI interconnect - TARG x long burst functionality modification

Offset: 0x2108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override AMIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override AMIB write issuing capability.

TARG2_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x3008, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG2_FN_MOD2

AXI interconnect - TARG x bus matrix functionality 2 register

Offset: 0x3024, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

BYPASS_MERGE

Bit 0: Disable packing of beats to match the output data width.

TARG2_FN_MOD_LB

AXI interconnect - TARG x long burst functionality modification

Offset: 0x302c, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

FN_MOD_LB

Bit 0: Controls burst breaking of long bursts.

TARG2_FN_MOD

AXI interconnect - TARG x long burst functionality modification

Offset: 0x3108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override AMIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override AMIB write issuing capability.

TARG3_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x4008, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG4_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x5008, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG5_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x6008, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG6_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x7008, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG7_FN_MOD_ISS_BM

AXI interconnect - TARG x bus matrix issuing functionality register

Offset: 0x800c, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: READ_ISS_OVERRIDE.

WRITE_ISS_OVERRIDE

Bit 1: Switch matrix write issuing override for target.

TARG7_FN_MOD2

AXI interconnect - TARG x bus matrix functionality 2 register

Offset: 0x8024, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

BYPASS_MERGE

Bit 0: Disable packing of beats to match the output data width.

TARG7_FN_MOD

AXI interconnect - TARG x long burst functionality modification

Offset: 0x8108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override AMIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override AMIB write issuing capability.

INI1_FN_MOD2

AXI interconnect - INI x functionality modification 2 register

Offset: 0x42024, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

BYPASS_MERGE

Bit 0: Disables alteration of transactions by the up-sizer unless required by the protocol.

INI1_FN_MOD_AHB

AXI interconnect - INI x AHB functionality modification register

Offset: 0x42028, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

RD_INC_OVERRIDE

Bit 0: Converts all AHB-Lite write transactions to a series of single beat AXI.

WR_INC_OVERRIDE

Bit 1: Converts all AHB-Lite read transactions to a series of single beat AXI.

INI1_READ_QOS

AXI interconnect - INI x read QoS register

Offset: 0x42100, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AR_QOS

Bits 0-3: Read channel QoS setting.

INI1_WRITE_QOS

AXI interconnect - INI x write QoS register

Offset: 0x42104, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AW_QOS

Bits 0-3: Write channel QoS setting.

INI1_FN_MOD

AXI interconnect - INI x issuing functionality modification register

Offset: 0x42108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override ASIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override ASIB write issuing capability.

INI2_READ_QOS

AXI interconnect - INI x read QoS register

Offset: 0x43100, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AR_QOS

Bits 0-3: Read channel QoS setting.

INI2_WRITE_QOS

AXI interconnect - INI x write QoS register

Offset: 0x43104, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AW_QOS

Bits 0-3: Write channel QoS setting.

INI2_FN_MOD

AXI interconnect - INI x issuing functionality modification register

Offset: 0x43108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override ASIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override ASIB write issuing capability.

INI3_FN_MOD2

AXI interconnect - INI x functionality modification 2 register

Offset: 0x44024, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

BYPASS_MERGE

Bit 0: Disables alteration of transactions by the up-sizer unless required by the protocol.

INI3_FN_MOD_AHB

AXI interconnect - INI x AHB functionality modification register

Offset: 0x44028, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

RD_INC_OVERRIDE

Bit 0: Converts all AHB-Lite write transactions to a series of single beat AXI.

WR_INC_OVERRIDE

Bit 1: Converts all AHB-Lite read transactions to a series of single beat AXI.

INI3_READ_QOS

AXI interconnect - INI x read QoS register

Offset: 0x44100, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AR_QOS

Bits 0-3: Read channel QoS setting.

INI3_WRITE_QOS

AXI interconnect - INI x write QoS register

Offset: 0x44104, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AW_QOS

Bits 0-3: Write channel QoS setting.

INI3_FN_MOD

AXI interconnect - INI x issuing functionality modification register

Offset: 0x44108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override ASIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override ASIB write issuing capability.

INI4_READ_QOS

AXI interconnect - INI x read QoS register

Offset: 0x45100, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AR_QOS

Bits 0-3: Read channel QoS setting.

INI4_WRITE_QOS

AXI interconnect - INI x write QoS register

Offset: 0x45104, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AW_QOS

Bits 0-3: Write channel QoS setting.

INI4_FN_MOD

AXI interconnect - INI x issuing functionality modification register

Offset: 0x45108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override ASIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override ASIB write issuing capability.

INI5_READ_QOS

AXI interconnect - INI x read QoS register

Offset: 0x46100, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AR_QOS

Bits 0-3: Read channel QoS setting.

INI5_WRITE_QOS

AXI interconnect - INI x write QoS register

Offset: 0x46104, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AW_QOS

Bits 0-3: Write channel QoS setting.

INI5_FN_MOD

AXI interconnect - INI x issuing functionality modification register

Offset: 0x46108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override ASIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override ASIB write issuing capability.

INI6_READ_QOS

AXI interconnect - INI x read QoS register

Offset: 0x47100, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AR_QOS

Bits 0-3: Read channel QoS setting.

INI6_WRITE_QOS

AXI interconnect - INI x write QoS register

Offset: 0x47104, size: 32, reset: 0x00000004, access: read-write

0/1 fields covered.

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

AW_QOS

Bits 0-3: Write channel QoS setting.

INI6_FN_MOD

AXI interconnect - INI x issuing functionality modification register

Offset: 0x47108, size: 32, reset: 0x00000004, access: read-write

0/2 fields covered.

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

READ_ISS_OVERRIDE

Bit 0: Override ASIB read issuing capability.

WRITE_ISS_OVERRIDE

Bit 1: Override ASIB write issuing capability.

BDMA

0x58025400: BDMA

184/208 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 IFCR
0x8 CR [0]
0xc NDTR [0]
0x10 PAR [0]
0x14 M0AR [0]
0x18 M1AR [0]
0x1c CR [1]
0x20 NDTR [1]
0x24 PAR [1]
0x28 M0AR [1]
0x2c M1AR [1]
0x30 CR [2]
0x34 NDTR [2]
0x38 PAR [2]
0x3c M0AR [2]
0x40 M1AR [2]
0x44 CR [3]
0x48 NDTR [3]
0x4c PAR [3]
0x50 M0AR [3]
0x54 M1AR [3]
0x58 CR [4]
0x5c NDTR [4]
0x60 PAR [4]
0x64 M0AR [4]
0x68 M1AR [4]
0x6c CR [5]
0x70 NDTR [5]
0x74 PAR [5]
0x78 M0AR [5]
0x7c M1AR [5]
0x80 CR [6]
0x84 NDTR [6]
0x88 PAR [6]
0x8c M0AR [6]
0x90 M1AR [6]
0x94 CR [7]
0x98 NDTR [7]
0x9c PAR [7]
0xa0 M0AR [7]
0xa4 M1AR [7]
Toggle registers

ISR

DMA interrupt status register

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

32/32 fields covered.

Toggle fields

GIF[1]

Bit 0: Channel 1 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[1]

Bit 1: Channel 1 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[1]

Bit 2: Channel 1 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[1]

Bit 3: Channel 1 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[2]

Bit 4: Channel 2 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[2]

Bit 5: Channel 2 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[2]

Bit 6: Channel 2 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[2]

Bit 7: Channel 2 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[3]

Bit 8: Channel 3 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[3]

Bit 9: Channel 3 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[3]

Bit 10: Channel 3 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[3]

Bit 11: Channel 3 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[4]

Bit 12: Channel 4 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[4]

Bit 13: Channel 4 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[4]

Bit 14: Channel 4 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[4]

Bit 15: Channel 4 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[5]

Bit 16: Channel 5 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[5]

Bit 17: Channel 5 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[5]

Bit 18: Channel 5 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[5]

Bit 19: Channel 5 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[6]

Bit 20: Channel 6 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[6]

Bit 21: Channel 6 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[6]

Bit 22: Channel 6 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[6]

Bit 23: Channel 6 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[7]

Bit 24: Channel 7 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[7]

Bit 25: Channel 7 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[7]

Bit 26: Channel 7 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[7]

Bit 27: Channel 7 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

GIF[8]

Bit 28: Channel 8 Global interrupt flag.

Allowed values:
0: NoEvent: No TE, HT or TC event on channel x
1: Event: A TE, HT or TC event occurred on channel x

TCIF[8]

Bit 29: Channel 8 Transfer Complete flag.

Allowed values:
0: NotComplete: No transfer complete event on channel x
1: Complete: A transfer complete event occurred on channel x

HTIF[8]

Bit 30: Channel 8 Half Transfer Complete flag.

Allowed values:
0: NotHalf: No half transfer event on channel x
1: Half: A half transfer event occurred on channel x

TEIF[8]

Bit 31: Channel 8 Transfer Error flag.

Allowed values:
0: NoError: No transfer error on channel x
1: Error: A transfer error occurred on channel x

IFCR

DMA interrupt flag clear register

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

32/32 fields covered.

Toggle fields

CGIF[1]

Bit 0: Channel 1 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[1]

Bit 1: Channel 1 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[1]

Bit 2: Channel 1 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[1]

Bit 3: Channel 1 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[2]

Bit 4: Channel 2 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[2]

Bit 5: Channel 2 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[2]

Bit 6: Channel 2 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[2]

Bit 7: Channel 2 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[3]

Bit 8: Channel 3 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[3]

Bit 9: Channel 3 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[3]

Bit 10: Channel 3 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[3]

Bit 11: Channel 3 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[4]

Bit 12: Channel 4 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[4]

Bit 13: Channel 4 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[4]

Bit 14: Channel 4 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[4]

Bit 15: Channel 4 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[5]

Bit 16: Channel 5 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[5]

Bit 17: Channel 5 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[5]

Bit 18: Channel 5 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[5]

Bit 19: Channel 5 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[6]

Bit 20: Channel 6 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[6]

Bit 21: Channel 6 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[6]

Bit 22: Channel 6 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[6]

Bit 23: Channel 6 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[7]

Bit 24: Channel 7 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[7]

Bit 25: Channel 7 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[7]

Bit 26: Channel 7 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[7]

Bit 27: Channel 7 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CGIF[8]

Bit 28: Channel 8 Global interrupt clear.

Allowed values:
1: Clear: Clear the corresponding CGIFx flag

CTCIF[8]

Bit 29: Channel 8 Transfer Complete clear.

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CHTIF[8]

Bit 30: Channel 8 Half Transfer clear.

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTEIF[8]

Bit 31: Channel 8 Transfer Error clear.

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CR [0]

DMA channel x configuration register

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

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [0]

DMA channel x number of data 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [0]

This register must not be written when the channel is enabled.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [0]

This register must not be written when the channel is enabled.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [0]

Channel x memory 1 address register

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

0/1 fields covered.

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

MA

Bits 0-31: Memory address.

CR [1]

DMA channel x configuration register

Offset: 0x1c, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [1]

DMA channel x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [1]

This register must not be written when the channel is enabled.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [1]

This register must not be written when the channel is enabled.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [1]

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

MA

Bits 0-31: Memory address.

CR [2]

DMA channel x configuration register

Offset: 0x30, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [2]

DMA channel x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [2]

This register must not be written when the channel is enabled.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [2]

This register must not be written when the channel is enabled.

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

0/1 fields covered.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [2]

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

MA

Bits 0-31: Memory address.

CR [3]

DMA channel x configuration register

Offset: 0x44, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [3]

DMA channel x number of data 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [3]

This register must not be written when the channel is enabled.

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [3]

This register must not be written when the channel is enabled.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [3]

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

MA

Bits 0-31: Memory address.

CR [4]

DMA channel x configuration register

Offset: 0x58, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [4]

DMA channel x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [4]

This register must not be written when the channel is enabled.

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [4]

This register must not be written when the channel is enabled.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [4]

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

MA

Bits 0-31: Memory address.

CR [5]

DMA channel x configuration register

Offset: 0x6c, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [5]

DMA channel x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [5]

This register must not be written when the channel is enabled.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [5]

This register must not be written when the channel is enabled.

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

0/1 fields covered.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [5]

Channel x memory 1 address register

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

0/1 fields covered.

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

MA

Bits 0-31: Memory address.

CR [6]

DMA channel x configuration register

Offset: 0x80, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [6]

DMA channel x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [6]

This register must not be written when the channel is enabled.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [6]

This register must not be written when the channel is enabled.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [6]

Channel x memory 1 address register

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

MA

Bits 0-31: Memory address.

CR [7]

DMA channel x configuration register

Offset: 0x94, 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
CT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBM
rw
MEM2MEM
rw
PL
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
TEIE
rw
HTIE
rw
TCIE
rw
EN
rw
Toggle fields

EN

Bit 0: Channel enable This bit is set and cleared by software..

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

TCIE

Bit 1: Transfer complete interrupt enable This bit is set and cleared by software..

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

HTIE

Bit 2: Half transfer interrupt enable This bit is set and cleared by software..

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

TEIE

Bit 3: Transfer error interrupt enable This bit is set and cleared by software..

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

DIR

Bit 4: Data transfer direction This bit is set and cleared by software..

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral

CIRC

Bit 5: Circular mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 6: Peripheral increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 7: Memory increment mode This bit is set and cleared by software..

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 8-9: Peripheral size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 10-11: Memory size These bits are set and cleared by software..

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PL

Bits 12-13: Channel priority level These bits are set and cleared by software..

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

MEM2MEM

Bit 14: Memory to memory mode This bit is set and cleared by software..

Allowed values:
0: Disabled: Memory-to-memory mode disabled
1: Enabled: Memory-to-memory mode enabled

DBM

Bit 15: Double-buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 16: Current target memory in double-buffer mode.

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

NDTR [7]

DMA channel x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not..

Allowed values: 0x0-0xffff

PAR [7]

This register must not be written when the channel is enabled.

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

PA

Bits 0-31: Peripheral address Base address of the peripheral data register from/to which the data will be read/written. When PSIZE is 01 (16-bit), the PA[0] bit is ignored. Access is automatically aligned to a half-word address. When PSIZE is 10 (32-bit), PA[1:0] are ignored. Access is automatically aligned to a word address..

M0AR [7]

This register must not be written when the channel is enabled.

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

MA

Bits 0-31: Memory address Base address of the memory area from/to which the data will be read/written. When MSIZE is 01 (16-bit), the MA[0] bit is ignored. Access is automatically aligned to a half-word address. When MSIZE is 10 (32-bit), MA[1:0] are ignored. Access is automatically aligned to a word address..

M1AR [7]

Channel x memory 1 address register

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

MA

Bits 0-31: Memory address.

CAN_CCU

0x4000a800: CCU registers

0/21 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 CCFG
0x8 CSTAT
0xc CWD
0x10 IR
0x14 IE
Toggle registers

CREL

Clock Calibration Unit Core Release Register

Offset: 0x0, 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
REL
rw
STEP
rw
SUBSTEP
rw
YEAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MON
rw
DAY
rw
Toggle fields

DAY

Bits 0-7: Time Stamp Day.

MON

Bits 8-15: Time Stamp Month.

YEAR

Bits 16-19: Time Stamp Year.

SUBSTEP

Bits 20-23: Sub-step of Core Release.

STEP

Bits 24-27: Step of Core Release.

REL

Bits 28-31: Core Release.

CCFG

Calibration 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
SWR
rw
CDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OCPM
rw
CFL
rw
BCC
rw
TQBT
rw
Toggle fields

TQBT

Bits 0-4: Time Quanta per Bit Time.

BCC

Bit 6: Bypass Clock Calibration.

CFL

Bit 7: Calibration Field Length.

OCPM

Bits 8-15: Oscillator Clock Periods Minimum.

CDIV

Bits 16-19: Clock Divider.

SWR

Bit 31: Software Reset.

CSTAT

Calibration Status Register

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

0/3 fields covered.

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

OCPC

Bits 0-17: Oscillator Clock Period Counter.

TQC

Bits 18-28: Time Quanta Counter.

CALS

Bits 30-31: Calibration State.

CWD

Calibration Watchdog Register

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

WDC

Bits 0-15: WDC.

WDV

Bits 16-31: WDV.

IR

Clock Calibration Unit Interrupt Register

Offset: 0x10, 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
CSC
rw
CWE
rw
Toggle fields

CWE

Bit 0: Calibration Watchdog Event.

CSC

Bit 1: Calibration State Changed.

IE

Clock Calibration Unit Interrupt Enable Register

Offset: 0x14, 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
CSCE
rw
CWEE
rw
Toggle fields

CWEE

Bit 0: Calibration Watchdog Event Enable.

CSCE

Bit 1: Calibration State Changed Enable.

CEC

0x40006c00: CEC

4/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 CFGR
0x8 TXDR
0xc RXDR
0x10 ISR
0x14 IER
Toggle registers

CR

CEC 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
TXEOM
rw
TXSOM
rw
CECEN
rw
Toggle fields

CECEN

Bit 0: CEC Enable The CECEN bit is set and cleared by software. CECEN=1 starts message reception and enables the TXSOM control. CECEN=0 disables the CEC peripheral, clears all bits of CEC_CR register and aborts any on-going reception or transmission..

TXSOM

Bit 1: Tx Start Of Message TXSOM is set by software to command transmission of the first byte of a CEC message. If the CEC message consists of only one byte, TXEOM must be set before of TXSOM. Start-Bit is effectively started on the CEC line after SFT is counted. If TXSOM is set while a message reception is ongoing, transmission will start after the end of reception. TXSOM is cleared by hardware after the last byte of the message is sent with a positive acknowledge (TXEND=1), in case of transmission underrun (TXUDR=1), negative acknowledge (TXACKE=1), and transmission error (TXERR=1). It is also cleared by CECEN=0. It is not cleared and transmission is automatically retried in case of arbitration lost (ARBLST=1). TXSOM can be also used as a status bit informing application whether any transmission request is pending or under execution. The application can abort a transmission request at any time by clearing the CECEN bit. Note: TXSOM must be set when CECEN=1 TXSOM must be set when transmission data is available into TXDR HEADERs first four bits containing own peripheral address are taken from TXDR[7:4], not from CEC_CFGR.OAR which is used only for reception.

TXEOM

Bit 2: Tx End Of Message The TXEOM bit is set by software to command transmission of the last byte of a CEC message. TXEOM is cleared by hardware at the same time and under the same conditions as for TXSOM. Note: TXEOM must be set when CECEN=1 TXEOM must be set before writing transmission data to TXDR If TXEOM is set when TXSOM=0, transmitted message will consist of 1 byte (HEADER) only (PING message).

CFGR

This register is used to configure the HDMI-CEC controller. It is mandatory to write CEC_CFGR only when CECEN=0.

Offset: 0x4, 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
LSTN
rw
OAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SFTOPT
rw
BRDNOGEN
rw
LBPEGEN
rw
BREGEN
rw
BRESTP
rw
RXTOL
rw
SFT
rw
Toggle fields

SFT

Bits 0-2: Signal Free Time SFT bits are set by software. In the SFT=0x0 configuration the number of nominal data bit periods waited before transmission is ruled by hardware according to the transmission history. In all the other configurations the SFT number is determined by software. * 0x0 ** 2.5 Data-Bit periods if CEC is the last bus initiator with unsuccessful transmission (ARBLST=1, TXERR=1, TXUDR=1 or TXACKE= 1) ** 4 Data-Bit periods if CEC is the new bus initiator ** 6 Data-Bit periods if CEC is the last bus initiator with successful transmission (TXEOM=1) * 0x1: 0.5 nominal data bit periods * 0x2: 1.5 nominal data bit periods * 0x3: 2.5 nominal data bit periods * 0x4: 3.5 nominal data bit periods * 0x5: 4.5 nominal data bit periods * 0x6: 5.5 nominal data bit periods * 0x7: 6.5 nominal data bit periods.

Allowed values: 0x0-0x7

RXTOL

Bit 3: Rx-Tolerance The RXTOL bit is set and cleared by software. ** Start-Bit, +/- 200 s rise, +/- 200 s fall. ** Data-Bit: +/- 200 s rise. +/- 350 s fall. ** Start-Bit: +/- 400 s rise, +/- 400 s fall ** Data-Bit: +/-300 s rise, +/- 500 s fall.

BRESTP

Bit 4: Rx-Stop on Bit Rising Error The BRESTP bit is set and cleared by software..

BREGEN

Bit 5: Generate Error-Bit on Bit Rising Error The BREGEN bit is set and cleared by software. Note: If BRDNOGEN=0, an Error-bit is generated upon BRE detection with BRESTP=1 in broadcast even if BREGEN=0.

LBPEGEN

Bit 6: Generate Error-Bit on Long Bit Period Error The LBPEGEN bit is set and cleared by software. Note: If BRDNOGEN=0, an Error-bit is generated upon LBPE detection in broadcast even if LBPEGEN=0.

BRDNOGEN

Bit 7: Avoid Error-Bit Generation in Broadcast The BRDNOGEN bit is set and cleared by software..

SFTOPT

Bit 8: SFT Option Bit The SFTOPT bit is set and cleared by software..

OAR

Bits 16-30: Own addresses configuration The OAR bits are set by software to select which destination logical addresses has to be considered in receive mode. Each bit, when set, enables the CEC logical address identified by the given bit position. At the end of HEADER reception, the received destination address is compared with the enabled addresses. In case of matching address, the incoming message is acknowledged and received. In case of non-matching address, the incoming message is received only in listen mode (LSTN=1), but without acknowledge sent. Broadcast messages are always received. Example: OAR = 0b000 0000 0010 0001 means that CEC acknowledges addresses 0x0 and 0x5. Consequently, each message directed to one of these addresses is received..

Allowed values: 0x0-0x7fff

LSTN

Bit 31: Listen mode LSTN bit is set and cleared by software..

TXDR

CEC Tx data register

Offset: 0x8, 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
TXD
w
Toggle fields

TXD

Bits 0-7: Tx Data register. TXD is a write-only register containing the data byte to be transmitted. Note: TXD must be written when TXSTART=1.

Allowed values: 0x0-0xff

RXDR

CEC Rx Data Register

Offset: 0xc, 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
RXD
r
Toggle fields

RXD

Bits 0-7: Rx Data register. RXD is read-only and contains the last data byte which has been received from the CEC line..

ISR

CEC Interrupt and Status Register

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

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXACKE
rw
TXERR
rw
TXUDR
rw
TXEND
rw
TXBR
rw
ARBLST
rw
RXACKE
rw
LBPE
rw
SBPE
rw
BRE
rw
RXOVR
rw
RXEND
rw
RXBR
rw
Toggle fields

RXBR

Bit 0: Rx-Byte Received The RXBR bit is set by hardware to inform application that a new byte has been received from the CEC line and stored into the RXD buffer. RXBR is cleared by software write at 1..

RXEND

Bit 1: End Of Reception RXEND is set by hardware to inform application that the last byte of a CEC message is received from the CEC line and stored into the RXD buffer. RXEND is set at the same time of RXBR. RXEND is cleared by software write at 1..

RXOVR

Bit 2: Rx-Overrun RXOVR is set by hardware if RXBR is not yet cleared at the time a new byte is received on the CEC line and stored into RXD. RXOVR assertion stops message reception so that no acknowledge is sent. In case of broadcast, a negative acknowledge is sent. RXOVR is cleared by software write at 1..

BRE

Bit 3: Rx-Bit Rising Error BRE is set by hardware in case a Data-Bit waveform is detected with Bit Rising Error. BRE is set either at the time the misplaced rising edge occurs, or at the end of the maximum BRE tolerance allowed by RXTOL, in case rising edge is still longing. BRE stops message reception if BRESTP=1. BRE generates an Error-Bit on the CEC line if BREGEN=1. BRE is cleared by software write at 1..

SBPE

Bit 4: Rx-Short Bit Period Error SBPE is set by hardware in case a Data-Bit waveform is detected with Short Bit Period Error. SBPE is set at the time the anticipated falling edge occurs. SBPE generates an Error-Bit on the CEC line. SBPE is cleared by software write at 1..

LBPE

Bit 5: Rx-Long Bit Period Error LBPE is set by hardware in case a Data-Bit waveform is detected with Long Bit Period Error. LBPE is set at the end of the maximum bit-extension tolerance allowed by RXTOL, in case falling edge is still longing. LBPE always stops reception of the CEC message. LBPE generates an Error-Bit on the CEC line if LBPEGEN=1. In case of broadcast, Error-Bit is generated even in case of LBPEGEN=0. LBPE is cleared by software write at 1..

RXACKE

Bit 6: Rx-Missing Acknowledge In receive mode, RXACKE is set by hardware to inform application that no acknowledge was seen on the CEC line. RXACKE applies only for broadcast messages and in listen mode also for not directly addressed messages (destination address not enabled in OAR). RXACKE aborts message reception. RXACKE is cleared by software write at 1..

ARBLST

Bit 7: Arbitration Lost ARBLST is set by hardware to inform application that CEC device is switching to reception due to arbitration lost event following the TXSOM command. ARBLST can be due either to a contending CEC device starting earlier or starting at the same time but with higher HEADER priority. After ARBLST assertion TXSOM bit keeps pending for next transmission attempt. ARBLST is cleared by software write at 1..

TXBR

Bit 8: Tx-Byte Request TXBR is set by hardware to inform application that the next transmission data has to be written to TXDR. TXBR is set when the 4th bit of currently transmitted byte is sent. Application must write the next byte to TXDR within 6 nominal data-bit periods before transmission underrun error occurs (TXUDR). TXBR is cleared by software write at 1..

TXEND

Bit 9: End of Transmission TXEND is set by hardware to inform application that the last byte of the CEC message has been successfully transmitted. TXEND clears the TXSOM and TXEOM control bits. TXEND is cleared by software write at 1..

TXUDR

Bit 10: Tx-Buffer Underrun In transmission mode, TXUDR is set by hardware if application was not in time to load TXDR before of next byte transmission. TXUDR aborts message transmission and clears TXSOM and TXEOM control bits. TXUDR is cleared by software write at 1.

TXERR

Bit 11: Tx-Error In transmission mode, TXERR is set by hardware if the CEC initiator detects low impedance on the CEC line while it is released. TXERR aborts message transmission and clears TXSOM and TXEOM controls. TXERR is cleared by software write at 1..

TXACKE

Bit 12: Tx-Missing Acknowledge Error In transmission mode, TXACKE is set by hardware to inform application that no acknowledge was received. In case of broadcast transmission, TXACKE informs application that a negative acknowledge was received. TXACKE aborts message transmission and clears TXSOM and TXEOM controls. TXACKE is cleared by software write at 1..

IER

CEC interrupt enable register

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

0/13 fields covered.

Toggle fields

RXBRIE

Bit 0: Rx-Byte Received Interrupt Enable The RXBRIE bit is set and cleared by software..

RXENDIE

Bit 1: End Of Reception Interrupt Enable The RXENDIE bit is set and cleared by software..

RXOVRIE

Bit 2: Rx-Buffer Overrun Interrupt Enable The RXOVRIE bit is set and cleared by software..

BREIE

Bit 3: Bit Rising Error Interrupt Enable The BREIE bit is set and cleared by software..

SBPEIE

Bit 4: Short Bit Period Error Interrupt Enable The SBPEIE bit is set and cleared by software..

LBPEIE

Bit 5: Long Bit Period Error Interrupt Enable The LBPEIE bit is set and cleared by software..

RXACKIE

Bit 6: Rx-Missing Acknowledge Error Interrupt Enable The RXACKIE bit is set and cleared by software..

ARBLSTIE

Bit 7: Arbitration Lost Interrupt Enable The ARBLSTIE bit is set and cleared by software..

TXBRIE

Bit 8: Tx-Byte Request Interrupt Enable The TXBRIE bit is set and cleared by software..

TXENDIE

Bit 9: Tx-End Of Message Interrupt Enable The TXENDIE bit is set and cleared by software..

TXUDRIE

Bit 10: Tx-Underrun Interrupt Enable The TXUDRIE bit is set and cleared by software..

TXERRIE

Bit 11: Tx-Error Interrupt Enable The TXERRIE bit is set and cleared by software..

TXACKIE

Bit 12: Tx-Missing Acknowledge Error Interrupt Enable The TXACKEIE bit is set and cleared by software..

COMP1

0x58003800: COMP1

4/31 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 SR
0x4 ICFR
0x8 OR
0xc CFGR1
0x10 CFGR2
Toggle registers

SR

Comparator status register

Offset: 0x0, 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
C2IF
r
C1IF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
C2VAL
r
C1VAL
r
Toggle fields

C1VAL

Bit 0: COMP channel 1 output status bit.

C2VAL

Bit 1: COMP channel 2 output status bit.

C1IF

Bit 16: COMP channel 1 Interrupt Flag.

C2IF

Bit 17: COMP channel 2 Interrupt Flag.

ICFR

Comparator interrupt clear flag register

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

0/2 fields covered.

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

CC1IF

Bit 16: Clear COMP channel 1 Interrupt Flag.

CC2IF

Bit 17: Clear COMP channel 2 Interrupt Flag.

OR

Comparator option register

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

AFOP

Bits 0-10: Selection of source for alternate function of output ports.

OR

Bits 11-31: Option Register.

CFGR1

Comparator configuration register 1

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
LOCK
rw
BLANKING
rw
INPSEL
rw
INMSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWRMODE
rw
HYST
rw
ITEN
rw
POLARITY
rw
SCALEN
rw
BRGEN
rw
EN
rw
Toggle fields

EN

Bit 0: COMP channel 1 enable bit.

BRGEN

Bit 1: Scaler bridge enable.

SCALEN

Bit 2: Voltage scaler enable bit.

POLARITY

Bit 3: COMP channel 1 polarity selection bit.

ITEN

Bit 6: COMP channel 1 interrupt enable.

HYST

Bits 8-9: COMP channel 1 hysteresis selection bits.

PWRMODE

Bits 12-13: Power Mode of the COMP channel 1.

INMSEL

Bits 16-18: COMP channel 1 inverting input selection field.

INPSEL

Bit 20: COMP channel 1 non-inverting input selection bit.

BLANKING

Bits 24-27: COMP channel 1 blanking source selection bits.

LOCK

Bit 31: Lock bit.

CFGR2

Comparator configuration register 2

Offset: 0x10, 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
LOCK
rw
BLANKING
rw
INPSEL
rw
INMSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWRMODE
rw
HYST
rw
ITEN
rw
WINMODE
rw
POLARITY
rw
SCALEN
rw
BRGEN
rw
EN
rw
Toggle fields

EN

Bit 0: COMP channel 1 enable bit.

BRGEN

Bit 1: Scaler bridge enable.

SCALEN

Bit 2: Voltage scaler enable bit.

POLARITY

Bit 3: COMP channel 1 polarity selection bit.

WINMODE

Bit 4: Window comparator mode selection bit.

ITEN

Bit 6: COMP channel 1 interrupt enable.

HYST

Bits 8-9: COMP channel 1 hysteresis selection bits.

PWRMODE

Bits 12-13: Power Mode of the COMP channel 1.

INMSEL

Bits 16-18: COMP channel 1 inverting input selection field.

INPSEL

Bit 20: COMP channel 1 non-inverting input selection bit.

BLANKING

Bits 24-27: COMP channel 1 blanking source selection bits.

LOCK

Bit 31: Lock bit.

CRC

0x58024c00: Cryptographic processor

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

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.

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

Independent Data register

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

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: Independent Data register.

Allowed values: 0x0-0xffffffff

CR

Control register

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

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

Initial CRC value

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

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: 0x00000000, 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

0x40008400: CRS

10/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: 0x00002000, access: Unspecified

1/8 fields covered.

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

SYNCOKIE

Bit 0: SYNC event OK interrupt enable.

SYNCWARNIE

Bit 1: SYNC warning interrupt enable.

ERRIE

Bit 2: Synchronization or trimming error interrupt enable.

ESYNCIE

Bit 3: Expected SYNC interrupt enable.

CEN

Bit 5: Frequency error counter enable This bit enables the oscillator clock for the frequency error counter. When this bit is set, the CRS_CFGR register is write-protected and cannot be modified..

AUTOTRIMEN

Bit 6: Automatic trimming enable This bit enables the automatic hardware adjustment of TRIM bits according to the measured frequency error between two SYNC events. If this bit is set, the TRIM bits are read-only. The TRIM value can be adjusted by hardware by one or two steps at a time, depending on the measured frequency error value. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details..

SWSYNC

Bit 7: Generate software SYNC event This bit is set by software in order to generate a software SYNC event. It is automatically cleared by hardware..

TRIM

Bits 8-13: HSI48 oscillator smooth trimming These bits provide a user-programmable trimming value to the HSI48 oscillator. They can be programmed to adjust to variations in voltage and temperature that influence the frequency of the HSI48. The default value is 32, which corresponds to the middle of the trimming interval. The trimming step is around 67 kHz between two consecutive TRIM steps. A higher TRIM value corresponds to a higher output frequency. When the AUTOTRIMEN bit is set, this field is controlled by hardware and is read-only..

CFGR

This register can be written only when the frequency error counter is disabled (CEN bit is cleared in CRS_CR). When the counter is enabled, this register is write-protected.

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

0/5 fields covered.

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

RELOAD

Bits 0-15: Counter reload value RELOAD is the value to be loaded in the frequency error counter with each SYNC event. Refer to Section7.3.3: Frequency error measurement for more details about counter behavior..

FELIM

Bits 16-23: Frequency error limit FELIM contains the value to be used to evaluate the captured frequency error value latched in the FECAP[15:0] bits of the CRS_ISR register. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP evaluation..

SYNCDIV

Bits 24-26: SYNC divider These bits are set and cleared by software to control the division factor of the SYNC signal..

SYNCSRC

Bits 28-29: SYNC signal source selection These bits are set and cleared by software to select the SYNC signal source. Note: When using USB LPM (Link Power Management) and the device is in Sleep mode, the periodic USB SOF will not be generated by the host. No SYNC signal will therefore be provided to the CRS to calibrate the HSI48 on the run. To guarantee the required clock precision after waking up from Sleep mode, the LSE or reference clock on the GPIOs should be used as SYNC signal..

SYNCPOL

Bit 31: SYNC polarity selection This bit is set and cleared by software to select the input polarity for the SYNC signal source..

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 This flag is set by hardware when the measured frequency error is smaller than FELIM * 3. This means that either no adjustment of the TRIM value is needed or that an adjustment by one trimming step is enough to compensate the frequency error. An interrupt is generated if the SYNCOKIE bit is set in the CRS_CR register. It is cleared by software by setting the SYNCOKC bit in the CRS_ICR register..

SYNCWARNF

Bit 1: SYNC warning flag This flag is set by hardware when the measured frequency error is greater than or equal to FELIM * 3, but smaller than FELIM * 128. This means that to compensate the frequency error, the TRIM value must be adjusted by two steps or more. An interrupt is generated if the SYNCWARNIE bit is set in the CRS_CR register. It is cleared by software by setting the SYNCWARNC bit in the CRS_ICR register..

ERRF

Bit 2: Error flag This flag is set by hardware in case of any synchronization or trimming error. It is the logical OR of the TRIMOVF, SYNCMISS and SYNCERR bits. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software in reaction to setting the ERRC bit in the CRS_ICR register, which clears the TRIMOVF, SYNCMISS and SYNCERR bits..

ESYNCF

Bit 3: Expected SYNC flag This flag is set by hardware when the frequency error counter reached a zero value. An interrupt is generated if the ESYNCIE bit is set in the CRS_CR register. It is cleared by software by setting the ESYNCC bit in the CRS_ICR register..

SYNCERR

Bit 8: SYNC error This flag is set by hardware when the SYNC pulse arrives before the ESYNC event and the measured frequency error is greater than or equal to FELIM * 128. This means that the frequency error is too big (internal frequency too low) to be compensated by adjusting the TRIM value, and that some other action should be taken. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..

SYNCMISS

Bit 9: SYNC missed This flag is set by hardware when the frequency error counter reached value FELIM * 128 and no SYNC was detected, meaning either that a SYNC pulse was missed or that the frequency error is too big (internal frequency too high) to be compensated by adjusting the TRIM value, and that some other action should be taken. At this point, the frequency error counter is stopped (waiting for a next SYNC) and an interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..

TRIMOVF

Bit 10: Trimming overflow or underflow This flag is set by hardware when the automatic trimming tries to over- or under-flow the TRIM value. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..

FEDIR

Bit 15: Frequency error direction FEDIR is the counting direction of the frequency error counter latched in the time of the last SYNC event. It shows whether the actual frequency is below or above the target..

FECAP

Bits 16-31: Frequency error capture FECAP is the frequency error counter value latched in the time of the last SYNC event. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP usage..

ICR

CRS interrupt flag clear 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
ESYNCC
rw
ERRC
rw
SYNCWARNC
rw
SYNCOKC
rw
Toggle fields

SYNCOKC

Bit 0: SYNC event OK clear flag Writing 1 to this bit clears the SYNCOKF flag in the CRS_ISR register..

SYNCWARNC

Bit 1: SYNC warning clear flag Writing 1 to this bit clears the SYNCWARNF flag in the CRS_ISR register..

ERRC

Bit 2: Error clear flag Writing 1 to this bit clears TRIMOVF, SYNCMISS and SYNCERR bits and consequently also the ERRF flag in the CRS_ISR register..

ESYNCC

Bit 3: Expected SYNC clear flag Writing 1 to this bit clears the ESYNCF flag in the CRS_ISR register..

CRYP

0x48021000: Cryptographic processor

10/51 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 DIN
0xc DOUT
0x10 DMACR
0x14 IMSCR
0x18 RISR
0x1c MISR
0x20 K0LR
0x24 K0RR
0x28 K1LR
0x2c K1RR
0x30 K2LR
0x34 K2RR
0x38 K3LR
0x3c K3RR
0x40 IV0LR
0x44 IV0RR
0x48 IV1LR
0x4c IV1RR
0x50 CSGCMCCM0R
0x54 CSGCMCCM1R
0x58 CSGCMCCM2R
0x5c CSGCMCCM3R
0x60 CSGCMCCM4R
0x64 CSGCMCCM5R
0x68 CSGCMCCM6R
0x6c CSGCMCCM7R
0x70 CSGCM0R
0x74 CSGCM1R
0x78 CSGCM2R
0x7c CSGCM3R
0x80 CSGCM4R
0x84 CSGCM5R
0x88 CSGCM6R
0x8c CSGCM7R
Toggle registers

CR

control register

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALGOMODE3
rw
GCM_CCMPH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRYPEN
rw
FFLUSH
w
KEYSIZE
rw
DATATYPE
rw
ALGOMODE0
rw
ALGODIR
rw
Toggle fields

ALGODIR

Bit 2: Algorithm direction.

ALGOMODE0

Bits 3-5: Algorithm mode.

DATATYPE

Bits 6-7: Data type selection.

KEYSIZE

Bits 8-9: Key size selection (AES mode only).

FFLUSH

Bit 14: FIFO flush.

CRYPEN

Bit 15: Cryptographic processor enable.

GCM_CCMPH

Bits 16-17: GCM_CCMPH.

ALGOMODE3

Bit 19: ALGOMODE.

SR

status register

Offset: 0x4, size: 32, reset: 0x00000003, access: read-only

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
OFFU
r
OFNE
r
IFNF
r
IFEM
r
Toggle fields

IFEM

Bit 0: Input FIFO empty.

IFNF

Bit 1: Input FIFO not full.

OFNE

Bit 2: Output FIFO not empty.

OFFU

Bit 3: Output FIFO full.

BUSY

Bit 4: Busy bit.

DIN

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

DATAIN

Bits 0-31: Data input.

DOUT

data output register

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

1/1 fields covered.

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

DATAOUT

Bits 0-31: Data output.

DMACR

DMA control register

Offset: 0x10, 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
DOEN
rw
DIEN
rw
Toggle fields

DIEN

Bit 0: DMA input enable.

DOEN

Bit 1: DMA output enable.

IMSCR

interrupt mask set/clear register

Offset: 0x14, 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
OUTIM
rw
INIM
rw
Toggle fields

INIM

Bit 0: Input FIFO service interrupt mask.

OUTIM

Bit 1: Output FIFO service interrupt mask.

RISR

raw interrupt status register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-only

2/2 fields covered.

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

INRIS

Bit 0: Input FIFO service raw interrupt status.

OUTRIS

Bit 1: Output FIFO service raw interrupt status.

MISR

masked interrupt status register

Offset: 0x1c, 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
OUTMIS
r
INMIS
r
Toggle fields

INMIS

Bit 0: Input FIFO service masked interrupt status.

OUTMIS

Bit 1: Output FIFO service masked interrupt status.

K0LR

key registers

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

b2

Bits 0-31: b224.

K0RR

key registers

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

b

Bits 0-31: b192.

K1LR

key registers

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

b1

Bits 0-31: b160.

K1RR

key registers

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

b1

Bits 0-31: b128.

K2LR

key registers

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

b

Bits 0-31: b96.

K2RR

key registers

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

b

Bits 0-31: b64.

K3LR

key registers

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

b

Bits 0-31: b32.

K3RR

key registers

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

b

Bits 0-31: b0.

IV0LR

initialization vector registers

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

IV

Bits 0-31: IV31.

IV0RR

initialization vector registers

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

0/1 fields covered.

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

IV

Bits 0-31: IV63.

IV1LR

initialization vector registers

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

IV

Bits 0-31: IV95.

IV1RR

initialization vector registers

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

0/1 fields covered.

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

IV

Bits 0-31: IV127.

CSGCMCCM0R

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

CSGCMCCM0R

Bits 0-31: CSGCMCCM0R.

CSGCMCCM1R

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

CSGCMCCM1R

Bits 0-31: CSGCMCCM1R.

CSGCMCCM2R

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

CSGCMCCM2R

Bits 0-31: CSGCMCCM2R.

CSGCMCCM3R

context swap register

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

0/1 fields covered.

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

CSGCMCCM3R

Bits 0-31: CSGCMCCM3R.

CSGCMCCM4R

context swap register

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

0/1 fields covered.

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

CSGCMCCM4R

Bits 0-31: CSGCMCCM4R.

CSGCMCCM5R

context swap register

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

0/1 fields covered.

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

CSGCMCCM5R

Bits 0-31: CSGCMCCM5R.

CSGCMCCM6R

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

CSGCMCCM6R

Bits 0-31: CSGCMCCM6R.

CSGCMCCM7R

context swap register

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

0/1 fields covered.

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

CSGCMCCM7R

Bits 0-31: CSGCMCCM7R.

CSGCM0R

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

CSGCM0R

Bits 0-31: CSGCM0R.

CSGCM1R

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

CSGCM1R

Bits 0-31: CSGCM1R.

CSGCM2R

context swap register

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

0/1 fields covered.

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

CSGCM2R

Bits 0-31: CSGCM2R.

CSGCM3R

context swap register

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

0/1 fields covered.

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

CSGCM3R

Bits 0-31: CSGCM3R.

CSGCM4R

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

CSGCM4R

Bits 0-31: CSGCM4R.

CSGCM5R

context swap register

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

CSGCM5R

Bits 0-31: CSGCM5R.

CSGCM6R

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

CSGCM6R

Bits 0-31: CSGCM6R.

CSGCM7R

context swap register

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

0/1 fields covered.

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

CSGCM7R

Bits 0-31: CSGCM7R.

DAC

0x40007400: DAC

6/48 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 DHR12R1
0xc DHR12L1
0x10 DHR8R1
0x14 DHR12R2
0x18 DHR12L2
0x1c DHR8R2
0x20 DHR12RD
0x24 DHR12LD
0x28 DHR8RD
0x2c DOR1
0x30 DOR2
0x34 SR
0x38 CCR
0x3c MCR
0x40 SHSR1
0x44 SHSR2
0x48 SHHR
0x4c SHRR
Toggle registers

CR

DAC control register

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

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CEN2
rw
DMAUDRIE2
rw
DMAEN2
rw
MAMP2
rw
WAVE2
rw
TSEL2
rw
TEN2
rw
EN2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CEN1
rw
DMAUDRIE1
rw
DMAEN1
rw
MAMP1
rw
WAVE1
rw
TSEL1
rw
TEN1
rw
EN1
rw
Toggle fields

EN1

Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..

TEN1

Bit 1: DAC channel1 trigger enable.

TSEL1

Bits 2-4: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..

WAVE1

Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..

MAMP1

Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.

DMAEN1

Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..

DMAUDRIE1

Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..

CEN1

Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..

EN2

Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..

TEN2

Bit 17: DAC channel2 trigger enable.

TSEL2

Bits 18-20: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..

WAVE2

Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).

MAMP2

Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.

DMAEN2

Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..

DMAUDRIE2

Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..

CEN2

Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..

SWTRGR

DAC software trigger register

Offset: 0x4, 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
SWTRIG2
w
SWTRIG1
w
Toggle fields

SWTRIG1

Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..

SWTRIG2

Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..

DHR12R1

DAC channel1 12-bit right-aligned data holding register

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

0/1 fields covered.

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

DACC1DHR

Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..

DHR12L1

DAC channel1 12-bit left aligned data holding 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
DACC1DHR
rw
Toggle fields

DACC1DHR

Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..

DHR8R1

DAC channel1 8-bit right aligned data holding register

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

0/1 fields covered.

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

DACC1DHR

Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..

DHR12R2

DAC channel2 12-bit right aligned data holding register

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

0/1 fields covered.

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

DACC2DHR

Bits 0-11: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..

DHR12L2

DAC channel2 12-bit left aligned data holding 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
DACC2DHR
rw
Toggle fields

DACC2DHR

Bits 4-15: DAC channel2 12-bit left-aligned data These bits are written by software which specify 12-bit data for DAC channel2..

DHR8R2

DAC channel2 8-bit right-aligned data holding 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
DACC2DHR
rw
Toggle fields

DACC2DHR

Bits 0-7: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..

DHR12RD

Dual DAC 12-bit right-aligned data holding 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
DACC2DHR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC1DHR
rw
Toggle fields

DACC1DHR

Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..

DACC2DHR

Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..

DHR12LD

DUAL DAC 12-bit left aligned data holding 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
DACC2DHR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DACC1DHR
rw
Toggle fields

DACC1DHR

Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..

DACC2DHR

Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..

DHR8RD

DUAL DAC 8-bit right aligned data holding register

Offset: 0x28, 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
DACC2DHR
rw
DACC1DHR
rw
Toggle fields

DACC1DHR

Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..

DACC2DHR

Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..

DOR1

DAC channel1 data output 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
DACC1DOR
r
Toggle fields

DACC1DOR

Bits 0-11: DAC channel1 data output These bits are read-only, they contain data output for DAC channel1..

DOR2

DAC channel2 data output 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
DACC2DOR
r
Toggle fields

DACC2DOR

Bits 0-11: DAC channel2 data output These bits are read-only, they contain data output for DAC channel2..

SR

DAC status register

Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified

4/6 fields covered.

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

DMAUDR1

Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..

CAL_FLAG1

Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.

BWST1

Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..

DMAUDR2

Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..

CAL_FLAG2

Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.

BWST2

Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..

CCR

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

OTRIM1

Bits 0-4: DAC Channel 1 offset trimming value.

OTRIM2

Bits 16-20: DAC Channel 2 offset trimming value.

MCR

DAC mode control register

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

MODE1

Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample &amp; hold mode.

MODE2

Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample &amp; hold mode.

SHSR1

DAC Sample and Hold sample time register 1

Offset: 0x40, 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
TSAMPLE1
rw
Toggle fields

TSAMPLE1

Bits 0-9: DAC Channel 1 sample Time (only valid in sample &amp; hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..

SHSR2

DAC Sample and Hold sample time register 2

Offset: 0x44, 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
TSAMPLE2
rw
Toggle fields

TSAMPLE2

Bits 0-9: DAC Channel 2 sample Time (only valid in sample &amp; hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..

SHHR

DAC Sample and Hold hold time register

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

0/2 fields covered.

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

THOLD1

Bits 0-9: DAC Channel 1 hold Time (only valid in sample &amp; hold mode) Hold time= (THOLD[9:0]) x T LSI.

THOLD2

Bits 16-25: DAC Channel 2 hold time (only valid in sample &amp; hold mode). Hold time= (THOLD[9:0]) x T LSI.

SHRR

DAC Sample and Hold refresh time register

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

0/2 fields covered.

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

TREFRESH1

Bits 0-7: DAC Channel 1 refresh Time (only valid in sample &amp; hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.

TREFRESH2

Bits 16-23: DAC Channel 2 refresh Time (only valid in sample &amp; hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.

DBGMCU

0x5c001000: Microcontroller Debug Unit

2/72 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 IDC
0x4 CR
0x34 APB3FZ1
0x38 APB3FZ2
0x3c APB1LFZ1
0x40 APB1LFZ2
0x4c APB2FZ1
0x50 APB2FZ2
0x54 APB4FZ1
0x58 APB4FZ2
Toggle registers

IDC

DBGMCU Identity Code Register

Offset: 0x0, size: 32, reset: 0x10006450, 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 ID.

REV_ID

Bits 16-31: Revision.

CR

DBGMCU Configuration Register

Offset: 0x4, 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
TRGOEN
rw
D3DBGCKEN
rw
D1DBGCKEN
rw
TRACECLKEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBGSTBD3
rw
DBGSTPD3
rw
DBGSTBD2
rw
DBGSTPD2
rw
DBGSLPD2
rw
DBGSTBD1
rw
DBGSTPD1
rw
DBGSLPD1
rw
Toggle fields

DBGSLPD1

Bit 0: Allow D1 domain debug in Sleep mode.

DBGSTPD1

Bit 1: Allow D1 domain debug in Stop mode.

DBGSTBD1

Bit 2: Allow D1 domain debug in Standby mode.

DBGSLPD2

Bit 3: Allow D2 domain debug in Sleep mode.

DBGSTPD2

Bit 4: Allow D2 domain debug in Stop mode.

DBGSTBD2

Bit 5: Allow D2 domain debug in Standby mode.

DBGSTPD3

Bit 7: Allow debug in D3 Stop mode.

DBGSTBD3

Bit 8: Allow debug in D3 Standby mode.

TRACECLKEN

Bit 20: Trace port clock enable.

D1DBGCKEN

Bit 21: D1 debug clock enable.

D3DBGCKEN

Bit 22: D3 debug clock enable.

TRGOEN

Bit 28: External trigger output enable.

APB3FZ1

DBGMCU APB3 peripheral freeze register CPU1

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

WWDG1

Bit 6: WWDG1 stop in debug.

APB3FZ2

DBGMCU APB3 peripheral freeze register CPU2

Offset: 0x38, 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
WWDG1
rw
Toggle fields

WWDG1

Bit 6: WWDG1 stop in debug.

APB1LFZ1

DBGMCU APB1L peripheral freeze register

Offset: 0x3c, 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
DBG_I2C3
rw
DBG_I2C2
rw
DBG_I2C1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_WWDG2
rw
DBG_LPTIM1
rw
DBG_TIM14
rw
DBG_TIM13
rw
DBG_TIM12
rw
DBG_TIM7
rw
DBG_TIM6
rw
DBG_TIM5
rw
DBG_TIM4
rw
DBG_TIM3
rw
DBG_TIM2
rw
Toggle fields

DBG_TIM2

Bit 0: TIM2 stop in debug.

DBG_TIM3

Bit 1: TIM3 stop in debug.

DBG_TIM4

Bit 2: TIM4 stop in debug.

DBG_TIM5

Bit 3: TIM5 stop in debug.

DBG_TIM6

Bit 4: TIM6 stop in debug.

DBG_TIM7

Bit 5: TIM7 stop in debug.

DBG_TIM12

Bit 6: TIM12 stop in debug.

DBG_TIM13

Bit 7: TIM13 stop in debug.

DBG_TIM14

Bit 8: TIM14 stop in debug.

DBG_LPTIM1

Bit 9: LPTIM1 stop in debug.

DBG_WWDG2

Bit 11: WWDG2 stop in debug.

DBG_I2C1

Bit 21: I2C1 SMBUS timeout stop in debug.

DBG_I2C2

Bit 22: I2C2 SMBUS timeout stop in debug.

DBG_I2C3

Bit 23: I2C3 SMBUS timeout stop in debug.

APB1LFZ2

DBGMCU APB1L peripheral freeze register CPU2

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

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DBG_I2C3
rw
DBG_I2C2
rw
DBG_I2C1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_WWDG2
rw
DBG_LPTIM1
rw
DBG_TIM14
rw
DBG_TIM13
rw
DBG_TIM12
rw
DBG_TIM7
rw
DBG_TIM6
rw
DBG_TIM5
rw
DBG_TIM4
rw
DBG_TIM3
rw
DBG_TIM2
rw
Toggle fields

DBG_TIM2

Bit 0: TIM2 stop in debug.

DBG_TIM3

Bit 1: TIM3 stop in debug.

DBG_TIM4

Bit 2: TIM4 stop in debug.

DBG_TIM5

Bit 3: TIM5 stop in debug.

DBG_TIM6

Bit 4: TIM6 stop in debug.

DBG_TIM7

Bit 5: TIM4 stop in debug.

DBG_TIM12

Bit 6: TIM12 stop in debug.

DBG_TIM13

Bit 7: TIM13 stop in debug.

DBG_TIM14

Bit 8: TIM14 stop in debug.

DBG_LPTIM1

Bit 9: LPTIM1 stop in debug.

DBG_WWDG2

Bit 11: WWDG2 stop in debug.

DBG_I2C1

Bit 21: I2C1 SMBUS timeout stop in debug.

DBG_I2C2

Bit 22: I2C2 SMBUS timeout stop in debug.

DBG_I2C3

Bit 23: I2C3 SMBUS timeout stop in debug.

APB2FZ1

DBGMCU APB2 peripheral freeze register

Offset: 0x4c, 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
DBG_HRTIM
rw
DBG_TIM17
rw
DBG_TIM16
rw
DBG_TIM15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_TIM8
rw
DBG_TIM1
rw
Toggle fields

DBG_TIM1

Bit 0: TIM1 stop in debug.

DBG_TIM8

Bit 1: TIM8 stop in debug.

DBG_TIM15

Bit 16: TIM15 stop in debug.

DBG_TIM16

Bit 17: TIM16 stop in debug.

DBG_TIM17

Bit 18: TIM17 stop in debug.

DBG_HRTIM

Bit 29: HRTIM stop in debug.

APB2FZ2

DBGMCU APB2 peripheral freeze register CPU2

Offset: 0x50, 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
DBG_HRTIM
rw
DBG_TIM17
rw
DBG_TIM16
rw
DBG_TIM15
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_TIM8
rw
DBG_TIM1
rw
Toggle fields

DBG_TIM1

Bit 0: TIM1 stop in debug.

DBG_TIM8

Bit 1: TIM8 stop in debug.

DBG_TIM15

Bit 16: TIM15 stop in debug.

DBG_TIM16

Bit 17: TIM16 stop in debug.

DBG_TIM17

Bit 18: TIM17 stop in debug.

DBG_HRTIM

Bit 29: HRTIM stop in debug.

APB4FZ1

DBGMCU APB4 peripheral freeze register

Offset: 0x54, 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_WDGLSD2
rw
DBG_WDGLSD1
rw
DBG_RTC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_LPTIM5
rw
DBG_LPTIM4
rw
DBG_LPTIM3
rw
DBG_LPTIM2
rw
DBG_I2C4
rw
Toggle fields

DBG_I2C4

Bit 7: I2C4 SMBUS timeout stop in debug.

DBG_LPTIM2

Bit 9: LPTIM2 stop in debug.

DBG_LPTIM3

Bit 10: LPTIM2 stop in debug.

DBG_LPTIM4

Bit 11: LPTIM4 stop in debug.

DBG_LPTIM5

Bit 12: LPTIM5 stop in debug.

DBG_RTC

Bit 16: RTC stop in debug.

DBG_WDGLSD1

Bit 18: Independent watchdog for D1 stop in debug.

DBG_WDGLSD2

Bit 19: Independent watchdog for D2 stop in debug.

APB4FZ2

DBGMCU APB4 peripheral freeze register CPU2

Offset: 0x58, 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_WDGLSD2
rw
DBG_WDGLSD1
rw
DBG_RTC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBG_LPTIM5
rw
DBG_LPTIM4
rw
DBG_LPTIM3
rw
DBG_LPTIM2
rw
DBG_I2C4
rw
Toggle fields

DBG_I2C4

Bit 7: I2C4 SMBUS timeout stop in debug.

DBG_LPTIM2

Bit 9: LPTIM2 stop in debug.

DBG_LPTIM3

Bit 10: LPTIM2 stop in debug.

DBG_LPTIM4

Bit 11: LPTIM4 stop in debug.

DBG_LPTIM5

Bit 12: LPTIM5 stop in debug.

DBG_RTC

Bit 16: RTC stop in debug.

DBG_WDGLSD1

Bit 18: LS watchdog for D1 stop in debug.

DBG_WDGLSD2

Bit 19: LS watchdog for D2 stop in debug.

DCMI

0x48020000: Digital camera interface

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

control register 1

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

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: HSYNC.

VSYNC

Bit 1: VSYNC.

FNE

Bit 2: FIFO not empty.

RIS

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: VSYNC raw interrupt status.

LINE_RIS

Bit 4: Line raw interrupt status.

IER

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: VSYNC interrupt enable.

LINE_IE

Bit 4: Line interrupt enable.

MIS

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

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 synch interrupt status clear.

LINE_ISC

Bit 4: line interrupt status clear.

ESCR

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

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

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

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

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.

DELAY_Block_QUADSPI

0x52006000: DELAY_Block_SDMMC1

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

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LNGF
rw
LNG
rw
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: Select the phase for the Output clock.

UNIT

Bits 8-14: Delay Defines the delay of a Unit delay cell.

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DELAY_Block_SDMMC1

0x52008000: DELAY_Block_SDMMC1

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

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LNGF
rw
LNG
rw
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: Select the phase for the Output clock.

UNIT

Bits 8-14: Delay Defines the delay of a Unit delay cell.

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DELAY_Block_SDMMC2

0x48022800: DELAY_Block_SDMMC1

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

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LNGF
rw
LNG
rw
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: Select the phase for the Output clock.

UNIT

Bits 8-14: Delay Defines the delay of a Unit delay cell.

LNG

Bits 16-27: Delay line length value.

LNGF

Bit 31: Length valid flag.

DFSDM

0x40017000: Digital filter for sigma delta modulators

84/392 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 [0]
0x4 CFGR2 [0]
0x8 AWSCDR [0]
0xc WDATR [0]
0x10 DATINR [0]
0x20 CFGR1 [1]
0x24 CFGR2 [1]
0x28 AWSCDR [1]
0x2c WDATR [1]
0x30 DATINR [1]
0x40 CFGR1 [2]
0x44 CFGR2 [2]
0x48 AWSCDR [2]
0x4c WDATR [2]
0x50 DATINR [2]
0x60 CFGR1 [3]
0x64 CFGR2 [3]
0x68 AWSCDR [3]
0x6c WDATR [3]
0x70 DATINR [3]
0x80 CFGR1 [4]
0x84 CFGR2 [4]
0x88 AWSCDR [4]
0x8c WDATR [4]
0x90 DATINR [4]
0xa0 CFGR1 [5]
0xa4 CFGR2 [5]
0xa8 AWSCDR [5]
0xac WDATR [5]
0xb0 DATINR [5]
0xc0 CFGR1 [6]
0xc4 CFGR2 [6]
0xc8 AWSCDR [6]
0xcc WDATR [6]
0xd0 DATINR [6]
0xe0 CFGR1 [7]
0xe4 CFGR2 [7]
0xe8 AWSCDR [7]
0xec WDATR [7]
0xf0 DATINR [7]
0x100 CR1 [0]
0x104 CR2 [0]
0x108 ISR [0]
0x10c ICR [0]
0x110 JCHGR [0]
0x114 FCR [0]
0x118 JDATAR [0]
0x11c RDATAR [0]
0x120 AWHTR [0]
0x124 AWLTR [0]
0x128 AWSR [0]
0x12c AWCFR [0]
0x130 EXMAX [0]
0x134 EXMIN [0]
0x138 CNVTIMR [0]
0x180 CR1 [1]
0x184 CR2 [1]
0x188 ISR [1]
0x18c ICR [1]
0x190 JCHGR [1]
0x194 FCR [1]
0x198 JDATAR [1]
0x19c RDATAR [1]
0x1a0 AWHTR [1]
0x1a4 AWLTR [1]
0x1a8 AWSR [1]
0x1ac AWCFR [1]
0x1b0 EXMAX [1]
0x1b4 EXMIN [1]
0x1b8 CNVTIMR [1]
0x200 CR1 [2]
0x204 CR2 [2]
0x208 ISR [2]
0x20c ICR [2]
0x210 JCHGR [2]
0x214 FCR [2]
0x218 JDATAR [2]
0x21c RDATAR [2]
0x220 AWHTR [2]
0x224 AWLTR [2]
0x228 AWSR [2]
0x22c AWCFR [2]
0x230 EXMAX [2]
0x234 EXMIN [2]
0x238 CNVTIMR [2]
0x280 CR1 [3]
0x284 CR2 [3]
0x288 ISR [3]
0x28c ICR [3]
0x290 JCHGR [3]
0x294 FCR [3]
0x298 JDATAR [3]
0x29c RDATAR [3]
0x2a0 AWHTR [3]
0x2a4 AWLTR [3]
0x2a8 AWSR [3]
0x2ac AWCFR [3]
0x2b0 EXMAX [3]
0x2b4 EXMIN [3]
0x2b8 CNVTIMR [3]
Toggle registers

CFGR1 [0]

channel configuration y register

Offset: 0x0, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [0]

channel configuration y register

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [0]

analog watchdog and short-circuit detector register

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

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [0]

channel watchdog filter data 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [0]

channel data input register

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [1]

channel configuration y register

Offset: 0x20, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [1]

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [1]

analog watchdog and short-circuit detector 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
AWFORD
rw
AWFOSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKSCD
rw
SCDT
rw
Toggle fields

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [1]

channel watchdog filter data register

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

0/1 fields covered.

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

WDATA

Bits 0-15: WDATA.

DATINR [1]

channel data input register

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

0/2 fields covered.

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [2]

channel configuration y register

Offset: 0x40, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [2]

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [2]

analog watchdog and short-circuit detector register

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

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [2]

channel watchdog filter data register

Offset: 0x4c, 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [2]

channel data input register

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [3]

channel configuration y register

Offset: 0x60, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [3]

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [3]

analog watchdog and short-circuit detector 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
AWFORD
rw
AWFOSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKSCD
rw
SCDT
rw
Toggle fields

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [3]

channel watchdog filter data register

Offset: 0x6c, 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [3]

channel data input register

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [4]

channel configuration y register

Offset: 0x80, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [4]

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [4]

analog watchdog and short-circuit detector register

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

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [4]

channel watchdog filter data register

Offset: 0x8c, 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [4]

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [5]

channel configuration y register

Offset: 0xa0, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [5]

channel configuration y register

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [5]

analog watchdog and short-circuit detector register

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

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [5]

channel watchdog filter data register

Offset: 0xac, 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [5]

channel data input register

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [6]

channel configuration y register

Offset: 0xc0, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [6]

channel configuration y register

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [6]

analog watchdog and short-circuit detector register

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

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [6]

channel watchdog filter data 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [6]

channel data input register

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CFGR1 [7]

channel configuration y register

Offset: 0xe0, 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
DFSDMEN
rw
CKOUTSRC
rw
CKOUTDIV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATPACK
rw
DATMPX
rw
CHINSEL
rw
CHEN
rw
CKABEN
rw
SCDEN
rw
SPICKSEL
rw
SITP
rw
Toggle fields

SITP

Bits 0-1: SITP.

SPICKSEL

Bits 2-3: SPICKSEL.

SCDEN

Bit 5: SCDEN.

CKABEN

Bit 6: CKABEN.

CHEN

Bit 7: CHEN.

CHINSEL

Bit 8: CHINSEL.

DATMPX

Bits 12-13: DATMPX.

DATPACK

Bits 14-15: DATPACK.

CKOUTDIV

Bits 16-23: CKOUTDIV.

CKOUTSRC

Bit 30: CKOUTSRC.

DFSDMEN

Bit 31: DFSDMEN.

CFGR2 [7]

channel configuration y register

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

DTRBS

Bits 3-7: DTRBS.

OFFSET

Bits 8-31: OFFSET.

AWSCDR [7]

analog watchdog and short-circuit detector register

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

SCDT

Bits 0-7: SCDT.

BKSCD

Bits 12-15: BKSCD.

AWFOSR

Bits 16-20: AWFOSR.

AWFORD

Bits 22-23: AWFORD.

WDATR [7]

channel watchdog filter data register

Offset: 0xec, 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
WDATA
rw
Toggle fields

WDATA

Bits 0-15: WDATA.

DATINR [7]

channel data input register

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

INDAT0

Bits 0-15: INDAT0.

INDAT1

Bits 16-31: INDAT1.

CR1 [0]

control register 1

Offset: 0x100, 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
AWFSEL
rw
FAST
rw
RCH
rw
RDMAEN
rw
RSYNC
rw
RCONT
rw
RSWSTART
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JEXTEN
rw
JEXTSEL
rw
JDMAEN
rw
JSCAN
rw
JSYNC
rw
JSWSTART
rw
DFEN
rw
Toggle fields

DFEN

Bit 0: DFSDM enable.

JSWSTART

Bit 1: Start a conversion of the injected group of channels.

JSYNC

Bit 3: Launch an injected conversion synchronously with the DFSDM0 JSWSTART trigger.

JSCAN

Bit 4: Scanning conversion mode for injected conversions.

JDMAEN

Bit 5: DMA channel enabled to read data for the injected channel group.

JEXTSEL

Bits 8-10: Trigger signal selection for launching injected conversions.

JEXTEN

Bits 13-14: Trigger enable and trigger edge selection for injected conversions.

RSWSTART

Bit 17: Software start of a conversion on the regular channel.

RCONT

Bit 18: Continuous mode selection for regular conversions.

RSYNC

Bit 19: Launch regular conversion synchronously with DFSDM0.

RDMAEN

Bit 21: DMA channel enabled to read data for the regular conversion.

RCH

Bits 24-26: Regular channel selection.

FAST

Bit 29: Fast conversion mode selection for regular conversions.

AWFSEL

Bit 30: Analog watchdog fast mode select.

CR2 [0]

control register 2

Offset: 0x104, 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
AWDCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXCH
rw
CKABIE
rw
SCDIE
rw
AWDIE
rw
ROVRIE
rw
JOVRIE
rw
REOCIE
rw
JEOCIE
rw
Toggle fields

JEOCIE

Bit 0: Injected end of conversion interrupt enable.

REOCIE

Bit 1: Regular end of conversion interrupt enable.

JOVRIE

Bit 2: Injected data overrun interrupt enable.

ROVRIE

Bit 3: Regular data overrun interrupt enable.

AWDIE

Bit 4: Analog watchdog interrupt enable.

SCDIE

Bit 5: Short-circuit detector interrupt enable.

CKABIE

Bit 6: Clock absence interrupt enable.

EXCH

Bits 8-15: Extremes detector channel selection.

AWDCH

Bits 16-23: Analog watchdog channel selection.

ISR [0]

interrupt and status register

Offset: 0x108, size: 32, reset: 0x00FF0000, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SCDF
r
CKABF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCIP
r
JCIP
r
AWDF
r
ROVRF
r
JOVRF
r
REOCF
r
JEOCF
r
Toggle fields

JEOCF

Bit 0: End of injected conversion flag.

REOCF

Bit 1: End of regular conversion flag.

JOVRF

Bit 2: Injected conversion overrun flag.

ROVRF

Bit 3: Regular conversion overrun flag.

AWDF

Bit 4: Analog watchdog.

JCIP

Bit 13: Injected conversion in progress status.

RCIP

Bit 14: Regular conversion in progress status.

CKABF

Bits 16-23: Clock absence flag.

SCDF

Bits 24-31: short-circuit detector flag.

ICR [0]

interrupt flag clear register

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

CLRJOVRF

Bit 2: Clear the injected conversion overrun flag.

CLRROVRF

Bit 3: Clear the regular conversion overrun flag.

CLRCKABF

Bits 16-23: Clear the clock absence flag.

CLRSCDF

Bits 24-31: Clear the short-circuit detector flag.

JCHGR [0]

injected channel group selection register

Offset: 0x110, 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
JCHG
rw
Toggle fields

JCHG

Bits 0-7: Injected channel group selection.

FCR [0]

filter control register

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

IOSR

Bits 0-7: Integrator oversampling ratio (averaging length).

FOSR

Bits 16-25: Sinc filter oversampling ratio (decimation rate).

FORD

Bits 29-31: Sinc filter order.

JDATAR [0]

data register for injected group

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

JDATACH

Bits 0-2: Injected channel most recently converted.

JDATA

Bits 8-31: Injected group conversion data.

RDATAR [0]

data register for the regular channel

Offset: 0x11c, 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
RPEND
r
RDATACH
r
Toggle fields

RDATACH

Bits 0-2: Regular channel most recently converted.

RPEND

Bit 4: Regular channel pending data.

RDATA

Bits 8-31: Regular channel conversion data.

AWHTR [0]

analog watchdog high threshold register

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

BKAWH

Bits 0-3: Break signal assignment to analog watchdog high threshold event.

AWHT

Bits 8-31: Analog watchdog high threshold.

AWLTR [0]

analog watchdog low threshold register

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

BKAWL

Bits 0-3: Break signal assignment to analog watchdog low threshold event.

AWLT

Bits 8-31: Analog watchdog low threshold.

AWSR [0]

analog watchdog status register

Offset: 0x128, 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
AWHTF
r
AWLTF
r
Toggle fields

AWLTF

Bits 0-7: Analog watchdog low threshold flag.

AWHTF

Bits 8-15: Analog watchdog high threshold flag.

AWCFR [0]

analog watchdog clear flag register

Offset: 0x12c, 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
CLRAWHTF
rw
CLRAWLTF
rw
Toggle fields

CLRAWLTF

Bits 0-7: Clear the analog watchdog low threshold flag.

CLRAWHTF

Bits 8-15: Clear the analog watchdog high threshold flag.

EXMAX [0]

Extremes detector maximum register

Offset: 0x130, size: 32, reset: 0x80000000, access: read-only

2/2 fields covered.

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

EXMAXCH

Bits 0-2: Extremes detector maximum data channel.

EXMAX

Bits 8-31: Extremes detector maximum value.

EXMIN [0]

Extremes detector minimum register

Offset: 0x134, size: 32, reset: 0x7FFFFF00, access: read-only

2/2 fields covered.

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

EXMINCH

Bits 0-2: Extremes detector minimum data channel.

EXMIN

Bits 8-31: EXMIN.

CNVTIMR [0]

conversion timer register

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

CNVCNT

Bits 4-31: 28-bit timer counting conversion time t = CNVCNT[27:0] / fDFSDM_CKIN.

CR1 [1]

control register 1

Offset: 0x180, 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
AWFSEL
rw
FAST
rw
RCH
rw
RDMAEN
rw
RSYNC
rw
RCONT
rw
RSWSTART
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JEXTEN
rw
JEXTSEL
rw
JDMAEN
rw
JSCAN
rw
JSYNC
rw
JSWSTART
rw
DFEN
rw
Toggle fields

DFEN

Bit 0: DFSDM enable.

JSWSTART

Bit 1: Start a conversion of the injected group of channels.

JSYNC

Bit 3: Launch an injected conversion synchronously with the DFSDM0 JSWSTART trigger.

JSCAN

Bit 4: Scanning conversion mode for injected conversions.

JDMAEN

Bit 5: DMA channel enabled to read data for the injected channel group.

JEXTSEL

Bits 8-10: Trigger signal selection for launching injected conversions.

JEXTEN

Bits 13-14: Trigger enable and trigger edge selection for injected conversions.

RSWSTART

Bit 17: Software start of a conversion on the regular channel.

RCONT

Bit 18: Continuous mode selection for regular conversions.

RSYNC

Bit 19: Launch regular conversion synchronously with DFSDM0.

RDMAEN

Bit 21: DMA channel enabled to read data for the regular conversion.

RCH

Bits 24-26: Regular channel selection.

FAST

Bit 29: Fast conversion mode selection for regular conversions.

AWFSEL

Bit 30: Analog watchdog fast mode select.

CR2 [1]

control register 2

Offset: 0x184, 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
AWDCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXCH
rw
CKABIE
rw
SCDIE
rw
AWDIE
rw
ROVRIE
rw
JOVRIE
rw
REOCIE
rw
JEOCIE
rw
Toggle fields

JEOCIE

Bit 0: Injected end of conversion interrupt enable.

REOCIE

Bit 1: Regular end of conversion interrupt enable.

JOVRIE

Bit 2: Injected data overrun interrupt enable.

ROVRIE

Bit 3: Regular data overrun interrupt enable.

AWDIE

Bit 4: Analog watchdog interrupt enable.

SCDIE

Bit 5: Short-circuit detector interrupt enable.

CKABIE

Bit 6: Clock absence interrupt enable.

EXCH

Bits 8-15: Extremes detector channel selection.

AWDCH

Bits 16-23: Analog watchdog channel selection.

ISR [1]

interrupt and status register

Offset: 0x188, size: 32, reset: 0x00FF0000, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SCDF
r
CKABF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCIP
r
JCIP
r
AWDF
r
ROVRF
r
JOVRF
r
REOCF
r
JEOCF
r
Toggle fields

JEOCF

Bit 0: End of injected conversion flag.

REOCF

Bit 1: End of regular conversion flag.

JOVRF

Bit 2: Injected conversion overrun flag.

ROVRF

Bit 3: Regular conversion overrun flag.

AWDF

Bit 4: Analog watchdog.

JCIP

Bit 13: Injected conversion in progress status.

RCIP

Bit 14: Regular conversion in progress status.

CKABF

Bits 16-23: Clock absence flag.

SCDF

Bits 24-31: short-circuit detector flag.

ICR [1]

interrupt flag clear register

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

CLRJOVRF

Bit 2: Clear the injected conversion overrun flag.

CLRROVRF

Bit 3: Clear the regular conversion overrun flag.

CLRCKABF

Bits 16-23: Clear the clock absence flag.

CLRSCDF

Bits 24-31: Clear the short-circuit detector flag.

JCHGR [1]

injected channel group selection register

Offset: 0x190, 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
JCHG
rw
Toggle fields

JCHG

Bits 0-7: Injected channel group selection.

FCR [1]

filter control register

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

IOSR

Bits 0-7: Integrator oversampling ratio (averaging length).

FOSR

Bits 16-25: Sinc filter oversampling ratio (decimation rate).

FORD

Bits 29-31: Sinc filter order.

JDATAR [1]

data register for injected group

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

JDATACH

Bits 0-2: Injected channel most recently converted.

JDATA

Bits 8-31: Injected group conversion data.

RDATAR [1]

data register for the regular channel

Offset: 0x19c, 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
RPEND
r
RDATACH
r
Toggle fields

RDATACH

Bits 0-2: Regular channel most recently converted.

RPEND

Bit 4: Regular channel pending data.

RDATA

Bits 8-31: Regular channel conversion data.

AWHTR [1]

analog watchdog high threshold register

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

BKAWH

Bits 0-3: Break signal assignment to analog watchdog high threshold event.

AWHT

Bits 8-31: Analog watchdog high threshold.

AWLTR [1]

analog watchdog low threshold register

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

BKAWL

Bits 0-3: Break signal assignment to analog watchdog low threshold event.

AWLT

Bits 8-31: Analog watchdog low threshold.

AWSR [1]

analog watchdog status register

Offset: 0x1a8, 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
AWHTF
r
AWLTF
r
Toggle fields

AWLTF

Bits 0-7: Analog watchdog low threshold flag.

AWHTF

Bits 8-15: Analog watchdog high threshold flag.

AWCFR [1]

analog watchdog clear flag register

Offset: 0x1ac, 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
CLRAWHTF
rw
CLRAWLTF
rw
Toggle fields

CLRAWLTF

Bits 0-7: Clear the analog watchdog low threshold flag.

CLRAWHTF

Bits 8-15: Clear the analog watchdog high threshold flag.

EXMAX [1]

Extremes detector maximum register

Offset: 0x1b0, size: 32, reset: 0x80000000, access: read-only

2/2 fields covered.

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

EXMAXCH

Bits 0-2: Extremes detector maximum data channel.

EXMAX

Bits 8-31: Extremes detector maximum value.

EXMIN [1]

Extremes detector minimum register

Offset: 0x1b4, size: 32, reset: 0x7FFFFF00, access: read-only

2/2 fields covered.

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

EXMINCH

Bits 0-2: Extremes detector minimum data channel.

EXMIN

Bits 8-31: EXMIN.

CNVTIMR [1]

conversion timer register

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

CNVCNT

Bits 4-31: 28-bit timer counting conversion time t = CNVCNT[27:0] / fDFSDM_CKIN.

CR1 [2]

control register 1

Offset: 0x200, 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
AWFSEL
rw
FAST
rw
RCH
rw
RDMAEN
rw
RSYNC
rw
RCONT
rw
RSWSTART
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JEXTEN
rw
JEXTSEL
rw
JDMAEN
rw
JSCAN
rw
JSYNC
rw
JSWSTART
rw
DFEN
rw
Toggle fields

DFEN

Bit 0: DFSDM enable.

JSWSTART

Bit 1: Start a conversion of the injected group of channels.

JSYNC

Bit 3: Launch an injected conversion synchronously with the DFSDM0 JSWSTART trigger.

JSCAN

Bit 4: Scanning conversion mode for injected conversions.

JDMAEN

Bit 5: DMA channel enabled to read data for the injected channel group.

JEXTSEL

Bits 8-10: Trigger signal selection for launching injected conversions.

JEXTEN

Bits 13-14: Trigger enable and trigger edge selection for injected conversions.

RSWSTART

Bit 17: Software start of a conversion on the regular channel.

RCONT

Bit 18: Continuous mode selection for regular conversions.

RSYNC

Bit 19: Launch regular conversion synchronously with DFSDM0.

RDMAEN

Bit 21: DMA channel enabled to read data for the regular conversion.

RCH

Bits 24-26: Regular channel selection.

FAST

Bit 29: Fast conversion mode selection for regular conversions.

AWFSEL

Bit 30: Analog watchdog fast mode select.

CR2 [2]

control register 2

Offset: 0x204, 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
AWDCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXCH
rw
CKABIE
rw
SCDIE
rw
AWDIE
rw
ROVRIE
rw
JOVRIE
rw
REOCIE
rw
JEOCIE
rw
Toggle fields

JEOCIE

Bit 0: Injected end of conversion interrupt enable.

REOCIE

Bit 1: Regular end of conversion interrupt enable.

JOVRIE

Bit 2: Injected data overrun interrupt enable.

ROVRIE

Bit 3: Regular data overrun interrupt enable.

AWDIE

Bit 4: Analog watchdog interrupt enable.

SCDIE

Bit 5: Short-circuit detector interrupt enable.

CKABIE

Bit 6: Clock absence interrupt enable.

EXCH

Bits 8-15: Extremes detector channel selection.

AWDCH

Bits 16-23: Analog watchdog channel selection.

ISR [2]

interrupt and status register

Offset: 0x208, size: 32, reset: 0x00FF0000, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SCDF
r
CKABF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCIP
r
JCIP
r
AWDF
r
ROVRF
r
JOVRF
r
REOCF
r
JEOCF
r
Toggle fields

JEOCF

Bit 0: End of injected conversion flag.

REOCF

Bit 1: End of regular conversion flag.

JOVRF

Bit 2: Injected conversion overrun flag.

ROVRF

Bit 3: Regular conversion overrun flag.

AWDF

Bit 4: Analog watchdog.

JCIP

Bit 13: Injected conversion in progress status.

RCIP

Bit 14: Regular conversion in progress status.

CKABF

Bits 16-23: Clock absence flag.

SCDF

Bits 24-31: short-circuit detector flag.

ICR [2]

interrupt flag clear register

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

CLRJOVRF

Bit 2: Clear the injected conversion overrun flag.

CLRROVRF

Bit 3: Clear the regular conversion overrun flag.

CLRCKABF

Bits 16-23: Clear the clock absence flag.

CLRSCDF

Bits 24-31: Clear the short-circuit detector flag.

JCHGR [2]

injected channel group selection register

Offset: 0x210, 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
JCHG
rw
Toggle fields

JCHG

Bits 0-7: Injected channel group selection.

FCR [2]

filter control register

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

IOSR

Bits 0-7: Integrator oversampling ratio (averaging length).

FOSR

Bits 16-25: Sinc filter oversampling ratio (decimation rate).

FORD

Bits 29-31: Sinc filter order.

JDATAR [2]

data register for injected group

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

JDATACH

Bits 0-2: Injected channel most recently converted.

JDATA

Bits 8-31: Injected group conversion data.

RDATAR [2]

data register for the regular channel

Offset: 0x21c, 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
RPEND
r
RDATACH
r
Toggle fields

RDATACH

Bits 0-2: Regular channel most recently converted.

RPEND

Bit 4: Regular channel pending data.

RDATA

Bits 8-31: Regular channel conversion data.

AWHTR [2]

analog watchdog high threshold register

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

BKAWH

Bits 0-3: Break signal assignment to analog watchdog high threshold event.

AWHT

Bits 8-31: Analog watchdog high threshold.

AWLTR [2]

analog watchdog low threshold register

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

BKAWL

Bits 0-3: Break signal assignment to analog watchdog low threshold event.

AWLT

Bits 8-31: Analog watchdog low threshold.

AWSR [2]

analog watchdog status register

Offset: 0x228, 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
AWHTF
r
AWLTF
r
Toggle fields

AWLTF

Bits 0-7: Analog watchdog low threshold flag.

AWHTF

Bits 8-15: Analog watchdog high threshold flag.

AWCFR [2]

analog watchdog clear flag register

Offset: 0x22c, 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
CLRAWHTF
rw
CLRAWLTF
rw
Toggle fields

CLRAWLTF

Bits 0-7: Clear the analog watchdog low threshold flag.

CLRAWHTF

Bits 8-15: Clear the analog watchdog high threshold flag.

EXMAX [2]

Extremes detector maximum register

Offset: 0x230, size: 32, reset: 0x80000000, access: read-only

2/2 fields covered.

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

EXMAXCH

Bits 0-2: Extremes detector maximum data channel.

EXMAX

Bits 8-31: Extremes detector maximum value.

EXMIN [2]

Extremes detector minimum register

Offset: 0x234, size: 32, reset: 0x7FFFFF00, access: read-only

2/2 fields covered.

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

EXMINCH

Bits 0-2: Extremes detector minimum data channel.

EXMIN

Bits 8-31: EXMIN.

CNVTIMR [2]

conversion timer register

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

CNVCNT

Bits 4-31: 28-bit timer counting conversion time t = CNVCNT[27:0] / fDFSDM_CKIN.

CR1 [3]

control register 1

Offset: 0x280, 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
AWFSEL
rw
FAST
rw
RCH
rw
RDMAEN
rw
RSYNC
rw
RCONT
rw
RSWSTART
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JEXTEN
rw
JEXTSEL
rw
JDMAEN
rw
JSCAN
rw
JSYNC
rw
JSWSTART
rw
DFEN
rw
Toggle fields

DFEN

Bit 0: DFSDM enable.

JSWSTART

Bit 1: Start a conversion of the injected group of channels.

JSYNC

Bit 3: Launch an injected conversion synchronously with the DFSDM0 JSWSTART trigger.

JSCAN

Bit 4: Scanning conversion mode for injected conversions.

JDMAEN

Bit 5: DMA channel enabled to read data for the injected channel group.

JEXTSEL

Bits 8-10: Trigger signal selection for launching injected conversions.

JEXTEN

Bits 13-14: Trigger enable and trigger edge selection for injected conversions.

RSWSTART

Bit 17: Software start of a conversion on the regular channel.

RCONT

Bit 18: Continuous mode selection for regular conversions.

RSYNC

Bit 19: Launch regular conversion synchronously with DFSDM0.

RDMAEN

Bit 21: DMA channel enabled to read data for the regular conversion.

RCH

Bits 24-26: Regular channel selection.

FAST

Bit 29: Fast conversion mode selection for regular conversions.

AWFSEL

Bit 30: Analog watchdog fast mode select.

CR2 [3]

control register 2

Offset: 0x284, 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
AWDCH
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EXCH
rw
CKABIE
rw
SCDIE
rw
AWDIE
rw
ROVRIE
rw
JOVRIE
rw
REOCIE
rw
JEOCIE
rw
Toggle fields

JEOCIE

Bit 0: Injected end of conversion interrupt enable.

REOCIE

Bit 1: Regular end of conversion interrupt enable.

JOVRIE

Bit 2: Injected data overrun interrupt enable.

ROVRIE

Bit 3: Regular data overrun interrupt enable.

AWDIE

Bit 4: Analog watchdog interrupt enable.

SCDIE

Bit 5: Short-circuit detector interrupt enable.

CKABIE

Bit 6: Clock absence interrupt enable.

EXCH

Bits 8-15: Extremes detector channel selection.

AWDCH

Bits 16-23: Analog watchdog channel selection.

ISR [3]

interrupt and status register

Offset: 0x288, size: 32, reset: 0x00FF0000, access: read-only

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SCDF
r
CKABF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCIP
r
JCIP
r
AWDF
r
ROVRF
r
JOVRF
r
REOCF
r
JEOCF
r
Toggle fields

JEOCF

Bit 0: End of injected conversion flag.

REOCF

Bit 1: End of regular conversion flag.

JOVRF

Bit 2: Injected conversion overrun flag.

ROVRF

Bit 3: Regular conversion overrun flag.

AWDF

Bit 4: Analog watchdog.

JCIP

Bit 13: Injected conversion in progress status.

RCIP

Bit 14: Regular conversion in progress status.

CKABF

Bits 16-23: Clock absence flag.

SCDF

Bits 24-31: short-circuit detector flag.

ICR [3]

interrupt flag clear register

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

CLRJOVRF

Bit 2: Clear the injected conversion overrun flag.

CLRROVRF

Bit 3: Clear the regular conversion overrun flag.

CLRCKABF

Bits 16-23: Clear the clock absence flag.

CLRSCDF

Bits 24-31: Clear the short-circuit detector flag.

JCHGR [3]

injected channel group selection register

Offset: 0x290, 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
JCHG
rw
Toggle fields

JCHG

Bits 0-7: Injected channel group selection.

FCR [3]

filter control register

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

IOSR

Bits 0-7: Integrator oversampling ratio (averaging length).

FOSR

Bits 16-25: Sinc filter oversampling ratio (decimation rate).

FORD

Bits 29-31: Sinc filter order.

JDATAR [3]

data register for injected group

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

JDATACH

Bits 0-2: Injected channel most recently converted.

JDATA

Bits 8-31: Injected group conversion data.

RDATAR [3]

data register for the regular channel

Offset: 0x29c, 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
RDATA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDATA
r
RPEND
r
RDATACH
r
Toggle fields

RDATACH

Bits 0-2: Regular channel most recently converted.

RPEND

Bit 4: Regular channel pending data.

RDATA

Bits 8-31: Regular channel conversion data.

AWHTR [3]

analog watchdog high threshold register

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

BKAWH

Bits 0-3: Break signal assignment to analog watchdog high threshold event.

AWHT

Bits 8-31: Analog watchdog high threshold.

AWLTR [3]

analog watchdog low threshold register

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

BKAWL

Bits 0-3: Break signal assignment to analog watchdog low threshold event.

AWLT

Bits 8-31: Analog watchdog low threshold.

AWSR [3]

analog watchdog status register

Offset: 0x2a8, 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
AWHTF
r
AWLTF
r
Toggle fields

AWLTF

Bits 0-7: Analog watchdog low threshold flag.

AWHTF

Bits 8-15: Analog watchdog high threshold flag.

AWCFR [3]

analog watchdog clear flag register

Offset: 0x2ac, 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
CLRAWHTF
rw
CLRAWLTF
rw
Toggle fields

CLRAWLTF

Bits 0-7: Clear the analog watchdog low threshold flag.

CLRAWHTF

Bits 8-15: Clear the analog watchdog high threshold flag.

EXMAX [3]

Extremes detector maximum register

Offset: 0x2b0, size: 32, reset: 0x80000000, access: read-only

2/2 fields covered.

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

EXMAXCH

Bits 0-2: Extremes detector maximum data channel.

EXMAX

Bits 8-31: Extremes detector maximum value.

EXMIN [3]

Extremes detector minimum register

Offset: 0x2b4, size: 32, reset: 0x7FFFFF00, access: read-only

2/2 fields covered.

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

EXMINCH

Bits 0-2: Extremes detector minimum data channel.

EXMIN

Bits 8-31: EXMIN.

CNVTIMR [3]

conversion timer register

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

CNVCNT

Bits 4-31: 28-bit timer counting conversion time t = CNVCNT[27:0] / fDFSDM_CKIN.

DMA1

0x40020000: DMA controller

264/288 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 LISR
0x4 HISR
0x8 LIFCR
0xc HIFCR
0x10 CR [0]
0x14 NDTR [0]
0x18 PAR [0]
0x1c M0AR [0]
0x20 M1AR [0]
0x24 FCR [0]
0x28 CR [1]
0x2c NDTR [1]
0x30 PAR [1]
0x34 M0AR [1]
0x38 M1AR [1]
0x3c FCR [1]
0x40 CR [2]
0x44 NDTR [2]
0x48 PAR [2]
0x4c M0AR [2]
0x50 M1AR [2]
0x54 FCR [2]
0x58 CR [3]
0x5c NDTR [3]
0x60 PAR [3]
0x64 M0AR [3]
0x68 M1AR [3]
0x6c FCR [3]
0x70 CR [4]
0x74 NDTR [4]
0x78 PAR [4]
0x7c M0AR [4]
0x80 M1AR [4]
0x84 FCR [4]
0x88 CR [5]
0x8c NDTR [5]
0x90 PAR [5]
0x94 M0AR [5]
0x98 M1AR [5]
0x9c FCR [5]
0xa0 CR [6]
0xa4 NDTR [6]
0xa8 PAR [6]
0xac M0AR [6]
0xb0 M1AR [6]
0xb4 FCR [6]
0xb8 CR [7]
0xbc NDTR [7]
0xc0 PAR [7]
0xc4 M0AR [7]
0xc8 M1AR [7]
0xcc FCR [7]
Toggle registers

LISR

low interrupt status register

Offset: 0x0, 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
TCIF3
r
HTIF3
r
TEIF3
r
DMEIF3
r
FEIF3
r
TCIF2
r
HTIF2
r
TEIF2
r
DMEIF2
r
FEIF2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF1
r
HTIF1
r
TEIF1
r
DMEIF1
r
FEIF1
r
TCIF0
r
HTIF0
r
TEIF0
r
DMEIF0
r
FEIF0
r
Toggle fields

FEIF0

Bit 0: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF0

Bit 2: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF0

Bit 3: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF0

Bit 4: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF0

Bit 5: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF1

Bit 6: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF1

Bit 8: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF1

Bit 9: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF1

Bit 10: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF1

Bit 11: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF2

Bit 16: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF2

Bit 18: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF2

Bit 19: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF2

Bit 20: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF2

Bit 21: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF3

Bit 22: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF3

Bit 24: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF3

Bit 25: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF3

Bit 26: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF3

Bit 27: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

HISR

high interrupt status register

Offset: 0x4, 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
TCIF7
r
HTIF7
r
TEIF7
r
DMEIF7
r
FEIF7
r
TCIF6
r
HTIF6
r
TEIF6
r
DMEIF6
r
FEIF6
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF5
r
HTIF5
r
TEIF5
r
DMEIF5
r
FEIF5
r
TCIF4
r
HTIF4
r
TEIF4
r
DMEIF4
r
FEIF4
r
Toggle fields

FEIF4

Bit 0: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF4

Bit 2: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF4

Bit 3: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF4

Bit 4: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF4

Bit 5: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF5

Bit 6: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF5

Bit 8: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF5

Bit 9: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF5

Bit 10: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF5

Bit 11: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF6

Bit 16: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF6

Bit 18: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF6

Bit 19: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF6

Bit 20: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF6

Bit 21: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF7

Bit 22: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF7

Bit 24: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF7

Bit 25: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF7

Bit 26: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF7

Bit 27: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

LIFCR

low interrupt flag clear register

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

20/20 fields covered.

Toggle fields

CFEIF0

Bit 0: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF0

Bit 2: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF0

Bit 3: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF0

Bit 4: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF0

Bit 5: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF1

Bit 6: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF1

Bit 8: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF1

Bit 9: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF1

Bit 10: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF1

Bit 11: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF2

Bit 16: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF2

Bit 18: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF2

Bit 19: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF2

Bit 20: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF2

Bit 21: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF3

Bit 22: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF3

Bit 24: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF3

Bit 25: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF3

Bit 26: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF3

Bit 27: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

HIFCR

high interrupt flag clear register

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

20/20 fields covered.

Toggle fields

CFEIF4

Bit 0: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF4

Bit 2: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF4

Bit 3: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF4

Bit 4: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF4

Bit 5: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF5

Bit 6: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF5

Bit 8: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF5

Bit 9: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF5

Bit 10: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF5

Bit 11: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF6

Bit 16: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF6

Bit 18: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF6

Bit 19: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF6

Bit 20: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF6

Bit 21: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF7

Bit 22: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF7

Bit 24: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF7

Bit 25: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF7

Bit 26: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF7

Bit 27: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CR [0]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [0]

stream x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [0]

stream x peripheral address register

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address.

M0AR [0]

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

M0A

Bits 0-31: Memory 0 address.

M1AR [0]

stream x memory 1 address register

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

0/1 fields covered.

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [0]

stream x FIFO control register

Offset: 0x24, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [1]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [1]

stream x number of data 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [1]

stream x peripheral address register

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address.

M0AR [1]

stream x memory 0 address register

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

M0A

Bits 0-31: Memory 0 address.

M1AR [1]

stream x memory 1 address register

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

0/1 fields covered.

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [1]

stream x FIFO control register

Offset: 0x3c, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [2]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [2]

stream x number of data 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [2]

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

PA

Bits 0-31: Peripheral address.

M0AR [2]

stream x memory 0 address register

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

0/1 fields covered.

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

M0A

Bits 0-31: Memory 0 address.

M1AR [2]

stream x memory 1 address register

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

0/1 fields covered.

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [2]

stream x FIFO control register

Offset: 0x54, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [3]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [3]

stream x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [3]

stream x peripheral address register

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address.

M0AR [3]

stream x memory 0 address register

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

0/1 fields covered.

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

M0A

Bits 0-31: Memory 0 address.

M1AR [3]

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [3]

stream x FIFO control register

Offset: 0x6c, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [4]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [4]

stream x number of data register

Offset: 0x74, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [4]

stream x peripheral address register

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address.

M0AR [4]

stream x memory 0 address register

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

0/1 fields covered.

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

M0A

Bits 0-31: Memory 0 address.

M1AR [4]

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [4]

stream x FIFO control register

Offset: 0x84, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [5]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [5]

stream x number of data register

Offset: 0x8c, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [5]

stream x peripheral address register

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

PA

Bits 0-31: Peripheral address.

M0AR [5]

stream x memory 0 address register

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

M0A

Bits 0-31: Memory 0 address.

M1AR [5]

stream x memory 1 address register

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [5]

stream x FIFO control register

Offset: 0x9c, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [6]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [6]

stream x number of data register

Offset: 0xa4, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [6]

stream x peripheral address register

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

PA

Bits 0-31: Peripheral address.

M0AR [6]

stream x memory 0 address register

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

M0A

Bits 0-31: Memory 0 address.

M1AR [6]

stream x memory 1 address register

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [6]

stream x FIFO control register

Offset: 0xb4, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [7]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [7]

stream x number of data register

Offset: 0xbc, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [7]

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

PA

Bits 0-31: Peripheral address.

M0AR [7]

stream x memory 0 address register

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

M0A

Bits 0-31: Memory 0 address.

M1AR [7]

stream x memory 1 address register

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [7]

stream x FIFO control register

Offset: 0xcc, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

DMA2

0x40020400: DMA controller

264/288 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 LISR
0x4 HISR
0x8 LIFCR
0xc HIFCR
0x10 CR [0]
0x14 NDTR [0]
0x18 PAR [0]
0x1c M0AR [0]
0x20 M1AR [0]
0x24 FCR [0]
0x28 CR [1]
0x2c NDTR [1]
0x30 PAR [1]
0x34 M0AR [1]
0x38 M1AR [1]
0x3c FCR [1]
0x40 CR [2]
0x44 NDTR [2]
0x48 PAR [2]
0x4c M0AR [2]
0x50 M1AR [2]
0x54 FCR [2]
0x58 CR [3]
0x5c NDTR [3]
0x60 PAR [3]
0x64 M0AR [3]
0x68 M1AR [3]
0x6c FCR [3]
0x70 CR [4]
0x74 NDTR [4]
0x78 PAR [4]
0x7c M0AR [4]
0x80 M1AR [4]
0x84 FCR [4]
0x88 CR [5]
0x8c NDTR [5]
0x90 PAR [5]
0x94 M0AR [5]
0x98 M1AR [5]
0x9c FCR [5]
0xa0 CR [6]
0xa4 NDTR [6]
0xa8 PAR [6]
0xac M0AR [6]
0xb0 M1AR [6]
0xb4 FCR [6]
0xb8 CR [7]
0xbc NDTR [7]
0xc0 PAR [7]
0xc4 M0AR [7]
0xc8 M1AR [7]
0xcc FCR [7]
Toggle registers

LISR

low interrupt status register

Offset: 0x0, 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
TCIF3
r
HTIF3
r
TEIF3
r
DMEIF3
r
FEIF3
r
TCIF2
r
HTIF2
r
TEIF2
r
DMEIF2
r
FEIF2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF1
r
HTIF1
r
TEIF1
r
DMEIF1
r
FEIF1
r
TCIF0
r
HTIF0
r
TEIF0
r
DMEIF0
r
FEIF0
r
Toggle fields

FEIF0

Bit 0: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF0

Bit 2: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF0

Bit 3: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF0

Bit 4: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF0

Bit 5: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF1

Bit 6: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF1

Bit 8: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF1

Bit 9: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF1

Bit 10: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF1

Bit 11: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF2

Bit 16: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF2

Bit 18: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF2

Bit 19: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF2

Bit 20: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF2

Bit 21: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF3

Bit 22: Stream x FIFO error interrupt flag (x=3..0).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF3

Bit 24: Stream x direct mode error interrupt flag (x=3..0).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF3

Bit 25: Stream x transfer error interrupt flag (x=3..0).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF3

Bit 26: Stream x half transfer interrupt flag (x=3..0).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF3

Bit 27: Stream x transfer complete interrupt flag (x = 3..0).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

HISR

high interrupt status register

Offset: 0x4, 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
TCIF7
r
HTIF7
r
TEIF7
r
DMEIF7
r
FEIF7
r
TCIF6
r
HTIF6
r
TEIF6
r
DMEIF6
r
FEIF6
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF5
r
HTIF5
r
TEIF5
r
DMEIF5
r
FEIF5
r
TCIF4
r
HTIF4
r
TEIF4
r
DMEIF4
r
FEIF4
r
Toggle fields

FEIF4

Bit 0: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF4

Bit 2: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF4

Bit 3: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF4

Bit 4: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF4

Bit 5: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF5

Bit 6: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF5

Bit 8: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF5

Bit 9: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF5

Bit 10: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF5

Bit 11: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF6

Bit 16: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF6

Bit 18: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF6

Bit 19: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF6

Bit 20: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF6

Bit 21: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

FEIF7

Bit 22: Stream x FIFO error interrupt flag (x=7..4).

Allowed values:
0: NoError: No FIFO error event on stream x
1: Error: A FIFO error event occurred on stream x

DMEIF7

Bit 24: Stream x direct mode error interrupt flag (x=7..4).

Allowed values:
0: NoError: No Direct Mode error on stream x
1: Error: A Direct Mode error occurred on stream x

TEIF7

Bit 25: Stream x transfer error interrupt flag (x=7..4).

Allowed values:
0: NoError: No transfer error on stream x
1: Error: A transfer error occurred on stream x

HTIF7

Bit 26: Stream x half transfer interrupt flag (x=7..4).

Allowed values:
0: NotHalf: No half transfer event on stream x
1: Half: A half transfer event occurred on stream x

TCIF7

Bit 27: Stream x transfer complete interrupt flag (x=7..4).

Allowed values:
0: NotComplete: No transfer complete event on stream x
1: Complete: A transfer complete event occurred on stream x

LIFCR

low interrupt flag clear register

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

20/20 fields covered.

Toggle fields

CFEIF0

Bit 0: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF0

Bit 2: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF0

Bit 3: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF0

Bit 4: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF0

Bit 5: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF1

Bit 6: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF1

Bit 8: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF1

Bit 9: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF1

Bit 10: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF1

Bit 11: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF2

Bit 16: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF2

Bit 18: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF2

Bit 19: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF2

Bit 20: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF2

Bit 21: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF3

Bit 22: Stream x clear FIFO error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF3

Bit 24: Stream x clear direct mode error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF3

Bit 25: Stream x clear transfer error interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF3

Bit 26: Stream x clear half transfer interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF3

Bit 27: Stream x clear transfer complete interrupt flag (x = 3..0).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

HIFCR

high interrupt flag clear register

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

20/20 fields covered.

Toggle fields

CFEIF4

Bit 0: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF4

Bit 2: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF4

Bit 3: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF4

Bit 4: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF4

Bit 5: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF5

Bit 6: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF5

Bit 8: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF5

Bit 9: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF5

Bit 10: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF5

Bit 11: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF6

Bit 16: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF6

Bit 18: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF6

Bit 19: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF6

Bit 20: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF6

Bit 21: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CFEIF7

Bit 22: Stream x clear FIFO error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding CFEIFx flag

CDMEIF7

Bit 24: Stream x clear direct mode error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding DMEIFx flag

CTEIF7

Bit 25: Stream x clear transfer error interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TEIFx flag

CHTIF7

Bit 26: Stream x clear half transfer interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding HTIFx flag

CTCIF7

Bit 27: Stream x clear transfer complete interrupt flag (x = 7..4).

Allowed values:
1: Clear: Clear the corresponding TCIFx flag

CR [0]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [0]

stream x number of data register

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

1/1 fields covered.

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

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [0]

stream x peripheral address register

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address.

M0AR [0]

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

M0A

Bits 0-31: Memory 0 address.

M1AR [0]

stream x memory 1 address register

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

0/1 fields covered.

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [0]

stream x FIFO control register

Offset: 0x24, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [1]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

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

TEIE

Bit 2: Transfer error interrupt enable.

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

HTIE

Bit 3: Half transfer interrupt enable.

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

TCIE

Bit 4: Transfer complete interrupt enable.

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

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [1]

stream x number of data 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [1]

stream x peripheral address register

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

0/1 fields covered.

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

PA

Bits 0-31: Peripheral address.

M0AR [1]

stream x memory 0 address register

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

M0A

Bits 0-31: Memory 0 address.

M1AR [1]

stream x memory 1 address register

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

0/1 fields covered.

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

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [1]

stream x FIFO control register

Offset: 0x3c, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

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

CR [2]

stream x configuration register

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

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

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

DMEIE

Bit 1: Direct mode error interrupt enable.

Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled

TEIE

Bit 2: Transfer error interrupt enable.

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

HTIE

Bit 3: Half transfer interrupt enable.

Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled

TCIE

Bit 4: Transfer complete interrupt enable.

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [2]

stream x number of data 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [2]

stream x peripheral 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
PA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA
rw
Toggle fields

PA

Bits 0-31: Peripheral address.

M0AR [2]

stream x memory 0 address register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
M0A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M0A
rw
Toggle fields

M0A

Bits 0-31: Memory 0 address.

M1AR [2]

stream x memory 1 address register

Offset: 0x50, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
M1A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M1A
rw
Toggle fields

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [2]

stream x FIFO control register

Offset: 0x54, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled

CR [3]

stream x configuration register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled

DMEIE

Bit 1: Direct mode error interrupt enable.

Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled

TEIE

Bit 2: Transfer error interrupt enable.

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

HTIE

Bit 3: Half transfer interrupt enable.

Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled

TCIE

Bit 4: Transfer complete interrupt enable.

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [3]

stream x number of data register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [3]

stream x peripheral address register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA
rw
Toggle fields

PA

Bits 0-31: Peripheral address.

M0AR [3]

stream x memory 0 address register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
M0A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M0A
rw
Toggle fields

M0A

Bits 0-31: Memory 0 address.

M1AR [3]

stream x memory 1 address 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
M1A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M1A
rw
Toggle fields

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [3]

stream x FIFO control register

Offset: 0x6c, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled

CR [4]

stream x configuration register

Offset: 0x70, size: 32, reset: 0x00000000, access: read-write

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled

DMEIE

Bit 1: Direct mode error interrupt enable.

Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled

TEIE

Bit 2: Transfer error interrupt enable.

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

HTIE

Bit 3: Half transfer interrupt enable.

Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled

TCIE

Bit 4: Transfer complete interrupt enable.

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [4]

stream x number of data register

Offset: 0x74, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [4]

stream x peripheral address register

Offset: 0x78, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA
rw
Toggle fields

PA

Bits 0-31: Peripheral address.

M0AR [4]

stream x memory 0 address register

Offset: 0x7c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
M0A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M0A
rw
Toggle fields

M0A

Bits 0-31: Memory 0 address.

M1AR [4]

stream x memory 1 address 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
M1A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M1A
rw
Toggle fields

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [4]

stream x FIFO control register

Offset: 0x84, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled

CR [5]

stream x configuration register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-write

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled

DMEIE

Bit 1: Direct mode error interrupt enable.

Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled

TEIE

Bit 2: Transfer error interrupt enable.

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

HTIE

Bit 3: Half transfer interrupt enable.

Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled

TCIE

Bit 4: Transfer complete interrupt enable.

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [5]

stream x number of data register

Offset: 0x8c, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [5]

stream x peripheral address register

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
PA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA
rw
Toggle fields

PA

Bits 0-31: Peripheral address.

M0AR [5]

stream x memory 0 address register

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
M0A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M0A
rw
Toggle fields

M0A

Bits 0-31: Memory 0 address.

M1AR [5]

stream x memory 1 address register

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
M1A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M1A
rw
Toggle fields

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [5]

stream x FIFO control register

Offset: 0x9c, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled

CR [6]

stream x configuration register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled

DMEIE

Bit 1: Direct mode error interrupt enable.

Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled

TEIE

Bit 2: Transfer error interrupt enable.

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

HTIE

Bit 3: Half transfer interrupt enable.

Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled

TCIE

Bit 4: Transfer complete interrupt enable.

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [6]

stream x number of data register

Offset: 0xa4, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [6]

stream x peripheral address register

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
PA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA
rw
Toggle fields

PA

Bits 0-31: Peripheral address.

M0AR [6]

stream x memory 0 address register

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
M0A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M0A
rw
Toggle fields

M0A

Bits 0-31: Memory 0 address.

M1AR [6]

stream x memory 1 address register

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
M1A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M1A
rw
Toggle fields

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [6]

stream x FIFO control register

Offset: 0xb4, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled

CR [7]

stream x configuration register

Offset: 0xb8, size: 32, reset: 0x00000000, access: read-write

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MBURST
rw
PBURST
rw
CT
rw
DBM
rw
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PINCOS
rw
MSIZE
rw
PSIZE
rw
MINC
rw
PINC
rw
CIRC
rw
DIR
rw
PFCTRL
rw
TCIE
rw
HTIE
rw
TEIE
rw
DMEIE
rw
EN
rw
Toggle fields

EN

Bit 0: Stream enable / flag stream ready when read low.

Allowed values:
0: Disabled: Stream disabled
1: Enabled: Stream enabled

DMEIE

Bit 1: Direct mode error interrupt enable.

Allowed values:
0: Disabled: DME interrupt disabled
1: Enabled: DME interrupt enabled

TEIE

Bit 2: Transfer error interrupt enable.

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

HTIE

Bit 3: Half transfer interrupt enable.

Allowed values:
0: Disabled: HT interrupt disabled
1: Enabled: HT interrupt enabled

TCIE

Bit 4: Transfer complete interrupt enable.

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

PFCTRL

Bit 5: Peripheral flow controller.

Allowed values:
0: DMA: The DMA is the flow controller
1: Peripheral: The peripheral is the flow controller

DIR

Bits 6-7: Data transfer direction.

Allowed values:
0: PeripheralToMemory: Peripheral-to-memory
1: MemoryToPeripheral: Memory-to-peripheral
2: MemoryToMemory: Memory-to-memory

CIRC

Bit 8: Circular mode.

Allowed values:
0: Disabled: Circular mode disabled
1: Enabled: Circular mode enabled

PINC

Bit 9: Peripheral increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

MINC

Bit 10: Memory increment mode.

Allowed values:
0: Fixed: Address pointer is fixed
1: Incremented: Address pointer is incremented after each data transfer

PSIZE

Bits 11-12: Peripheral data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

MSIZE

Bits 13-14: Memory data size.

Allowed values:
0: Bits8: Byte (8-bit)
1: Bits16: Half-word (16-bit)
2: Bits32: Word (32-bit)

PINCOS

Bit 15: Peripheral increment offset size.

Allowed values:
0: PSIZE: The offset size for the peripheral address calculation is linked to the PSIZE
1: Fixed4: The offset size for the peripheral address calculation is fixed to 4 (32-bit alignment)

PL

Bits 16-17: Priority level.

Allowed values:
0: Low: Low
1: Medium: Medium
2: High: High
3: VeryHigh: Very high

DBM

Bit 18: Double buffer mode.

Allowed values:
0: Disabled: No buffer switching at the end of transfer
1: Enabled: Memory target switched at the end of the DMA transfer

CT

Bit 19: Current target (only in double buffer mode).

Allowed values:
0: Memory0: The current target memory is Memory 0
1: Memory1: The current target memory is Memory 1

PBURST

Bits 21-22: Peripheral burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

MBURST

Bits 23-24: Memory burst transfer configuration.

Allowed values:
0: Single: Single transfer
1: INCR4: Incremental burst of 4 beats
2: INCR8: Incremental burst of 8 beats
3: INCR16: Incremental burst of 16 beats

NDTR [7]

stream x number of data register

Offset: 0xbc, 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
NDT
rw
Toggle fields

NDT

Bits 0-15: Number of data items to transfer.

Allowed values: 0x0-0xffff

PAR [7]

stream x peripheral address 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
PA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA
rw
Toggle fields

PA

Bits 0-31: Peripheral address.

M0AR [7]

stream x memory 0 address register

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
M0A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M0A
rw
Toggle fields

M0A

Bits 0-31: Memory 0 address.

M1AR [7]

stream x memory 1 address register

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
M1A
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M1A
rw
Toggle fields

M1A

Bits 0-31: Memory 1 address (used in case of Double buffer mode).

FCR [7]

stream x FIFO control register

Offset: 0xcc, size: 32, reset: 0x00000021, access: Unspecified

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEIE
rw
FS
r
DMDIS
rw
FTH
rw
Toggle fields

FTH

Bits 0-1: FIFO threshold selection.

Allowed values:
0: Quarter: 1/4 full FIFO
1: Half: 1/2 full FIFO
2: ThreeQuarters: 3/4 full FIFO
3: Full: Full FIFO

DMDIS

Bit 2: Direct mode disable.

Allowed values:
0: Enabled: Direct mode is enabled
1: Disabled: Direct mode is disabled

FS

Bits 3-5: FIFO status.

Allowed values:
0: Quarter1: 0 < fifo_level < 1/4
1: Quarter2: 1/4 <= fifo_level < 1/2
2: Quarter3: 1/2 <= fifo_level < 3/4
3: Quarter4: 3/4 <= fifo_level < full
4: Empty: FIFO is empty
5: Full: FIFO is full

FEIE

Bit 7: FIFO error interrupt enable.

Allowed values:
0: Disabled: FE interrupt disabled
1: Enabled: FE interrupt enabled

DMA2D

0x52001000: DMA2D

55/66 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 ISR
0x8 IFCR
0xc FGMAR
0x10 FGOR
0x14 BGMAR
0x18 BGOR
0x1c FGPFCCR
0x20 FGCOLR
0x24 BGPFCCR
0x28 BGCOLR
0x2c FGCMAR
0x30 BGCMAR
0x34 OPFCCR
0x38 OCOLR
0x3c OMAR
0x40 OOR
0x44 NLR
0x48 LWR
0x4c AMTCR
Toggle registers

CR

DMA2D control register

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
MODE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CEIE
rw
CTCIE
rw
CAEIE
rw
TWIE
rw
TCIE
rw
TEIE
rw
ABORT
rw
SUSP
rw
START
rw
Toggle fields

START

Bit 0: Start This bit can be used to launch the DMA2D according to the parameters loaded in the various configuration registers.

Allowed values:
1: Start: Launch the DMA2D

SUSP

Bit 1: Suspend This bit can be used to suspend the current transfer. This bit is set and reset by software. It is automatically reset by hardware when the START bit is reset..

Allowed values:
0: NotSuspended: Transfer not suspended
1: Suspended: Transfer suspended

ABORT

Bit 2: Abort This bit can be used to abort the current transfer. This bit is set by software and is automatically reset by hardware when the START bit is reset..

Allowed values:
1: AbortRequest: Transfer abort requested

TEIE

Bit 8: Transfer error interrupt enable This bit is set and cleared by software..

Allowed values:
0: Disabled: TE interrupt disabled
1: Enabled: TE interrupt enabled

TCIE

Bit 9: Transfer complete interrupt enable This bit is set and cleared by software..

Allowed values:
0: Disabled: TC interrupt disabled
1: Enabled: TC interrupt enabled

TWIE

Bit 10: Transfer watermark interrupt enable This bit is set and cleared by software..

Allowed values:
0: Disabled: TW interrupt disabled
1: Enabled: TW interrupt enabled

CAEIE

Bit 11: CLUT access error interrupt enable This bit is set and cleared by software..

Allowed values:
0: Disabled: CAE interrupt disabled
1: Enabled: CAE interrupt enabled

CTCIE

Bit 12: CLUT transfer complete interrupt enable This bit is set and cleared by software..

Allowed values:
0: Disabled: CTC interrupt disabled
1: Enabled: CTC interrupt enabled

CEIE

Bit 13: Configuration Error Interrupt Enable This bit is set and cleared by software..

Allowed values:
0: Disabled: CE interrupt disabled
1: Enabled: CE interrupt enabled

MODE

Bits 16-17: DMA2D mode This bit is set and cleared by software. It cannot be modified while a transfer is ongoing..

Allowed values:
0: MemoryToMemory: Memory-to-memory (FG fetch only)
1: MemoryToMemoryPFC: Memory-to-memory with PFC (FG fetch only with FG PFC active)
2: MemoryToMemoryPFCBlending: Memory-to-memory with blending (FG and BG fetch with PFC and blending)
3: RegisterToMemory: Register-to-memory

ISR

DMA2D Interrupt Status Register

Offset: 0x4, size: 32, 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
CEIF
r
CTCIF
r
CAEIF
r
TWIF
r
TCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Transfer error interrupt flag This bit is set when an error occurs during a DMA transfer (data transfer or automatic CLUT loading)..

TCIF

Bit 1: Transfer complete interrupt flag This bit is set when a DMA2D transfer operation is complete (data transfer only)..

TWIF

Bit 2: Transfer watermark interrupt flag This bit is set when the last pixel of the watermarked line has been transferred..

CAEIF

Bit 3: CLUT access error interrupt flag This bit is set when the CPU accesses the CLUT while the CLUT is being automatically copied from a system memory to the internal DMA2D..

CTCIF

Bit 4: CLUT transfer complete interrupt flag This bit is set when the CLUT copy from a system memory area to the internal DMA2D memory is complete..

CEIF

Bit 5: Configuration error interrupt flag This bit is set when the START bit of DMA2D_CR, DMA2DFGPFCCR or DMA2D_BGPFCCR is set and a wrong configuration has been programmed..

IFCR

DMA2D interrupt flag clear register

Offset: 0x8, 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
CCEIF
rw
CCTCIF
rw
CAECIF
rw
CTWIF
rw
CTCIF
rw
CTEIF
rw
Toggle fields

CTEIF

Bit 0: Clear Transfer error interrupt flag Programming this bit to 1 clears the TEIF flag in the DMA2D_ISR register.

Allowed values:
1: Clear: Clear the TEIF flag in the ISR register

CTCIF

Bit 1: Clear transfer complete interrupt flag Programming this bit to 1 clears the TCIF flag in the DMA2D_ISR register.

Allowed values:
1: Clear: Clear the TCIF flag in the ISR register

CTWIF

Bit 2: Clear transfer watermark interrupt flag Programming this bit to 1 clears the TWIF flag in the DMA2D_ISR register.

Allowed values:
1: Clear: Clear the TWIF flag in the ISR register

CAECIF

Bit 3: Clear CLUT access error interrupt flag Programming this bit to 1 clears the CAEIF flag in the DMA2D_ISR register.

Allowed values:
1: Clear: Clear the CAEIF flag in the ISR register

CCTCIF

Bit 4: Clear CLUT transfer complete interrupt flag Programming this bit to 1 clears the CTCIF flag in the DMA2D_ISR register.

Allowed values:
1: Clear: Clear the CTCIF flag in the ISR register

CCEIF

Bit 5: Clear configuration error interrupt flag Programming this bit to 1 clears the CEIF flag in the DMA2D_ISR register.

Allowed values:
1: Clear: Clear the CEIF flag in the ISR register

FGMAR

DMA2D foreground memory address register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MA
rw
Toggle fields

MA

Bits 0-31: Memory address Address of the data used for the foreground image. This register can only be written when data transfers are disabled. Once the data transfer has started, this register is read-only. The address alignment must match the image format selected e.g. a 32-bit per pixel format must be 32-bit aligned, a 16-bit per pixel format must be 16-bit aligned and a 4-bit per pixel format must be 8-bit aligned..

FGOR

DMA2D foreground offset 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
LO
rw
Toggle fields

LO

Bits 0-15: Line offset Line offset used for the foreground expressed in pixel. This value is used to generate the address. It is added at the end of each line to determine the starting address of the next line. These bits can only be written when data transfers are disabled. Once a data transfer has started, they become read-only. If the image format is 4-bit per pixel, the line offset must be even..

Allowed values: 0x0-0xffff

BGMAR

DMA2D background memory address register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MA
rw
Toggle fields

MA

Bits 0-31: Memory address Address of the data used for the background image. This register can only be written when data transfers are disabled. Once a data transfer has started, this register is read-only. The address alignment must match the image format selected e.g. a 32-bit per pixel format must be 32-bit aligned, a 16-bit per pixel format must be 16-bit aligned and a 4-bit per pixel format must be 8-bit aligned..

BGOR

DMA2D background offset register

Offset: 0x18, 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
LO
rw
Toggle fields

LO

Bits 0-15: Line offset Line offset used for the background image (expressed in pixel). This value is used for the address generation. It is added at the end of each line to determine the starting address of the next line. These bits can only be written when data transfers are disabled. Once data transfer has started, they become read-only. If the image format is 4-bit per pixel, the line offset must be even..

Allowed values: 0x0-0xffff

FGPFCCR

DMA2D foreground PFC control register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALPHA
rw
RBS
rw
AI
rw
CSS
rw
AM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS
rw
START
rw
CCM
rw
CM
rw
Toggle fields

CM

Bits 0-3: Color mode These bits defines the color format of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless.

Allowed values:
0: ARGB8888: Color mode ARGB8888
1: RGB888: Color mode RGB888
2: RGB565: Color mode RGB565
3: ARGB1555: Color mode ARGB1555
4: ARGB4444: Color mode ARGB4444
5: L8: Color mode L8
6: AL44: Color mode AL44
7: AL88: Color mode AL88
8: L4: Color mode L4
9: A8: Color mode A8
10: A4: Color mode A4
11: YCbCr: Color mode YCbCr

CCM

Bit 4: CLUT color mode This bit defines the color format of the CLUT. It can only be written when the transfer is disabled. Once the CLUT transfer has started, this bit is read-only..

Allowed values:
0: ARGB8888: CLUT color format ARGB8888
1: RGB888: CLUT color format RGB888

START

Bit 5: Start This bit can be set to start the automatic loading of the CLUT. It is automatically reset: ** at the end of the transfer ** when the transfer is aborted by the user application by setting the ABORT bit in DMA2D_CR ** when a transfer error occurs ** when the transfer has not started due to a configuration error or another transfer operation already ongoing (data transfer or automatic background CLUT transfer)..

Allowed values:
1: Start: Start the automatic loading of the CLUT

CS

Bits 8-15: CLUT size These bits define the size of the CLUT used for the foreground image. Once the CLUT transfer has started, this field is read-only. The number of CLUT entries is equal to CS[7:0] + 1..

Allowed values: 0x0-0xff

AM

Bits 16-17: Alpha mode These bits select the alpha channel value to be used for the foreground image. They can only be written data the transfer are disabled. Once the transfer has started, they become read-only. other configurations are meaningless.

Allowed values:
0: NoModify: No modification of alpha channel
1: Replace: Replace with value in ALPHA[7:0]
2: Multiply: Multiply with value in ALPHA[7:0]

CSS

Bits 18-19: Chroma Sub-Sampling These bits define the chroma sub-sampling mode for YCbCr color mode. Once the transfer has started, these bits are read-only. others: meaningless.

AI

Bit 20: Alpha Inverted This bit inverts the alpha value. Once the transfer has started, this bit is read-only..

Allowed values:
0: RegularAlpha: Regular alpha
1: InvertedAlpha: Inverted alpha

RBS

Bit 21: Red Blue Swap This bit allows to swap the R &amp; B to support BGR or ABGR color formats. Once the transfer has started, this bit is read-only..

Allowed values:
0: Regular: No Red Blue Swap (RGB or ARGB)
1: Swap: Red Blue Swap (BGR or ABGR)

ALPHA

Bits 24-31: Alpha value These bits define a fixed alpha channel value which can replace the original alpha value or be multiplied by the original alpha value according to the alpha mode selected through the AM[1:0] bits. These bits can only be written when data transfers are disabled. Once a transfer has started, they become read-only..

Allowed values: 0x0-0xff

FGCOLR

DMA2D foreground color register

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
RED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GREEN
rw
BLUE
rw
Toggle fields

BLUE

Bits 0-7: Blue Value These bits defines the blue value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only..

Allowed values: 0x0-0xff

GREEN

Bits 8-15: Green Value These bits defines the green value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, They are read-only..

Allowed values: 0x0-0xff

RED

Bits 16-23: Red Value These bits defines the red value for the A4 or A8 mode of the foreground image. They can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xff

BGPFCCR

DMA2D background PFC control 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
ALPHA
rw
RBS
rw
AI
rw
AM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CS
rw
START
rw
CCM
rw
CM
rw
Toggle fields

CM

Bits 0-3: Color mode These bits define the color format of the foreground image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless.

Allowed values:
0: ARGB8888: Color mode ARGB8888
1: RGB888: Color mode RGB888
2: RGB565: Color mode RGB565
3: ARGB1555: Color mode ARGB1555
4: ARGB4444: Color mode ARGB4444
5: L8: Color mode L8
6: AL44: Color mode AL44
7: AL88: Color mode AL88
8: L4: Color mode L4
9: A8: Color mode A8
10: A4: Color mode A4

CCM

Bit 4: CLUT Color mode These bits define the color format of the CLUT. This register can only be written when the transfer is disabled. Once the CLUT transfer has started, this bit is read-only..

Allowed values:
0: ARGB8888: CLUT color format ARGB8888
1: RGB888: CLUT color format RGB888

START

Bit 5: Start This bit is set to start the automatic loading of the CLUT. This bit is automatically reset: ** at the end of the transfer ** when the transfer is aborted by the user application by setting the ABORT bit in the DMA2D_CR ** when a transfer error occurs ** when the transfer has not started due to a configuration error or another transfer operation already on going (data transfer or automatic BackGround CLUT transfer)..

Allowed values:
1: Start: Start the automatic loading of the CLUT

CS

Bits 8-15: CLUT size These bits define the size of the CLUT used for the BG. Once the CLUT transfer has started, this field is read-only. The number of CLUT entries is equal to CS[7:0] + 1..

Allowed values: 0x0-0xff

AM

Bits 16-17: Alpha mode These bits define which alpha channel value to be used for the background image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless.

Allowed values:
0: NoModify: No modification of alpha channel
1: Replace: Replace with value in ALPHA[7:0]
2: Multiply: Multiply with value in ALPHA[7:0]

AI

Bit 20: Alpha Inverted This bit inverts the alpha value. Once the transfer has started, this bit is read-only..

Allowed values:
0: RegularAlpha: Regular alpha
1: InvertedAlpha: Inverted alpha

RBS

Bit 21: Red Blue Swap This bit allows to swap the R &amp; B to support BGR or ABGR color formats. Once the transfer has started, this bit is read-only..

Allowed values:
0: Regular: No Red Blue Swap (RGB or ARGB)
1: Swap: Red Blue Swap (BGR or ABGR)

ALPHA

Bits 24-31: Alpha value These bits define a fixed alpha channel value which can replace the original alpha value or be multiplied with the original alpha value according to the alpha mode selected with bits AM[1: 0]. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xff

BGCOLR

DMA2D background color register

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
RED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GREEN
rw
BLUE
rw
Toggle fields

BLUE

Bits 0-7: Blue Value These bits define the blue value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xff

GREEN

Bits 8-15: Green Value These bits define the green value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xff

RED

Bits 16-23: Red Value These bits define the red value for the A4 or A8 mode of the background. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xff

FGCMAR

DMA2D foreground CLUT memory 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
MA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MA
rw
Toggle fields

MA

Bits 0-31: Memory Address Address of the data used for the CLUT address dedicated to the foreground image. This register can only be written when no transfer is ongoing. Once the CLUT transfer has started, this register is read-only. If the foreground CLUT format is 32-bit, the address must be 32-bit aligned..

BGCMAR

DMA2D background CLUT memory address register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MA
rw
Toggle fields

MA

Bits 0-31: Memory address Address of the data used for the CLUT address dedicated to the background image. This register can only be written when no transfer is on going. Once the CLUT transfer has started, this register is read-only. If the background CLUT format is 32-bit, the address must be 32-bit aligned..

OPFCCR

DMA2D output PFC control register

Offset: 0x34, 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
RBS
rw
AI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SB
rw
CM
rw
Toggle fields

CM

Bits 0-2: Color mode These bits define the color format of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. others: meaningless.

Allowed values:
0: ARGB8888: ARGB8888
1: RGB888: RGB888
2: RGB565: RGB565
3: ARGB1555: ARGB1555
4: ARGB4444: ARGB4444

SB

Bit 8: Swap Bytes.

Allowed values:
0: Regular: Regular byte order
1: SwapBytes: Bytes are swapped two by two

AI

Bit 20: Alpha Inverted This bit inverts the alpha value. Once the transfer has started, this bit is read-only..

Allowed values:
0: RegularAlpha: Regular alpha
1: InvertedAlpha: Inverted alpha

RBS

Bit 21: Red Blue Swap This bit allows to swap the R &amp; B to support BGR or ABGR color formats. Once the transfer has started, this bit is read-only..

Allowed values:
0: Regular: No Red Blue Swap (RGB or ARGB)
1: Swap: Red Blue Swap (BGR or ABGR)

OCOLR

DMA2D output color register

Offset: 0x38, 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
ALPHA
rw
RED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GREEN
rw
BLUE
rw
Toggle fields

BLUE

Bits 0-7: Blue Value These bits define the blue value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

GREEN

Bits 8-15: Green Value These bits define the green value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

RED

Bits 16-23: Red Value These bits define the red value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

ALPHA

Bits 24-31: Alpha Channel Value These bits define the alpha channel of the output color. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

OMAR

DMA2D output memory address register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MA
rw
Toggle fields

MA

Bits 0-31: Memory Address Address of the data used for the output FIFO. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. The address alignment must match the image format selected e.g. a 32-bit per pixel format must be 32-bit aligned and a 16-bit per pixel format must be 16-bit aligned..

OOR

DMA2D output offset 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
LO
rw
Toggle fields

LO

Bits 0-15: Line Offset Line offset used for the output (expressed in pixels). This value is used for the address generation. It is added at the end of each line to determine the starting address of the next line. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xffff

NLR

DMA2D number of line register

Offset: 0x44, 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
PL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NL
rw
Toggle fields

NL

Bits 0-15: Number of lines Number of lines of the area to be transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

Allowed values: 0x0-0xffff

PL

Bits 16-29: Pixel per lines Number of pixels per lines of the area to be transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. If any of the input image format is 4-bit per pixel, pixel per lines must be even..

Allowed values: 0x0-0x3fff

LWR

DMA2D line watermark register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LW
rw
Toggle fields

LW

Bits 0-15: Line watermark These bits allow to configure the line watermark for interrupt generation. An interrupt is raised when the last pixel of the watermarked line has been transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only..

AMTCR

DMA2D AXI master timer configuration register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DT
rw
EN
rw
Toggle fields

EN

Bit 0: Enable Enables the dead time functionality..

Allowed values:
0: Disabled: Disabled AHB/AXI dead-time functionality
1: Enabled: Enabled AHB/AXI dead-time functionality

DT

Bits 8-15: Dead Time Dead time value in the AXI clock cycle inserted between two consecutive accesses on the AXI master port. These bits represent the minimum guaranteed number of cycles between two consecutive AXI accesses..

Allowed values: 0x0-0xff

DMAMUX1

0x40020800: DMAMUX

176/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 C[0]CR
0x4 C[1]CR
0x8 C[2]CR
0xc C[3]CR
0x10 C[4]CR
0x14 C[5]CR
0x18 C[6]CR
0x1c C[7]CR
0x20 C[8]CR
0x24 C[9]CR
0x28 C[10]CR
0x2c C[11]CR
0x30 C[12]CR
0x34 C[13]CR
0x38 C[14]CR
0x3c C[15]CR
0x80 CSR
0x84 CFR
0x100 RG[0]CR
0x104 RG[1]CR
0x108 RG[2]CR
0x10c RG[3]CR
0x110 RG[4]CR
0x114 RG[5]CR
0x118 RG[6]CR
0x11c RG[7]CR
0x140 RGSR
0x144 RGCFR
Toggle registers

C[0]CR

DMAMux - DMA request line multiplexer channel x control 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[1]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x4, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[2]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x8, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[3]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0xc, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[4]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x10, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[5]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x14, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[6]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x18, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[7]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x1c, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[8]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x20, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[9]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x24, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[10]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x28, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[11]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x2c, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[12]CR

DMAMux - DMA request line multiplexer channel x control 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[13]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x34, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[14]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x38, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

C[15]CR

DMAMux - DMA request line multiplexer channel x 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux1_req_gen0: Signal `dmamux1_req_gen0` selected as request input
2: dmamux1_req_gen1: Signal `dmamux1_req_gen1` selected as request input
3: dmamux1_req_gen2: Signal `dmamux1_req_gen2` selected as request input
4: dmamux1_req_gen3: Signal `dmamux1_req_gen3` selected as request input
5: dmamux1_req_gen4: Signal `dmamux1_req_gen4` selected as request input
6: dmamux1_req_gen5: Signal `dmamux1_req_gen5` selected as request input
7: dmamux1_req_gen6: Signal `dmamux1_req_gen6` selected as request input
8: dmamux1_req_gen7: Signal `dmamux1_req_gen7` selected as request input
9: adc1_dma: Signal `adc1_dma` selected as request input
10: adc2_dma: Signal `adc2_dma` selected as request input
11: tim1_ch1: Signal `tim1_ch1` selected as request input
12: tim1_ch2: Signal `tim1_ch2` selected as request input
13: tim1_ch3: Signal `tim1_ch3` selected as request input
14: tim1_ch4: Signal `tim1_ch4` selected as request input
15: tim1_up: Signal `tim1_up` selected as request input
16: tim1_trig: Signal `tim1_trig` selected as request input
17: tim1_com: Signal `tim1_com` selected as request input
18: tim2_ch1: Signal `tim2_ch1` selected as request input
19: tim2_ch2: Signal `tim2_ch2` selected as request input
20: tim2_ch3: Signal `tim2_ch3` selected as request input
21: tim2_ch4: Signal `tim2_ch4` selected as request input
22: tim2_up: Signal `tim2_up` selected as request input
23: tim3_ch1: Signal `tim3_ch1` selected as request input
24: tim3_ch2: Signal `tim3_ch2` selected as request input
25: tim3_ch3: Signal `tim3_ch3` selected as request input
26: tim3_ch4: Signal `tim3_ch4` selected as request input
27: tim3_up: Signal `tim3_up` selected as request input
28: tim3_trig: Signal `tim3_trig` selected as request input
29: tim4_ch1: Signal `tim4_ch1` selected as request input
30: tim4_ch2: Signal `tim4_ch2` selected as request input
31: tim4_ch3: Signal `tim4_ch3` selected as request input
32: tim4_up: Signal `tim4_up` selected as request input
33: i2c1_rx_dma: Signal `i2c1_rx_dma` selected as request input
34: i2c1_tx_dma: Signal `i2c1_tx_dma` selected as request input
35: i2c2_rx_dma: Signal `i2c2_rx_dma` selected as request input
36: i2c2_tx_dma: Signal `i2c2_tx_dma` selected as request input
37: spi1_rx_dma: Signal `spi1_rx_dma` selected as request input
38: spi1_tx_dma: Signal `spi1_tx_dma` selected as request input
39: spi2_rx_dma: Signal `spi2_rx_dma` selected as request input
40: spi2_tx_dma: Signal `spi2_tx_dma` selected as request input
41: usart1_rx_dma: Signal `usart1_rx_dma` selected as request input
42: usart1_tx_dma: Signal `usart1_tx_dma` selected as request input
43: usart2_rx_dma: Signal `usart2_rx_dma` selected as request input
44: usart2_tx_dma: Signal `usart2_tx_dma` selected as request input
45: usart3_rx_dma: Signal `usart3_rx_dma` selected as request input
46: usart3_tx_dma: Signal `usart3_tx_dma` selected as request input
47: tim8_ch1: Signal `tim8_ch1` selected as request input
48: tim8_ch2: Signal `tim8_ch2` selected as request input
49: tim8_ch3: Signal `tim8_ch3` selected as request input
50: tim8_ch4: Signal `tim8_ch4` selected as request input
51: tim8_up: Signal `tim8_up` selected as request input
52: tim8_trig: Signal `tim8_trig` selected as request input
53: tim8_com: Signal `tim8_com` selected as request input
55: tim5_ch1: Signal `tim5_ch1` selected as request input
56: tim5_ch2: Signal `tim5_ch2` selected as request input
57: tim5_ch3: Signal `tim5_ch3` selected as request input
58: tim5_ch4: Signal `tim5_ch4` selected as request input
59: tim5_up: Signal `tim5_up` selected as request input
60: tim5_trig: Signal `tim5_trig` selected as request input
61: spi3_rx_dma: Signal `spi3_rx_dma` selected as request input
62: spi3_tx_dma: Signal `spi3_tx_dma` selected as request input
63: uart4_rx_dma: Signal `uart4_rx_dma` selected as request input
64: uart4_tx_dma: Signal `uart4_tx_dma` selected as request input
65: uart5_rx_dma: Signal `uart5_rx_dma` selected as request input
66: uart5_tx_dma: Signal `uart5_tx_dma` selected as request input
67: dac_ch1_dma: Signal `dac_ch1_dma` selected as request input
68: dac_ch2_dma: Signal `dac_ch2_dma` selected as request input
69: tim6_up: Signal `tim6_up` selected as request input
70: tim7_up: Signal `tim7_up` selected as request input
71: usart6_rx_dma: Signal `usart6_rx_dma` selected as request input
72: usart6_tx_dma: Signal `usart6_tx_dma` selected as request input
73: i2c3_rx_dma: Signal `i2c3_rx_dma` selected as request input
74: i2c3_tx_dma: Signal `i2c3_tx_dma` selected as request input
75: dcmi_dma: Signal `dcmi_dma` selected as request input
76: cryp_in_dma: Signal `cryp_in_dma` selected as request input
77: cryp_out_dma: Signal `cryp_out_dma` selected as request input
78: hash_in_dma: Signal `hash_in_dma` selected as request input
79: uart7_rx_dma: Signal `uart7_rx_dma` selected as request input
80: uart7_tx_dma: Signal `uart7_tx_dma` selected as request input
81: uart8_rx_dma: Signal `uart8_rx_dma` selected as request input
82: uart8_tx_dma: Signal `uart8_tx_dma` selected as request input
83: spi4_rx_dma: Signal `spi4_rx_dma` selected as request input
84: spi4_tx_dma: Signal `spi4_tx_dma` selected as request input
85: spi5_rx_dma: Signal `spi5_rx_dma` selected as request input
86: spi5_tx_dma: Signal `spi5_tx_dma` selected as request input
87: sai1a_dma: Signal `sai1a_dma` selected as request input
88: sai1b_dma: Signal `sai1b_dma` selected as request input
89: sai2a_dma: Signal `sai2a_dma` selected as request input
90: sai2b_dma: Signal `sai2b_dma` selected as request input
91: swpmi_rx_dma: Signal `swpmi_rx_dma` selected as request input
92: swpmi_tx_dma: Signal `swpmi_tx_dma` selected as request input
93: spdifrx_dat_dma: Signal `spdifrx_dat_dma` selected as request input
94: spdifrx_ctrl_dma: Signal `spdifrx_ctrl_dma` selected as request input
95: hr_req1: Signal `hr_req(1)` selected as request input
96: hr_req2: Signal `hr_req(2)` selected as request input
97: hr_req3: Signal `hr_req(3)` selected as request input
98: hr_req4: Signal `hr_req(4)` selected as request input
99: hr_req5: Signal `hr_req(5)` selected as request input
100: hr_req6: Signal `hr_req(6)` selected as request input
101: dfsdm1_dma0: Signal `dfsdm1_dma0` selected as request input
102: dfsdm1_dma1: Signal `dfsdm1_dma1` selected as request input
103: dfsdm1_dma2: Signal `dfsdm1_dma2` selected as request input
104: dfsdm1_dma3: Signal `dfsdm1_dma3` selected as request input
105: tim15_ch1: Signal `tim15_ch1` selected as request input
106: tim15_up: Signal `tim15_up` selected as request input
107: tim15_trig: Signal `tim15_trig` selected as request input
108: tim15_com: Signal `tim15_com` selected as request input
109: tim16_ch1: Signal `tim16_ch1` selected as request input
110: tim16_up: Signal `tim16_up` selected as request input
111: tim17_ch1: Signal `tim17_ch1` selected as request input
112: tim17_up: Signal `tim17_up` selected as request input
113: sai3_a_dma: Signal `sai3_a_dma` selected as request input
114: sai3_b_dma: Signal `sai3_b_dma` selected as request input
115: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as synchronization input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as synchronization input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as synchronization input
3: lptim1_out: Signal `lptim1_out` selected as synchronization input
4: lptim2_out: Signal `lptim2_out` selected as synchronization input
5: lptim3_out: Signal `lptim3_out` selected as synchronization input
6: extit0: Signal `extit0` selected as synchronization input
7: tim12_trgo: Signal `tim12_trgo` selected as synchronization input

CSR

DMAMUX request line multiplexer interrupt channel status register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

SOF[0]

Bit 0: Synchronization overrun event flag.

SOF[1]

Bit 1: Synchronization overrun event flag.

SOF[2]

Bit 2: Synchronization overrun event flag.

SOF[3]

Bit 3: Synchronization overrun event flag.

SOF[4]

Bit 4: Synchronization overrun event flag.

SOF[5]

Bit 5: Synchronization overrun event flag.

SOF[6]

Bit 6: Synchronization overrun event flag.

SOF[7]

Bit 7: Synchronization overrun event flag.

SOF[8]

Bit 8: Synchronization overrun event flag.

SOF[9]

Bit 9: Synchronization overrun event flag.

SOF[10]

Bit 10: Synchronization overrun event flag.

SOF[11]

Bit 11: Synchronization overrun event flag.

SOF[12]

Bit 12: Synchronization overrun event flag.

SOF[13]

Bit 13: Synchronization overrun event flag.

SOF[14]

Bit 14: Synchronization overrun event flag.

SOF[15]

Bit 15: Synchronization overrun event flag.

CFR

DMAMUX request line multiplexer interrupt clear flag register

Offset: 0x84, size: 32, reset: 0x00000000, access: write-only

0/16 fields covered.

Toggle fields

CSOF[0]

Bit 0: Clear synchronization overrun event flag.

CSOF[1]

Bit 1: Clear synchronization overrun event flag.

CSOF[2]

Bit 2: Clear synchronization overrun event flag.

CSOF[3]

Bit 3: Clear synchronization overrun event flag.

CSOF[4]

Bit 4: Clear synchronization overrun event flag.

CSOF[5]

Bit 5: Clear synchronization overrun event flag.

CSOF[6]

Bit 6: Clear synchronization overrun event flag.

CSOF[7]

Bit 7: Clear synchronization overrun event flag.

CSOF[8]

Bit 8: Clear synchronization overrun event flag.

CSOF[9]

Bit 9: Clear synchronization overrun event flag.

CSOF[10]

Bit 10: Clear synchronization overrun event flag.

CSOF[11]

Bit 11: Clear synchronization overrun event flag.

CSOF[12]

Bit 12: Clear synchronization overrun event flag.

CSOF[13]

Bit 13: Clear synchronization overrun event flag.

CSOF[14]

Bit 14: Clear synchronization overrun event flag.

CSOF[15]

Bit 15: Clear synchronization overrun event flag.

RG[0]CR

DMAMux - DMA request generator channel x control register

Offset: 0x100, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[1]CR

DMAMux - DMA request generator channel x control register

Offset: 0x104, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[2]CR

DMAMux - DMA request generator channel x control register

Offset: 0x108, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[3]CR

DMAMux - DMA request generator channel x control register

Offset: 0x10c, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[4]CR

DMAMux - DMA request generator channel x control register

Offset: 0x110, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[5]CR

DMAMux - DMA request generator channel x control register

Offset: 0x114, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[6]CR

DMAMux - DMA request generator channel x control register

Offset: 0x118, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[7]CR

DMAMux - DMA request generator channel x control register

Offset: 0x11c, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux1_evt0: Signal `dmamux1_evt0` selected as trigger input
1: dmamux1_evt1: Signal `dmamux1_evt1` selected as trigger input
2: dmamux1_evt2: Signal `dmamux1_evt2` selected as trigger input
3: lptim1_out: Signal `lptim1_out` selected as trigger input
4: lptim2_out: Signal `lptim2_out` selected as trigger input
5: lptim3_out: Signal `lptim3_out` selected as trigger input
6: extit0: Signal `extit0` selected as trigger input
7: tim12_trgo: Signal `tim12_trgo` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RGSR

DMAMux - DMA request generator status register

Offset: 0x140, 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
OF[7]
r
OF[6]
r
OF[5]
r
OF[4]
r
OF[3]
r
OF[2]
r
OF[1]
r
OF[0]
r
Toggle fields

OF[0]

Bit 0: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[1]

Bit 1: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[2]

Bit 2: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[3]

Bit 3: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[4]

Bit 4: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[5]

Bit 5: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[6]

Bit 6: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[7]

Bit 7: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

RGCFR

DMAMux - DMA request generator clear flag register

Offset: 0x144, size: 32, reset: 0x00000000, access: write-only

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COF[7]
w
COF[6]
w
COF[5]
w
COF[4]
w
COF[3]
w
COF[2]
w
COF[1]
w
COF[0]
w
Toggle fields

COF[0]

Bit 0: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[1]

Bit 1: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[2]

Bit 2: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[3]

Bit 3: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[4]

Bit 4: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[5]

Bit 5: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[6]

Bit 6: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[7]

Bit 7: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

DMAMUX2

0x58025800: DMAMUX

120/144 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 C[0]CR
0x4 C[1]CR
0x8 C[2]CR
0xc C[3]CR
0x10 C[4]CR
0x14 C[5]CR
0x18 C[6]CR
0x1c C[7]CR
0x80 CSR
0x84 CFR
0x100 RG[0]CR
0x104 RG[1]CR
0x108 RG[2]CR
0x10c RG[3]CR
0x110 RG[4]CR
0x114 RG[5]CR
0x118 RG[6]CR
0x11c RG[7]CR
0x140 RGSR
0x144 RGCFR
Toggle registers

C[0]CR

DMAMux - DMA request line multiplexer channel x control 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[1]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x4, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[2]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x8, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[3]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0xc, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[4]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x10, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[5]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x14, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[6]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x18, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

C[7]CR

DMAMux - DMA request line multiplexer channel x control register

Offset: 0x1c, 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
SYNC_ID
rw
NBREQ
rw
SPOL
rw
SE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EGE
rw
SOIE
rw
DMAREQ_ID
rw
Toggle fields

DMAREQ_ID

Bits 0-7: Input DMA request line selected.

Allowed values:
0: none: No signal selected as request input
1: dmamux2_req_gen0: Signal `dmamux2_req_gen0` selected as request input
2: dmamux2_req_gen1: Signal `dmamux2_req_gen1` selected as request input
3: dmamux2_req_gen2: Signal `dmamux2_req_gen2` selected as request input
4: dmamux2_req_gen3: Signal `dmamux2_req_gen3` selected as request input
5: dmamux2_req_gen4: Signal `dmamux2_req_gen4` selected as request input
6: dmamux2_req_gen5: Signal `dmamux2_req_gen5` selected as request input
7: dmamux2_req_gen6: Signal `dmamux2_req_gen6` selected as request input
8: dmamux2_req_gen7: Signal `dmamux2_req_gen7` selected as request input
9: lpuart1_rx_dma: Signal `lpuart1_rx_dma` selected as request input
10: lpuart1_tx_dma: Signal `lpuart1_tx_dma` selected as request input
11: spi6_rx_dma: Signal `spi6_rx_dma` selected as request input
12: spi6_tx_dma: Signal `spi6_tx_dma` selected as request input
13: i2c4_rx_dma: Signal `i2c4_rx_dma` selected as request input
14: i2c4_tx_dma: Signal `i2c4_tx_dma` selected as request input
15: sai4_a_dma: Signal `sai4_a_dma` selected as request input
16: sai4_b_dma: Signal `sai4_b_dma` selected as request input
17: adc3_dma: Signal `adc3_dma` selected as request input

SOIE

Bit 8: Interrupt enable at synchronization event overrun.

Allowed values:
0: Disabled: Synchronization overrun interrupt disabled
1: Enabled: Synchronization overrun interrupt enabled

EGE

Bit 9: Event generation enable/disable.

Allowed values:
0: Disabled: Event generation disabled
1: Enabled: Event generation enabled

SE

Bit 16: Synchronous operating mode enable/disable.

Allowed values:
0: Disabled: Synchronization disabled
1: Enabled: Synchronization enabled

SPOL

Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.

Allowed values:
0: NoEdge: No event, i.e. no synchronization nor detection
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

NBREQ

Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..

Allowed values: 0x0-0x1f

SYNC_ID

Bits 24-28: Synchronization input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as synchronization input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as synchronization input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as synchronization input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as synchronization input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as synchronization input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as synchronization input
6: lpuart1_rx_wkup: Signal `lpuart1_rx_wkup` selected as synchronization input
7: lpuart1_tx_wkup: Signal `lpuart1_tx_wkup` selected as synchronization input
8: lptim2_out: Signal `lptim2_out` selected as synchronization input
9: lptim3_out: Signal `lptim3_out` selected as synchronization input
10: i2c4_wkup: Signal `i2c4_wkup` selected as synchronization input
11: spi6_wkup: Signal `spi6_wkup` selected as synchronization input
12: comp1_out: Signal `comp1_out` selected as synchronization input
13: rtc_wkup: Signal `rtc_wkup` selected as synchronization input
14: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as synchronization input
15: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as synchronization input

CSR

DMAMUX request line multiplexer interrupt channel status register

Offset: 0x80, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

SOF[0]

Bit 0: Synchronization overrun event flag.

SOF[1]

Bit 1: Synchronization overrun event flag.

SOF[2]

Bit 2: Synchronization overrun event flag.

SOF[3]

Bit 3: Synchronization overrun event flag.

SOF[4]

Bit 4: Synchronization overrun event flag.

SOF[5]

Bit 5: Synchronization overrun event flag.

SOF[6]

Bit 6: Synchronization overrun event flag.

SOF[7]

Bit 7: Synchronization overrun event flag.

SOF[8]

Bit 8: Synchronization overrun event flag.

SOF[9]

Bit 9: Synchronization overrun event flag.

SOF[10]

Bit 10: Synchronization overrun event flag.

SOF[11]

Bit 11: Synchronization overrun event flag.

SOF[12]

Bit 12: Synchronization overrun event flag.

SOF[13]

Bit 13: Synchronization overrun event flag.

SOF[14]

Bit 14: Synchronization overrun event flag.

SOF[15]

Bit 15: Synchronization overrun event flag.

CFR

DMAMUX request line multiplexer interrupt clear flag register

Offset: 0x84, size: 32, reset: 0x00000000, access: write-only

0/16 fields covered.

Toggle fields

CSOF[0]

Bit 0: Clear synchronization overrun event flag.

CSOF[1]

Bit 1: Clear synchronization overrun event flag.

CSOF[2]

Bit 2: Clear synchronization overrun event flag.

CSOF[3]

Bit 3: Clear synchronization overrun event flag.

CSOF[4]

Bit 4: Clear synchronization overrun event flag.

CSOF[5]

Bit 5: Clear synchronization overrun event flag.

CSOF[6]

Bit 6: Clear synchronization overrun event flag.

CSOF[7]

Bit 7: Clear synchronization overrun event flag.

CSOF[8]

Bit 8: Clear synchronization overrun event flag.

CSOF[9]

Bit 9: Clear synchronization overrun event flag.

CSOF[10]

Bit 10: Clear synchronization overrun event flag.

CSOF[11]

Bit 11: Clear synchronization overrun event flag.

CSOF[12]

Bit 12: Clear synchronization overrun event flag.

CSOF[13]

Bit 13: Clear synchronization overrun event flag.

CSOF[14]

Bit 14: Clear synchronization overrun event flag.

CSOF[15]

Bit 15: Clear synchronization overrun event flag.

RG[0]CR

DMAMux - DMA request generator channel x control register

Offset: 0x100, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[1]CR

DMAMux - DMA request generator channel x control register

Offset: 0x104, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[2]CR

DMAMux - DMA request generator channel x control register

Offset: 0x108, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[3]CR

DMAMux - DMA request generator channel x control register

Offset: 0x10c, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[4]CR

DMAMux - DMA request generator channel x control register

Offset: 0x110, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[5]CR

DMAMux - DMA request generator channel x control register

Offset: 0x114, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[6]CR

DMAMux - DMA request generator channel x control register

Offset: 0x118, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RG[7]CR

DMAMux - DMA request generator channel x control register

Offset: 0x11c, 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
GNBREQ
rw
GPOL
rw
GE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIE
rw
SIG_ID
rw
Toggle fields

SIG_ID

Bits 0-4: DMA request trigger input selected.

Allowed values:
0: dmamux2_evt0: Signal `dmamux2_evt0` selected as trigger input
1: dmamux2_evt1: Signal `dmamux2_evt1` selected as trigger input
2: dmamux2_evt2: Signal `dmamux2_evt2` selected as trigger input
3: dmamux2_evt3: Signal `dmamux2_evt3` selected as trigger input
4: dmamux2_evt4: Signal `dmamux2_evt4` selected as trigger input
5: dmamux2_evt5: Signal `dmamux2_evt5` selected as trigger input
6: dmamux2_evt6: Signal `dmamux2_evt6` selected as trigger input
7: lpuart_rx_wkup: Signal `lpuart_rx_wkup` selected as trigger input
8: lpuart_tx_wkup: Signal `lpuart_tx_wkup` selected as trigger input
9: lptim2_wkup: Signal `lptim2_wkup` selected as trigger input
10: lptim2_out: Signal `lptim2_out` selected as trigger input
11: lptim3_wkup: Signal `lptim3_wkup` selected as trigger input
12: lptim3_out: Signal `lptim3_out` selected as trigger input
13: lptim4_ait: Signal `lptim4_ait` selected as trigger input
14: lptim5_ait: Signal `lptim5_ait` selected as trigger input
15: i2c4_wkup: Signal `i2c4_wkup` selected as trigger input
16: spi6_wkup: Signal `spi6_wkup` selected as trigger input
17: comp1_out: Signal `comp1_out` selected as trigger input
18: comp2_out: Signal `comp2_out` selected as trigger input
19: rtc_wkup: Signal `rtc_wkup` selected as trigger input
20: syscfg_exti0_mux: Signal `syscfg_exti0_mux` selected as trigger input
21: syscfg_exti2_mux: Signal `syscfg_exti2_mux` selected as trigger input
22: i2c4_event_it: Signal `i2c4_event_it` selected as trigger input
23: spi6_it: Signal `spi6_it` selected as trigger input
24: lpuart1_it_t: Signal `lpuart1_it_t` selected as trigger input
25: lpuart1_it_r: Signal `lpuart1_it_r` selected as trigger input
26: adc3_it: Signal `adc3_it` selected as trigger input
27: adc3_awd1: Signal `adc3_awd1` selected as trigger input
28: bdma_ch0_it: Signal `bdma_ch0_it` selected as trigger input
29: bdma_ch1_it: Signal `bdma_ch1_it` selected as trigger input

OIE

Bit 8: Interrupt enable at trigger event overrun.

Allowed values:
0: Disabled: Trigger overrun interrupt disabled
1: Enabled: Trigger overrun interrupt enabled

GE

Bit 16: DMA request generator channel enable/disable.

Allowed values:
0: Disabled: DMA request generation disabled
1: Enabled: DMA request enabled

GPOL

Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.

Allowed values:
0: NoEdge: No event, i.e. no detection nor generation
1: RisingEdge: Rising edge
2: FallingEdge: Falling edge
3: BothEdges: Rising and falling edges

GNBREQ

Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..

Allowed values: 0x0-0x1f

RGSR

DMAMux - DMA request generator status register

Offset: 0x140, 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
OF[7]
r
OF[6]
r
OF[5]
r
OF[4]
r
OF[3]
r
OF[2]
r
OF[1]
r
OF[0]
r
Toggle fields

OF[0]

Bit 0: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[1]

Bit 1: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[2]

Bit 2: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[3]

Bit 3: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[4]

Bit 4: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[5]

Bit 5: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[6]

Bit 6: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

OF[7]

Bit 7: Trigger event overrun flag The flag is set when a trigger event occurs on DMA request generator channel x, while the DMA request generator counter value is lower than GNBREQ. The flag is cleared by writing 1 to the corresponding COFx bit in DMAMUX_RGCFR register..

RGCFR

DMAMux - DMA request generator clear flag register

Offset: 0x144, size: 32, reset: 0x00000000, access: write-only

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COF[7]
w
COF[6]
w
COF[5]
w
COF[4]
w
COF[3]
w
COF[2]
w
COF[1]
w
COF[0]
w
Toggle fields

COF[0]

Bit 0: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[1]

Bit 1: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[2]

Bit 2: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[3]

Bit 3: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[4]

Bit 4: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[5]

Bit 5: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[6]

Bit 6: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

COF[7]

Bit 7: Clear trigger event overrun flag Upon setting, this bit clears the corresponding overrun flag OFx in the DMAMUX_RGCSR register..

DSIHOST

0x50000000: MIPI DSI Host

1/303 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 VR
0x4 CR
0x8 CCR
0xc LVCIDR
0x10 LCOLCR
0x14 LPCR
0x18 LPMCR
0x2c PCR
0x30 GVCIDR
0x34 MCR
0x38 VMCR
0x3c VPCR
0x40 VCCR
0x44 VNPCR
0x48 VHSACR
0x4c VHBPCR
0x50 VLCR
0x54 VVSACR
0x58 VVBPCR
0x5c VVFPCR
0x60 VVACR
0x64 LCCR
0x68 CMCR
0x6c GHCR
0x70 GPDR
0x74 GPSR
0x78 TCCR0
0x7c TCCR1
0x80 TCCR2
0x84 TCCR3
0x88 TCCR4
0x8c TCCR5
0x94 CLCR
0x98 CLTCR
0x9c DLTCR
0xa0 PCTLR
0xa4 PCONFR
0xa8 PUCR
0xac PTTCR
0xb0 PSR
0xbc ISR0
0xc0 ISR1
0xc4 IER0
0xc8 IER1
0xd8 FIR0
0xdc FIR1
0x100 VSCR
0x10c LCVCIDR
0x110 LCCCR
0x118 LPMCCR
0x138 VMCCR
0x13c VPCCR
0x140 VCCCR
0x144 VNPCCR
0x148 VHSACCR
0x14c VHBPCCR
0x150 VLCCR
0x154 VVSACCR
0x158 VVPBCCR
0x15c VVFPCCR
0x160 VVACCR
0x400 WCFGR
0x404 WCR
0x408 WIER
0x40c WISR
0x410 WIFCR
0x418 WPCR0
0x41c WPCR1
0x420 WPCR2
0x424 WPCR3
0x428 WPCR4
0x430 WRPCR
Toggle registers

VR

DSI Host version register

Offset: 0x0, size: 32, reset: 0x3133302A, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VERSION
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VERSION
r
Toggle fields

VERSION

Bits 0-31: Version of the DSI Host.

CR

DSI Host control register

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EN
N/A
Toggle fields

EN

Bit 0: Enable.

CCR

DSI Host clock control register

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOCKDIV
N/A
TXECKDIV
N/A
Toggle fields

TXECKDIV

Bits 0-7: TX escape clock division.

TOCKDIV

Bits 8-15: Timeout clock division.

LVCIDR

DSI Host LTDC VCID register

Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VCID
N/A
Toggle fields

VCID

Bits 0-1: Virtual channel ID.

LCOLCR

DSI Host LTDC color coding register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPE
N/A
COLC
N/A
Toggle fields

COLC

Bits 0-3: Color coding.

LPE

Bit 8: Loosely packet enable.

LPCR

DSI Host LTDC polarity configuration register

Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSP
N/A
VSP
N/A
DEP
N/A
Toggle fields

DEP

Bit 0: Data enable polarity.

VSP

Bit 1: VSYNC polarity.

HSP

Bit 2: HSYNC polarity.

LPMCR

DSI Host low-power mode configuration register

Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPSIZE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VLPSIZE
N/A
Toggle fields

VLPSIZE

Bits 0-7: VACT largest packet size.

LPSIZE

Bits 16-23: Largest packet size.

PCR

DSI Host protocol configuration register

Offset: 0x2c, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRCRXE
N/A
ECCRXE
N/A
BTAE
N/A
ETRXE
N/A
ETTXE
N/A
Toggle fields

ETTXE

Bit 0: EoTp transmission enable.

ETRXE

Bit 1: EoTp reception enable.

BTAE

Bit 2: Bus.

ECCRXE

Bit 3: ECC reception enable.

CRCRXE

Bit 4: CRC reception enable.

GVCIDR

DSI Host generic VCID register

Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VCID
N/A
Toggle fields

VCID

Bits 0-1: Virtual channel ID.

MCR

DSI Host mode configuration register

Offset: 0x34, size: 32, reset: 0x00000001, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDM
N/A
Toggle fields

CMDM

Bit 0: Command mode.

VMCR

DSI Host video mode configuration register

Offset: 0x38, size: 32, reset: 0x00000000, access: Unspecified

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PGO
N/A
PGM
N/A
PGE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPCE
N/A
FBTAAE
N/A
LPHFPE
N/A
LPHBPE
N/A
LPVAE
N/A
LPVFPE
N/A
LPVBPE
N/A
LPVSAE
N/A
VMT
N/A
Toggle fields

VMT

Bits 0-1: Video mode type.

LPVSAE

Bit 8: Low-power vertical sync active enable.

LPVBPE

Bit 9: Low-power vertical back-porch enable.

LPVFPE

Bit 10: Low-power vertical front-porch enable.

LPVAE

Bit 11: Low-power vertical active enable.

LPHBPE

Bit 12: Low-power horizontal back-porch enable.

LPHFPE

Bit 13: Low-power horizontal front-porch enable.

FBTAAE

Bit 14: Frame bus-turn-around acknowledge enable.

LPCE

Bit 15: Low-power command enable.

PGE

Bit 16: Pattern generator enable.

PGM

Bit 20: Pattern generator mode.

PGO

Bit 24: Pattern generator orientation.

VPCR

DSI Host video packet configuration register

Offset: 0x3c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VPSIZE
N/A
Toggle fields

VPSIZE

Bits 0-13: Video packet size.

VCCR

DSI Host video chunks configuration register

Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NUMC
N/A
Toggle fields

NUMC

Bits 0-12: Number of chunks.

VNPCR

DSI Host video null packet configuration register

Offset: 0x44, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NPSIZE
N/A
Toggle fields

NPSIZE

Bits 0-12: Null packet size.

VHSACR

DSI Host video HSA configuration register

Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSA
N/A
Toggle fields

HSA

Bits 0-11: Horizontal synchronism active duration.

VHBPCR

DSI Host video HBP configuration register

Offset: 0x4c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HBP
N/A
Toggle fields

HBP

Bits 0-11: Horizontal back-porch duration.

VLCR

DSI Host video line configuration register

Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HLINE
N/A
Toggle fields

HLINE

Bits 0-14: Horizontal line duration.

VVSACR

DSI Host video VSA configuration register

Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VSA
N/A
Toggle fields

VSA

Bits 0-9: Vertical synchronism active duration.

VVBPCR

DSI Host video VBP configuration register

Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBP
N/A
Toggle fields

VBP

Bits 0-9: Vertical back-porch duration.

VVFPCR

DSI Host video VFP configuration register

Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VFP
N/A
Toggle fields

VFP

Bits 0-9: Vertical front-porch duration.

VVACR

DSI Host video VA configuration register

Offset: 0x60, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VA
N/A
Toggle fields

VA

Bits 0-13: Vertical active duration.

LCCR

DSI Host LTDC command configuration register

Offset: 0x64, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMDSIZE
N/A
Toggle fields

CMDSIZE

Bits 0-15: Command size.

CMCR

DSI Host command mode configuration register

Offset: 0x68, size: 32, reset: 0x00000000, access: Unspecified

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MRDPS
N/A
DLWTX
N/A
DSR0TX
N/A
DSW1TX
N/A
DSW0TX
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GLWTX
N/A
GSR2TX
N/A
GSR1TX
N/A
GSR0TX
N/A
GSW2TX
N/A
GSW1TX
N/A
GSW0TX
N/A
ARE
N/A
TEARE
N/A
Toggle fields

TEARE

Bit 0: Tearing effect acknowledge request enable.

ARE

Bit 1: Acknowledge request enable.

GSW0TX

Bit 8: Generic short write zero parameters transmission.

GSW1TX

Bit 9: Generic short write one parameters transmission.

GSW2TX

Bit 10: Generic short write two parameters transmission.

GSR0TX

Bit 11: Generic short read zero parameters transmission.

GSR1TX

Bit 12: Generic short read one parameters transmission.

GSR2TX

Bit 13: Generic short read two parameters transmission.

GLWTX

Bit 14: Generic long write transmission.

DSW0TX

Bit 16: DCS short write zero parameter transmission.

DSW1TX

Bit 17: DCS short read one parameter transmission.

DSR0TX

Bit 18: DCS short read zero parameter transmission.

DLWTX

Bit 19: DCS long write transmission.

MRDPS

Bit 24: Maximum read packet size.

GHCR

DSI Host generic header configuration register

Offset: 0x6c, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WCMSB
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WCLSB
N/A
VCID
N/A
DT
N/A
Toggle fields

DT

Bits 0-5: Type.

VCID

Bits 6-7: Channel.

WCLSB

Bits 8-15: WordCount LSB.

WCMSB

Bits 16-23: WordCount MSB.

GPDR

DSI Host generic payload data register

Offset: 0x70, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DATA4
N/A
DATA3
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATA2
N/A
DATA1
N/A
Toggle fields

DATA1

Bits 0-7: Payload byte 1.

DATA2

Bits 8-15: Payload byte 2.

DATA3

Bits 16-23: Payload byte 3.

DATA4

Bits 24-31: Payload byte 4.

GPSR

DSI Host generic packet status register

Offset: 0x74, size: 32, reset: 0x00000015, access: Unspecified

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RCB
N/A
PRDFF
N/A
PRDFE
N/A
PWRFF
N/A
PWRFE
N/A
CMDFF
N/A
CMDFE
N/A
Toggle fields

CMDFE

Bit 0: Command FIFO empty.

CMDFF

Bit 1: Command FIFO full.

PWRFE

Bit 2: Payload write FIFO empty.

PWRFF

Bit 3: Payload write FIFO full.

PRDFE

Bit 4: Payload read FIFO empty.

PRDFF

Bit 5: Payload read FIFO full.

RCB

Bit 6: Read command busy.

TCCR0

DSI Host timeout counter configuration register 0

Offset: 0x78, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSTX_TOCNT
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPRX_TOCNT
N/A
Toggle fields

LPRX_TOCNT

Bits 0-15: Low-power reception timeout counter.

HSTX_TOCNT

Bits 16-31: High-speed transmission timeout counter.

TCCR1

DSI Host timeout counter configuration register 1

Offset: 0x7c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSRD_TOCNT
N/A
Toggle fields

HSRD_TOCNT

Bits 0-15: High-speed read timeout counter.

TCCR2

DSI Host timeout counter configuration register 2

Offset: 0x80, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPRD_TOCNT
N/A
Toggle fields

LPRD_TOCNT

Bits 0-15: Low-power read timeout counter.

TCCR3

DSI Host timeout counter configuration register 3

Offset: 0x84, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PM
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSWR_TOCNT
N/A
Toggle fields

HSWR_TOCNT

Bits 0-15: High-speed write timeout counter.

PM

Bit 24: Presp mode.

TCCR4

DSI Host timeout counter configuration register 4

Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPWR_TOCNT
N/A
Toggle fields

LPWR_TOCNT

Bits 0-15: Low-power write timeout counter.

TCCR5

DSI Host timeout counter configuration register 5

Offset: 0x8c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BTA_TOCNT
N/A
Toggle fields

BTA_TOCNT

Bits 0-15: Bus-turn-around timeout counter.

CLCR

DSI Host clock lane configuration register

Offset: 0x94, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACR
N/A
DPCC
N/A
Toggle fields

DPCC

Bit 0: D-PHY clock control.

ACR

Bit 1: Automatic clock lane control.

CLTCR

DSI Host clock lane timer configuration register

Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HS2LP_TIME
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LP2HS_TIME
N/A
Toggle fields

LP2HS_TIME

Bits 0-9: Low-power to high-speed time.

HS2LP_TIME

Bits 16-25: High-speed to low-power time.

DLTCR

DSI Host data lane timer configuration register

Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HS2LP_TIME
N/A
LP2HS_TIME
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MRD_TIME
N/A
Toggle fields

MRD_TIME

Bits 0-14: Maximum read time.

LP2HS_TIME

Bits 16-23: Low-power to high-speed time.

HS2LP_TIME

Bits 24-31: High-speed to low-power time.

PCTLR

DSI Host PHY control register

Offset: 0xa0, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CKE
N/A
DEN
N/A
Toggle fields

DEN

Bit 1: Digital enable.

CKE

Bit 2: Clock enable.

PCONFR

DSI Host PHY configuration register

Offset: 0xa4, size: 32, reset: 0x00000001, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SW_TIME
N/A
NL
N/A
Toggle fields

NL

Bits 0-1: Number of lanes.

SW_TIME

Bits 8-15: Stop wait time.

PUCR

DSI Host PHY ULPS control register

Offset: 0xa8, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UEDL
N/A
URDL
N/A
UECL
N/A
URCL
N/A
Toggle fields

URCL

Bit 0: ULPS request on clock lane.

UECL

Bit 1: ULPS exit on clock lane.

URDL

Bit 2: ULPS request on data lane.

UEDL

Bit 3: ULPS exit on data lane.

PTTCR

DSI Host PHY TX triggers configuration register

Offset: 0xac, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TX_TRIG
N/A
Toggle fields

TX_TRIG

Bits 0-3: Transmission trigger.

PSR

DSI Host PHY status register

Offset: 0xb0, size: 32, reset: 0x00001528, access: Unspecified

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UAN1
N/A
PSS1
N/A
RUE0
N/A
UAN0
N/A
PSS0
N/A
UANC
N/A
PSSC
N/A
PD
N/A
Toggle fields

PD

Bit 1: PHY direction.

PSSC

Bit 2: PHY stop state clock lane.

UANC

Bit 3: ULPS active not clock lane.

PSS0

Bit 4: PHY stop state lane 0.

UAN0

Bit 5: ULPS active not lane 1.

RUE0

Bit 6: RX ULPS escape lane 0.

PSS1

Bit 7: PHY stop state lane 1.

UAN1

Bit 8: ULPS active not lane 1.

ISR0

DSI Host interrupt and status register 0

Offset: 0xbc, size: 32, reset: 0x00000000, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PE[4]
N/A
PE[3]
N/A
PE[2]
N/A
PE[1]
N/A
PE[0]
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AE[15]
N/A
AE[14]
N/A
AE[13]
N/A
AE[12]
N/A
AE[11]
N/A
AE[10]
N/A
AE[9]
N/A
AE[8]
N/A
AE[7]
N/A
AE[6]
N/A
AE[5]
N/A
AE[4]
N/A
AE[3]
N/A
AE[2]
N/A
AE[1]
N/A
AE[0]
N/A
Toggle fields

AE[0]

Bit 0: Acknowledge error 0.

AE[1]

Bit 1: Acknowledge error 1.

AE[2]

Bit 2: Acknowledge error 2.

AE[3]

Bit 3: Acknowledge error 3.

AE[4]

Bit 4: Acknowledge error 4.

AE[5]

Bit 5: Acknowledge error 5.

AE[6]

Bit 6: Acknowledge error 6.

AE[7]

Bit 7: Acknowledge error 7.

AE[8]

Bit 8: Acknowledge error 8.

AE[9]

Bit 9: Acknowledge error 9.

AE[10]

Bit 10: Acknowledge error 10.

AE[11]

Bit 11: Acknowledge error 11.

AE[12]

Bit 12: Acknowledge error 12.

AE[13]

Bit 13: Acknowledge error 13.

AE[14]

Bit 14: Acknowledge error 14.

AE[15]

Bit 15: Acknowledge error 15.

PE[0]

Bit 16: PHY error 0.

PE[1]

Bit 17: PHY error 1.

PE[2]

Bit 18: PHY error 2.

PE[3]

Bit 19: PHY error 3.

PE[4]

Bit 20: PHY error 4.

ISR1

DSI Host interrupt and status register 1

Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPRXE
N/A
GPRDE
N/A
GPTXE
N/A
GPWRE
N/A
GCWRE
N/A
LPWRE
N/A
EOTPE
N/A
PSE
N/A
CRCE
N/A
ECCME
N/A
ECCSE
N/A
TOLPRX
N/A
TOHSTX
N/A
Toggle fields

TOHSTX

Bit 0: Timeout high.

TOLPRX

Bit 1: Timeout low.

ECCSE

Bit 2: ECC single.

ECCME

Bit 3: ECC multi.

CRCE

Bit 4: CRC error.

PSE

Bit 5: Packet size error.

EOTPE

Bit 6: EoTp error.

LPWRE

Bit 7: LTDC payload write error.

GCWRE

Bit 8: Generic command write error.

GPWRE

Bit 9: Generic payload write error.

GPTXE

Bit 10: Generic payload transmit error.

GPRDE

Bit 11: Generic payload read error.

GPRXE

Bit 12: Generic payload receive error.

IER0

DSI Host interrupt enable register 0

Offset: 0xc4, size: 32, reset: 0x00000000, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PE[4]IE
N/A
PE[3]IE
N/A
PE[2]IE
N/A
PE[1]IE
N/A
PE[0]IE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AE[15]IE
N/A
AE[14]IE
N/A
AE[13]IE
N/A
AE[12]IE
N/A
AE[11]IE
N/A
AE[10]IE
N/A
AE[9]IE
N/A
AE[8]IE
N/A
AE[7]IE
N/A
AE[6]IE
N/A
AE[5]IE
N/A
AE[4]IE
N/A
AE[3]IE
N/A
AE[2]IE
N/A
AE[1]IE
N/A
AE[0]IE
N/A
Toggle fields

AE[0]IE

Bit 0: Acknowledge error 0 interrupt enable.

AE[1]IE

Bit 1: Acknowledge error 1 interrupt enable.

AE[2]IE

Bit 2: Acknowledge error 2 interrupt enable.

AE[3]IE

Bit 3: Acknowledge error 3 interrupt enable.

AE[4]IE

Bit 4: Acknowledge error 4 interrupt enable.

AE[5]IE

Bit 5: Acknowledge error 5 interrupt enable.

AE[6]IE

Bit 6: Acknowledge error 6 interrupt enable.

AE[7]IE

Bit 7: Acknowledge error 7 interrupt enable.

AE[8]IE

Bit 8: Acknowledge error 8 interrupt enable.

AE[9]IE

Bit 9: Acknowledge error 9 interrupt enable.

AE[10]IE

Bit 10: Acknowledge error 10 interrupt enable.

AE[11]IE

Bit 11: Acknowledge error 11 interrupt enable.

AE[12]IE

Bit 12: Acknowledge error 12 interrupt enable.

AE[13]IE

Bit 13: Acknowledge error 13 interrupt enable.

AE[14]IE

Bit 14: Acknowledge error 14 interrupt enable.

AE[15]IE

Bit 15: Acknowledge error 15 interrupt enable.

PE[0]IE

Bit 16: PHY error 0 interrupt enable.

PE[1]IE

Bit 17: PHY error 1 interrupt enable.

PE[2]IE

Bit 18: PHY error 2 interrupt enable.

PE[3]IE

Bit 19: PHY error 3 interrupt enable.

PE[4]IE

Bit 20: PHY error 4 interrupt enable.

IER1

DSI Host interrupt enable register 1

Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPRXEIE
N/A
GPRDEIE
N/A
GPTXEIE
N/A
GPWREIE
N/A
GCWREIE
N/A
LPWREIE
N/A
EOTPEIE
N/A
PSEIE
N/A
CRCEIE
N/A
ECCMEIE
N/A
ECCSEIE
N/A
TOLPRXIE
N/A
TOHSTXIE
N/A
Toggle fields

TOHSTXIE

Bit 0: Timeout high.

TOLPRXIE

Bit 1: Timeout low.

ECCSEIE

Bit 2: ECC single.

ECCMEIE

Bit 3: ECC multi.

CRCEIE

Bit 4: CRC error interrupt enable.

PSEIE

Bit 5: Packet size error interrupt enable.

EOTPEIE

Bit 6: EoTp error interrupt enable.

LPWREIE

Bit 7: LTDC payload write error interrupt enable.

GCWREIE

Bit 8: Generic command write error interrupt enable.

GPWREIE

Bit 9: Generic payload write error interrupt enable.

GPTXEIE

Bit 10: Generic payload transmit error interrupt enable.

GPRDEIE

Bit 11: Generic payload read error interrupt enable.

GPRXEIE

Bit 12: Generic payload receive error interrupt enable.

FIR0

DSI Host force interrupt register 0

Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FPE[4]
N/A
FPE[3]
N/A
FPE[2]
N/A
FPE[1]
N/A
FPE[0]
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FAE[15]
N/A
FAE[14]
N/A
FAE[13]
N/A
FAE[12]
N/A
FAE[11]
N/A
FAE[10]
N/A
FAE[9]
N/A
FAE[8]
N/A
FAE[7]
N/A
FAE[6]
N/A
FAE[5]
N/A
FAE[4]
N/A
FAE[3]
N/A
FAE[2]
N/A
FAE[1]
N/A
FAE[0]
N/A
Toggle fields

FAE[0]

Bit 0: Force acknowledge error 0.

FAE[1]

Bit 1: Force acknowledge error 1.

FAE[2]

Bit 2: Force acknowledge error 2.

FAE[3]

Bit 3: Force acknowledge error 3.

FAE[4]

Bit 4: Force acknowledge error 4.

FAE[5]

Bit 5: Force acknowledge error 5.

FAE[6]

Bit 6: Force acknowledge error 6.

FAE[7]

Bit 7: Force acknowledge error 7.

FAE[8]

Bit 8: Force acknowledge error 8.

FAE[9]

Bit 9: Force acknowledge error 9.

FAE[10]

Bit 10: Force acknowledge error 10.

FAE[11]

Bit 11: Force acknowledge error 11.

FAE[12]

Bit 12: Force acknowledge error 12.

FAE[13]

Bit 13: Force acknowledge error 13.

FAE[14]

Bit 14: Force acknowledge error 14.

FAE[15]

Bit 15: Force acknowledge error 15.

FPE[0]

Bit 16: Force PHY error 0.

FPE[1]

Bit 17: Force PHY error 1.

FPE[2]

Bit 18: Force PHY error 2.

FPE[3]

Bit 19: Force PHY error 3.

FPE[4]

Bit 20: Force PHY error 4.

FIR1

DSI Host force interrupt register 1

Offset: 0xdc, size: 32, reset: 0x00000000, access: Unspecified

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FGPRXE
N/A
FGPRDE
N/A
FGPTXE
N/A
FGPWRE
N/A
FGCWRE
N/A
FLPWRE
N/A
FEOTPE
N/A
FPSE
N/A
FCRCE
N/A
FECCME
N/A
FECCSE
N/A
FTOLPRX
N/A
FTOHSTX
N/A
Toggle fields

FTOHSTX

Bit 0: Force timeout high.

FTOLPRX

Bit 1: Force timeout low.

FECCSE

Bit 2: Force ECC single.

FECCME

Bit 3: Force ECC multi.

FCRCE

Bit 4: Force CRC error.

FPSE

Bit 5: Force packet size error.

FEOTPE

Bit 6: Force EoTp error.

FLPWRE

Bit 7: Force LTDC payload write error.

FGCWRE

Bit 8: Force generic command write error.

FGPWRE

Bit 9: Force generic payload write error.

FGPTXE

Bit 10: Force generic payload transmit error.

FGPRDE

Bit 11: Force generic payload read error.

FGPRXE

Bit 12: Force generic payload receive error.

VSCR

DSI Host video shadow control register

Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UR
N/A
EN
N/A
Toggle fields

EN

Bit 0: Enable.

UR

Bit 8: Update register.

LCVCIDR

DSI Host LTDC current VCID register

Offset: 0x10c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VCID
N/A
Toggle fields

VCID

Bits 0-1: Virtual channel ID.

LCCCR

DSI Host LTDC current color coding register

Offset: 0x110, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPE
N/A
COLC
N/A
Toggle fields

COLC

Bits 0-3: Color coding.

LPE

Bit 8: Loosely packed enable.

LPMCCR

DSI Host low-power mode current configuration register

Offset: 0x118, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPSIZE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VLPSIZE
N/A
Toggle fields

VLPSIZE

Bits 0-7: VACT largest packet size.

LPSIZE

Bits 16-23: Largest packet size.

VMCCR

DSI Host video mode current configuration register

Offset: 0x138, size: 32, reset: 0x00000000, access: Unspecified

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPCE
N/A
FBTAAE
N/A
LPHFE
N/A
LPHBPE
N/A
LPVAE
N/A
LPVFPE
N/A
LPVBPE
N/A
LPVSAE
N/A
VMT
N/A
Toggle fields

VMT

Bits 0-1: Video mode type.

LPVSAE

Bit 2: Low-power vertical sync time enable.

LPVBPE

Bit 3: Low-power vertical back-porch enable.

LPVFPE

Bit 4: Low-power vertical front-porch enable.

LPVAE

Bit 5: Low-power vertical active enable.

LPHBPE

Bit 6: Low-power horizontal back-porch enable.

LPHFE

Bit 7: Low-power horizontal front-porch enable.

FBTAAE

Bit 8: Frame BTA acknowledge enable.

LPCE

Bit 9: Low-power command enable.

VPCCR

DSI Host video packet current configuration register

Offset: 0x13c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VPSIZE
N/A
Toggle fields

VPSIZE

Bits 0-13: Video packet size.

VCCCR

DSI Host video chunks current configuration register

Offset: 0x140, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NUMC
N/A
Toggle fields

NUMC

Bits 0-12: Number of chunks.

VNPCCR

DSI Host video null packet current configuration register

Offset: 0x144, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NPSIZE
N/A
Toggle fields

NPSIZE

Bits 0-12: Null packet size.

VHSACCR

DSI Host video HSA current configuration register

Offset: 0x148, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSA
N/A
Toggle fields

HSA

Bits 0-11: Horizontal synchronism active duration.

VHBPCCR

DSI Host video HBP current configuration register

Offset: 0x14c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HBP
N/A
Toggle fields

HBP

Bits 0-11: Horizontal back.

VLCCR

DSI Host video line current configuration register

Offset: 0x150, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HLINE
N/A
Toggle fields

HLINE

Bits 0-14: Horizontal line duration.

VVSACCR

DSI Host video VSA current configuration register

Offset: 0x154, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VSA
N/A
Toggle fields

VSA

Bits 0-9: Vertical synchronism active duration.

VVPBCCR

DSI Host video VBP current configuration register

Offset: 0x158, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBP
N/A
Toggle fields

VBP

Bits 0-9: Vertical back.

VVFPCCR

DSI Host video VFP current configuration register

Offset: 0x15c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VFP
N/A
Toggle fields

VFP

Bits 0-9: Vertical front.

VVACCR

DSI Host video VA current configuration register

Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VA
N/A
Toggle fields

VA

Bits 0-13: Vertical active duration.

WCFGR

DSI wrapper configuration register

Offset: 0x400, size: 32, reset: 0x00000000, access: Unspecified

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VSPOL
N/A
AR
N/A
TEPOL
N/A
TESRC
N/A
COLMUX
N/A
DSIM
N/A
Toggle fields

DSIM

Bit 0: DSI mode.

COLMUX

Bits 1-3: Color multiplexing.

TESRC

Bit 4: TE source.

TEPOL

Bit 5: TE polarity.

AR

Bit 6: Automatic refresh.

VSPOL

Bit 7: VSync polarity.

WCR

DSI wrapper control register

Offset: 0x404, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSIEN
N/A
LTDCEN
N/A
SHTDN
N/A
COLM
N/A
Toggle fields

COLM

Bit 0: Color mode.

SHTDN

Bit 1: Shutdown.

LTDCEN

Bit 2: LTDC enable.

DSIEN

Bit 3: DSI enable.

WIER

DSI wrapper interrupt enable register

Offset: 0x408, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RRIE
N/A
PLLUIE
N/A
PLLLIE
N/A
ERIE
N/A
TEIE
N/A
Toggle fields

TEIE

Bit 0: Tearing effect interrupt enable.

ERIE

Bit 1: End of refresh interrupt enable.

PLLLIE

Bit 9: PLL lock interrupt enable.

PLLUIE

Bit 10: PLL unlock interrupt enable.

RRIE

Bit 13: Regulator ready interrupt enable.

WISR

DSI wrapper interrupt and status register

Offset: 0x40c, size: 32, reset: 0x00000000, access: Unspecified

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RRIF
N/A
RRS
N/A
PLLUIF
N/A
PLLLIF
N/A
PLLLS
N/A
BUSY
N/A
ERIF
N/A
TEIF
N/A
Toggle fields

TEIF

Bit 0: Tearing effect interrupt flag.

ERIF

Bit 1: End of refresh interrupt flag.

BUSY

Bit 2: Busy flag.

PLLLS

Bit 8: PLL lock status.

PLLLIF

Bit 9: PLL lock interrupt flag.

PLLUIF

Bit 10: PLL unlock interrupt flag.

RRS

Bit 12: Regulator ready status.

RRIF

Bit 13: Regulator ready interrupt flag.

WIFCR

DSI wrapper interrupt flag clear register

Offset: 0x410, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRRIF
N/A
CPLLUIF
N/A
CPLLLIF
N/A
CERIF
N/A
CTEIF
N/A
Toggle fields

CTEIF

Bit 0: Clear tearing effect interrupt flag.

CERIF

Bit 1: Clear end of refresh interrupt flag.

CPLLLIF

Bit 9: Clear PLL lock interrupt flag.

CPLLUIF

Bit 10: Clear PLL unlock interrupt flag.

CRRIF

Bit 13: Clear regulator ready interrupt flag.

WPCR0

DSI wrapper PHY configuration register 0

Offset: 0x418, size: 32, reset: 0x00000000, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TCLKPOSTEN
N/A
TLPXCEN
N/A
THSEXITEN
N/A
TLPXDEN
N/A
THSZEROEN
N/A
THSTRAILEN
N/A
THSPREPEN
N/A
TCLKZEROEN
N/A
TCLKPREPEN
N/A
PDEN
N/A
TDDL
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CDOFFDL
N/A
FTXSMDL
N/A
FTXSMCL
N/A
HSIDL1
N/A
HSIDL0
N/A
HSICL
N/A
SWDL1
N/A
SWDL0
N/A
SWCL
N/A
UIX4
N/A
Toggle fields

UIX4

Bits 0-5: Unit interval multiplied by 4.

SWCL

Bit 6: Swap clock lane pins.

SWDL0

Bit 7: Swap data lane 0 pins.

SWDL1

Bit 8: Swap data lane 1 pins.

HSICL

Bit 9: Invert high.

HSIDL0

Bit 10: Invert the high-speed data signal on data lane 0.

HSIDL1

Bit 11: Invert the high-speed data signal on data lane 1.

FTXSMCL

Bit 12: Force in TX Stop mode the clock lane.

FTXSMDL

Bit 13: Force in TX Stop mode the data lanes.

CDOFFDL

Bit 14: Contention detection OFF on data lanes.

TDDL

Bit 16: Turn disable data lanes.

PDEN

Bit 18: Pull-down enable.

TCLKPREPEN

Bit 19: Custom time for tCLK.

TCLKZEROEN

Bit 20: Custom time for tCLK.

THSPREPEN

Bit 21: Custom time for tHS.

THSTRAILEN

Bit 22: Custom time for tHS.

THSZEROEN

Bit 23: Custom time for tHS.

TLPXDEN

Bit 24: Custom time for tLPX for data lanes enable.

THSEXITEN

Bit 25: Custom time for tHS.

TLPXCEN

Bit 26: Custom time for tLPX for clock lane enable.

TCLKPOSTEN

Bit 27: Custom time for tCLK.

WPCR1

DSI wrapper PHY configuration register 1

Offset: 0x41c, size: 32, reset: 0x00000000, access: Unspecified

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPRXFT
N/A
FLPRXLPM
N/A
HSTXSRCDL
N/A
HSTXSRCCL
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDDC
N/A
LPSRCDL
N/A
LPSRCCL
N/A
HSTXDDL
N/A
HSTXDCL
N/A
Toggle fields

HSTXDCL

Bits 0-1: High-speed transmission delay on clock lane.

HSTXDDL

Bits 2-3: High-speed transmission delay on data lanes.

LPSRCCL

Bits 6-7: Low-power transmission slew-rate compensation on clock lane.

LPSRCDL

Bits 8-9: Low-power transmission slew-rate compensation on data lanes.

SDDC

Bit 12: SDD control.

HSTXSRCCL

Bits 16-17: High-speed transmission slew-rate control on clock lane.

HSTXSRCDL

Bits 18-19: High-speed transmission slew-rate control on data lanes.

FLPRXLPM

Bit 22: Forces LP receiver in low-power mode.

LPRXFT

Bits 25-26: Low-power RX low-pass filtering tuning.

WPCR2

DSI wrapper PHY configuration register 2

Offset: 0x420, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
THSTRAIL
N/A
THSPREP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCLKZERO
N/A
TCLKPREP
N/A
Toggle fields

TCLKPREP

Bits 0-7: tCLK-PREPARE.

TCLKZERO

Bits 8-15: tCLK-ZERO.

THSPREP

Bits 16-23: tHS-PREPARE.

THSTRAIL

Bits 24-31: tHSTRAIL.

WPCR3

DSI wrapper PHY configuration register 3

Offset: 0x424, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TLPXC
N/A
THSEXIT
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TLPXD
N/A
THSZERO
N/A
Toggle fields

THSZERO

Bits 0-7: tHS-ZERO.

TLPXD

Bits 8-15: tLPX for data lanes.

THSEXIT

Bits 16-23: tHSEXIT.

TLPXC

Bits 24-31: tLPXC for clock lane.

WPCR4

DSI wrapper PHY configuration register 4

Offset: 0x428, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCLKPOST
N/A
Toggle fields

TCLKPOST

Bits 0-7: tCLK-POST.

WRPCR

DSI wrapper regulator and PLL control register

Offset: 0x430, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REGEN
N/A
ODF
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDF
N/A
NDIV
N/A
PLLEN
N/A
Toggle fields

PLLEN

Bit 0: PLL enable.

NDIV

Bits 2-8: PLL loop division factor.

IDF

Bits 11-14: PLL input division factor.

ODF

Bits 16-17: PLL output division factor.

REGEN

Bit 24: Regulator enable.

Ethernet_DMA

0x40029000: Ethernet DMA

0/67 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 DMAMR
0x4 DMASBMR
0x8 DMAISR
0xc DMADSR
0x100 DMACCR
0x104 DMACTxCR
0x108 DMACRxCR
0x114 DMACTxDLAR
0x11c DMACRxDLAR
0x120 DMACTxDTPR
0x128 DMACRxDTPR
0x12c DMACTxRLR
0x130 DMACRxRLR
0x134 DMACIER
0x138 DMACRxIWTR
0x144 DMACCATxDR
0x14c DMACCARxDR
0x154 DMACCATxBR
0x15c DMACCARxBR
0x160 DMACSR
0x16c DMACMFCR
Toggle registers

DMAMR

DMA mode register

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INTM
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PR
rw
TXPR
rw
DA
rw
SWR
N/A
Toggle fields

SWR

Bit 0: Software Reset.

DA

Bit 1: DMA Tx or Rx Arbitration Scheme.

TXPR

Bit 11: Transmit priority.

PR

Bits 12-14: Priority ratio.

INTM

Bits 16-17: Interrupt Mode.

DMASBMR

System bus mode register

Offset: 0x4, size: 32, reset: 0x01010000, access: Unspecified

0/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RB
rw
MB
rw
AAL
N/A
FB
N/A
Toggle fields

FB

Bit 0: Fixed Burst Length.

AAL

Bit 12: Address-Aligned Beats.

MB

Bit 14: Mixed Burst.

RB

Bit 15: Rebuild INCRx Burst.

DMAISR

Interrupt status register

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MACIS
N/A
MTLIS
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DC0IS
N/A
Toggle fields

DC0IS

Bit 0: DMA Channel Interrupt Status.

MTLIS

Bit 16: MTL Interrupt Status.

MACIS

Bit 17: MAC Interrupt Status.

DMADSR

Debug status register

Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TPS0
N/A
RPS0
N/A
AXWHSTS
N/A
Toggle fields

AXWHSTS

Bit 0: AHB Master Write Channel.

RPS0

Bits 8-11: DMA Channel Receive Process State.

TPS0

Bits 12-15: DMA Channel Transmit Process State.

DMACCR

Channel control register

Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DSL
N/A
PBLX8
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSS
N/A
Toggle fields

MSS

Bits 0-13: Maximum Segment Size.

PBLX8

Bit 16: 8xPBL mode.

DSL

Bits 18-20: Descriptor Skip Length.

DMACTxCR

Channel transmit control register

Offset: 0x104, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXPBL
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSE
N/A
OSF
N/A
ST
N/A
Toggle fields

ST

Bit 0: Start or Stop Transmission Command.

OSF

Bit 4: Operate on Second Packet.

TSE

Bit 12: TCP Segmentation Enabled.

TXPBL

Bits 16-21: Transmit Programmable Burst Length.

DMACRxCR

Channel receive control register

Offset: 0x108, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RPF
N/A
RXPBL
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RBSZ
N/A
SR
N/A
Toggle fields

SR

Bit 0: Start or Stop Receive.

RBSZ

Bits 1-14: Receive Buffer size.

RXPBL

Bits 16-21: Receive Programmable Burst Length.

RPF

Bit 31: DMA Rx Channel Packet Flush.

DMACTxDLAR

Channel Tx descriptor list address register

Offset: 0x114, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDESLA
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDESLA
N/A
Toggle fields

TDESLA

Bits 2-31: Start of Transmit List.

DMACRxDLAR

Channel Rx descriptor list address register

Offset: 0x11c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDESLA
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDESLA
N/A
Toggle fields

RDESLA

Bits 2-31: Start of Receive List.

DMACTxDTPR

Channel Tx descriptor tail pointer register

Offset: 0x120, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TDT
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDT
N/A
Toggle fields

TDT

Bits 2-31: Transmit Descriptor Tail Pointer.

DMACRxDTPR

Channel Rx descriptor tail pointer register

Offset: 0x128, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDT
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDT
N/A
Toggle fields

RDT

Bits 2-31: Receive Descriptor Tail Pointer.

DMACTxRLR

Channel Tx descriptor ring length register

Offset: 0x12c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDRL
N/A
Toggle fields

TDRL

Bits 0-9: Transmit Descriptor Ring Length.

DMACRxRLR

Channel Rx descriptor ring length register

Offset: 0x130, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDRL
N/A
Toggle fields

RDRL

Bits 0-9: Receive Descriptor Ring Length.

DMACIER

Channel interrupt enable register

Offset: 0x134, size: 32, reset: 0x00000000, access: Unspecified

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NIE
N/A
AIE
N/A
CDEE
N/A
FBEE
N/A
ERIE
N/A
ETIE
N/A
RWTE
N/A
RSE
N/A
RBUE
N/A
RIE
N/A
TBUE
N/A
TXSE
N/A
TIE
N/A
Toggle fields

TIE

Bit 0: Transmit Interrupt Enable.

TXSE

Bit 1: Transmit Stopped Enable.

TBUE

Bit 2: Transmit Buffer Unavailable Enable.

RIE

Bit 6: Receive Interrupt Enable.

RBUE

Bit 7: Receive Buffer Unavailable Enable.

RSE

Bit 8: Receive Stopped Enable.

RWTE

Bit 9: Receive Watchdog Timeout Enable.

ETIE

Bit 10: Early Transmit Interrupt Enable.

ERIE

Bit 11: Early Receive Interrupt Enable.

FBEE

Bit 12: Fatal Bus Error Enable.

CDEE

Bit 13: Context Descriptor Error Enable.

AIE

Bit 14: Abnormal Interrupt Summary Enable.

NIE

Bit 15: Normal Interrupt Summary Enable.

DMACRxIWTR

Channel Rx interrupt watchdog timer register

Offset: 0x138, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWT
N/A
Toggle fields

RWT

Bits 0-7: Receive Interrupt Watchdog Timer Count.

DMACCATxDR

Channel current application transmit descriptor register

Offset: 0x144, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CURTDESAPTR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CURTDESAPTR
N/A
Toggle fields

CURTDESAPTR

Bits 0-31: Application Transmit Descriptor Address Pointer.

DMACCARxDR

Channel current application receive descriptor register

Offset: 0x14c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CURRDESAPTR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CURRDESAPTR
N/A
Toggle fields

CURRDESAPTR

Bits 0-31: Application Receive Descriptor Address Pointer.

DMACCATxBR

Channel current application transmit buffer register

Offset: 0x154, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CURTBUFAPTR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CURTBUFAPTR
N/A
Toggle fields

CURTBUFAPTR

Bits 0-31: Application Transmit Buffer Address Pointer.

DMACCARxBR

Channel current application receive buffer register

Offset: 0x15c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CURRBUFAPTR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CURRBUFAPTR
N/A
Toggle fields

CURRBUFAPTR

Bits 0-31: Application Receive Buffer Address Pointer.

DMACSR

Channel status register

Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified

0/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
REB
N/A
TEB
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NIS
N/A
AIS
N/A
CDE
N/A
FBE
N/A
ERI
N/A
ETI
N/A
RWT
N/A
RPS
N/A
RBU
N/A
RI
N/A
TBU
N/A
TPS
N/A
TI
N/A
Toggle fields

TI

Bit 0: Transmit Interrupt.

TPS

Bit 1: Transmit Process Stopped.

TBU

Bit 2: Transmit Buffer Unavailable.

RI

Bit 6: Receive Interrupt.

RBU

Bit 7: Receive Buffer Unavailable.

RPS

Bit 8: Receive Process Stopped.

RWT

Bit 9: Receive Watchdog Timeout.

ETI

Bit 10: Early Transmit Interrupt.

ERI

Bit 11: Early Receive Interrupt.

FBE

Bit 12: Fatal Bus Error.

CDE

Bit 13: Context Descriptor Error.

AIS

Bit 14: Abnormal Interrupt Summary.

NIS

Bit 15: Normal Interrupt Summary.

TEB

Bits 16-18: Tx DMA Error Bits.

REB

Bits 19-21: Rx DMA Error Bits.

DMACMFCR

Channel missed frame count register

Offset: 0x16c, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MFCO
N/A
MFC
N/A
Toggle fields

MFC

Bits 0-10: Dropped Packet Counters.

MFCO

Bit 15: Overflow status of the MFC Counter.

Ethernet_MAC

0x40028000: Ethernet: media access control (MAC)

85/322 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 MACCR
0x4 MACECR
0x8 MACPFR
0xc MACWTR
0x10 MACHT0R
0x14 MACHT1R
0x50 MACVTR
0x58 MACVHTR
0x60 MACVIR
0x64 MACIVIR
0x70 MACQTxFCR
0x90 MACRxFCR
0xb0 MACISR
0xb4 MACIER
0xb8 MACRxTxSR
0xc0 MACPCSR
0xc4 MACRWKPFR
0xd0 MACLCSR
0xd4 MACLTCR
0xd8 MACLETR
0xdc MAC1USTCR
0x110 MACVR
0x114 MACDR
0x120 MACHWF1R
0x124 MACHWF2R
0x200 MACMDIOAR
0x204 MACMDIODR
0x300 MACA0HR
0x304 MACA0LR
0x308 MACA1HR
0x30c MACA1LR
0x310 MACA2HR
0x314 MACA2LR
0x318 MACA3HR
0x31c MACA3LR
0x700 MMC_CONTROL
0x704 MMC_RX_INTERRUPT
0x708 MMC_TX_INTERRUPT
0x70c MMC_RX_INTERRUPT_MASK
0x710 MMC_TX_INTERRUPT_MASK
0x74c TX_SINGLE_COLLISION_GOOD_PACKETS
0x750 TX_MULTIPLE_COLLISION_GOOD_PACKETS
0x768 TX_PACKET_COUNT_GOOD
0x794 RX_CRC_ERROR_PACKETS
0x798 RX_ALIGNMENT_ERROR_PACKETS
0x7c4 RX_UNICAST_PACKETS_GOOD
0x7ec TX_LPI_USEC_CNTR
0x7f0 TX_LPI_TRAN_CNTR
0x7f4 RX_LPI_USEC_CNTR
0x7f8 RX_LPI_TRAN_CNTR
0x900 MACL3L4C0R
0x904 MACL4A0R
0x910 MACL3A00R
0x914 MACL3A10R
0x918 MACL3A20
0x91c MACL3A30
0x930 MACL3L4C1R
0x934 MACL4A1R
0x940 MACL3A01R
0x944 MACL3A11R
0x948 MACL3A21R
0x94c MACL3A31R
0xae0 MACARPAR
0xb00 MACTSCR
0xb04 MACSSIR
0xb08 MACSTSR
0xb0c MACSTNR
0xb10 MACSTSUR
0xb14 MACSTNUR
0xb18 MACTSAR
0xb20 MACTSSR
0xb30 MACTxTSSNR
0xb34 MACTxTSSSR
0xb40 MACACR
0xb48 MACATSNR
0xb4c MACATSSR
0xb50 MACTSIACR
0xb54 MACTSEACR
0xb58 MACTSICNR
0xb5c MACTSECNR
0xb70 MACPPSCR
0xb80 MACPPSTTSR
0xb84 MACPPSTTNR
0xb88 MACPPSIR
0xb8c MACPPSWR
0xbc0 MACPOCR
0xbc4 MACSPI0R
0xbc8 MACSPI1R
0xbcc MACSPI2R
0xbd0 MACLMIR
Toggle registers

MACCR

Operating mode configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARPEN
rw
SARC
rw
IPC
rw
IPG
rw
GPSLCE
rw
S2KP
rw
CST
rw
ACS
rw
WD
rw
JD
rw
JE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FES
rw
DM
rw
LM
rw
ECRSFD
rw
DO
rw
DCRS
rw
DR
rw
BL
rw
DC
rw
PRELEN
rw
TE
rw
RE
rw
Toggle fields

RE

Bit 0: Receiver Enable.

TE

Bit 1: Transmitter Enable.

PRELEN

Bits 2-3: Preamble Length for Transmit Packets.

DC

Bit 4: Deferral Check.

BL

Bits 5-6: Back-Off Limit.

DR

Bit 8: Disable Retry.

DCRS

Bit 9: Disable Carrier Sense During Transmission.

DO

Bit 10: Disable Receive Own.

ECRSFD

Bit 11: Enable Carrier Sense Before Transmission in Full-Duplex Mode.

LM

Bit 12: Loopback Mode.

DM

Bit 13: Duplex Mode.

FES

Bit 14: MAC Speed.

JE

Bit 16: Jumbo Packet Enable.

JD

Bit 17: Jabber Disable.

WD

Bit 19: Watchdog Disable.

ACS

Bit 20: Automatic Pad or CRC Stripping.

CST

Bit 21: CRC stripping for Type packets.

S2KP

Bit 22: IEEE 802.3as Support for 2K Packets.

GPSLCE

Bit 23: Giant Packet Size Limit Control Enable.

IPG

Bits 24-26: Inter-Packet Gap.

IPC

Bit 27: Checksum Offload.

SARC

Bits 28-30: Source Address Insertion or Replacement Control.

ARPEN

Bit 31: ARP Offload Enable.

MACECR

Extended operating mode 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
EIPG
rw
EIPGEN
rw
USP
rw
SPEN
rw
DCRCC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPSL
rw
Toggle fields

GPSL

Bits 0-13: Giant Packet Size Limit.

DCRCC

Bit 16: Disable CRC Checking for Received Packets.

SPEN

Bit 17: Slow Protocol Detection Enable.

USP

Bit 18: Unicast Slow Protocol Packet Detect.

EIPGEN

Bit 24: Extended Inter-Packet Gap Enable.

EIPG

Bits 25-29: Extended Inter-Packet Gap.

MACPFR

Packet filtering control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RA
rw
DNTU
rw
IPFE
rw
VTFE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HPF
rw
SAF
rw
SAIF
rw
PCF
rw
DBF
rw
PM
rw
DAIF
rw
HMC
rw
HUC
rw
PR
rw
Toggle fields

PR

Bit 0: Promiscuous Mode.

HUC

Bit 1: Hash Unicast.

HMC

Bit 2: Hash Multicast.

DAIF

Bit 3: DA Inverse Filtering.

PM

Bit 4: Pass All Multicast.

DBF

Bit 5: Disable Broadcast Packets.

PCF

Bits 6-7: Pass Control Packets.

SAIF

Bit 8: SA Inverse Filtering.

SAF

Bit 9: Source Address Filter Enable.

HPF

Bit 10: Hash or Perfect Filter.

VTFE

Bit 16: VLAN Tag Filter Enable.

IPFE

Bit 20: Layer 3 and Layer 4 Filter Enable.

DNTU

Bit 21: Drop Non-TCP/UDP over IP Packets.

RA

Bit 31: Receive All.

MACWTR

Watchdog timeout register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWE
rw
WTO
rw
Toggle fields

WTO

Bits 0-3: Watchdog Timeout.

PWE

Bit 8: Programmable Watchdog Enable.

MACHT0R

Hash Table 0 register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HT31T0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HT31T0
rw
Toggle fields

HT31T0

Bits 0-31: MAC Hash Table First 32 Bits.

MACHT1R

Hash Table 1 register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HT63T32
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HT63T32
rw
Toggle fields

HT63T32

Bits 0-31: MAC Hash Table Second 32 Bits.

MACVTR

VLAN tag register

Offset: 0x50, 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
EIVLRXS
rw
EIVLS
rw
ERIVLT
rw
EDVLP
rw
VTHM
rw
EVLRXS
rw
EVLS
rw
DOVLTC
rw
ERSVLM
rw
ESVL
rw
VTIM
rw
ETV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VL
rw
Toggle fields

VL

Bits 0-15: VLAN Tag Identifier for Receive Packets.

ETV

Bit 16: Enable 12-Bit VLAN Tag Comparison.

VTIM

Bit 17: VLAN Tag Inverse Match Enable.

ESVL

Bit 18: Enable S-VLAN.

ERSVLM

Bit 19: Enable Receive S-VLAN Match.

DOVLTC

Bit 20: Disable VLAN Type Check.

EVLS

Bits 21-22: Enable VLAN Tag Stripping on Receive.

EVLRXS

Bit 24: Enable VLAN Tag in Rx status.

VTHM

Bit 25: VLAN Tag Hash Table Match Enable.

EDVLP

Bit 26: Enable Double VLAN Processing.

ERIVLT

Bit 27: Enable Inner VLAN Tag.

EIVLS

Bits 28-29: Enable Inner VLAN Tag Stripping on Receive.

EIVLRXS

Bit 31: Enable Inner VLAN Tag in Rx Status.

MACVHTR

VLAN Hash table register

Offset: 0x58, 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
VLHT
rw
Toggle fields

VLHT

Bits 0-15: VLAN Hash Table.

MACVIR

VLAN inclusion register

Offset: 0x60, 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
VLTI
rw
CSVL
rw
VLP
rw
VLC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VLT
rw
Toggle fields

VLT

Bits 0-15: VLAN Tag for Transmit Packets.

VLC

Bits 16-17: VLAN Tag Control in Transmit Packets.

VLP

Bit 18: VLAN Priority Control.

CSVL

Bit 19: C-VLAN or S-VLAN.

VLTI

Bit 20: VLAN Tag Input.

MACIVIR

Inner VLAN inclusion register

Offset: 0x64, 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
VLTI
rw
CSVL
rw
VLP
rw
VLC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VLT
rw
Toggle fields

VLT

Bits 0-15: VLAN Tag for Transmit Packets.

VLC

Bits 16-17: VLAN Tag Control in Transmit Packets.

VLP

Bit 18: VLAN Priority Control.

CSVL

Bit 19: C-VLAN or S-VLAN.

VLTI

Bit 20: VLAN Tag Input.

MACQTxFCR

Tx Queue flow control register

Offset: 0x70, 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
PT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DZPQ
rw
PLT
rw
TFE
rw
FCB_BPA
rw
Toggle fields

FCB_BPA

Bit 0: Flow Control Busy or Backpressure Activate.

TFE

Bit 1: Transmit Flow Control Enable.

PLT

Bits 4-6: Pause Low Threshold.

DZPQ

Bit 7: Disable Zero-Quanta Pause.

PT

Bits 16-31: Pause Time.

MACRxFCR

Rx flow control register

Offset: 0x90, 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
UP
rw
RFE
rw
Toggle fields

RFE

Bit 0: Receive Flow Control Enable.

UP

Bit 1: Unicast Pause Packet Detect.

MACISR

Interrupt status register

Offset: 0xb0, size: 32, reset: 0x00000000, access: read-only

9/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXSTSIS
r
TXSTSIS
r
TSIS
r
MMCTXIS
r
MMCRXIS
r
MMCIS
r
LPIIS
r
PMTIS
r
PHYIS
r
Toggle fields

PHYIS

Bit 3: PHY Interrupt.

PMTIS

Bit 4: PMT Interrupt Status.

LPIIS

Bit 5: LPI Interrupt Status.

MMCIS

Bit 8: MMC Interrupt Status.

MMCRXIS

Bit 9: MMC Receive Interrupt Status.

MMCTXIS

Bit 10: MMC Transmit Interrupt Status.

TSIS

Bit 12: Timestamp Interrupt Status.

TXSTSIS

Bit 13: Transmit Status Interrupt.

RXSTSIS

Bit 14: Receive Status Interrupt.

MACIER

Interrupt enable register

Offset: 0xb4, 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
RXSTSIE
rw
TXSTSIE
rw
TSIE
rw
LPIIE
rw
PMTIE
rw
PHYIE
rw
Toggle fields

PHYIE

Bit 3: PHY Interrupt Enable.

PMTIE

Bit 4: PMT Interrupt Enable.

LPIIE

Bit 5: LPI Interrupt Enable.

TSIE

Bit 12: Timestamp Interrupt Enable.

TXSTSIE

Bit 13: Transmit Status Interrupt Enable.

RXSTSIE

Bit 14: Receive Status Interrupt Enable.

MACRxTxSR

Rx Tx status register

Offset: 0xb8, 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
RWT
r
EXCOL
r
LCOL
r
EXDEF
r
LCARR
r
NCARR
r
TJT
r
Toggle fields

TJT

Bit 0: Transmit Jabber Timeout.

NCARR

Bit 1: No Carrier.

LCARR

Bit 2: Loss of Carrier.

EXDEF

Bit 3: Excessive Deferral.

LCOL

Bit 4: Late Collision.

EXCOL

Bit 5: Excessive Collisions.

RWT

Bit 8: Receive Watchdog Timeout.

MACPCSR

PMT control status register

Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified

2/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RWKFILTRST
rw
RWKPTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWKPFE
rw
GLBLUCAST
rw
RWKPRCVD
r
MGKPRCVD
r
RWKPKTEN
rw
MGKPKTEN
rw
PWRDWN
rw
Toggle fields

PWRDWN

Bit 0: Power Down.

MGKPKTEN

Bit 1: Magic Packet Enable.

RWKPKTEN

Bit 2: Remote wakeup Packet Enable.

MGKPRCVD

Bit 5: Magic Packet Received.

RWKPRCVD

Bit 6: Remote wakeup Packet Received.

GLBLUCAST

Bit 9: Global Unicast.

RWKPFE

Bit 10: Remote wakeup Packet Forwarding Enable.

RWKPTR

Bits 24-28: Remote wakeup FIFO Pointer.

RWKFILTRST

Bit 31: Remote wakeup Packet Filter Register Pointer Reset.

MACRWKPFR

Remove wakeup packet filter register

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
WKUPFRMFTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WKUPFRMFTR
rw
Toggle fields

WKUPFRMFTR

Bits 0-31: WKUPFRMFTR.

MACLCSR

LPI control status register

Offset: 0xd0, size: 32, reset: 0x00000000, access: Unspecified

6/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPITCSE
rw
LPITE
rw
LPITXA
rw
PLSEN
rw
PLS
rw
LPIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RLPIST
r
TLPIST
r
RLPIEX
r
RLPIEN
r
TLPIEX
r
TLPIEN
r
Toggle fields

TLPIEN

Bit 0: Transmit LPI Entry.

TLPIEX

Bit 1: Transmit LPI Exit.

RLPIEN

Bit 2: Receive LPI Entry.

RLPIEX

Bit 3: Receive LPI Exit.

TLPIST

Bit 8: Transmit LPI State.

RLPIST

Bit 9: Receive LPI State.

LPIEN

Bit 16: LPI Enable.

PLS

Bit 17: PHY Link Status.

PLSEN

Bit 18: PHY Link Status Enable.

LPITXA

Bit 19: LPI Tx Automate.

LPITE

Bit 20: LPI Timer Enable.

LPITCSE

Bit 21: LPITCSE.

MACLTCR

LPI timers control register

Offset: 0xd4, size: 32, reset: 0x03E80000, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TWT
rw
Toggle fields

TWT

Bits 0-15: LPI TW Timer.

LST

Bits 16-25: LPI LS Timer.

MACLETR

LPI entry timer register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LPIET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPIET
rw
Toggle fields

LPIET

Bits 3-19: LPI Entry Timer.

MAC1USTCR

1-microsecond-tick counter 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
TIC_1US_CNTR
rw
Toggle fields

TIC_1US_CNTR

Bits 0-11: 1 µs tick Counter.

MACVR

Version register

Offset: 0x110, size: 32, reset: 0x00003041, access: read-only

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USERVER
r
SNPSVER
r
Toggle fields

SNPSVER

Bits 0-7: IP version.

USERVER

Bits 8-15: ST-defined version.

MACDR

Debug register

Offset: 0x114, 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
TFCSTS
r
TPESTS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RFCFCSTS
r
RPESTS
r
Toggle fields

RPESTS

Bit 0: MAC MII Receive Protocol Engine Status.

RFCFCSTS

Bits 1-2: MAC Receive Packet Controller FIFO Status.

TPESTS

Bit 16: MAC MII Transmit Protocol Engine Status.

TFCSTS

Bits 17-18: MAC Transmit Packet Controller Status.

MACHWF1R

HW feature 1 register

Offset: 0x120, size: 32, reset: 0x11841904, access: read-only

12/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3L4FNUM
r
HASHTBLSZ
r
AVSEL
r
DBGMEMA
r
TSOEN
r
SPHEN
r
DCBEN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADVTHWORD
r
PTOEN
r
OSTEN
r
TXFIFOSIZE
r
RXFIFOSIZE
r
Toggle fields

RXFIFOSIZE

Bits 0-4: MTL Receive FIFO Size.

TXFIFOSIZE

Bits 6-10: MTL Transmit FIFO Size.

OSTEN

Bit 11: One-Step Timestamping Enable.

PTOEN

Bit 12: PTP Offload Enable.

ADVTHWORD

Bit 13: IEEE 1588 High Word Register Enable.

DCBEN

Bit 16: DCB Feature Enable.

SPHEN

Bit 17: Split Header Feature Enable.

TSOEN

Bit 18: TCP Segmentation Offload Enable.

DBGMEMA

Bit 19: DMA Debug Registers Enable.

AVSEL

Bit 20: AV Feature Enable.

HASHTBLSZ

Bits 24-25: Hash Table Size.

L3L4FNUM

Bits 27-30: Total number of L3 or L4 Filters.

MACHWF2R

HW feature 2 register

Offset: 0x124, size: 32, reset: 0x41000000, access: read-only

6/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AUXSNAPNUM
r
PPSOUTNUM
r
TXCHCNT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCHCNT
r
TXQCNT
r
RXQCNT
r
Toggle fields

RXQCNT

Bits 0-3: Number of MTL Receive Queues.

TXQCNT

Bits 6-9: Number of MTL Transmit Queues.

RXCHCNT

Bits 12-15: Number of DMA Receive Channels.

TXCHCNT

Bits 18-21: Number of DMA Transmit Channels.

PPSOUTNUM

Bits 24-26: Number of PPS Outputs.

AUXSNAPNUM

Bits 28-30: Number of Auxiliary Snapshot Inputs.

MACMDIOAR

MDIO address register

Offset: 0x200, 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
PSE
rw
BTB
rw
PA
rw
RDA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NTC
rw
CR
rw
SKAP
rw
GOC
rw
C45E
rw
MB
rw
Toggle fields

MB

Bit 0: MII Busy.

C45E

Bit 1: Clause 45 PHY Enable.

GOC

Bits 2-3: MII Operation Command.

SKAP

Bit 4: Skip Address Packet.

CR

Bits 8-11: CSR Clock Range.

NTC

Bits 12-14: Number of Training Clocks.

RDA

Bits 16-20: Register/Device Address.

PA

Bits 21-25: Physical Layer Address.

BTB

Bit 26: Back to Back transactions.

PSE

Bit 27: Preamble Suppression Enable.

MACMDIODR

MDIO data register

Offset: 0x204, 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
RA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MD
rw
Toggle fields

MD

Bits 0-15: MII Data.

RA

Bits 16-31: Register Address.

MACA0HR

Address 0 high register

Offset: 0x300, size: 32, reset: 0x8000FFFF, access: Unspecified

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRHI
rw
Toggle fields

ADDRHI

Bits 0-15: MAC Address0[47:32].

AE

Bit 31: Address Enable.

MACA0LR

Address 0 low register

Offset: 0x304, size: 32, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDRLO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRLO
rw
Toggle fields

ADDRLO

Bits 0-31: MAC Address 0 [31:0].

MACA1HR

Address 1 high register

Offset: 0x308, size: 32, reset: 0x0000FFFF, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AE
rw
SA
rw
MBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRHI
rw
Toggle fields

ADDRHI

Bits 0-15: MAC Address1 [47:32].

MBC

Bits 24-29: Mask Byte Control.

SA

Bit 30: Source Address.

AE

Bit 31: Address Enable.

MACA1LR

Address 1 low register

Offset: 0x30c, size: 32, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDRLO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRLO
rw
Toggle fields

ADDRLO

Bits 0-31: MAC Address 1 [31:0].

MACA2HR

Address 2 high register

Offset: 0x310, size: 32, reset: 0x0000FFFF, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AE
rw
SA
rw
MBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRHI
rw
Toggle fields

ADDRHI

Bits 0-15: MAC Address2 [47:32].

MBC

Bits 24-29: Mask Byte Control.

SA

Bit 30: Source Address.

AE

Bit 31: Address Enable.

MACA2LR

Address 2 low register

Offset: 0x314, size: 32, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDRLO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRLO
rw
Toggle fields

ADDRLO

Bits 0-31: MAC Address 2 [31:0].

MACA3HR

Address 3 high register

Offset: 0x318, size: 32, reset: 0x0000FFFF, access: read-write

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AE
rw
SA
rw
MBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRHI
rw
Toggle fields

ADDRHI

Bits 0-15: MAC Address3 [47:32].

MBC

Bits 24-29: Mask Byte Control.

SA

Bit 30: Source Address.

AE

Bit 31: Address Enable.

MACA3LR

Address 3 low register

Offset: 0x31c, size: 32, reset: 0xFFFFFFFF, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDRLO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRLO
rw
Toggle fields

ADDRLO

Bits 0-31: MAC Address 3 [31:0].

MMC_CONTROL

MMC control register

Offset: 0x700, 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
UCDBC
rw
CNTPRSTLVL
rw
CNTPRST
rw
CNTFREEZ
rw
RSTONRD
rw
CNTSTOPRO
rw
CNTRST
rw
Toggle fields

CNTRST

Bit 0: Counters Reset.

CNTSTOPRO

Bit 1: Counter Stop Rollover.

RSTONRD

Bit 2: Reset on Read.

CNTFREEZ

Bit 3: MMC Counter Freeze.

CNTPRST

Bit 4: Counters Preset.

CNTPRSTLVL

Bit 5: Full-Half Preset.

UCDBC

Bit 8: Update MMC Counters for Dropped Broadcast Packets.

MMC_RX_INTERRUPT

MMC Rx interrupt register

Offset: 0x704, 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
RXLPITRCIS
r
RXLPIUSCIS
r
RXUCGPIS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXALGNERPIS
r
RXCRCERPIS
r
Toggle fields

RXCRCERPIS

Bit 5: MMC Receive CRC Error Packet Counter Interrupt Status.

RXALGNERPIS

Bit 6: MMC Receive Alignment Error Packet Counter Interrupt Status.

RXUCGPIS

Bit 17: MMC Receive Unicast Good Packet Counter Interrupt Status.

RXLPIUSCIS

Bit 26: MMC Receive LPI microsecond counter interrupt status.

RXLPITRCIS

Bit 27: MMC Receive LPI transition counter interrupt status.

MMC_TX_INTERRUPT

MMC Tx interrupt register

Offset: 0x708, 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
TXLPITRCIS
r
TXLPIUSCIS
r
TXGPKTIS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXMCOLGPIS
r
TXSCOLGPIS
r
Toggle fields

TXSCOLGPIS

Bit 14: MMC Transmit Single Collision Good Packet Counter Interrupt Status.

TXMCOLGPIS

Bit 15: MMC Transmit Multiple Collision Good Packet Counter Interrupt Status.

TXGPKTIS

Bit 21: MMC Transmit Good Packet Counter Interrupt Status.

TXLPIUSCIS

Bit 26: MMC Transmit LPI microsecond counter interrupt status.

TXLPITRCIS

Bit 27: MMC Transmit LPI transition counter interrupt status.

MMC_RX_INTERRUPT_MASK

MMC Rx interrupt mask register

Offset: 0x70c, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXLPITRCIM
rw
RXLPIUSCIM
rw
RXUCGPIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXALGNERPIM
rw
RXCRCERPIM
rw
Toggle fields

RXCRCERPIM

Bit 5: MMC Receive CRC Error Packet Counter Interrupt Mask.

RXALGNERPIM

Bit 6: MMC Receive Alignment Error Packet Counter Interrupt Mask.

RXUCGPIM

Bit 17: MMC Receive Unicast Good Packet Counter Interrupt Mask.

RXLPIUSCIM

Bit 26: MMC Receive LPI microsecond counter interrupt Mask.

RXLPITRCIM

Bit 27: MMC Receive LPI transition counter interrupt Mask.

MMC_TX_INTERRUPT_MASK

MMC Tx interrupt mask register

Offset: 0x710, size: 32, reset: 0x00000000, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXLPITRCIM
rw
TXLPIUSCIM
rw
TXGPKTIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXMCOLGPIM
rw
TXSCOLGPIM
rw
Toggle fields

TXSCOLGPIM

Bit 14: MMC Transmit Single Collision Good Packet Counter Interrupt Mask.

TXMCOLGPIM

Bit 15: MMC Transmit Multiple Collision Good Packet Counter Interrupt Mask.

TXGPKTIM

Bit 21: MMC Transmit Good Packet Counter Interrupt Mask.

TXLPIUSCIM

Bit 26: MMC Transmit LPI microsecond counter interrupt Mask.

TXLPITRCIM

Bit 27: MMC Transmit LPI transition counter interrupt Mask.

TX_SINGLE_COLLISION_GOOD_PACKETS

Tx single collision good packets register

Offset: 0x74c, 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
TXSNGLCOLG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXSNGLCOLG
r
Toggle fields

TXSNGLCOLG

Bits 0-31: Tx Single Collision Good Packets.

TX_MULTIPLE_COLLISION_GOOD_PACKETS

Tx multiple collision good packets register

Offset: 0x750, 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
TXMULTCOLG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXMULTCOLG
r
Toggle fields

TXMULTCOLG

Bits 0-31: Tx Multiple Collision Good Packets.

TX_PACKET_COUNT_GOOD

Tx packet count good register

Offset: 0x768, 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
TXPKTG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXPKTG
r
Toggle fields

TXPKTG

Bits 0-31: Tx Packet Count Good.

RX_CRC_ERROR_PACKETS

Rx CRC error packets register

Offset: 0x794, 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
RXCRCERR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRCERR
r
Toggle fields

RXCRCERR

Bits 0-31: Rx CRC Error Packets.

RX_ALIGNMENT_ERROR_PACKETS

Rx alignment error packets register

Offset: 0x798, 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
RXALGNERR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXALGNERR
r
Toggle fields

RXALGNERR

Bits 0-31: Rx Alignment Error Packets.

RX_UNICAST_PACKETS_GOOD

Rx unicast packets good register

Offset: 0x7c4, 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
RXUCASTG
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXUCASTG
r
Toggle fields

RXUCASTG

Bits 0-31: Rx Unicast Packets Good.

TX_LPI_USEC_CNTR

Tx LPI microsecond timer register

Offset: 0x7ec, 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
TXLPIUSC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLPIUSC
r
Toggle fields

TXLPIUSC

Bits 0-31: Tx LPI Microseconds Counter.

TX_LPI_TRAN_CNTR

Tx LPI transition counter register

Offset: 0x7f0, 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
TXLPITRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXLPITRC
r
Toggle fields

TXLPITRC

Bits 0-31: Tx LPI Transition counter.

RX_LPI_USEC_CNTR

Rx LPI microsecond counter register

Offset: 0x7f4, 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
RXLPIUSC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXLPIUSC
r
Toggle fields

RXLPIUSC

Bits 0-31: Rx LPI Microseconds Counter.

RX_LPI_TRAN_CNTR

Rx LPI transition counter register

Offset: 0x7f8, 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
RXLPITRC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXLPITRC
r
Toggle fields

RXLPITRC

Bits 0-31: Rx LPI Transition counter.

MACL3L4C0R

L3 and L4 control 0 register

Offset: 0x900, 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
L4DPIM0
rw
L4DPM0
rw
L4SPIM0
rw
L4SPM0
rw
L4PEN0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3HDBM0
rw
L3HSBM0
rw
L3DAIM0
rw
L3DAM0
rw
L3SAIM0
rw
L3SAM0
rw
L3PEN0
rw
Toggle fields

L3PEN0

Bit 0: Layer 3 Protocol Enable.

L3SAM0

Bit 2: Layer 3 IP SA Match Enable.

L3SAIM0

Bit 3: Layer 3 IP SA Inverse Match Enable.

L3DAM0

Bit 4: Layer 3 IP DA Match Enable.

L3DAIM0

Bit 5: Layer 3 IP DA Inverse Match Enable.

L3HSBM0

Bits 6-10: Layer 3 IP SA Higher Bits Match.

L3HDBM0

Bits 11-15: Layer 3 IP DA Higher Bits Match.

L4PEN0

Bit 16: Layer 4 Protocol Enable.

L4SPM0

Bit 18: Layer 4 Source Port Match Enable.

L4SPIM0

Bit 19: Layer 4 Source Port Inverse Match Enable.

L4DPM0

Bit 20: Layer 4 Destination Port Match Enable.

L4DPIM0

Bit 21: Layer 4 Destination Port Inverse Match Enable.

MACL4A0R

Layer4 address filter 0 register

Offset: 0x904, 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
L4DP0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L4SP0
rw
Toggle fields

L4SP0

Bits 0-15: Layer 4 Source Port Number Field.

L4DP0

Bits 16-31: Layer 4 Destination Port Number Field.

MACL3A00R

MACL3A00R

Offset: 0x910, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A00
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A00
rw
Toggle fields

L3A00

Bits 0-31: Layer 3 Address 0 Field.

MACL3A10R

Layer3 address 1 filter 0 register

Offset: 0x914, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A10
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A10
rw
Toggle fields

L3A10

Bits 0-31: Layer 3 Address 1 Field.

MACL3A20

Layer3 Address 2 filter 0 register

Offset: 0x918, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A20
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A20
rw
Toggle fields

L3A20

Bits 0-31: Layer 3 Address 2 Field.

MACL3A30

Layer3 Address 3 filter 0 register

Offset: 0x91c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A30
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A30
rw
Toggle fields

L3A30

Bits 0-31: Layer 3 Address 3 Field.

MACL3L4C1R

L3 and L4 control 1 register

Offset: 0x930, 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
L4DPIM1
rw
L4DPM1
rw
L4SPIM1
rw
L4SPM1
rw
L4PEN1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3HDBM1
rw
L3HSBM1
rw
L3DAIM1
rw
L3DAM1
rw
L3SAIM1
rw
L3SAM1
rw
L3PEN1
rw
Toggle fields

L3PEN1

Bit 0: Layer 3 Protocol Enable.

L3SAM1

Bit 2: Layer 3 IP SA Match Enable.

L3SAIM1

Bit 3: Layer 3 IP SA Inverse Match Enable.

L3DAM1

Bit 4: Layer 3 IP DA Match Enable.

L3DAIM1

Bit 5: Layer 3 IP DA Inverse Match Enable.

L3HSBM1

Bits 6-10: Layer 3 IP SA Higher Bits Match.

L3HDBM1

Bits 11-15: Layer 3 IP DA Higher Bits Match.

L4PEN1

Bit 16: Layer 4 Protocol Enable.

L4SPM1

Bit 18: Layer 4 Source Port Match Enable.

L4SPIM1

Bit 19: Layer 4 Source Port Inverse Match Enable.

L4DPM1

Bit 20: Layer 4 Destination Port Match Enable.

L4DPIM1

Bit 21: Layer 4 Destination Port Inverse Match Enable.

MACL4A1R

Layer 4 address filter 1 register

Offset: 0x934, 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
L4DP1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L4SP1
rw
Toggle fields

L4SP1

Bits 0-15: Layer 4 Source Port Number Field.

L4DP1

Bits 16-31: Layer 4 Destination Port Number Field.

MACL3A01R

Layer3 address 0 filter 1 Register

Offset: 0x940, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A01
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A01
rw
Toggle fields

L3A01

Bits 0-31: Layer 3 Address 0 Field.

MACL3A11R

Layer3 address 1 filter 1 register

Offset: 0x944, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A11
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A11
rw
Toggle fields

L3A11

Bits 0-31: Layer 3 Address 1 Field.

MACL3A21R

Layer3 address 2 filter 1 Register

Offset: 0x948, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A21
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A21
rw
Toggle fields

L3A21

Bits 0-31: Layer 3 Address 2 Field.

MACL3A31R

Layer3 address 3 filter 1 register

Offset: 0x94c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
L3A31
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
L3A31
rw
Toggle fields

L3A31

Bits 0-31: Layer 3 Address 3 Field.

MACARPAR

ARP address register

Offset: 0xae0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARPPA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARPPA
rw
Toggle fields

ARPPA

Bits 0-31: ARP Protocol Address.

MACTSCR

Timestamp control Register

Offset: 0xb00, size: 32, reset: 0x00000200, access: Unspecified

1/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXTSSTSM
rw
CSC
r
TSENMACADDR
rw
SNAPTYPSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSMSTRENA
rw
TSEVNTENA
rw
TSIPV4ENA
rw
TSIPV6ENA
rw
TSIPENA
rw
TSVER2ENA
rw
TSCTRLSSR
rw
TSENALL
rw
TSADDREG
rw
TSUPDT
rw
TSINIT
rw
TSCFUPDT
rw
TSENA
rw
Toggle fields

TSENA

Bit 0: Enable Timestamp.

TSCFUPDT

Bit 1: Fine or Coarse Timestamp Update.

TSINIT

Bit 2: Initialize Timestamp.

TSUPDT

Bit 3: Update Timestamp.

TSADDREG

Bit 5: Update Addend Register.

TSENALL

Bit 8: Enable Timestamp for All Packets.

TSCTRLSSR

Bit 9: Timestamp Digital or Binary Rollover Control.

TSVER2ENA

Bit 10: Enable PTP Packet Processing for Version 2 Format.

TSIPENA

Bit 11: Enable Processing of PTP over Ethernet Packets.

TSIPV6ENA

Bit 12: Enable Processing of PTP Packets Sent over IPv6-UDP.

TSIPV4ENA

Bit 13: Enable Processing of PTP Packets Sent over IPv4-UDP.

TSEVNTENA

Bit 14: Enable Timestamp Snapshot for Event Messages.

TSMSTRENA

Bit 15: Enable Snapshot for Messages Relevant to Master.

SNAPTYPSEL

Bits 16-17: Select PTP packets for Taking Snapshots.

TSENMACADDR

Bit 18: Enable MAC Address for PTP Packet Filtering.

CSC

Bit 19: Enable checksum correction during OST for PTP over UDP/IPv4 packets.

TXTSSTSM

Bit 24: Transmit Timestamp Status Mode.

MACSSIR

Sub-second increment register

Offset: 0xb04, 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
SSINC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SNSINC
rw
Toggle fields

SNSINC

Bits 8-15: Sub-nanosecond Increment Value.

SSINC

Bits 16-23: Sub-second Increment Value.

MACSTSR

System time seconds register

Offset: 0xb08, 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
TSS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
r
Toggle fields

TSS

Bits 0-31: Timestamp Second.

MACSTNR

System time nanoseconds register

Offset: 0xb0c, 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
TSSS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSSS
r
Toggle fields

TSSS

Bits 0-30: Timestamp Sub-seconds.

MACSTSUR

System time seconds update register

Offset: 0xb10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSS
rw
Toggle fields

TSS

Bits 0-31: Timestamp Seconds.

MACSTNUR

System time nanoseconds update register

Offset: 0xb14, 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
ADDSUB
rw
TSSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSSS
rw
Toggle fields

TSSS

Bits 0-30: Timestamp Sub-seconds.

ADDSUB

Bit 31: Add or Subtract Time.

MACTSAR

Timestamp addend register

Offset: 0xb18, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSAR
rw
Toggle fields

TSAR

Bits 0-31: Timestamp Addend Register.

MACTSSR

Timestamp status register

Offset: 0xb20, size: 32, reset: 0x00000000, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ATSNS
r
ATSSTM
r
ATSSTN
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTSSIS
r
TSTRGTERR0
r
AUXTSTRIG
r
TSTARGT0
r
TSSOVF
r
Toggle fields

TSSOVF

Bit 0: Timestamp Seconds Overflow.

TSTARGT0

Bit 1: Timestamp Target Time Reached.

AUXTSTRIG

Bit 2: Auxiliary Timestamp Trigger Snapshot.

TSTRGTERR0

Bit 3: Timestamp Target Time Error.

TXTSSIS

Bit 15: Tx Timestamp Status Interrupt Status.

ATSSTN

Bits 16-19: Auxiliary Timestamp Snapshot Trigger Identifier.

ATSSTM

Bit 24: Auxiliary Timestamp Snapshot Trigger Missed.

ATSNS

Bits 25-29: Number of Auxiliary Timestamp Snapshots.

MACTxTSSNR

Tx timestamp status nanoseconds register

Offset: 0xb30, 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
TXTSSMIS
r
TXTSSLO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTSSLO
r
Toggle fields

TXTSSLO

Bits 0-30: Transmit Timestamp Status Low.

TXTSSMIS

Bit 31: Transmit Timestamp Status Missed.

MACTxTSSSR

Tx timestamp status seconds register

Offset: 0xb34, 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
TXTSSHI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTSSHI
r
Toggle fields

TXTSSHI

Bits 0-31: Transmit Timestamp Status High.

MACACR

Auxiliary control register

Offset: 0xb40, 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
ATSEN3
rw
ATSEN2
rw
ATSEN1
rw
ATSEN0
rw
ATSFC
rw
Toggle fields

ATSFC

Bit 0: Auxiliary Snapshot FIFO Clear.

ATSEN0

Bit 4: Auxiliary Snapshot 0 Enable.

ATSEN1

Bit 5: Auxiliary Snapshot 1 Enable.

ATSEN2

Bit 6: Auxiliary Snapshot 2 Enable.

ATSEN3

Bit 7: Auxiliary Snapshot 3 Enable.

MACATSNR

Auxiliary timestamp nanoseconds register

Offset: 0xb48, 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
AUXTSLO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AUXTSLO
r
Toggle fields

AUXTSLO

Bits 0-30: Auxiliary Timestamp.

MACATSSR

Auxiliary timestamp seconds register

Offset: 0xb4c, 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
AUXTSHI
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AUXTSHI
r
Toggle fields

AUXTSHI

Bits 0-31: Auxiliary Timestamp.

MACTSIACR

Timestamp Ingress asymmetric correction register

Offset: 0xb50, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OSTIAC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OSTIAC
rw
Toggle fields

OSTIAC

Bits 0-31: One-Step Timestamp Ingress Asymmetry Correction.

MACTSEACR

Timestamp Egress asymmetric correction register

Offset: 0xb54, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OSTEAC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OSTEAC
rw
Toggle fields

OSTEAC

Bits 0-31: One-Step Timestamp Egress Asymmetry Correction.

MACTSICNR

Timestamp Ingress correction nanosecond register

Offset: 0xb58, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSIC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSIC
rw
Toggle fields

TSIC

Bits 0-31: Timestamp Ingress Correction.

MACTSECNR

Timestamp Egress correction nanosecond register

Offset: 0xb5c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSEC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEC
rw
Toggle fields

TSEC

Bits 0-31: Timestamp Egress Correction.

MACPPSCR

PPS control register

Offset: 0xb70, 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
TRGTMODSEL0
rw
PPSEN0
rw
PPSCTRL
rw
Toggle fields

PPSCTRL

Bits 0-3: Flexible PPS Output (ptp_pps_o[0]) Control or PPSCTRL PPS Output Frequency Control if PPSEN0 is cleared.

PPSEN0

Bit 4: Flexible PPS Output Mode Enable.

TRGTMODSEL0

Bits 5-6: Target Time Register Mode for PPS Output.

MACPPSTTSR

PPS target time seconds register

Offset: 0xb80, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSTRH0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSTRH0
rw
Toggle fields

TSTRH0

Bits 0-30: PPS Target Time Seconds Register.

MACPPSTTNR

PPS target time nanoseconds register

Offset: 0xb84, 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
TRGTBUSY0
rw
TTSL0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TTSL0
rw
Toggle fields

TTSL0

Bits 0-30: Target Time Low for PPS Register.

TRGTBUSY0

Bit 31: PPS Target Time Register Busy.

MACPPSIR

PPS interval register

Offset: 0xb88, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PPSINT0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PPSINT0
rw
Toggle fields

PPSINT0

Bits 0-31: PPS Output Signal Interval.

MACPPSWR

PPS width register

Offset: 0xb8c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PPSWIDTH0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PPSWIDTH0
rw
Toggle fields

PPSWIDTH0

Bits 0-31: PPS Output Signal Width.

MACPOCR

PTP Offload control register

Offset: 0xbc0, 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
DN
rw
DRRDIS
rw
APDREQTRIG
rw
ASYNCTRIG
rw
APDREQEN
rw
ASYNCEN
rw
PTOEN
rw
Toggle fields

PTOEN

Bit 0: PTP Offload Enable.

ASYNCEN

Bit 1: Automatic PTP SYNC message Enable.

APDREQEN

Bit 2: Automatic PTP Pdelay_Req message Enable.

ASYNCTRIG

Bit 4: Automatic PTP SYNC message Trigger.

APDREQTRIG

Bit 5: Automatic PTP Pdelay_Req message Trigger.

DRRDIS

Bit 6: Disable PTO Delay Request/Response response generation.

DN

Bits 8-15: Domain Number.

MACSPI0R

PTP Source Port Identity 0 Register

Offset: 0xbc4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SPI0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI0
rw
Toggle fields

SPI0

Bits 0-31: Source Port Identity 0.

MACSPI1R

PTP Source port identity 1 register

Offset: 0xbc8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SPI1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI1
rw
Toggle fields

SPI1

Bits 0-31: Source Port Identity 1.

MACSPI2R

PTP Source port identity 2 register

Offset: 0xbcc, 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
SPI2
rw
Toggle fields

SPI2

Bits 0-15: Source Port Identity 2.

MACLMIR

Log message interval register

Offset: 0xbd0, 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
LMPDRI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DRSYNCR
rw
LSI
rw
Toggle fields

LSI

Bits 0-7: Log Sync Interval.

DRSYNCR

Bits 8-10: Delay_Req to SYNC Ratio.

LMPDRI

Bits 24-31: Log Min Pdelay_Req Interval.

Ethernet_MTL

0x40028c00: Ethernet MTL

0/39 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 MTLOMR
0x20 MTLISR
0x100 MTLTxQOMR
0x104 MTLTxQUR
0x108 MTLTxQDR
0x12c MTLQICSR
0x130 MTLRxQOMR
0x134 MTLRxQMPOCR
0x138 MTLRxQDR
Toggle registers

MTLOMR

Operating mode Register

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNTCLR
N/A
CNTPRST
N/A
DTXSTS
N/A
Toggle fields

DTXSTS

Bit 1: Drop Transmit Status.

CNTPRST

Bit 8: Counters Preset.

CNTCLR

Bit 9: Counters Reset.

MTLISR

Interrupt status Register

Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Q0IS
N/A
Toggle fields

Q0IS

Bit 0: Queue interrupt status.

MTLTxQOMR

Tx queue operating mode Register

Offset: 0x100, size: 32, reset: 0x00070008, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TQS
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TTC
N/A
TXQEN
N/A
TSF
N/A
FTQ
N/A
Toggle fields

FTQ

Bit 0: Flush Transmit Queue.

TSF

Bit 1: Transmit Store and Forward.

TXQEN

Bits 2-3: Transmit Queue Enable.

TTC

Bits 4-6: Transmit Threshold Control.

TQS

Bits 16-24: Transmit Queue Size.

MTLTxQUR

Tx queue underflow register

Offset: 0x104, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UFCNTOVF
N/A
UFFRMCNT
N/A
Toggle fields

UFFRMCNT

Bits 0-10: Underflow Packet Counter.

UFCNTOVF

Bit 11: Overflow Bit for Underflow Packet Counter.

MTLTxQDR

Tx queue debug Register

Offset: 0x108, size: 32, reset: 0x00000000, access: Unspecified

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
STXSTSF
N/A
PTXQ
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXSTSFSTS
N/A
TXQSTS
N/A
TWCSTS
N/A
TRCSTS
N/A
TXQPAUSED
N/A
Toggle fields

TXQPAUSED

Bit 0: Transmit Queue in Pause.

TRCSTS

Bits 1-2: MTL Tx Queue Read Controller Status.

TWCSTS

Bit 3: MTL Tx Queue Write Controller Status.

TXQSTS

Bit 4: MTL Tx Queue Not Empty Status.

TXSTSFSTS

Bit 5: MTL Tx Status FIFO Full Status.

PTXQ

Bits 16-18: Number of Packets in the Transmit Queue.

STXSTSF

Bits 20-22: Number of Status Words in Tx Status FIFO of Queue.

MTLQICSR

Queue interrupt control status Register

Offset: 0x12c, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RXOIE
N/A
RXOVFIS
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXUIE
N/A
TXUNFIS
N/A
Toggle fields

TXUNFIS

Bit 0: Transmit Queue Underflow Interrupt Status.

TXUIE

Bit 8: Transmit Queue Underflow Interrupt Enable.

RXOVFIS

Bit 16: Receive Queue Overflow Interrupt Status.

RXOIE

Bit 24: Receive Queue Overflow Interrupt Enable.

MTLRxQOMR

Rx queue operating mode register

Offset: 0x130, size: 32, reset: 0x00700000, access: Unspecified

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RQS
N/A
RFD
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RFD
N/A
RFA
N/A
EHFC
N/A
DIS_TCP_EF
N/A
RSF
N/A
FEP
N/A
FUP
N/A
RTC
N/A
Toggle fields

RTC

Bits 0-1: Receive Queue Threshold Control.

FUP

Bit 3: Forward Undersized Good Packets.

FEP

Bit 4: Forward Error Packets.

RSF

Bit 5: Receive Queue Store and Forward.

DIS_TCP_EF

Bit 6: Disable Dropping of TCP.

EHFC

Bit 7: Enable Hardware Flow Control.

RFA

Bits 8-10: Threshold for Activating Flow Control.

RFD

Bits 14-16: Threshold for Deactivating Flow Control.

RQS

Bits 20-22: Receive Queue Size.

MTLRxQMPOCR

Rx queue missed packet and overflow counter register

Offset: 0x134, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MISCNTOVF
N/A
MISPKTCNT
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVFCNTOVF
N/A
OVFPKTCNT
N/A
Toggle fields

OVFPKTCNT

Bits 0-10: Overflow Packet Counter.

OVFCNTOVF

Bit 11: Overflow Counter Overflow Bit.

MISPKTCNT

Bits 16-26: Missed Packet Counter.

MISCNTOVF

Bit 27: Missed Packet Counter Overflow Bit.

MTLRxQDR

Rx queue debug register

Offset: 0x138, size: 32, reset: 0x00000000, access: Unspecified

0/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRXQ
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXQSTS
N/A
RRCSTS
N/A
RWCSTS
N/A
Toggle fields

RWCSTS

Bit 0: MTL Rx Queue Write Controller Active Status.

RRCSTS

Bits 1-2: MTL Rx Queue Read Controller State.

RXQSTS

Bits 4-5: MTL Rx Queue Fill-Level Status.

PRXQ

Bits 16-29: Number of Packets in Receive Queue.

EXTI

0x58000000: External interrupt/event controller

544/544 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 D3PMR1
0x10 D3PCR1L
0x14 D3PCR1H
0x20 RTSR2
0x24 FTSR2
0x28 SWIER2
0x2c D3PMR2
0x30 D3PCR2L
0x34 D3PCR2H
0x40 RTSR3
0x44 FTSR3
0x48 SWIER3
0x4c D3PMR3
0x54 D3PCR3H
0x80 C1IMR1
0x84 C1EMR1
0x88 C1PR1
0x90 C1IMR2
0x94 C1EMR2
0x98 C1PR2
0xa0 C1IMR3
0xa4 C1EMR3
0xa8 C1PR3
0xc0 C2IMR1
0xc4 C2EMR1
0xc8 C2PR1
0xd0 C2IMR2
0xd4 C2EMR2
0xd8 C2PR2
0xe0 C2IMR3
0xe4 C2EMR3
0xe8 C2PR3
Toggle registers

RTSR1

EXTI rising trigger selection register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

22/22 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TR21
rw
TR20
rw
TR19
rw
TR18
rw
TR17
rw
TR16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TR15
rw
TR14
rw
TR13
rw
TR12
rw
TR11
rw
TR10
rw
TR9
rw
TR8
rw
TR7
rw
TR6
rw
TR5
rw
TR4
rw
TR3
rw
TR2
rw
TR1
rw
TR0
rw
Toggle fields

TR0

Bit 0: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR1

Bit 1: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR2

Bit 2: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR3

Bit 3: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR4

Bit 4: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR5

Bit 5: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR6

Bit 6: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR7

Bit 7: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR8

Bit 8: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR9

Bit 9: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR10

Bit 10: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR11

Bit 11: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR12

Bit 12: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR13

Bit 13: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR14

Bit 14: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR15

Bit 15: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR16

Bit 16: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR17

Bit 17: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR18

Bit 18: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR19

Bit 19: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR20

Bit 20: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR21

Bit 21: Rising trigger event configuration bit of Configurable Event input.

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

22/22 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TR21
rw
TR20
rw
TR19
rw
TR18
rw
TR17
rw
TR16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TR15
rw
TR14
rw
TR13
rw
TR12
rw
TR11
rw
TR10
rw
TR9
rw
TR8
rw
TR7
rw
TR6
rw
TR5
rw
TR4
rw
TR3
rw
TR2
rw
TR1
rw
TR0
rw
Toggle fields

TR0

Bit 0: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR1

Bit 1: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR2

Bit 2: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR3

Bit 3: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR4

Bit 4: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR5

Bit 5: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR6

Bit 6: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR7

Bit 7: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR8

Bit 8: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR9

Bit 9: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR10

Bit 10: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR11

Bit 11: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR12

Bit 12: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR13

Bit 13: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR14

Bit 14: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR15

Bit 15: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR16

Bit 16: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR17

Bit 17: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR18

Bit 18: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR19

Bit 19: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR20

Bit 20: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR21

Bit 21: Rising trigger event configuration bit of Configurable Event input.

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

22/22 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWIER21
rw
SWIER20
rw
SWIER19
rw
SWIER18
rw
SWIER17
rw
SWIER16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWIER15
rw
SWIER14
rw
SWIER13
rw
SWIER12
rw
SWIER11
rw
SWIER10
rw
SWIER9
rw
SWIER8
rw
SWIER7
rw
SWIER6
rw
SWIER5
rw
SWIER4
rw
SWIER3
rw
SWIER2
rw
SWIER1
rw
SWIER0
rw
Toggle fields

SWIER0

Bit 0: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER1

Bit 1: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER2

Bit 2: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER3

Bit 3: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER4

Bit 4: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER5

Bit 5: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER6

Bit 6: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER7

Bit 7: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER8

Bit 8: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER9

Bit 9: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER10

Bit 10: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER11

Bit 11: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER12

Bit 12: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER13

Bit 13: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER14

Bit 14: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER15

Bit 15: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER16

Bit 16: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER17

Bit 17: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER18

Bit 18: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER19

Bit 19: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER20

Bit 20: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

SWIER21

Bit 21: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
1: Pend: Generates an interrupt request

D3PMR1

EXTI D3 pending mask register

Offset: 0xc, 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
MR25
rw
MR21
rw
MR20
rw
MR19
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR15
rw
MR14
rw
MR13
rw
MR12
rw
MR11
rw
MR10
rw
MR9
rw
MR8
rw
MR7
rw
MR6
rw
MR5
rw
MR4
rw
MR3
rw
MR2
rw
MR1
rw
MR0
rw
Toggle fields

MR0

Bit 0: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR1

Bit 1: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR2

Bit 2: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR3

Bit 3: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR4

Bit 4: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR5

Bit 5: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR6

Bit 6: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR7

Bit 7: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR8

Bit 8: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR9

Bit 9: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR10

Bit 10: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR11

Bit 11: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR12

Bit 12: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR13

Bit 13: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR14

Bit 14: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR15

Bit 15: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR19

Bit 19: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR20

Bit 20: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR21

Bit 21: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR25

Bit 25: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

D3PCR1L

EXTI D3 pending clear selection register low

Offset: 0x10, 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
PCS15
rw
PCS14
rw
PCS13
rw
PCS12
rw
PCS11
rw
PCS10
rw
PCS9
rw
PCS8
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCS7
rw
PCS6
rw
PCS5
rw
PCS4
rw
PCS3
rw
PCS2
rw
PCS1
rw
PCS0
rw
Toggle fields

PCS0

Bits 0-1: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS1

Bits 2-3: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS2

Bits 4-5: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS3

Bits 6-7: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS4

Bits 8-9: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS5

Bits 10-11: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS6

Bits 12-13: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS7

Bits 14-15: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS8

Bits 16-17: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS9

Bits 18-19: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS10

Bits 20-21: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS11

Bits 22-23: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS12

Bits 24-25: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS13

Bits 26-27: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS14

Bits 28-29: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS15

Bits 30-31: D3 Pending request clear input signal selection on Event input x = truncate (n/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

D3PCR1H

EXTI D3 pending clear selection register high

Offset: 0x14, 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
PCS25
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCS21
rw
PCS20
rw
PCS19
rw
Toggle fields

PCS19

Bits 6-7: D3 Pending request clear input signal selection on Event input x = truncate ((n+32)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS20

Bits 8-9: D3 Pending request clear input signal selection on Event input x = truncate ((n+32)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS21

Bits 10-11: D3 Pending request clear input signal selection on Event input x = truncate ((n+32)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS25

Bits 18-19: D3 Pending request clear input signal selection on Event input x = truncate ((n+32)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

RTSR2

EXTI rising trigger selection 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
TR51
rw
TR49
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TR49

Bit 17: Rising trigger event configuration bit of Configurable Event input x+32.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR51

Bit 19: Rising trigger event configuration bit of Configurable Event input x+32.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

FTSR2

EXTI falling trigger selection 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
TR51
rw
TR49
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TR49

Bit 17: Falling trigger event configuration bit of Configurable Event input x+32.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR51

Bit 19: Falling trigger event configuration bit of Configurable Event input x+32.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

SWIER2

EXTI software interrupt event register

Offset: 0x28, 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
SWIER51
rw
SWIER49
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

SWIER49

Bit 17: Software interrupt on line x+32.

Allowed values:
1: Pend: Generates an interrupt request

SWIER51

Bit 19: Software interrupt on line x+32.

Allowed values:
1: Pend: Generates an interrupt request

D3PMR2

EXTI D3 pending mask register

Offset: 0x2c, 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
MR53
rw
MR52
rw
MR51
rw
MR50
rw
MR49
rw
MR48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR41
rw
MR35
rw
MR34
rw
Toggle fields

MR34

Bit 2: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR35

Bit 3: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR41

Bit 9: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR48

Bit 16: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR49

Bit 17: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR50

Bit 18: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR51

Bit 19: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR52

Bit 20: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR53

Bit 21: D3 Pending Mask on Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

D3PCR2L

EXTI D3 pending clear selection register low

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
PCS41
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PCS35
rw
PCS34
rw
Toggle fields

PCS34

Bits 4-5: D3 Pending request clear input signal selection on Event input x = truncate ((n+64)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS35

Bits 6-7: D3 Pending request clear input signal selection on Event input x = truncate ((n+64)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS41

Bits 18-19: D3 Pending request clear input signal selection on Event input x = truncate ((n+64)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

D3PCR2H

EXTI D3 pending clear selection register high

Offset: 0x34, 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
PCS53
rw
PCS52
rw
PCS51
rw
PCS50
rw
PCS49
rw
PCS48
rw
Toggle fields

PCS48

Bits 0-1: Pending request clear input signal selection on Event input x= truncate ((n+96)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS49

Bits 2-3: Pending request clear input signal selection on Event input x= truncate ((n+96)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS50

Bits 4-5: Pending request clear input signal selection on Event input x= truncate ((n+96)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS51

Bits 6-7: Pending request clear input signal selection on Event input x= truncate ((n+96)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS52

Bits 8-9: Pending request clear input signal selection on Event input x= truncate ((n+96)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

PCS53

Bits 10-11: Pending request clear input signal selection on Event input x= truncate ((n+96)/2).

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

RTSR3

EXTI rising trigger selection register

Offset: 0x40, 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
TR86
rw
TR85
rw
TR84
rw
TR82
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TR82

Bit 18: Rising trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR84

Bit 20: Rising trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR85

Bit 21: Rising trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

TR86

Bit 22: Rising trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled

FTSR3

EXTI falling trigger selection register

Offset: 0x44, 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
TR86
rw
TR85
rw
TR84
rw
TR82
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

TR82

Bit 18: Falling trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR84

Bit 20: Falling trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR85

Bit 21: Falling trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

TR86

Bit 22: Falling trigger event configuration bit of Configurable Event input x+64.

Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled

SWIER3

EXTI software interrupt event register

Offset: 0x48, 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
SWIER86
rw
SWIER85
rw
SWIER84
rw
SWIER82
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

SWIER82

Bit 18: Software interrupt on line x+64.

Allowed values:
1: Pend: Generates an interrupt request

SWIER84

Bit 20: Software interrupt on line x+64.

Allowed values:
1: Pend: Generates an interrupt request

SWIER85

Bit 21: Software interrupt on line x+64.

Allowed values:
1: Pend: Generates an interrupt request

SWIER86

Bit 22: Software interrupt on line x+64.

Allowed values:
1: Pend: Generates an interrupt request

D3PMR3

EXTI D3 pending mask 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
MR88
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

MR88

Bit 24: D3 Pending Mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

D3PCR3H

EXTI D3 pending clear selection register high

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PCS88
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PCS88

Bits 18-19: D3 Pending request clear input signal selection on Event input x= truncate N+160/2.

Allowed values:
0: DMA_CH6: DMA ch6 event selected as D3 domain pendclear source
1: DMA_CH7: DMA ch7 event selected as D3 domain pendclear source
2: LPTIM4: LPTIM4 out selected as D3 domain pendclear source
3: LPTIM5: LPTIM5 out selected as D3 domain pendclear source

C1IMR1

EXTI interrupt mask register

Offset: 0x80, size: 32, reset: 0xFFC00000, access: read-write

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR31
rw
MR30
rw
MR29
rw
MR28
rw
MR27
rw
MR26
rw
MR25
rw
MR24
rw
MR23
rw
MR22
rw
MR21
rw
MR20
rw
MR19
rw
MR18
rw
MR17
rw
MR16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR15
rw
MR14
rw
MR13
rw
MR12
rw
MR11
rw
MR10
rw
MR9
rw
MR8
rw
MR7
rw
MR6
rw
MR5
rw
MR4
rw
MR3
rw
MR2
rw
MR1
rw
MR0
rw
Toggle fields

MR0

Bit 0: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR1

Bit 1: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR2

Bit 2: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR3

Bit 3: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR4

Bit 4: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR5

Bit 5: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR6

Bit 6: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR7

Bit 7: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR8

Bit 8: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR9

Bit 9: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR10

Bit 10: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR11

Bit 11: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR12

Bit 12: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR13

Bit 13: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR14

Bit 14: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR15

Bit 15: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR16

Bit 16: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR17

Bit 17: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR18

Bit 18: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR19

Bit 19: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR20

Bit 20: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR21

Bit 21: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR22

Bit 22: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR23

Bit 23: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR24

Bit 24: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR25

Bit 25: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR26

Bit 26: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR27

Bit 27: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR28

Bit 28: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR29

Bit 29: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR30

Bit 30: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR31

Bit 31: Rising trigger event configuration bit of Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C1EMR1

EXTI 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
MR31
rw
MR30
rw
MR29
rw
MR28
rw
MR27
rw
MR26
rw
MR25
rw
MR24
rw
MR23
rw
MR22
rw
MR21
rw
MR20
rw
MR19
rw
MR18
rw
MR17
rw
MR16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR15
rw
MR14
rw
MR13
rw
MR12
rw
MR11
rw
MR10
rw
MR9
rw
MR8
rw
MR7
rw
MR6
rw
MR5
rw
MR4
rw
MR3
rw
MR2
rw
MR1
rw
MR0
rw
Toggle fields

MR0

Bit 0: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR1

Bit 1: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR2

Bit 2: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR3

Bit 3: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR4

Bit 4: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR5

Bit 5: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR6

Bit 6: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR7

Bit 7: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR8

Bit 8: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR9

Bit 9: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR10

Bit 10: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR11

Bit 11: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR12

Bit 12: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR13

Bit 13: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR14

Bit 14: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR15

Bit 15: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR16

Bit 16: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR17

Bit 17: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR18

Bit 18: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR19

Bit 19: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR20

Bit 20: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR21

Bit 21: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR22

Bit 22: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR23

Bit 23: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR24

Bit 24: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR25

Bit 25: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR26

Bit 26: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR27

Bit 27: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR28

Bit 28: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR29

Bit 29: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR30

Bit 30: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR31

Bit 31: CPU Event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C1PR1

EXTI pending register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-write

22/22 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PR21
rw
PR20
rw
PR19
rw
PR18
rw
PR17
rw
PR16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PR15
rw
PR14
rw
PR13
rw
PR12
rw
PR11
rw
PR10
rw
PR9
rw
PR8
rw
PR7
rw
PR6
rw
PR5
rw
PR4
rw
PR3
rw
PR2
rw
PR1
rw
PR0
rw
Toggle fields

PR0

Bit 0: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR1

Bit 1: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR2

Bit 2: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR3

Bit 3: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR4

Bit 4: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR5

Bit 5: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR6

Bit 6: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR7

Bit 7: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR8

Bit 8: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR9

Bit 9: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR10

Bit 10: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR11

Bit 11: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR12

Bit 12: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR13

Bit 13: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR14

Bit 14: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR15

Bit 15: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR16

Bit 16: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR17

Bit 17: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR18

Bit 18: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR19

Bit 19: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR20

Bit 20: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR21

Bit 21: CPU Event mask on Event input x.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

C1IMR2

EXTI interrupt mask register

Offset: 0x90, size: 32, reset: 0x00000000, access: read-write

31/31 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR31
rw
MR30
rw
MR29
rw
MR28
rw
MR27
rw
MR26
rw
MR25
rw
MR24
rw
MR23
rw
MR22
rw
MR21
rw
MR20
rw
MR19
rw
MR18
rw
MR17
rw
MR16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR15
rw
MR14
rw
MR12
rw
MR11
rw
MR10
rw
MR9
rw
MR8
rw
MR7
rw
MR6
rw
MR5
rw
MR4
rw
MR3
rw
MR2
rw
MR1
rw
MR0
rw
Toggle fields

MR0

Bit 0: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR1

Bit 1: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR2

Bit 2: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR3

Bit 3: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR4

Bit 4: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR5

Bit 5: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR6

Bit 6: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR7

Bit 7: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR8

Bit 8: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR9

Bit 9: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR10

Bit 10: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR11

Bit 11: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR12

Bit 12: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR14

Bit 14: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR15

Bit 15: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR16

Bit 16: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR17

Bit 17: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR18

Bit 18: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR19

Bit 19: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR20

Bit 20: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR21

Bit 21: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR22

Bit 22: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR23

Bit 23: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR24

Bit 24: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR25

Bit 25: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR26

Bit 26: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR27

Bit 27: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR28

Bit 28: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR29

Bit 29: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR30

Bit 30: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR31

Bit 31: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C1EMR2

EXTI event mask register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

31/31 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR63
rw
MR62
rw
MR61
rw
MR60
rw
MR59
rw
MR58
rw
MR57
rw
MR56
rw
MR55
rw
MR54
rw
MR53
rw
MR52
rw
MR51
rw
MR50
rw
MR49
rw
MR48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR47
rw
MR46
rw
MR44
rw
MR43
rw
MR42
rw
MR41
rw
MR40
rw
MR39
rw
MR38
rw
MR37
rw
MR36
rw
MR35
rw
MR34
rw
MR33
rw
MR32
rw
Toggle fields

MR32

Bit 0: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR33

Bit 1: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR34

Bit 2: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR35

Bit 3: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR36

Bit 4: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR37

Bit 5: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR38

Bit 6: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR39

Bit 7: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR40

Bit 8: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR41

Bit 9: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR42

Bit 10: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR43

Bit 11: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR44

Bit 12: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR46

Bit 14: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR47

Bit 15: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR48

Bit 16: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR49

Bit 17: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR50

Bit 18: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR51

Bit 19: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR52

Bit 20: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR53

Bit 21: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR54

Bit 22: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR55

Bit 23: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR56

Bit 24: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR57

Bit 25: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR58

Bit 26: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR59

Bit 27: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR60

Bit 28: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR61

Bit 29: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR62

Bit 30: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR63

Bit 31: CPU Interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C1PR2

EXTI pending register

Offset: 0x98, 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
PR51
rw
PR49
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PR49

Bit 17: Configurable event inputs x+32 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR51

Bit 19: Configurable event inputs x+32 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

C1IMR3

EXTI interrupt mask register

Offset: 0xa0, 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
MR88
rw
MR87
rw
MR86
rw
MR85
rw
MR84
rw
MR82
rw
MR80
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR79
rw
MR78
rw
MR77
rw
MR76
rw
MR75
rw
MR74
rw
MR73
rw
MR72
rw
MR71
rw
MR70
rw
MR69
rw
MR68
rw
MR67
rw
MR66
rw
MR65
rw
MR64
rw
Toggle fields

MR64

Bit 0: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR65

Bit 1: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR66

Bit 2: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR67

Bit 3: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR68

Bit 4: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR69

Bit 5: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR70

Bit 6: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR71

Bit 7: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR72

Bit 8: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR73

Bit 9: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR74

Bit 10: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR75

Bit 11: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR76

Bit 12: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR77

Bit 13: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR78

Bit 14: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR79

Bit 15: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR80

Bit 16: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR82

Bit 18: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR84

Bit 20: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR85

Bit 21: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR86

Bit 22: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR87

Bit 23: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR88

Bit 24: CPU Interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C1EMR3

EXTI event mask register

Offset: 0xa4, 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
MR88
rw
MR87
rw
MR86
rw
MR85
rw
MR84
rw
MR82
rw
MR80
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR79
rw
MR78
rw
MR77
rw
MR76
rw
MR75
rw
MR74
rw
MR73
rw
MR72
rw
MR71
rw
MR70
rw
MR69
rw
MR68
rw
MR67
rw
MR66
rw
MR65
rw
MR64
rw
Toggle fields

MR64

Bit 0: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR65

Bit 1: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR66

Bit 2: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR67

Bit 3: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR68

Bit 4: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR69

Bit 5: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR70

Bit 6: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR71

Bit 7: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR72

Bit 8: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR73

Bit 9: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR74

Bit 10: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR75

Bit 11: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR76

Bit 12: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR77

Bit 13: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR78

Bit 14: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR79

Bit 15: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR80

Bit 16: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR82

Bit 18: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR84

Bit 20: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR85

Bit 21: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR86

Bit 22: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR87

Bit 23: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR88

Bit 24: CPU Event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C1PR3

EXTI pending register

Offset: 0xa8, 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
PR86
rw
PR85
rw
PR84
rw
PR82
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PR82

Bit 18: Configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR84

Bit 20: Configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR85

Bit 21: Configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR86

Bit 22: Configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

C2IMR1

CPU2 EXTI interrupt mask register

Offset: 0xc0, size: 32, reset: 0xFFC00000, access: Unspecified

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR31
N/A
MR30
N/A
MR29
N/A
MR28
N/A
MR27
N/A
MR26
N/A
MR25
N/A
MR24
N/A
MR23
N/A
MR22
N/A
MR21
N/A
MR20
N/A
MR19
N/A
MR18
N/A
MR17
N/A
MR16
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR15
N/A
MR14
N/A
MR13
N/A
MR12
N/A
MR11
N/A
MR10
N/A
MR9
N/A
MR8
N/A
MR7
N/A
MR6
N/A
MR5
N/A
MR4
N/A
MR3
N/A
MR2
N/A
MR1
N/A
MR0
N/A
Toggle fields

MR0

Bit 0: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR1

Bit 1: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR2

Bit 2: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR3

Bit 3: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR4

Bit 4: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR5

Bit 5: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR6

Bit 6: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR7

Bit 7: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR8

Bit 8: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR9

Bit 9: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR10

Bit 10: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR11

Bit 11: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR12

Bit 12: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR13

Bit 13: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR14

Bit 14: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR15

Bit 15: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR16

Bit 16: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR17

Bit 17: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR18

Bit 18: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR19

Bit 19: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR20

Bit 20: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR21

Bit 21: CPU2 interrupt mask on Configurable Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR22

Bit 22: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR23

Bit 23: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR24

Bit 24: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR25

Bit 25: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR26

Bit 26: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR27

Bit 27: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR28

Bit 28: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR29

Bit 29: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR30

Bit 30: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR31

Bit 31: CPU2 interrupt mask on Direct Event input.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C2EMR1

CPU2 EXTI event mask register

Offset: 0xc4, size: 32, reset: 0x00000000, access: Unspecified

32/32 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR31
N/A
MR30
N/A
MR29
N/A
MR28
N/A
MR27
N/A
MR26
N/A
MR25
N/A
MR24
N/A
MR23
N/A
MR22
N/A
MR21
N/A
MR20
N/A
MR19
N/A
MR18
N/A
MR17
N/A
MR16
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR15
N/A
MR14
N/A
MR13
N/A
MR12
N/A
MR11
N/A
MR10
N/A
MR9
N/A
MR8
N/A
MR7
N/A
MR6
N/A
MR5
N/A
MR4
N/A
MR3
N/A
MR2
N/A
MR1
N/A
MR0
N/A
Toggle fields

MR0

Bit 0: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR1

Bit 1: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR2

Bit 2: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR3

Bit 3: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR4

Bit 4: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR5

Bit 5: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR6

Bit 6: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR7

Bit 7: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR8

Bit 8: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR9

Bit 9: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR10

Bit 10: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR11

Bit 11: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR12

Bit 12: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR13

Bit 13: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR14

Bit 14: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR15

Bit 15: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR16

Bit 16: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR17

Bit 17: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR18

Bit 18: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR19

Bit 19: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR20

Bit 20: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR21

Bit 21: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR22

Bit 22: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR23

Bit 23: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR24

Bit 24: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR25

Bit 25: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR26

Bit 26: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR27

Bit 27: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR28

Bit 28: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR29

Bit 29: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR30

Bit 30: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR31

Bit 31: CPU2 event mask on Event input x.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C2PR1

CPU2 EXTI pending register

Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified

22/22 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PR21
N/A
PR20
N/A
PR19
N/A
PR18
N/A
PR17
N/A
PR16
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PR15
N/A
PR14
N/A
PR13
N/A
PR12
N/A
PR11
N/A
PR10
N/A
PR9
N/A
PR8
N/A
PR7
N/A
PR6
N/A
PR5
N/A
PR4
N/A
PR3
N/A
PR2
N/A
PR1
N/A
PR0
N/A
Toggle fields

PR0

Bit 0: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR1

Bit 1: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR2

Bit 2: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR3

Bit 3: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR4

Bit 4: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR5

Bit 5: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR6

Bit 6: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR7

Bit 7: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR8

Bit 8: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR9

Bit 9: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR10

Bit 10: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR11

Bit 11: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR12

Bit 12: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR13

Bit 13: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR14

Bit 14: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR15

Bit 15: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR16

Bit 16: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR17

Bit 17: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR18

Bit 18: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR19

Bit 19: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR20

Bit 20: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR21

Bit 21: Configurable event input pending.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

C2IMR2

CPU2 EXTI interrupt mask register

Offset: 0xd0, size: 32, reset: 0xFFF5FFFF, access: Unspecified

31/31 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR63
N/A
MR62
N/A
MR61
N/A
MR60
N/A
MR59
N/A
MR58
N/A
MR57
N/A
MR56
N/A
MR55
N/A
MR54
N/A
MR53
N/A
MR52
N/A
MR51
N/A
MR50
N/A
MR49
N/A
MR48
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR47
N/A
MR46
N/A
MR44
N/A
MR43
N/A
MR42
N/A
MR41
N/A
MR40
N/A
MR39
N/A
MR38
N/A
MR37
N/A
MR36
N/A
MR35
N/A
MR34
N/A
MR33
N/A
MR32
N/A
Toggle fields

MR32

Bit 0: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR33

Bit 1: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR34

Bit 2: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR35

Bit 3: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR36

Bit 4: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR37

Bit 5: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR38

Bit 6: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR39

Bit 7: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR40

Bit 8: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR41

Bit 9: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR42

Bit 10: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR43

Bit 11: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR44

Bit 12: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR46

Bit 14: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR47

Bit 15: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR48

Bit 16: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR49

Bit 17: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR50

Bit 18: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR51

Bit 19: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR52

Bit 20: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR53

Bit 21: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR54

Bit 22: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR55

Bit 23: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR56

Bit 24: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR57

Bit 25: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR58

Bit 26: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR59

Bit 27: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR60

Bit 28: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR61

Bit 29: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR62

Bit 30: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR63

Bit 31: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C2EMR2

CPU2 EXTI event mask register

Offset: 0xd4, size: 32, reset: 0x00000000, access: Unspecified

31/31 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR63
N/A
MR62
N/A
MR61
N/A
MR60
N/A
MR59
N/A
MR58
N/A
MR57
N/A
MR56
N/A
MR55
N/A
MR54
N/A
MR53
N/A
MR52
N/A
MR51
N/A
MR50
N/A
MR49
N/A
MR48
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR47
N/A
MR46
N/A
MR44
N/A
MR43
N/A
MR42
N/A
MR41
N/A
MR40
N/A
MR39
N/A
MR38
N/A
MR37
N/A
MR36
N/A
MR35
N/A
MR34
N/A
MR33
N/A
MR32
N/A
Toggle fields

MR32

Bit 0: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR33

Bit 1: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR34

Bit 2: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR35

Bit 3: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR36

Bit 4: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR37

Bit 5: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR38

Bit 6: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR39

Bit 7: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR40

Bit 8: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR41

Bit 9: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR42

Bit 10: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR43

Bit 11: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR44

Bit 12: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR46

Bit 14: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR47

Bit 15: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR48

Bit 16: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR49

Bit 17: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR50

Bit 18: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR51

Bit 19: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR52

Bit 20: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR53

Bit 21: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR54

Bit 22: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR55

Bit 23: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR56

Bit 24: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR57

Bit 25: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR58

Bit 26: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR59

Bit 27: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR60

Bit 28: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR61

Bit 29: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR62

Bit 30: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR63

Bit 31: CPU2 interrupt Mask on Direct Event input x+32.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C2PR2

CPU2 EXTI pending register

Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PR51
N/A
PR49
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PR49

Bit 17: CPU2 configurable event inputs x+32 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR51

Bit 19: CPU2 configurable event inputs x+32 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

C2IMR3

CPU2 EXTI interrupt mask register

Offset: 0xe0, size: 32, reset: 0x018BFFFF, access: Unspecified

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR88
N/A
MR87
N/A
MR86
N/A
MR85
N/A
MR84
N/A
MR82
N/A
MR80
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR79
N/A
MR78
N/A
MR77
N/A
MR76
N/A
MR75
N/A
MR74
N/A
MR73
N/A
MR72
N/A
MR71
N/A
MR70
N/A
MR69
N/A
MR68
N/A
MR67
N/A
MR66
N/A
MR65
N/A
MR64
N/A
Toggle fields

MR64

Bit 0: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR65

Bit 1: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR66

Bit 2: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR67

Bit 3: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR68

Bit 4: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR69

Bit 5: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR70

Bit 6: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR71

Bit 7: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR72

Bit 8: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR73

Bit 9: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR74

Bit 10: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR75

Bit 11: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR76

Bit 12: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR77

Bit 13: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR78

Bit 14: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR79

Bit 15: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR80

Bit 16: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR82

Bit 18: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR84

Bit 20: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR85

Bit 21: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR86

Bit 22: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR87

Bit 23: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR88

Bit 24: CPU2 interrupt Mask on Direct Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C2EMR3

CPU2 EXTI event mask register

Offset: 0xe4, size: 32, reset: 0x00000000, access: Unspecified

23/23 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MR88
N/A
MR87
N/A
MR86
N/A
MR85
N/A
MR84
N/A
MR82
N/A
MR80
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MR79
N/A
MR78
N/A
MR77
N/A
MR76
N/A
MR75
N/A
MR74
N/A
MR73
N/A
MR72
N/A
MR71
N/A
MR70
N/A
MR69
N/A
MR68
N/A
MR67
N/A
MR66
N/A
MR65
N/A
MR64
N/A
Toggle fields

MR64

Bit 0: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR65

Bit 1: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR66

Bit 2: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR67

Bit 3: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR68

Bit 4: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR69

Bit 5: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR70

Bit 6: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR71

Bit 7: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR72

Bit 8: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR73

Bit 9: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR74

Bit 10: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR75

Bit 11: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR76

Bit 12: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR77

Bit 13: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR78

Bit 14: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR79

Bit 15: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR80

Bit 16: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR82

Bit 18: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR84

Bit 20: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR85

Bit 21: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR86

Bit 22: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR87

Bit 23: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

MR88

Bit 24: CPU2 event mask on Event input x+64.

Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked

C2PR3

CPU2 EXTI pending register

Offset: 0xe8, size: 32, reset: 0x00000000, access: Unspecified

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PR86
N/A
PR85
N/A
PR84
N/A
PR82
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PR82

Bit 18: CPU2 configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR84

Bit 20: CPU2 configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR85

Bit 21: CPU2 configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

PR86

Bit 22: CPU2 configurable event inputs x+64 Pending bit.

Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred

FDCAN1

0x4000a000: FDCAN1

26/397 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 GFC
0x84 SIDFC
0x88 XIDFC
0x90 XIDAM
0x94 HPMS
0x98 NDAT1
0x9c NDAT2
0xa0 RXF0C
0xa4 RXF0S
0xa8 RXF0A
0xac RXBC
0xb0 RXF1C
0xb4 RXF1S
0xb8 RXF1A
0xbc RXESC
0xc0 TXBC
0xc4 TXFQS
0xc8 TXESC
0xcc TXBRP
0xd0 TXBAR
0xd4 TXBCR
0xd8 TXBTO
0xdc TXBCF
0xe0 TXBTIE
0xe4 TXBCIE
0xf0 TXEFC
0xf4 TXEFS
0xf8 TXEFA
0x100 TTTMC
0x104 TTRMC
0x108 TTOCF
0x10c TTMLM
0x110 TURCF
0x114 TTOCN
0x118 TTGTP
0x11c TTTMK
0x120 TTIR
0x124 TTIE
0x128 TTILS
0x12c TTOST
0x130 TURNA
0x134 TTLGT
0x138 TTCTC
0x13c TTCPT
0x140 TTCSM
0x300 TTTS
Toggle registers

CREL

FDCAN Core Release Register

Offset: 0x0, 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
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: Timestamp Day.

MON

Bits 8-15: Timestamp Month.

YEAR

Bits 16-19: Timestamp Year.

SUBSTEP

Bits 20-23: Sub-step of Core release.

STEP

Bits 24-27: Step of Core release.

REL

Bits 28-31: Core release.

ENDN

FDCAN Core Release Register

Offset: 0x4, 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
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: Endiannes Test Value.

DBTP

FDCAN Data Bit Timing and Prescaler Register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 after 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

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
rw
TX
rw
LBCK
rw
Toggle fields

LBCK

Bit 4: Loop Back mode.

TX

Bits 5-6: Loop Back mode.

RX

Bit 7: Control of Transmit Pin.

RWD

FDCAN RAM Watchdog Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

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: 0x00000000, access: read-write

0/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
BSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
rw
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.

BSE

Bit 9: FDCAN Bit Rate Switching.

PXHD

Bit 12: Protocol Exception Handling Disable.

EFBI

Bit 13: Edge Filtering during Bus Integration.

TXP

Bit 14: TXP.

NISO

Bit 15: Non ISO Operation.

NBTP

FDCAN Nominal Bit Timing and Prescaler 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
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: NSJW: 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: 0x00000000, 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: Enable Timeout Counter.

TOS

Bits 1-2: Timeout Select.

TOP

Bits 16-31: Timeout Period.

TOCV

FDCAN Timeout Counter Value Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
rw
Toggle fields

TOC

Bits 0-15: Timeout Counter.

ECR

FDCAN Error Counter Register

Offset: 0x40, 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
CEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
rw
REC
rw
TEC
rw
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: AN Error Logging.

PSR

FDCAN Protocol Status 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
TDCV
rw
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
rw
EW
rw
EP
rw
ACT
rw
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 Status.

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/28 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
DRX
rw
TOO
rw
MRAF
rw
TSW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFL
rw
TEFF
rw
TEFW
rw
TEFN
rw
TEF
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1W
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0W
rw
RF0N
rw
Toggle fields

RF0N

Bit 0: Rx FIFO 0 New Message.

RF0W

Bit 1: Rx FIFO 0 Full.

RF0F

Bit 2: Rx FIFO 0 Full.

RF0L

Bit 3: Rx FIFO 0 Message Lost.

RF1N

Bit 4: Rx FIFO 1 New Message.

RF1W

Bit 5: Rx FIFO 1 Watermark Reached.

RF1F

Bit 6: Rx FIFO 1 Watermark Reached.

RF1L

Bit 7: Rx FIFO 1 Message Lost.

HPM

Bit 8: High Priority Message.

TC

Bit 9: Transmission Completed.

TCF

Bit 10: Transmission Cancellation Finished.

TEF

Bit 11: Tx FIFO Empty.

TEFN

Bit 12: Tx Event FIFO New Entry.

TEFW

Bit 13: Tx Event FIFO Watermark Reached.

TEFF

Bit 14: Tx Event FIFO Full.

TEFL

Bit 15: Tx Event FIFO Element Lost.

TSW

Bit 16: Timestamp Wraparound.

MRAF

Bit 17: Message RAM Access Failure.

TOO

Bit 18: Timeout Occurred.

DRX

Bit 19: Message stored to Dedicated Rx Buffer.

ELO

Bit 22: Error Logging Overflow.

EP

Bit 23: Error Passive.

EW

Bit 24: Warning Status.

BO

Bit 25: Bus_Off Status.

WDI

Bit 26: Watchdog Interrupt.

PEA

Bit 27: Protocol Error in Arbitration Phase (Nominal Bit Time is used).

PED

Bit 28: Protocol Error in Data Phase (Data Bit Time is used).

ARA

Bit 29: Access to Reserved Address.

IE

FDCAN Interrupt Enable Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 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
BEUE
rw
BECE
rw
DRXE
rw
TOOE
rw
MRAFE
rw
TSWE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLE
rw
TEFFE
rw
TEFWE
rw
TEFNE
rw
TEFE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1WE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0WE
rw
RF0NE
rw
Toggle fields

RF0NE

Bit 0: Rx FIFO 0 New Message Enable.

RF0WE

Bit 1: Rx FIFO 0 Full Enable.

RF0FE

Bit 2: Rx FIFO 0 Full Enable.

RF0LE

Bit 3: Rx FIFO 0 Message Lost Enable.

RF1NE

Bit 4: Rx FIFO 1 New Message Enable.

RF1WE

Bit 5: Rx FIFO 1 Watermark Reached Enable.

RF1FE

Bit 6: Rx FIFO 1 Watermark Reached Enable.

RF1LE

Bit 7: Rx FIFO 1 Message Lost Enable.

HPME

Bit 8: High Priority Message Enable.

TCE

Bit 9: Transmission Completed Enable.

TCFE

Bit 10: Transmission Cancellation Finished Enable.

TEFE

Bit 11: Tx FIFO Empty Enable.

TEFNE

Bit 12: Tx Event FIFO New Entry Enable.

TEFWE

Bit 13: Tx Event FIFO Watermark Reached Enable.

TEFFE

Bit 14: Tx Event FIFO Full Enable.

TEFLE

Bit 15: Tx Event FIFO Element Lost Enable.

TSWE

Bit 16: Timestamp Wraparound Enable.

MRAFE

Bit 17: Message RAM Access Failure Enable.

TOOE

Bit 18: Timeout Occurred Enable.

DRXE

Bit 19: Message stored to Dedicated Rx Buffer Enable.

BECE

Bit 20: Bit Error Corrected Interrupt Enable.

BEUE

Bit 21: Bit Error Uncorrected Interrupt Enable.

ELOE

Bit 22: Error Logging Overflow Enable.

EPE

Bit 23: Error Passive Enable.

EWE

Bit 24: Warning Status Enable.

BOE

Bit 25: Bus_Off Status Enable.

WDIE

Bit 26: Watchdog Interrupt Enable.

PEAE

Bit 27: Protocol Error in Arbitration Phase Enable.

PEDE

Bit 28: Protocol Error in Data Phase Enable.

ARAE

Bit 29: Access to Reserved Address Enable.

ILS

FDCAN Interrupt Line Select Register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAL
rw
PEDL
rw
PEAL
rw
WDIL
rw
BOL
rw
EWL
rw
EPL
rw
ELOL
rw
BEUL
rw
BECL
rw
DRXL
rw
TOOL
rw
MRAFL
rw
TSWL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLL
rw
TEFFL
rw
TEFWL
rw
TEFNL
rw
TEFL
rw
TCFL
rw
TCL
rw
HPML
rw
RF1LL
rw
RF1FL
rw
RF1WL
rw
RF1NL
rw
RF0LL
rw
RF0FL
rw
RF0WL
rw
RF0NL
rw
Toggle fields

RF0NL

Bit 0: Rx FIFO 0 New Message Interrupt Line.

RF0WL

Bit 1: Rx FIFO 0 Watermark Reached Interrupt Line.

RF0FL

Bit 2: Rx FIFO 0 Full Interrupt Line.

RF0LL

Bit 3: Rx FIFO 0 Message Lost Interrupt Line.

RF1NL

Bit 4: Rx FIFO 1 New Message Interrupt Line.

RF1WL

Bit 5: Rx FIFO 1 Watermark Reached Interrupt Line.

RF1FL

Bit 6: Rx FIFO 1 Full Interrupt Line.

RF1LL

Bit 7: Rx FIFO 1 Message Lost Interrupt Line.

HPML

Bit 8: High Priority Message Interrupt Line.

TCL

Bit 9: Transmission Completed Interrupt Line.

TCFL

Bit 10: Transmission Cancellation Finished Interrupt Line.

TEFL

Bit 11: Tx FIFO Empty Interrupt Line.

TEFNL

Bit 12: Tx Event FIFO New Entry Interrupt Line.

TEFWL

Bit 13: Tx Event FIFO Watermark Reached Interrupt Line.

TEFFL

Bit 14: Tx Event FIFO Full Interrupt Line.

TEFLL

Bit 15: Tx Event FIFO Element Lost Interrupt Line.

TSWL

Bit 16: Timestamp Wraparound Interrupt Line.

MRAFL

Bit 17: Message RAM Access Failure Interrupt Line.

TOOL

Bit 18: Timeout Occurred Interrupt Line.

DRXL

Bit 19: Message stored to Dedicated Rx Buffer Interrupt Line.

BECL

Bit 20: Bit Error Corrected Interrupt Line.

BEUL

Bit 21: Bit Error Uncorrected Interrupt Line.

ELOL

Bit 22: Error Logging Overflow Interrupt Line.

EPL

Bit 23: Error Passive Interrupt Line.

EWL

Bit 24: Warning Status Interrupt Line.

BOL

Bit 25: Bus_Off Status.

WDIL

Bit 26: Watchdog Interrupt Line.

PEAL

Bit 27: Protocol Error in Arbitration Phase Line.

PEDL

Bit 28: Protocol Error in Data Phase Line.

ARAL

Bit 29: Access to Reserved Address Line.

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.

GFC

FDCAN Global Filter Configuration Register

Offset: 0x80, 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
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.

SIDFC

FDCAN Standard ID Filter Configuration 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
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLSSA
rw
Toggle fields

FLSSA

Bits 2-15: Filter List Standard Start Address.

LSS

Bits 16-23: List Size Standard.

XIDFC

FDCAN Extended ID Filter Configuration Register

Offset: 0x88, 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
LSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLESA
rw
Toggle fields

FLESA

Bits 2-15: Filter List Standard Start Address.

LSE

Bits 16-23: List Size Extended.

XIDAM

FDCAN Extended ID and Mask Register

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
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: 0x94, 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-5: Buffer Index.

MSI

Bits 6-7: Message Storage Indicator.

FIDX

Bits 8-14: Filter Index.

FLST

Bit 15: Filter List.

NDAT1

FDCAN New Data 1 Register

Offset: 0x98, 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
ND31
rw
ND30
rw
ND29
rw
ND28
rw
ND27
rw
ND26
rw
ND25
rw
ND24
rw
ND23
rw
ND22
rw
ND21
rw
ND20
rw
ND19
rw
ND18
rw
ND17
rw
ND16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND15
rw
ND14
rw
ND13
rw
ND12
rw
ND11
rw
ND10
rw
ND9
rw
ND8
rw
ND7
rw
ND6
rw
ND5
rw
ND4
rw
ND3
rw
ND2
rw
ND1
rw
ND0
rw
Toggle fields

ND0

Bit 0: New data.

ND1

Bit 1: New data.

ND2

Bit 2: New data.

ND3

Bit 3: New data.

ND4

Bit 4: New data.

ND5

Bit 5: New data.

ND6

Bit 6: New data.

ND7

Bit 7: New data.

ND8

Bit 8: New data.

ND9

Bit 9: New data.

ND10

Bit 10: New data.

ND11

Bit 11: New data.

ND12

Bit 12: New data.

ND13

Bit 13: New data.

ND14

Bit 14: New data.

ND15

Bit 15: New data.

ND16

Bit 16: New data.

ND17

Bit 17: New data.

ND18

Bit 18: New data.

ND19

Bit 19: New data.

ND20

Bit 20: New data.

ND21

Bit 21: New data.

ND22

Bit 22: New data.

ND23

Bit 23: New data.

ND24

Bit 24: New data.

ND25

Bit 25: New data.

ND26

Bit 26: New data.

ND27

Bit 27: New data.

ND28

Bit 28: New data.

ND29

Bit 29: New data.

ND30

Bit 30: New data.

ND31

Bit 31: New data.

NDAT2

FDCAN New Data 2 Register

Offset: 0x9c, 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
ND63
rw
ND62
rw
ND61
rw
ND60
rw
ND59
rw
ND58
rw
ND57
rw
ND56
rw
ND55
rw
ND54
rw
ND53
rw
ND52
rw
ND51
rw
ND50
rw
ND49
rw
ND48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND47
rw
ND46
rw
ND45
rw
ND44
rw
ND43
rw
ND42
rw
ND41
rw
ND40
rw
ND39
rw
ND38
rw
ND37
rw
ND36
rw
ND35
rw
ND34
rw
ND33
rw
ND32
rw
Toggle fields

ND32

Bit 0: New data.

ND33

Bit 1: New data.

ND34

Bit 2: New data.

ND35

Bit 3: New data.

ND36

Bit 4: New data.

ND37

Bit 5: New data.

ND38

Bit 6: New data.

ND39

Bit 7: New data.

ND40

Bit 8: New data.

ND41

Bit 9: New data.

ND42

Bit 10: New data.

ND43

Bit 11: New data.

ND44

Bit 12: New data.

ND45

Bit 13: New data.

ND46

Bit 14: New data.

ND47

Bit 15: New data.

ND48

Bit 16: New data.

ND49

Bit 17: New data.

ND50

Bit 18: New data.

ND51

Bit 19: New data.

ND52

Bit 20: New data.

ND53

Bit 21: New data.

ND54

Bit 22: New data.

ND55

Bit 23: New data.

ND56

Bit 24: New data.

ND57

Bit 25: New data.

ND58

Bit 26: New data.

ND59

Bit 27: New data.

ND60

Bit 28: New data.

ND61

Bit 29: New data.

ND62

Bit 30: New data.

ND63

Bit 31: New data.

RXF0C

FDCAN Rx FIFO 0 Configuration Register

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
F0OM
rw
F0WM
rw
F0S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0SA
rw
Toggle fields

F0SA

Bits 2-15: Rx FIFO 0 Start Address.

F0S

Bits 16-22: Rx FIFO 0 Size.

F0WM

Bits 24-30: FIFO 0 Watermark.

F0OM

Bit 31: FIFO 0 operation mode.

RXF0S

FDCAN Rx FIFO 0 Status Register

Offset: 0xa4, 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
RF0L
rw
F0F
rw
F0PI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
rw
F0FL
rw
Toggle fields

F0FL

Bits 0-6: Rx FIFO 0 Fill Level.

F0GI

Bits 8-13: Rx FIFO 0 Get Index.

F0PI

Bits 16-21: 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: 0xa8, 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-5: Rx FIFO 0 Acknowledge Index.

RXBC

FDCAN Rx Buffer Configuration Register

Offset: 0xac, 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
RBSA
rw
Toggle fields

RBSA

Bits 2-15: Rx Buffer Start Address.

RXF1C

FDCAN Rx FIFO 1 Configuration Register

Offset: 0xb0, 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
F1OM
rw
F1WM
rw
F1S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1SA
rw
Toggle fields

F1SA

Bits 2-15: Rx FIFO 1 Start Address.

F1S

Bits 16-22: Rx FIFO 1 Size.

F1WM

Bits 24-30: Rx FIFO 1 Watermark.

F1OM

Bit 31: FIFO 1 operation mode.

RXF1S

FDCAN Rx FIFO 1 Status Register

Offset: 0xb4, 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
DMS
rw
RF1L
rw
F1F
rw
F1PI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
rw
F1FL
rw
Toggle fields

F1FL

Bits 0-6: Rx FIFO 1 Fill Level.

F1GI

Bits 8-14: Rx FIFO 1 Get Index.

F1PI

Bits 16-22: Rx FIFO 1 Put Index.

F1F

Bit 24: Rx FIFO 1 Full.

RF1L

Bit 25: Rx FIFO 1 Message Lost.

DMS

Bits 30-31: Debug Message Status.

RXF1A

FDCAN Rx FIFO 1 Acknowledge Register

Offset: 0xb8, 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-5: Rx FIFO 1 Acknowledge Index.

RXESC

FDCAN Rx Buffer Element Size Configuration Register

Offset: 0xbc, 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
RBDS
rw
F1DS
rw
F0DS
rw
Toggle fields

F0DS

Bits 0-2: Rx FIFO 1 Data Field Size:.

F1DS

Bits 4-6: Rx FIFO 0 Data Field Size:.

RBDS

Bits 8-10: Rx Buffer Data Field Size:.

TXBC

FDCAN Tx Buffer Configuration Register

Offset: 0xc0, 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
TFQM
rw
TFQS
rw
NDTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TBSA
rw
Toggle fields

TBSA

Bits 2-15: Tx Buffers Start Address.

NDTB

Bits 16-21: Number of Dedicated Transmit Buffers.

TFQS

Bits 24-29: Transmit FIFO/Queue Size.

TFQM

Bit 30: Tx FIFO/Queue Mode.

TXFQS

FDCAN Tx FIFO/Queue Status Register

Offset: 0xc4, 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
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-5: Tx FIFO Free Level.

TFGI

Bits 8-12: TFGI.

TFQPI

Bits 16-20: Tx FIFO/Queue Put Index.

TFQF

Bit 21: Tx FIFO/Queue Full.

TXESC

FDCAN Tx Buffer Element Size Configuration 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
TBDS
rw
Toggle fields

TBDS

Bits 0-2: Tx Buffer Data Field Size:.

TXBRP

FDCAN Tx Buffer Request Pending Register

Offset: 0xcc, 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
TRP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
r
Toggle fields

TRP

Bits 0-31: Transmission Request Pending.

TXBAR

FDCAN Tx Buffer Add Request Register

Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle fields

AR

Bits 0-31: Add Request.

TXBCR

FDCAN Tx Buffer Cancellation Request Register

Offset: 0xd4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle fields

CR

Bits 0-31: Cancellation Request.

TXBTO

FDCAN Tx Buffer Transmission Occurred Register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
rw
Toggle fields

TO

Bits 0-31: Transmission Occurred..

TXBCF

FDCAN Tx Buffer Cancellation Finished Register

Offset: 0xdc, 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
CF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
r
Toggle fields

CF

Bits 0-31: Cancellation Finished.

TXBTIE

FDCAN Tx Buffer Transmission Interrupt Enable Register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle fields

TIE

Bits 0-31: Transmission Interrupt Enable.

TXBCIE

FDCAN Tx Buffer Cancellation Finished Interrupt Enable Register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
rw
Toggle fields

CF

Bits 0-31: Cancellation Finished Interrupt Enable.

TXEFC

FDCAN Tx Event FIFO Configuration Register

Offset: 0xf0, 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
EFWM
rw
EFS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFSA
rw
Toggle fields

EFSA

Bits 2-15: Event FIFO Start Address.

EFS

Bits 16-21: Event FIFO Size.

EFWM

Bits 24-29: Event FIFO Watermark.

TXEFS

FDCAN Tx Event FIFO Status Register

Offset: 0xf4, 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
TEFL
rw
EFF
rw
EFPI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
rw
EFFL
rw
Toggle fields

EFFL

Bits 0-5: Event FIFO Fill Level.

EFGI

Bits 8-12: Event FIFO Get Index..

EFPI

Bits 16-20: 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: 0xf8, 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-4: Event FIFO Acknowledge Index.

TTTMC

FDCAN TT Trigger Memory Configuration Register

Offset: 0x100, 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
TME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMSA
rw
Toggle fields

TMSA

Bits 2-15: Trigger Memory Start Address.

TME

Bits 16-22: Trigger Memory Elements.

TTRMC

FDCAN TT Reference Message Configuration Register

Offset: 0x104, 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
RMPS
rw
XTD
rw
RID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RID
rw
Toggle fields

RID

Bits 0-28: Reference Identifier..

XTD

Bit 30: Extended Identifier.

RMPS

Bit 31: Reference Message Payload Select.

TTOCF

FDCAN TT Operation Configuration Register

Offset: 0x108, 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
EVTP
rw
ECC
rw
EGTF
rw
AWL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EECS
rw
IRTO
rw
LDSDL
rw
TM
rw
GEN
rw
OM
rw
Toggle fields

OM

Bits 0-1: Operation Mode.

GEN

Bit 3: Gap Enable.

TM

Bit 4: Time Master.

LDSDL

Bits 5-7: LD of Synchronization Deviation Limit.

IRTO

Bits 8-14: Initial Reference Trigger Offset.

EECS

Bit 15: Enable External Clock Synchronization.

AWL

Bits 16-23: Application Watchdog Limit.

EGTF

Bit 24: Enable Global Time Filtering.

ECC

Bit 25: Enable Clock Calibration.

EVTP

Bit 26: Event Trigger Polarity.

TTMLM

FDCAN TT Matrix Limits Register

Offset: 0x10c, 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
ENTT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXEW
rw
CSS
rw
CCM
rw
Toggle fields

CCM

Bits 0-5: Cycle Count Max.

CSS

Bits 6-7: Cycle Start Synchronization.

TXEW

Bits 8-11: Tx Enable Window.

ENTT

Bits 16-27: Expected Number of Tx Triggers.

TURCF

FDCAN TUR Configuration Register

Offset: 0x110, 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
ELT
rw
DC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NCL
rw
Toggle fields

NCL

Bits 0-15: Numerator Configuration Low..

DC

Bits 16-29: Denominator Configuration..

ELT

Bit 31: Enable Local Time.

TTOCN

FDCAN TT Operation Control Register

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCKC
rw
ESCN
rw
NIG
rw
TMG
rw
FGP
rw
GCS
rw
TTIE
rw
TMC
rw
RTIE
rw
SWS
rw
SWP
rw
ECS
rw
SGT
rw
Toggle fields

SGT

Bit 0: Set Global time.

ECS

Bit 1: External Clock Synchronization.

SWP

Bit 2: Stop Watch Polarity.

SWS

Bits 3-4: Stop Watch Source..

RTIE

Bit 5: Register Time Mark Interrupt Pulse Enable.

TMC

Bits 6-7: Register Time Mark Compare.

TTIE

Bit 8: Trigger Time Mark Interrupt Pulse Enable.

GCS

Bit 9: Gap Control Select.

FGP

Bit 10: Finish Gap..

TMG

Bit 11: Time Mark Gap.

NIG

Bit 12: Next is Gap.

ESCN

Bit 13: External Synchronization Control.

LCKC

Bit 15: TT Operation Control Register Locked.

TTGTP

FDCAN TT Global Time Preset Register

Offset: 0x118, 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
CTP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NCL
rw
Toggle fields

NCL

Bits 0-15: Time Preset.

CTP

Bits 16-31: Cycle Time Target Phase.

TTTMK

FDCAN TT Time Mark Register

Offset: 0x11c, 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
LCKM
rw
TICC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TM
rw
Toggle fields

TM

Bits 0-15: Time Mark.

TICC

Bits 16-22: Time Mark Cycle Code.

LCKM

Bit 31: TT Time Mark Register Locked.

TTIR

FDCAN TT Interrupt Register

Offset: 0x120, 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
CER
rw
AW
rw
WT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWTG
rw
ELC
rw
SE2
rw
SE1
rw
TXO
rw
TXU
rw
GTE
rw
GTD
rw
GTW
rw
SWE
rw
TTMI
rw
RTMI
rw
SOG
rw
CSM
rw
SMC
rw
SBC
rw
Toggle fields

SBC

Bit 0: Start of Basic Cycle.

SMC

Bit 1: Start of Matrix Cycle.

CSM

Bit 2: Change of Synchronization Mode.

SOG

Bit 3: Start of Gap.

RTMI

Bit 4: Register Time Mark Interrupt..

TTMI

Bit 5: Trigger Time Mark Event Internal.

SWE

Bit 6: Stop Watch Event.

GTW

Bit 7: Global Time Wrap.

GTD

Bit 8: Global Time Discontinuity.

GTE

Bit 9: Global Time Error.

TXU

Bit 10: Tx Count Underflow.

TXO

Bit 11: Tx Count Overflow.

SE1

Bit 12: Scheduling Error 1.

SE2

Bit 13: Scheduling Error 2.

ELC

Bit 14: Error Level Changed..

IWTG

Bit 15: Initialization Watch Trigger.

WT

Bit 16: Watch Trigger.

AW

Bit 17: Application Watchdog.

CER

Bit 18: Configuration Error.

TTIE

FDCAN TT Interrupt Enable Register

Offset: 0x124, 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
CERE
rw
AWE
rw
WTE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWTGE
rw
ELCE
rw
SE2E
rw
SE1E
rw
TXOE
rw
TXUE
rw
GTEE
rw
GTDE
rw
GTWE
rw
SWEE
rw
TTMIE
rw
RTMIE
rw
SOGE
rw
CSME
rw
SMCE
rw
SBCE
rw
Toggle fields

SBCE

Bit 0: Start of Basic Cycle Interrupt Enable.

SMCE

Bit 1: Start of Matrix Cycle Interrupt Enable.

CSME

Bit 2: Change of Synchronization Mode Interrupt Enable.

SOGE

Bit 3: Start of Gap Interrupt Enable.

RTMIE

Bit 4: Register Time Mark Interrupt Enable.

TTMIE

Bit 5: Trigger Time Mark Event Internal Interrupt Enable.

SWEE

Bit 6: Stop Watch Event Interrupt Enable.

GTWE

Bit 7: Global Time Wrap Interrupt Enable.

GTDE

Bit 8: Global Time Discontinuity Interrupt Enable.

GTEE

Bit 9: Global Time Error Interrupt Enable.

TXUE

Bit 10: Tx Count Underflow Interrupt Enable.

TXOE

Bit 11: Tx Count Overflow Interrupt Enable.

SE1E

Bit 12: Scheduling Error 1 Interrupt Enable.

SE2E

Bit 13: Scheduling Error 2 Interrupt Enable.

ELCE

Bit 14: Change Error Level Interrupt Enable.

IWTGE

Bit 15: Initialization Watch Trigger Interrupt Enable.

WTE

Bit 16: Watch Trigger Interrupt Enable.

AWE

Bit 17: Application Watchdog Interrupt Enable.

CERE

Bit 18: Configuration Error Interrupt Enable.

TTILS

FDCAN TT Interrupt Line Select Register

Offset: 0x128, 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
CERL
rw
AWL
rw
WTL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWTGL
rw
ELCL
rw
SE2L
rw
SE1L
rw
TXOL
rw
TXUL
rw
GTEL
rw
GTDL
rw
GTWL
rw
SWEL
rw
TTMIL
rw
RTMIL
rw
SOGL
rw
CSML
rw
SMCL
rw
SBCL
rw
Toggle fields

SBCL

Bit 0: Start of Basic Cycle Interrupt Line.

SMCL

Bit 1: Start of Matrix Cycle Interrupt Line.

CSML

Bit 2: Change of Synchronization Mode Interrupt Line.

SOGL

Bit 3: Start of Gap Interrupt Line.

RTMIL

Bit 4: Register Time Mark Interrupt Line.

TTMIL

Bit 5: Trigger Time Mark Event Internal Interrupt Line.

SWEL

Bit 6: Stop Watch Event Interrupt Line.

GTWL

Bit 7: Global Time Wrap Interrupt Line.

GTDL

Bit 8: Global Time Discontinuity Interrupt Line.

GTEL

Bit 9: Global Time Error Interrupt Line.

TXUL

Bit 10: Tx Count Underflow Interrupt Line.

TXOL

Bit 11: Tx Count Overflow Interrupt Line.

SE1L

Bit 12: Scheduling Error 1 Interrupt Line.

SE2L

Bit 13: Scheduling Error 2 Interrupt Line.

ELCL

Bit 14: Change Error Level Interrupt Line.

IWTGL

Bit 15: Initialization Watch Trigger Interrupt Line.

WTL

Bit 16: Watch Trigger Interrupt Line.

AWL

Bit 17: Application Watchdog Interrupt Line.

CERL

Bit 18: Configuration Error Interrupt Line.

TTOST

FDCAN TT Operation Status Register

Offset: 0x12c, 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
SPL
rw
WECS
rw
AWE
rw
WFE
rw
GSI
rw
TMP
rw
GFI
rw
WGTD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
QCS
rw
QGTP
rw
SYS
rw
MS
rw
EL
rw
Toggle fields

EL

Bits 0-1: Error Level.

MS

Bits 2-3: Master State..

SYS

Bits 4-5: Synchronization State.

QGTP

Bit 6: Quality of Global Time Phase.

QCS

Bit 7: Quality of Clock Speed.

RTO

Bits 8-15: Reference Trigger Offset.

WGTD

Bit 22: Wait for Global Time Discontinuity.

GFI

Bit 23: Gap Finished Indicator..

TMP

Bits 24-26: Time Master Priority.

GSI

Bit 27: Gap Started Indicator..

WFE

Bit 28: Wait for Event.

AWE

Bit 29: Application Watchdog Event.

WECS

Bit 30: Wait for External Clock Synchronization.

SPL

Bit 31: Schedule Phase Lock.

TURNA

FDCAN TUR Numerator Actual Register

Offset: 0x130, 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
NAV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAV
r
Toggle fields

NAV

Bits 0-17: Numerator Actual Value.

TTLGT

FDCAN TT Local and Global Time Register

Offset: 0x134, 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
GT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT
r
Toggle fields

LT

Bits 0-15: Local Time.

GT

Bits 16-31: Global Time.

TTCTC

FDCAN TT Cycle Time and Count Register

Offset: 0x138, 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
CC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CT
r
Toggle fields

CT

Bits 0-15: Cycle Time.

CC

Bits 16-21: Cycle Count.

TTCPT

FDCAN TT Capture Time Register

Offset: 0x13c, 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
SWV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCV
r
Toggle fields

CCV

Bits 0-5: Cycle Count Value.

SWV

Bits 16-31: Stop Watch Value.

TTCSM

FDCAN TT Cycle Sync Mark Register

Offset: 0x140, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSM
r
Toggle fields

CSM

Bits 0-15: Cycle Sync Mark.

TTTS

FDCAN TT Trigger Select Register

Offset: 0x300, 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
EVTSEL
rw
SWTDEL
rw
Toggle fields

SWTDEL

Bits 0-1: Stop watch trigger input selection.

EVTSEL

Bits 4-5: Event trigger input selection.

FDCAN2

0x4000a400: FDCAN1

26/397 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 GFC
0x84 SIDFC
0x88 XIDFC
0x90 XIDAM
0x94 HPMS
0x98 NDAT1
0x9c NDAT2
0xa0 RXF0C
0xa4 RXF0S
0xa8 RXF0A
0xac RXBC
0xb0 RXF1C
0xb4 RXF1S
0xb8 RXF1A
0xbc RXESC
0xc0 TXBC
0xc4 TXFQS
0xc8 TXESC
0xcc TXBRP
0xd0 TXBAR
0xd4 TXBCR
0xd8 TXBTO
0xdc TXBCF
0xe0 TXBTIE
0xe4 TXBCIE
0xf0 TXEFC
0xf4 TXEFS
0xf8 TXEFA
0x100 TTTMC
0x104 TTRMC
0x108 TTOCF
0x10c TTMLM
0x110 TURCF
0x114 TTOCN
0x118 TTGTP
0x11c TTTMK
0x120 TTIR
0x124 TTIE
0x128 TTILS
0x12c TTOST
0x130 TURNA
0x134 TTLGT
0x138 TTCTC
0x13c TTCPT
0x140 TTCSM
0x300 TTTS
Toggle registers

CREL

FDCAN Core Release Register

Offset: 0x0, 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
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: Timestamp Day.

MON

Bits 8-15: Timestamp Month.

YEAR

Bits 16-19: Timestamp Year.

SUBSTEP

Bits 20-23: Sub-step of Core release.

STEP

Bits 24-27: Step of Core release.

REL

Bits 28-31: Core release.

ENDN

FDCAN Core Release Register

Offset: 0x4, 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
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: Endiannes Test Value.

DBTP

FDCAN Data Bit Timing and Prescaler Register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 after 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

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RX
rw
TX
rw
LBCK
rw
Toggle fields

LBCK

Bit 4: Loop Back mode.

TX

Bits 5-6: Loop Back mode.

RX

Bit 7: Control of Transmit Pin.

RWD

FDCAN RAM Watchdog Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-only

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: 0x00000000, access: read-write

0/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
BSE
rw
FDOE
rw
TEST
rw
DAR
rw
MON
rw
CSR
rw
CSA
rw
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.

BSE

Bit 9: FDCAN Bit Rate Switching.

PXHD

Bit 12: Protocol Exception Handling Disable.

EFBI

Bit 13: Edge Filtering during Bus Integration.

TXP

Bit 14: TXP.

NISO

Bit 15: Non ISO Operation.

NBTP

FDCAN Nominal Bit Timing and Prescaler 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
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: NSJW: 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: 0x00000000, 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: Enable Timeout Counter.

TOS

Bits 1-2: Timeout Select.

TOP

Bits 16-31: Timeout Period.

TOCV

FDCAN Timeout Counter Value Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOC
rw
Toggle fields

TOC

Bits 0-15: Timeout Counter.

ECR

FDCAN Error Counter Register

Offset: 0x40, 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
CEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RP
rw
REC
rw
TEC
rw
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: AN Error Logging.

PSR

FDCAN Protocol Status 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
TDCV
rw
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
rw
EW
rw
EP
rw
ACT
rw
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 Status.

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/28 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
DRX
rw
TOO
rw
MRAF
rw
TSW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFL
rw
TEFF
rw
TEFW
rw
TEFN
rw
TEF
rw
TCF
rw
TC
rw
HPM
rw
RF1L
rw
RF1F
rw
RF1W
rw
RF1N
rw
RF0L
rw
RF0F
rw
RF0W
rw
RF0N
rw
Toggle fields

RF0N

Bit 0: Rx FIFO 0 New Message.

RF0W

Bit 1: Rx FIFO 0 Full.

RF0F

Bit 2: Rx FIFO 0 Full.

RF0L

Bit 3: Rx FIFO 0 Message Lost.

RF1N

Bit 4: Rx FIFO 1 New Message.

RF1W

Bit 5: Rx FIFO 1 Watermark Reached.

RF1F

Bit 6: Rx FIFO 1 Watermark Reached.

RF1L

Bit 7: Rx FIFO 1 Message Lost.

HPM

Bit 8: High Priority Message.

TC

Bit 9: Transmission Completed.

TCF

Bit 10: Transmission Cancellation Finished.

TEF

Bit 11: Tx FIFO Empty.

TEFN

Bit 12: Tx Event FIFO New Entry.

TEFW

Bit 13: Tx Event FIFO Watermark Reached.

TEFF

Bit 14: Tx Event FIFO Full.

TEFL

Bit 15: Tx Event FIFO Element Lost.

TSW

Bit 16: Timestamp Wraparound.

MRAF

Bit 17: Message RAM Access Failure.

TOO

Bit 18: Timeout Occurred.

DRX

Bit 19: Message stored to Dedicated Rx Buffer.

ELO

Bit 22: Error Logging Overflow.

EP

Bit 23: Error Passive.

EW

Bit 24: Warning Status.

BO

Bit 25: Bus_Off Status.

WDI

Bit 26: Watchdog Interrupt.

PEA

Bit 27: Protocol Error in Arbitration Phase (Nominal Bit Time is used).

PED

Bit 28: Protocol Error in Data Phase (Data Bit Time is used).

ARA

Bit 29: Access to Reserved Address.

IE

FDCAN Interrupt Enable Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 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
BEUE
rw
BECE
rw
DRXE
rw
TOOE
rw
MRAFE
rw
TSWE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLE
rw
TEFFE
rw
TEFWE
rw
TEFNE
rw
TEFE
rw
TCFE
rw
TCE
rw
HPME
rw
RF1LE
rw
RF1FE
rw
RF1WE
rw
RF1NE
rw
RF0LE
rw
RF0FE
rw
RF0WE
rw
RF0NE
rw
Toggle fields

RF0NE

Bit 0: Rx FIFO 0 New Message Enable.

RF0WE

Bit 1: Rx FIFO 0 Full Enable.

RF0FE

Bit 2: Rx FIFO 0 Full Enable.

RF0LE

Bit 3: Rx FIFO 0 Message Lost Enable.

RF1NE

Bit 4: Rx FIFO 1 New Message Enable.

RF1WE

Bit 5: Rx FIFO 1 Watermark Reached Enable.

RF1FE

Bit 6: Rx FIFO 1 Watermark Reached Enable.

RF1LE

Bit 7: Rx FIFO 1 Message Lost Enable.

HPME

Bit 8: High Priority Message Enable.

TCE

Bit 9: Transmission Completed Enable.

TCFE

Bit 10: Transmission Cancellation Finished Enable.

TEFE

Bit 11: Tx FIFO Empty Enable.

TEFNE

Bit 12: Tx Event FIFO New Entry Enable.

TEFWE

Bit 13: Tx Event FIFO Watermark Reached Enable.

TEFFE

Bit 14: Tx Event FIFO Full Enable.

TEFLE

Bit 15: Tx Event FIFO Element Lost Enable.

TSWE

Bit 16: Timestamp Wraparound Enable.

MRAFE

Bit 17: Message RAM Access Failure Enable.

TOOE

Bit 18: Timeout Occurred Enable.

DRXE

Bit 19: Message stored to Dedicated Rx Buffer Enable.

BECE

Bit 20: Bit Error Corrected Interrupt Enable.

BEUE

Bit 21: Bit Error Uncorrected Interrupt Enable.

ELOE

Bit 22: Error Logging Overflow Enable.

EPE

Bit 23: Error Passive Enable.

EWE

Bit 24: Warning Status Enable.

BOE

Bit 25: Bus_Off Status Enable.

WDIE

Bit 26: Watchdog Interrupt Enable.

PEAE

Bit 27: Protocol Error in Arbitration Phase Enable.

PEDE

Bit 28: Protocol Error in Data Phase Enable.

ARAE

Bit 29: Access to Reserved Address Enable.

ILS

FDCAN Interrupt Line Select Register

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ARAL
rw
PEDL
rw
PEAL
rw
WDIL
rw
BOL
rw
EWL
rw
EPL
rw
ELOL
rw
BEUL
rw
BECL
rw
DRXL
rw
TOOL
rw
MRAFL
rw
TSWL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEFLL
rw
TEFFL
rw
TEFWL
rw
TEFNL
rw
TEFL
rw
TCFL
rw
TCL
rw
HPML
rw
RF1LL
rw
RF1FL
rw
RF1WL
rw
RF1NL
rw
RF0LL
rw
RF0FL
rw
RF0WL
rw
RF0NL
rw
Toggle fields

RF0NL

Bit 0: Rx FIFO 0 New Message Interrupt Line.

RF0WL

Bit 1: Rx FIFO 0 Watermark Reached Interrupt Line.

RF0FL

Bit 2: Rx FIFO 0 Full Interrupt Line.

RF0LL

Bit 3: Rx FIFO 0 Message Lost Interrupt Line.

RF1NL

Bit 4: Rx FIFO 1 New Message Interrupt Line.

RF1WL

Bit 5: Rx FIFO 1 Watermark Reached Interrupt Line.

RF1FL

Bit 6: Rx FIFO 1 Full Interrupt Line.

RF1LL

Bit 7: Rx FIFO 1 Message Lost Interrupt Line.

HPML

Bit 8: High Priority Message Interrupt Line.

TCL

Bit 9: Transmission Completed Interrupt Line.

TCFL

Bit 10: Transmission Cancellation Finished Interrupt Line.

TEFL

Bit 11: Tx FIFO Empty Interrupt Line.

TEFNL

Bit 12: Tx Event FIFO New Entry Interrupt Line.

TEFWL

Bit 13: Tx Event FIFO Watermark Reached Interrupt Line.

TEFFL

Bit 14: Tx Event FIFO Full Interrupt Line.

TEFLL

Bit 15: Tx Event FIFO Element Lost Interrupt Line.

TSWL

Bit 16: Timestamp Wraparound Interrupt Line.

MRAFL

Bit 17: Message RAM Access Failure Interrupt Line.

TOOL

Bit 18: Timeout Occurred Interrupt Line.

DRXL

Bit 19: Message stored to Dedicated Rx Buffer Interrupt Line.

BECL

Bit 20: Bit Error Corrected Interrupt Line.

BEUL

Bit 21: Bit Error Uncorrected Interrupt Line.

ELOL

Bit 22: Error Logging Overflow Interrupt Line.

EPL

Bit 23: Error Passive Interrupt Line.

EWL

Bit 24: Warning Status Interrupt Line.

BOL

Bit 25: Bus_Off Status.

WDIL

Bit 26: Watchdog Interrupt Line.

PEAL

Bit 27: Protocol Error in Arbitration Phase Line.

PEDL

Bit 28: Protocol Error in Data Phase Line.

ARAL

Bit 29: Access to Reserved Address Line.

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.

GFC

FDCAN Global Filter Configuration Register

Offset: 0x80, 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
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.

SIDFC

FDCAN Standard ID Filter Configuration 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
LSS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLSSA
rw
Toggle fields

FLSSA

Bits 2-15: Filter List Standard Start Address.

LSS

Bits 16-23: List Size Standard.

XIDFC

FDCAN Extended ID Filter Configuration Register

Offset: 0x88, 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
LSE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLESA
rw
Toggle fields

FLESA

Bits 2-15: Filter List Standard Start Address.

LSE

Bits 16-23: List Size Extended.

XIDAM

FDCAN Extended ID and Mask Register

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
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: 0x94, 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-5: Buffer Index.

MSI

Bits 6-7: Message Storage Indicator.

FIDX

Bits 8-14: Filter Index.

FLST

Bit 15: Filter List.

NDAT1

FDCAN New Data 1 Register

Offset: 0x98, 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
ND31
rw
ND30
rw
ND29
rw
ND28
rw
ND27
rw
ND26
rw
ND25
rw
ND24
rw
ND23
rw
ND22
rw
ND21
rw
ND20
rw
ND19
rw
ND18
rw
ND17
rw
ND16
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND15
rw
ND14
rw
ND13
rw
ND12
rw
ND11
rw
ND10
rw
ND9
rw
ND8
rw
ND7
rw
ND6
rw
ND5
rw
ND4
rw
ND3
rw
ND2
rw
ND1
rw
ND0
rw
Toggle fields

ND0

Bit 0: New data.

ND1

Bit 1: New data.

ND2

Bit 2: New data.

ND3

Bit 3: New data.

ND4

Bit 4: New data.

ND5

Bit 5: New data.

ND6

Bit 6: New data.

ND7

Bit 7: New data.

ND8

Bit 8: New data.

ND9

Bit 9: New data.

ND10

Bit 10: New data.

ND11

Bit 11: New data.

ND12

Bit 12: New data.

ND13

Bit 13: New data.

ND14

Bit 14: New data.

ND15

Bit 15: New data.

ND16

Bit 16: New data.

ND17

Bit 17: New data.

ND18

Bit 18: New data.

ND19

Bit 19: New data.

ND20

Bit 20: New data.

ND21

Bit 21: New data.

ND22

Bit 22: New data.

ND23

Bit 23: New data.

ND24

Bit 24: New data.

ND25

Bit 25: New data.

ND26

Bit 26: New data.

ND27

Bit 27: New data.

ND28

Bit 28: New data.

ND29

Bit 29: New data.

ND30

Bit 30: New data.

ND31

Bit 31: New data.

NDAT2

FDCAN New Data 2 Register

Offset: 0x9c, 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
ND63
rw
ND62
rw
ND61
rw
ND60
rw
ND59
rw
ND58
rw
ND57
rw
ND56
rw
ND55
rw
ND54
rw
ND53
rw
ND52
rw
ND51
rw
ND50
rw
ND49
rw
ND48
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ND47
rw
ND46
rw
ND45
rw
ND44
rw
ND43
rw
ND42
rw
ND41
rw
ND40
rw
ND39
rw
ND38
rw
ND37
rw
ND36
rw
ND35
rw
ND34
rw
ND33
rw
ND32
rw
Toggle fields

ND32

Bit 0: New data.

ND33

Bit 1: New data.

ND34

Bit 2: New data.

ND35

Bit 3: New data.

ND36

Bit 4: New data.

ND37

Bit 5: New data.

ND38

Bit 6: New data.

ND39

Bit 7: New data.

ND40

Bit 8: New data.

ND41

Bit 9: New data.

ND42

Bit 10: New data.

ND43

Bit 11: New data.

ND44

Bit 12: New data.

ND45

Bit 13: New data.

ND46

Bit 14: New data.

ND47

Bit 15: New data.

ND48

Bit 16: New data.

ND49

Bit 17: New data.

ND50

Bit 18: New data.

ND51

Bit 19: New data.

ND52

Bit 20: New data.

ND53

Bit 21: New data.

ND54

Bit 22: New data.

ND55

Bit 23: New data.

ND56

Bit 24: New data.

ND57

Bit 25: New data.

ND58

Bit 26: New data.

ND59

Bit 27: New data.

ND60

Bit 28: New data.

ND61

Bit 29: New data.

ND62

Bit 30: New data.

ND63

Bit 31: New data.

RXF0C

FDCAN Rx FIFO 0 Configuration Register

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
F0OM
rw
F0WM
rw
F0S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0SA
rw
Toggle fields

F0SA

Bits 2-15: Rx FIFO 0 Start Address.

F0S

Bits 16-22: Rx FIFO 0 Size.

F0WM

Bits 24-30: FIFO 0 Watermark.

F0OM

Bit 31: FIFO 0 operation mode.

RXF0S

FDCAN Rx FIFO 0 Status Register

Offset: 0xa4, 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
RF0L
rw
F0F
rw
F0PI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F0GI
rw
F0FL
rw
Toggle fields

F0FL

Bits 0-6: Rx FIFO 0 Fill Level.

F0GI

Bits 8-13: Rx FIFO 0 Get Index.

F0PI

Bits 16-21: 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: 0xa8, 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-5: Rx FIFO 0 Acknowledge Index.

RXBC

FDCAN Rx Buffer Configuration Register

Offset: 0xac, 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
RBSA
rw
Toggle fields

RBSA

Bits 2-15: Rx Buffer Start Address.

RXF1C

FDCAN Rx FIFO 1 Configuration Register

Offset: 0xb0, 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
F1OM
rw
F1WM
rw
F1S
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1SA
rw
Toggle fields

F1SA

Bits 2-15: Rx FIFO 1 Start Address.

F1S

Bits 16-22: Rx FIFO 1 Size.

F1WM

Bits 24-30: Rx FIFO 1 Watermark.

F1OM

Bit 31: FIFO 1 operation mode.

RXF1S

FDCAN Rx FIFO 1 Status Register

Offset: 0xb4, 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
DMS
rw
RF1L
rw
F1F
rw
F1PI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F1GI
rw
F1FL
rw
Toggle fields

F1FL

Bits 0-6: Rx FIFO 1 Fill Level.

F1GI

Bits 8-14: Rx FIFO 1 Get Index.

F1PI

Bits 16-22: Rx FIFO 1 Put Index.

F1F

Bit 24: Rx FIFO 1 Full.

RF1L

Bit 25: Rx FIFO 1 Message Lost.

DMS

Bits 30-31: Debug Message Status.

RXF1A

FDCAN Rx FIFO 1 Acknowledge Register

Offset: 0xb8, 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-5: Rx FIFO 1 Acknowledge Index.

RXESC

FDCAN Rx Buffer Element Size Configuration Register

Offset: 0xbc, 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
RBDS
rw
F1DS
rw
F0DS
rw
Toggle fields

F0DS

Bits 0-2: Rx FIFO 1 Data Field Size:.

F1DS

Bits 4-6: Rx FIFO 0 Data Field Size:.

RBDS

Bits 8-10: Rx Buffer Data Field Size:.

TXBC

FDCAN Tx Buffer Configuration Register

Offset: 0xc0, 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
TFQM
rw
TFQS
rw
NDTB
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TBSA
rw
Toggle fields

TBSA

Bits 2-15: Tx Buffers Start Address.

NDTB

Bits 16-21: Number of Dedicated Transmit Buffers.

TFQS

Bits 24-29: Transmit FIFO/Queue Size.

TFQM

Bit 30: Tx FIFO/Queue Mode.

TXFQS

FDCAN Tx FIFO/Queue Status Register

Offset: 0xc4, 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
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-5: Tx FIFO Free Level.

TFGI

Bits 8-12: TFGI.

TFQPI

Bits 16-20: Tx FIFO/Queue Put Index.

TFQF

Bit 21: Tx FIFO/Queue Full.

TXESC

FDCAN Tx Buffer Element Size Configuration 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
TBDS
rw
Toggle fields

TBDS

Bits 0-2: Tx Buffer Data Field Size:.

TXBRP

FDCAN Tx Buffer Request Pending Register

Offset: 0xcc, 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
TRP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRP
r
Toggle fields

TRP

Bits 0-31: Transmission Request Pending.

TXBAR

FDCAN Tx Buffer Add Request Register

Offset: 0xd0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AR
rw
Toggle fields

AR

Bits 0-31: Add Request.

TXBCR

FDCAN Tx Buffer Cancellation Request Register

Offset: 0xd4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CR
rw
Toggle fields

CR

Bits 0-31: Cancellation Request.

TXBTO

FDCAN Tx Buffer Transmission Occurred Register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TO
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO
rw
Toggle fields

TO

Bits 0-31: Transmission Occurred..

TXBCF

FDCAN Tx Buffer Cancellation Finished Register

Offset: 0xdc, 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
CF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
r
Toggle fields

CF

Bits 0-31: Cancellation Finished.

TXBTIE

FDCAN Tx Buffer Transmission Interrupt Enable Register

Offset: 0xe0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIE
rw
Toggle fields

TIE

Bits 0-31: Transmission Interrupt Enable.

TXBCIE

FDCAN Tx Buffer Cancellation Finished Interrupt Enable Register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CF
rw
Toggle fields

CF

Bits 0-31: Cancellation Finished Interrupt Enable.

TXEFC

FDCAN Tx Event FIFO Configuration Register

Offset: 0xf0, 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
EFWM
rw
EFS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFSA
rw
Toggle fields

EFSA

Bits 2-15: Event FIFO Start Address.

EFS

Bits 16-21: Event FIFO Size.

EFWM

Bits 24-29: Event FIFO Watermark.

TXEFS

FDCAN Tx Event FIFO Status Register

Offset: 0xf4, 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
TEFL
rw
EFF
rw
EFPI
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EFGI
rw
EFFL
rw
Toggle fields

EFFL

Bits 0-5: Event FIFO Fill Level.

EFGI

Bits 8-12: Event FIFO Get Index..

EFPI

Bits 16-20: 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: 0xf8, 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-4: Event FIFO Acknowledge Index.

TTTMC

FDCAN TT Trigger Memory Configuration Register

Offset: 0x100, 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
TME
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TMSA
rw
Toggle fields

TMSA

Bits 2-15: Trigger Memory Start Address.

TME

Bits 16-22: Trigger Memory Elements.

TTRMC

FDCAN TT Reference Message Configuration Register

Offset: 0x104, 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
RMPS
rw
XTD
rw
RID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RID
rw
Toggle fields

RID

Bits 0-28: Reference Identifier..

XTD

Bit 30: Extended Identifier.

RMPS

Bit 31: Reference Message Payload Select.

TTOCF

FDCAN TT Operation Configuration Register

Offset: 0x108, 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
EVTP
rw
ECC
rw
EGTF
rw
AWL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EECS
rw
IRTO
rw
LDSDL
rw
TM
rw
GEN
rw
OM
rw
Toggle fields

OM

Bits 0-1: Operation Mode.

GEN

Bit 3: Gap Enable.

TM

Bit 4: Time Master.

LDSDL

Bits 5-7: LD of Synchronization Deviation Limit.

IRTO

Bits 8-14: Initial Reference Trigger Offset.

EECS

Bit 15: Enable External Clock Synchronization.

AWL

Bits 16-23: Application Watchdog Limit.

EGTF

Bit 24: Enable Global Time Filtering.

ECC

Bit 25: Enable Clock Calibration.

EVTP

Bit 26: Event Trigger Polarity.

TTMLM

FDCAN TT Matrix Limits Register

Offset: 0x10c, 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
ENTT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXEW
rw
CSS
rw
CCM
rw
Toggle fields

CCM

Bits 0-5: Cycle Count Max.

CSS

Bits 6-7: Cycle Start Synchronization.

TXEW

Bits 8-11: Tx Enable Window.

ENTT

Bits 16-27: Expected Number of Tx Triggers.

TURCF

FDCAN TUR Configuration Register

Offset: 0x110, 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
ELT
rw
DC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NCL
rw
Toggle fields

NCL

Bits 0-15: Numerator Configuration Low..

DC

Bits 16-29: Denominator Configuration..

ELT

Bit 31: Enable Local Time.

TTOCN

FDCAN TT Operation Control Register

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

0/13 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LCKC
rw
ESCN
rw
NIG
rw
TMG
rw
FGP
rw
GCS
rw
TTIE
rw
TMC
rw
RTIE
rw
SWS
rw
SWP
rw
ECS
rw
SGT
rw
Toggle fields

SGT

Bit 0: Set Global time.

ECS

Bit 1: External Clock Synchronization.

SWP

Bit 2: Stop Watch Polarity.

SWS

Bits 3-4: Stop Watch Source..

RTIE

Bit 5: Register Time Mark Interrupt Pulse Enable.

TMC

Bits 6-7: Register Time Mark Compare.

TTIE

Bit 8: Trigger Time Mark Interrupt Pulse Enable.

GCS

Bit 9: Gap Control Select.

FGP

Bit 10: Finish Gap..

TMG

Bit 11: Time Mark Gap.

NIG

Bit 12: Next is Gap.

ESCN

Bit 13: External Synchronization Control.

LCKC

Bit 15: TT Operation Control Register Locked.

TTGTP

FDCAN TT Global Time Preset Register

Offset: 0x118, 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
CTP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NCL
rw
Toggle fields

NCL

Bits 0-15: Time Preset.

CTP

Bits 16-31: Cycle Time Target Phase.

TTTMK

FDCAN TT Time Mark Register

Offset: 0x11c, 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
LCKM
rw
TICC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TM
rw
Toggle fields

TM

Bits 0-15: Time Mark.

TICC

Bits 16-22: Time Mark Cycle Code.

LCKM

Bit 31: TT Time Mark Register Locked.

TTIR

FDCAN TT Interrupt Register

Offset: 0x120, 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
CER
rw
AW
rw
WT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWTG
rw
ELC
rw
SE2
rw
SE1
rw
TXO
rw
TXU
rw
GTE
rw
GTD
rw
GTW
rw
SWE
rw
TTMI
rw
RTMI
rw
SOG
rw
CSM
rw
SMC
rw
SBC
rw
Toggle fields

SBC

Bit 0: Start of Basic Cycle.

SMC

Bit 1: Start of Matrix Cycle.

CSM

Bit 2: Change of Synchronization Mode.

SOG

Bit 3: Start of Gap.

RTMI

Bit 4: Register Time Mark Interrupt..

TTMI

Bit 5: Trigger Time Mark Event Internal.

SWE

Bit 6: Stop Watch Event.

GTW

Bit 7: Global Time Wrap.

GTD

Bit 8: Global Time Discontinuity.

GTE

Bit 9: Global Time Error.

TXU

Bit 10: Tx Count Underflow.

TXO

Bit 11: Tx Count Overflow.

SE1

Bit 12: Scheduling Error 1.

SE2

Bit 13: Scheduling Error 2.

ELC

Bit 14: Error Level Changed..

IWTG

Bit 15: Initialization Watch Trigger.

WT

Bit 16: Watch Trigger.

AW

Bit 17: Application Watchdog.

CER

Bit 18: Configuration Error.

TTIE

FDCAN TT Interrupt Enable Register

Offset: 0x124, 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
CERE
rw
AWE
rw
WTE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWTGE
rw
ELCE
rw
SE2E
rw
SE1E
rw
TXOE
rw
TXUE
rw
GTEE
rw
GTDE
rw
GTWE
rw
SWEE
rw
TTMIE
rw
RTMIE
rw
SOGE
rw
CSME
rw
SMCE
rw
SBCE
rw
Toggle fields

SBCE

Bit 0: Start of Basic Cycle Interrupt Enable.

SMCE

Bit 1: Start of Matrix Cycle Interrupt Enable.

CSME

Bit 2: Change of Synchronization Mode Interrupt Enable.

SOGE

Bit 3: Start of Gap Interrupt Enable.

RTMIE

Bit 4: Register Time Mark Interrupt Enable.

TTMIE

Bit 5: Trigger Time Mark Event Internal Interrupt Enable.

SWEE

Bit 6: Stop Watch Event Interrupt Enable.

GTWE

Bit 7: Global Time Wrap Interrupt Enable.

GTDE

Bit 8: Global Time Discontinuity Interrupt Enable.

GTEE

Bit 9: Global Time Error Interrupt Enable.

TXUE

Bit 10: Tx Count Underflow Interrupt Enable.

TXOE

Bit 11: Tx Count Overflow Interrupt Enable.

SE1E

Bit 12: Scheduling Error 1 Interrupt Enable.

SE2E

Bit 13: Scheduling Error 2 Interrupt Enable.

ELCE

Bit 14: Change Error Level Interrupt Enable.

IWTGE

Bit 15: Initialization Watch Trigger Interrupt Enable.

WTE

Bit 16: Watch Trigger Interrupt Enable.

AWE

Bit 17: Application Watchdog Interrupt Enable.

CERE

Bit 18: Configuration Error Interrupt Enable.

TTILS

FDCAN TT Interrupt Line Select Register

Offset: 0x128, 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
CERL
rw
AWL
rw
WTL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWTGL
rw
ELCL
rw
SE2L
rw
SE1L
rw
TXOL
rw
TXUL
rw
GTEL
rw
GTDL
rw
GTWL
rw
SWEL
rw
TTMIL
rw
RTMIL
rw
SOGL
rw
CSML
rw
SMCL
rw
SBCL
rw
Toggle fields

SBCL

Bit 0: Start of Basic Cycle Interrupt Line.

SMCL

Bit 1: Start of Matrix Cycle Interrupt Line.

CSML

Bit 2: Change of Synchronization Mode Interrupt Line.

SOGL

Bit 3: Start of Gap Interrupt Line.

RTMIL

Bit 4: Register Time Mark Interrupt Line.

TTMIL

Bit 5: Trigger Time Mark Event Internal Interrupt Line.

SWEL

Bit 6: Stop Watch Event Interrupt Line.

GTWL

Bit 7: Global Time Wrap Interrupt Line.

GTDL

Bit 8: Global Time Discontinuity Interrupt Line.

GTEL

Bit 9: Global Time Error Interrupt Line.

TXUL

Bit 10: Tx Count Underflow Interrupt Line.

TXOL

Bit 11: Tx Count Overflow Interrupt Line.

SE1L

Bit 12: Scheduling Error 1 Interrupt Line.

SE2L

Bit 13: Scheduling Error 2 Interrupt Line.

ELCL

Bit 14: Change Error Level Interrupt Line.

IWTGL

Bit 15: Initialization Watch Trigger Interrupt Line.

WTL

Bit 16: Watch Trigger Interrupt Line.

AWL

Bit 17: Application Watchdog Interrupt Line.

CERL

Bit 18: Configuration Error Interrupt Line.

TTOST

FDCAN TT Operation Status Register

Offset: 0x12c, 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
SPL
rw
WECS
rw
AWE
rw
WFE
rw
GSI
rw
TMP
rw
GFI
rw
WGTD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTO
rw
QCS
rw
QGTP
rw
SYS
rw
MS
rw
EL
rw
Toggle fields

EL

Bits 0-1: Error Level.

MS

Bits 2-3: Master State..

SYS

Bits 4-5: Synchronization State.

QGTP

Bit 6: Quality of Global Time Phase.

QCS

Bit 7: Quality of Clock Speed.

RTO

Bits 8-15: Reference Trigger Offset.

WGTD

Bit 22: Wait for Global Time Discontinuity.

GFI

Bit 23: Gap Finished Indicator..

TMP

Bits 24-26: Time Master Priority.

GSI

Bit 27: Gap Started Indicator..

WFE

Bit 28: Wait for Event.

AWE

Bit 29: Application Watchdog Event.

WECS

Bit 30: Wait for External Clock Synchronization.

SPL

Bit 31: Schedule Phase Lock.

TURNA

FDCAN TUR Numerator Actual Register

Offset: 0x130, 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
NAV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAV
r
Toggle fields

NAV

Bits 0-17: Numerator Actual Value.

TTLGT

FDCAN TT Local and Global Time Register

Offset: 0x134, 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
GT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LT
r
Toggle fields

LT

Bits 0-15: Local Time.

GT

Bits 16-31: Global Time.

TTCTC

FDCAN TT Cycle Time and Count Register

Offset: 0x138, 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
CC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CT
r
Toggle fields

CT

Bits 0-15: Cycle Time.

CC

Bits 16-21: Cycle Count.

TTCPT

FDCAN TT Capture Time Register

Offset: 0x13c, 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
SWV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCV
r
Toggle fields

CCV

Bits 0-5: Cycle Count Value.

SWV

Bits 16-31: Stop Watch Value.

TTCSM

FDCAN TT Cycle Sync Mark Register

Offset: 0x140, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSM
r
Toggle fields

CSM

Bits 0-15: Cycle Sync Mark.

TTTS

FDCAN TT Trigger Select Register

Offset: 0x300, 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
EVTSEL
rw
SWTDEL
rw
Toggle fields

SWTDEL

Bits 0-1: Stop watch trigger input selection.

EVTSEL

Bits 4-5: Event trigger input selection.

FLASH

0x52002000: Embedded Flash Memory

0/253 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 KEYR [1]
0x8 OPTKEYR
0xc CR [1]
0x10 SR [1]
0x14 CCR [1]
0x18 OPTCR
0x1c OPTSR_CUR
0x20 OPTSR_PRG
0x24 OPTCCR
0x28 PRAR_CUR [1]
0x2c PRAR_PRG [1]
0x30 SCAR_CUR [1]
0x34 SCAR_PRG [1]
0x38 WPSN_CURR [1]
0x3c WPSN_PRGR [1]
0x40 BOOT7_CURR
0x44 BOOT7_PRGR
0x48 BOOT4_CURR
0x4c BOOT4_PRGR
0x50 CRCCR [1]
0x54 CRCSADDR [1]
0x58 CRCEADDR [1]
0x5c CRCDATAR
0x60 FAR [1]
0x100 ACR_
0x104 KEYR [2]
0x108 OPTKEYR_
0x10c CR [2]
0x110 SR [2]
0x114 CCR [2]
0x118 OPTCR_
0x11c OPTSR_CUR_
0x120 OPTSR_PRG_
0x124 OPTCCR_
0x128 PRAR_CUR [2]
0x12c PRAR_PRG [2]
0x130 SCAR_CUR [2]
0x134 SCAR_PRG [2]
0x138 WPSN_CURR [2]
0x13c WPSN_PRGR [2]
0x140 BOOT7_CURR_
0x144 BOOT7_PRGR_
0x148 BOOT4_CURR_
0x14c BOOT4_PRGR_
0x150 CRCCR [2]
0x154 CRCSADDR [2]
0x158 CRCEADDR [2]
0x160 FAR [2]
Toggle registers

ACR

FLASH access control register

Offset: 0x0, size: 32, reset: 0x00000037, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRHIGHFREQ
N/A
LATENCY
N/A
Toggle fields

LATENCY

Bits 0-3: Read latency.

WRHIGHFREQ

Bits 4-5: Flash signal delay.

KEYR [1]

FLASH key register for bank 1

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
KEYR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEYR
w
Toggle fields

KEYR

Bits 0-31: Bank access configuration unlock key.

OPTKEYR

FLASH option 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
OPTKEYR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPTKEYR
w
Toggle fields

OPTKEYR

Bits 0-31: FLASH option bytes control access unlock key.

CR [1]

FLASH control register for bank 1

Offset: 0xc, size: 32, reset: 0x00000031, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCRDERRIE
N/A
CRCENDIE
N/A
DBECCERRIE
N/A
SNECCERRIE
N/A
RDSERRIE
N/A
RDPERRIE
N/A
OPERRIE
N/A
INCERRIE
N/A
STRBERRIE
N/A
PGSERRIE
N/A
WRPERRIE
N/A
EOPIE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_EN
N/A
SNB
N/A
START
N/A
FW
N/A
PSIZE
N/A
BER
N/A
SER
N/A
PG
N/A
LOCK
N/A
Toggle fields

LOCK

Bit 0: Bank 1 configuration lock bit.

PG

Bit 1: Bank 1 internal buffer control bit.

SER

Bit 2: Bank 1 sector erase request.

BER

Bit 3: Bank 1 erase request.

PSIZE

Bits 4-5: Bank 1 program size.

FW

Bit 6: Bank 1 write forcing control bit.

START

Bit 7: Bank 1 erase start control bit.

SNB

Bits 8-10: Bank 1 sector erase selection number.

CRC_EN

Bit 15: Bank 1 CRC control bit.

EOPIE

Bit 16: Bank 1 end-of-program interrupt control bit.

WRPERRIE

Bit 17: Bank 1 write protection error interrupt enable bit.

PGSERRIE

Bit 18: Bank 1 programming sequence error interrupt enable bit.

STRBERRIE

Bit 19: Bank 1 strobe error interrupt enable bit.

INCERRIE

Bit 21: Bank 1 inconsistency error interrupt enable bit.

OPERRIE

Bit 22: Bank 1 write.

RDPERRIE

Bit 23: Bank 1 read protection error interrupt enable bit.

RDSERRIE

Bit 24: Bank 1 secure error interrupt enable bit.

SNECCERRIE

Bit 25: Bank 1 ECC single correction error interrupt enable bit.

DBECCERRIE

Bit 26: Bank 1 ECC double detection error interrupt enable bit.

CRCENDIE

Bit 27: Bank 1 CRC end of calculation interrupt enable bit.

CRCRDERRIE

Bit 28: Bank 1 CRC read error interrupt enable bit.

SR [1]

FLASH status register for bank 1

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCRDERR
N/A
CRCEND
N/A
DBECCERR
N/A
SNECCERR
N/A
RDSERR
N/A
RDPERR
N/A
OPERR
N/A
INCERR
N/A
STRBERR
N/A
PGSERR
N/A
WRPERR
N/A
EOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_BUSY
N/A
QW
N/A
WBNE
N/A
BSY
N/A
Toggle fields

BSY

Bit 0: Bank 1 busy flag.

WBNE

Bit 1: Bank 1 write buffer not empty flag.

QW

Bit 2: Bank 1 wait queue flag.

CRC_BUSY

Bit 3: Bank 1 CRC busy flag.

EOP

Bit 16: Bank 1 end-of-program flag.

WRPERR

Bit 17: Bank 1 write protection error flag.

PGSERR

Bit 18: Bank 1 programming sequence error flag.

STRBERR

Bit 19: Bank 1 strobe error flag.

INCERR

Bit 21: Bank 1 inconsistency error flag.

OPERR

Bit 22: Bank 1 write.

RDPERR

Bit 23: Bank 1 read protection error flag.

RDSERR

Bit 24: Bank 1 secure error flag.

SNECCERR

Bit 25: Bank 1 single correction error flag.

DBECCERR

Bit 26: Bank 1 ECC double detection error flag.

CRCEND

Bit 27: Bank 1 CRC end of calculation flag.

CRCRDERR

Bit 28: Bank 1 CRC read error flag.

CCR [1]

FLASH clear control register for bank 1

Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_CRCRDERR
N/A
CLR_CRCEND
N/A
CLR_DBECCERR
N/A
CLR_SNECCERR
N/A
CLR_RDSERR
N/A
CLR_RDPERR
N/A
CLR_OPERR
N/A
CLR_INCERR
N/A
CLR_STRBERR
N/A
CLR_PGSERR
N/A
CLR_WRPERR
N/A
CLR_EOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_EOP

Bit 16: Bank 1 EOP1 flag clear bit.

CLR_WRPERR

Bit 17: Bank 1 WRPERR1 flag clear bit.

CLR_PGSERR

Bit 18: Bank 1 PGSERR1 flag clear bit.

CLR_STRBERR

Bit 19: Bank 1 STRBERR1 flag clear bit.

CLR_INCERR

Bit 21: Bank 1 INCERR1 flag clear bit.

CLR_OPERR

Bit 22: Bank 1 OPERR1 flag clear bit.

CLR_RDPERR

Bit 23: Bank 1 RDPERR1 flag clear bit.

CLR_RDSERR

Bit 24: Bank 1 RDSERR1 flag clear bit.

CLR_SNECCERR

Bit 25: Bank 1 SNECCERR1 flag clear bit.

CLR_DBECCERR

Bit 26: Bank 1 DBECCERR1 flag clear bit.

CLR_CRCEND

Bit 27: Bank 1 CRCEND1 flag clear bit.

CLR_CRCRDERR

Bit 28: Bank 1 CRCRDERR1 flag clear bit.

OPTCR

FLASH option control register

Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
N/A
OPTCHANGEERRIE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MER
N/A
OPTSTART
N/A
OPTLOCK
N/A
Toggle fields

OPTLOCK

Bit 0: FLASH.

OPTSTART

Bit 1: Option byte start change option configuration bit.

MER

Bit 4: mass erase request.

OPTCHANGEERRIE

Bit 30: Option byte change error interrupt enable bit.

SWAP_BANK

Bit 31: Bank swapping option configuration bit.

OPTSR_CUR

FLASH option status register

Offset: 0x1c, size: 32, reset: 0x00000000, access: Unspecified

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK_OPT
N/A
OPTCHANGEERR
N/A
IO_HSLV
N/A
NRST_STBY_D2
N/A
NRST_STOP_D2
N/A
BOOT_CM7
N/A
BOOT_CM4
N/A
SECURITY
N/A
ST_RAM_SIZE
N/A
IWDG_FZ_SDBY
N/A
IWDG_FZ_STOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDP
N/A
RST_STDY_D1
N/A
NRST_STOP_D1
N/A
IWDG2_SW
N/A
IWDG_SW
N/A
BOR_LEV
N/A
OPT_BUSY
N/A
Toggle fields

OPT_BUSY

Bit 0: Option byte change ongoing flag.

BOR_LEV

Bits 2-3: Brownout level option status bit.

IWDG_SW

Bit 4: IWDG control mode option status bit.

IWDG2_SW

Bit 5: IWDG2 control mode option status bit.

NRST_STOP_D1

Bit 6: D1 domain DStop entry reset option status bit.

RST_STDY_D1

Bit 7: D1 domain DStandby entry reset option status bit.

RDP

Bits 8-15: Readout protection level option status byte.

IWDG_FZ_STOP

Bit 17: IWDG Stop mode freeze option status bit.

IWDG_FZ_SDBY

Bit 18: IWDG Standby mode freeze option status bit.

ST_RAM_SIZE

Bits 19-20: ST RAM size option status.

SECURITY

Bit 21: Security enable option status bit.

BOOT_CM4

Bit 22: Arm Cortex.

BOOT_CM7

Bit 23: Arm Cortex.

NRST_STOP_D2

Bit 24: D2 domain DStop entry reset option status bit.

NRST_STBY_D2

Bit 25: D2 domain DStandby entry reset option status bit.

IO_HSLV

Bit 29: I.

OPTCHANGEERR

Bit 30: Option byte change error flag.

SWAP_BANK_OPT

Bit 31: Bank swapping option status bit.

OPTSR_PRG

FLASH option status register

Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK_OPT
N/A
IO_HSLV
N/A
NRST_STBY_D2
N/A
NRST_STOP_D2
N/A
BOOT_CM7
N/A
BOOT_CM4
N/A
SECURITY
N/A
ST_RAM_SIZE
N/A
IWDG_FZ_SDBY
N/A
IWDG_FZ_STOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDP
N/A
NRST_STDY_D1
N/A
NRST_STOP_D1
N/A
IWDG2_SW
N/A
IWDG_SW
N/A
BOR_LEV
N/A
Toggle fields

BOR_LEV

Bits 2-3: Brownout level option configuration bit.

IWDG_SW

Bit 4: IWDG control mode option configuration bit.

IWDG2_SW

Bit 5: IWDG2 control mode option configuration bit.

NRST_STOP_D1

Bit 6: D1 domain DStop entry reset option configuration bit.

NRST_STDY_D1

Bit 7: D1 domain DStandby entry reset option configuration bit.

RDP

Bits 8-15: Readout protection level option configuration bits.

IWDG_FZ_STOP

Bit 17: IWDG Stop mode freeze option configuration bit.

IWDG_FZ_SDBY

Bit 18: IWDG Standby mode freeze option configuration bit.

ST_RAM_SIZE

Bits 19-20: ST RAM size option configuration bits.

SECURITY

Bit 21: Security enable option configuration bit.

BOOT_CM4

Bit 22: Arm Cortex.

BOOT_CM7

Bit 23: Arm Cortex.

NRST_STOP_D2

Bit 24: D2 domain DStop entry reset option configuration bit.

NRST_STBY_D2

Bit 25: D2 domain DStandby entry reset option configuration bit.

IO_HSLV

Bit 29: I.

SWAP_BANK_OPT

Bit 31: Bank swapping option configuration bit.

OPTCCR

FLASH option clear control register

Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_OPTCHANGEERR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_OPTCHANGEERR

Bit 30: OPTCHANGEERR reset bit.

PRAR_CUR [1]

FLASH protection address for bank 1

Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMEP
N/A
PROT_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PROT_AREA_START
N/A
Toggle fields

PROT_AREA_START

Bits 0-11: Bank 1 PCROP area start status bits.

PROT_AREA_END

Bits 16-27: Bank 1 PCROP area end status bits.

DMEP

Bit 31: Bank 1 PCROP protected erase enable option status bit.

PRAR_PRG [1]

FLASH protection address for bank 1

Offset: 0x2c, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMEP
N/A
PROT_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PROT_AREA_START
N/A
Toggle fields

PROT_AREA_START

Bits 0-11: Bank 1 PCROP area start configuration bits.

PROT_AREA_END

Bits 16-27: Bank 1 PCROP area end configuration bits.

DMEP

Bit 31: Bank 1 PCROP protected erase enable option configuration bit.

SCAR_CUR [1]

FLASH secure address for bank 1

Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMES
N/A
SEC_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC_AREA_START
N/A
Toggle fields

SEC_AREA_START

Bits 0-11: Bank 1 secure-only area start status bits.

SEC_AREA_END

Bits 16-27: Bank 1 secure-only area end status bits.

DMES

Bit 31: Bank 1 secure access protected erase enable option status bit.

SCAR_PRG [1]

FLASH secure address for bank 1

Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMES
N/A
SEC_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC_AREA_START
N/A
Toggle fields

SEC_AREA_START

Bits 0-11: Bank 1 secure-only area start configuration bits.

SEC_AREA_END

Bits 16-27: Bank 1 secure-only area end configuration bits.

DMES

Bit 31: Bank 1 secure access protected erase enable option configuration bit.

WPSN_CURR [1]

FLASH write sector protection for bank 1

Offset: 0x38, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSn
N/A
Toggle fields

WRPSn

Bits 0-7: Bank 1 sector write protection option status byte.

WPSN_PRGR [1]

FLASH write sector protection for bank 1

Offset: 0x3c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSn
N/A
Toggle fields

WRPSn

Bits 0-7: Bank 1 sector write protection option status byte.

BOOT7_CURR

FLASH register boot address for Arm Cortex-M7 core

Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM7_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM7_ADD0
N/A
Toggle fields

BOOT_CM7_ADD0

Bits 0-15: Arm Cortex-M7 boot address 0.

BOOT_CM7_ADD1

Bits 16-31: Arm Cortex-M7 boot address 1.

BOOT7_PRGR

FLASH register boot address for Arm Cortex-M7 core

Offset: 0x44, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM7_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM7_ADD0
N/A
Toggle fields

BOOT_CM7_ADD0

Bits 0-15: Arm Cortex-M7 boot address 0 configuration.

BOOT_CM7_ADD1

Bits 16-31: Arm Cortex-M7 boot address 1 configuration.

BOOT4_CURR

FLASH register boot address for Arm Cortex-M4 core

Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM4_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM4_ADD0
N/A
Toggle fields

BOOT_CM4_ADD0

Bits 0-15: Arm Cortex-M4 boot address 0.

BOOT_CM4_ADD1

Bits 16-31: Arm Cortex-M4 boot address 1.

BOOT4_PRGR

FLASH register boot address for Arm Cortex-M4 core

Offset: 0x4c, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM4_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM4_ADD0
N/A
Toggle fields

BOOT_CM4_ADD0

Bits 0-15: Arm Cortex-M4 boot address 0 configuration.

BOOT_CM4_ADD1

Bits 16-31: Arm Cortex-M4 boot address 1 configuration.

CRCCR [1]

FLASH CRC control register for bank 1

Offset: 0x50, size: 32, reset: 0x001C0000, access: Unspecified

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALL_BANK
N/A
CRC_BURST
N/A
CLEAN_CRC
N/A
START_CRC
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLEAN_SECT
N/A
ADD_SECT
N/A
CRC_BY_SECT
N/A
CRC_SECT
N/A
Toggle fields

CRC_SECT

Bits 0-2: Bank 1 CRC sector number.

CRC_BY_SECT

Bit 8: Bank 1 CRC sector mode select bit.

ADD_SECT

Bit 9: Bank 1 CRC sector select bit.

CLEAN_SECT

Bit 10: Bank 1 CRC sector list clear bit.

START_CRC

Bit 16: Bank 1 CRC start bit.

CLEAN_CRC

Bit 17: Bank 1 CRC clear bit.

CRC_BURST

Bits 20-21: Bank 1 CRC burst size.

ALL_BANK

Bit 22: Bank 1 CRC select bit.

CRCSADDR [1]

FLASH CRC start address register for bank 1

Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRC_START_ADDR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_START_ADDR
N/A
Toggle fields

CRC_START_ADDR

Bits 2-19: CRC start address on bank 1.

CRCEADDR [1]

FLASH CRC end address register for bank 1

Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRC_END_ADDR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_END_ADDR
N/A
Toggle fields

CRC_END_ADDR

Bits 2-19: CRC end address on bank 1.

CRCDATAR

FLASH CRC data register

Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRC_DATA
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_DATA
N/A
Toggle fields

CRC_DATA

Bits 0-31: CRC result.

FAR [1]

FLASH ECC fail address for bank 1

Offset: 0x60, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FAIL_ECC_ADDR
N/A
Toggle fields

FAIL_ECC_ADDR

Bits 0-14: Bank 1 ECC error address.

ACR_

FLASH access control register

Offset: 0x100, size: 32, reset: 0x00000037, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRHIGHFREQ
N/A
LATENCY
N/A
Toggle fields

LATENCY

Bits 0-3: Read latency.

WRHIGHFREQ

Bits 4-5: Flash signal delay.

KEYR [2]

FLASH key register for bank 1

Offset: 0x104, 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
KEYR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEYR
w
Toggle fields

KEYR

Bits 0-31: Bank access configuration unlock key.

OPTKEYR_

FLASH option key register

Offset: 0x108, 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
OPTKEYR
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPTKEYR
w
Toggle fields

OPTKEYR

Bits 0-31: FLASH option bytes control access unlock key.

CR [2]

FLASH control register for bank 1

Offset: 0x10c, size: 32, reset: 0x00000031, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCRDERRIE
N/A
CRCENDIE
N/A
DBECCERRIE
N/A
SNECCERRIE
N/A
RDSERRIE
N/A
RDPERRIE
N/A
OPERRIE
N/A
INCERRIE
N/A
STRBERRIE
N/A
PGSERRIE
N/A
WRPERRIE
N/A
EOPIE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_EN
N/A
SNB
N/A
START
N/A
FW
N/A
PSIZE
N/A
BER
N/A
SER
N/A
PG
N/A
LOCK
N/A
Toggle fields

LOCK

Bit 0: Bank 1 configuration lock bit.

PG

Bit 1: Bank 1 internal buffer control bit.

SER

Bit 2: Bank 1 sector erase request.

BER

Bit 3: Bank 1 erase request.

PSIZE

Bits 4-5: Bank 1 program size.

FW

Bit 6: Bank 1 write forcing control bit.

START

Bit 7: Bank 1 erase start control bit.

SNB

Bits 8-10: Bank 1 sector erase selection number.

CRC_EN

Bit 15: Bank 1 CRC control bit.

EOPIE

Bit 16: Bank 1 end-of-program interrupt control bit.

WRPERRIE

Bit 17: Bank 1 write protection error interrupt enable bit.

PGSERRIE

Bit 18: Bank 1 programming sequence error interrupt enable bit.

STRBERRIE

Bit 19: Bank 1 strobe error interrupt enable bit.

INCERRIE

Bit 21: Bank 1 inconsistency error interrupt enable bit.

OPERRIE

Bit 22: Bank 1 write.

RDPERRIE

Bit 23: Bank 1 read protection error interrupt enable bit.

RDSERRIE

Bit 24: Bank 1 secure error interrupt enable bit.

SNECCERRIE

Bit 25: Bank 1 ECC single correction error interrupt enable bit.

DBECCERRIE

Bit 26: Bank 1 ECC double detection error interrupt enable bit.

CRCENDIE

Bit 27: Bank 1 CRC end of calculation interrupt enable bit.

CRCRDERRIE

Bit 28: Bank 1 CRC read error interrupt enable bit.

SR [2]

FLASH status register for bank 1

Offset: 0x110, size: 32, reset: 0x00000000, access: Unspecified

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRCRDERR
N/A
CRCEND
N/A
DBECCERR
N/A
SNECCERR
N/A
RDSERR
N/A
RDPERR
N/A
OPERR
N/A
INCERR
N/A
STRBERR
N/A
PGSERR
N/A
WRPERR
N/A
EOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_BUSY
N/A
QW
N/A
WBNE
N/A
BSY
N/A
Toggle fields

BSY

Bit 0: Bank 1 busy flag.

WBNE

Bit 1: Bank 1 write buffer not empty flag.

QW

Bit 2: Bank 1 wait queue flag.

CRC_BUSY

Bit 3: Bank 1 CRC busy flag.

EOP

Bit 16: Bank 1 end-of-program flag.

WRPERR

Bit 17: Bank 1 write protection error flag.

PGSERR

Bit 18: Bank 1 programming sequence error flag.

STRBERR

Bit 19: Bank 1 strobe error flag.

INCERR

Bit 21: Bank 1 inconsistency error flag.

OPERR

Bit 22: Bank 1 write.

RDPERR

Bit 23: Bank 1 read protection error flag.

RDSERR

Bit 24: Bank 1 secure error flag.

SNECCERR

Bit 25: Bank 1 single correction error flag.

DBECCERR

Bit 26: Bank 1 ECC double detection error flag.

CRCEND

Bit 27: Bank 1 CRC end of calculation flag.

CRCRDERR

Bit 28: Bank 1 CRC read error flag.

CCR [2]

FLASH clear control register for bank 1

Offset: 0x114, size: 32, reset: 0x00000000, access: Unspecified

0/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_CRCRDERR
N/A
CLR_CRCEND
N/A
CLR_DBECCERR
N/A
CLR_SNECCERR
N/A
CLR_RDSERR
N/A
CLR_RDPERR
N/A
CLR_OPERR
N/A
CLR_INCERR
N/A
CLR_STRBERR
N/A
CLR_PGSERR
N/A
CLR_WRPERR
N/A
CLR_EOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_EOP

Bit 16: Bank 1 EOP1 flag clear bit.

CLR_WRPERR

Bit 17: Bank 1 WRPERR1 flag clear bit.

CLR_PGSERR

Bit 18: Bank 1 PGSERR1 flag clear bit.

CLR_STRBERR

Bit 19: Bank 1 STRBERR1 flag clear bit.

CLR_INCERR

Bit 21: Bank 1 INCERR1 flag clear bit.

CLR_OPERR

Bit 22: Bank 1 OPERR1 flag clear bit.

CLR_RDPERR

Bit 23: Bank 1 RDPERR1 flag clear bit.

CLR_RDSERR

Bit 24: Bank 1 RDSERR1 flag clear bit.

CLR_SNECCERR

Bit 25: Bank 1 SNECCERR1 flag clear bit.

CLR_DBECCERR

Bit 26: Bank 1 DBECCERR1 flag clear bit.

CLR_CRCEND

Bit 27: Bank 1 CRCEND1 flag clear bit.

CLR_CRCRDERR

Bit 28: Bank 1 CRCRDERR1 flag clear bit.

OPTCR_

FLASH option control register

Offset: 0x118, size: 32, reset: 0x00000001, access: Unspecified

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK
N/A
OPTCHANGEERRIE
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MER
N/A
OPTSTART
N/A
OPTLOCK
N/A
Toggle fields

OPTLOCK

Bit 0: FLASH.

OPTSTART

Bit 1: Option byte start change option configuration bit.

MER

Bit 4: mass erase request.

OPTCHANGEERRIE

Bit 30: Option byte change error interrupt enable bit.

SWAP_BANK

Bit 31: Bank swapping option configuration bit.

OPTSR_CUR_

FLASH option status register

Offset: 0x11c, size: 32, reset: 0x00000000, access: Unspecified

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK_OPT
N/A
OPTCHANGEERR
N/A
IO_HSLV
N/A
NRST_STBY_D2
N/A
NRST_STOP_D2
N/A
BOOT_CM7
N/A
BOOT_CM4
N/A
SECURITY
N/A
ST_RAM_SIZE
N/A
IWDG_FZ_SDBY
N/A
IWDG_FZ_STOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDP
N/A
RST_STDY_D1
N/A
NRST_STOP_D1
N/A
IWDG2_SW
N/A
IWDG_SW
N/A
BOR_LEV
N/A
OPT_BUSY
N/A
Toggle fields

OPT_BUSY

Bit 0: Option byte change ongoing flag.

BOR_LEV

Bits 2-3: Brownout level option status bit.

IWDG_SW

Bit 4: IWDG control mode option status bit.

IWDG2_SW

Bit 5: IWDG2 control mode option status bit.

NRST_STOP_D1

Bit 6: D1 domain DStop entry reset option status bit.

RST_STDY_D1

Bit 7: D1 domain DStandby entry reset option status bit.

RDP

Bits 8-15: Readout protection level option status byte.

IWDG_FZ_STOP

Bit 17: IWDG Stop mode freeze option status bit.

IWDG_FZ_SDBY

Bit 18: IWDG Standby mode freeze option status bit.

ST_RAM_SIZE

Bits 19-20: ST RAM size option status.

SECURITY

Bit 21: Security enable option status bit.

BOOT_CM4

Bit 22: Arm Cortex.

BOOT_CM7

Bit 23: Arm Cortex.

NRST_STOP_D2

Bit 24: D2 domain DStop entry reset option status bit.

NRST_STBY_D2

Bit 25: D2 domain DStandby entry reset option status bit.

IO_HSLV

Bit 29: I.

OPTCHANGEERR

Bit 30: Option byte change error flag.

SWAP_BANK_OPT

Bit 31: Bank swapping option status bit.

OPTSR_PRG_

FLASH option status register

Offset: 0x120, size: 32, reset: 0x00000000, access: Unspecified

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWAP_BANK_OPT
N/A
IO_HSLV
N/A
NRST_STBY_D2
N/A
NRST_STOP_D2
N/A
BOOT_CM7
N/A
BOOT_CM4
N/A
SECURITY
N/A
ST_RAM_SIZE
N/A
IWDG_FZ_SDBY
N/A
IWDG_FZ_STOP
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDP
N/A
NRST_STDY_D1
N/A
NRST_STOP_D1
N/A
IWDG2_SW
N/A
IWDG_SW
N/A
BOR_LEV
N/A
Toggle fields

BOR_LEV

Bits 2-3: Brownout level option configuration bit.

IWDG_SW

Bit 4: IWDG control mode option configuration bit.

IWDG2_SW

Bit 5: IWDG2 control mode option configuration bit.

NRST_STOP_D1

Bit 6: D1 domain DStop entry reset option configuration bit.

NRST_STDY_D1

Bit 7: D1 domain DStandby entry reset option configuration bit.

RDP

Bits 8-15: Readout protection level option configuration bits.

IWDG_FZ_STOP

Bit 17: IWDG Stop mode freeze option configuration bit.

IWDG_FZ_SDBY

Bit 18: IWDG Standby mode freeze option configuration bit.

ST_RAM_SIZE

Bits 19-20: ST RAM size option configuration bits.

SECURITY

Bit 21: Security enable option configuration bit.

BOOT_CM4

Bit 22: Arm Cortex.

BOOT_CM7

Bit 23: Arm Cortex.

NRST_STOP_D2

Bit 24: D2 domain DStop entry reset option configuration bit.

NRST_STBY_D2

Bit 25: D2 domain DStandby entry reset option configuration bit.

IO_HSLV

Bit 29: I.

SWAP_BANK_OPT

Bit 31: Bank swapping option configuration bit.

OPTCCR_

FLASH option clear control register

Offset: 0x124, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLR_OPTCHANGEERR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CLR_OPTCHANGEERR

Bit 30: OPTCHANGEERR reset bit.

PRAR_CUR [2]

FLASH protection address for bank 1

Offset: 0x128, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMEP
N/A
PROT_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PROT_AREA_START
N/A
Toggle fields

PROT_AREA_START

Bits 0-11: Bank 1 PCROP area start status bits.

PROT_AREA_END

Bits 16-27: Bank 1 PCROP area end status bits.

DMEP

Bit 31: Bank 1 PCROP protected erase enable option status bit.

PRAR_PRG [2]

FLASH protection address for bank 1

Offset: 0x12c, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMEP
N/A
PROT_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PROT_AREA_START
N/A
Toggle fields

PROT_AREA_START

Bits 0-11: Bank 1 PCROP area start configuration bits.

PROT_AREA_END

Bits 16-27: Bank 1 PCROP area end configuration bits.

DMEP

Bit 31: Bank 1 PCROP protected erase enable option configuration bit.

SCAR_CUR [2]

FLASH secure address for bank 1

Offset: 0x130, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMES
N/A
SEC_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC_AREA_START
N/A
Toggle fields

SEC_AREA_START

Bits 0-11: Bank 1 secure-only area start status bits.

SEC_AREA_END

Bits 16-27: Bank 1 secure-only area end status bits.

DMES

Bit 31: Bank 1 secure access protected erase enable option status bit.

SCAR_PRG [2]

FLASH secure address for bank 1

Offset: 0x134, size: 32, reset: 0x00000000, access: Unspecified

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMES
N/A
SEC_AREA_END
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEC_AREA_START
N/A
Toggle fields

SEC_AREA_START

Bits 0-11: Bank 1 secure-only area start configuration bits.

SEC_AREA_END

Bits 16-27: Bank 1 secure-only area end configuration bits.

DMES

Bit 31: Bank 1 secure access protected erase enable option configuration bit.

WPSN_CURR [2]

FLASH write sector protection for bank 1

Offset: 0x138, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSn
N/A
Toggle fields

WRPSn

Bits 0-7: Bank 1 sector write protection option status byte.

WPSN_PRGR [2]

FLASH write sector protection for bank 1

Offset: 0x13c, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPSn
N/A
Toggle fields

WRPSn

Bits 0-7: Bank 1 sector write protection option status byte.

BOOT7_CURR_

FLASH register boot address for Arm Cortex-M7 core

Offset: 0x140, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM7_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM7_ADD0
N/A
Toggle fields

BOOT_CM7_ADD0

Bits 0-15: Arm Cortex-M7 boot address 0.

BOOT_CM7_ADD1

Bits 16-31: Arm Cortex-M7 boot address 1.

BOOT7_PRGR_

FLASH register boot address for Arm Cortex-M7 core

Offset: 0x144, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM7_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM7_ADD0
N/A
Toggle fields

BOOT_CM7_ADD0

Bits 0-15: Arm Cortex-M7 boot address 0 configuration.

BOOT_CM7_ADD1

Bits 16-31: Arm Cortex-M7 boot address 1 configuration.

BOOT4_CURR_

FLASH register boot address for Arm Cortex-M4 core

Offset: 0x148, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM4_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM4_ADD0
N/A
Toggle fields

BOOT_CM4_ADD0

Bits 0-15: Arm Cortex-M4 boot address 0.

BOOT_CM4_ADD1

Bits 16-31: Arm Cortex-M4 boot address 1.

BOOT4_PRGR_

FLASH register boot address for Arm Cortex-M4 core

Offset: 0x14c, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BOOT_CM4_ADD1
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_CM4_ADD0
N/A
Toggle fields

BOOT_CM4_ADD0

Bits 0-15: Arm Cortex-M4 boot address 0 configuration.

BOOT_CM4_ADD1

Bits 16-31: Arm Cortex-M4 boot address 1 configuration.

CRCCR [2]

FLASH CRC control register for bank 1

Offset: 0x150, size: 32, reset: 0x001C0000, access: Unspecified

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALL_BANK
N/A
CRC_BURST
N/A
CLEAN_CRC
N/A
START_CRC
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLEAN_SECT
N/A
ADD_SECT
N/A
CRC_BY_SECT
N/A
CRC_SECT
N/A
Toggle fields

CRC_SECT

Bits 0-2: Bank 1 CRC sector number.

CRC_BY_SECT

Bit 8: Bank 1 CRC sector mode select bit.

ADD_SECT

Bit 9: Bank 1 CRC sector select bit.

CLEAN_SECT

Bit 10: Bank 1 CRC sector list clear bit.

START_CRC

Bit 16: Bank 1 CRC start bit.

CLEAN_CRC

Bit 17: Bank 1 CRC clear bit.

CRC_BURST

Bits 20-21: Bank 1 CRC burst size.

ALL_BANK

Bit 22: Bank 1 CRC select bit.

CRCSADDR [2]

FLASH CRC start address register for bank 1

Offset: 0x154, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRC_START_ADDR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_START_ADDR
N/A
Toggle fields

CRC_START_ADDR

Bits 2-19: CRC start address on bank 1.

CRCEADDR [2]

FLASH CRC end address register for bank 1

Offset: 0x158, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRC_END_ADDR
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRC_END_ADDR
N/A
Toggle fields

CRC_END_ADDR

Bits 2-19: CRC end address on bank 1.

FAR [2]

FLASH ECC fail address for bank 1

Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FAIL_ECC_ADDR
N/A
Toggle fields

FAIL_ECC_ADDR

Bits 0-14: Bank 1 ECC error address.

FMC

0x52004000: FMC

5/186 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
0x80 PCR
0x84 SR
0x88 PMEM
0x8c PATT
0x94 ECCR
0x104 BWTR1
0x10c BWTR2
0x114 BWTR3
0x11c BWTR4
0x140 SDCR[1]
0x144 SDCR[2]
0x148 SDTR[1]
0x14c SDTR[2]
0x150 SDCMR
0x154 SDRTR
0x158 SDSR
Toggle registers

BCR1

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.

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
BMAP
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 This bit enables the memory bank. After reset Bank1 is enabled, all others are disabled. Accessing a disabled bank causes an ERROR on AXI bus..

MUXEN

Bit 1: Address/data multiplexing enable bit When this bit is set, the address and data values are multiplexed on the data bus, valid only with NOR and PSRAM memories:.

MTYP

Bits 2-3: Memory type These bits define the type of external memory attached to the corresponding memory bank:.

MWID

Bits 4-5: Memory data bus width Defines the external memory device width, valid for all type of memories..

FACCEN

Bit 6: Flash access enable This bit enables NOR Flash memory access operations..

BURSTEN

Bit 8: Burst enable bit This bit enables/disables synchronous accesses during read operations. It is valid only for synchronous memories operating in Burst mode:.

WAITPOL

Bit 9: Wait signal polarity bit This bit defines the polarity of the wait signal from memory used for either in synchronous or asynchronous mode:.

WAITCFG

Bit 11: Wait timing configuration The NWAIT signal indicates whether the data from the memory are valid or if a wait state must be inserted when accessing the memory in synchronous mode. This configuration bit determines if NWAIT is asserted by the memory one clock cycle before the wait state or during the wait state:.

WREN

Bit 12: Write enable bit This bit indicates whether write operations are enabled/disabled in the bank by the FMC:.

WAITEN

Bit 13: Wait enable bit This bit enables/disables wait-state insertion via the NWAIT signal when accessing the memory in synchronous mode..

EXTMOD

Bit 14: Extended mode enable. This bit enables the FMC to program the write timings for asynchronous accesses inside the FMC_BWTR register, thus resulting in different timings for read and write operations. Note: When the extended mode is disabled, the FMC can operate in Mode1 or Mode2 as follows: ** Mode 1 is the default mode when the SRAM/PSRAM memory type is selected (MTYP =0x0 or 0x01) ** Mode 2 is the default mode when the NOR memory type is selected (MTYP = 0x10)..

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers This bit enables/disables the FMC to use the wait signal even during an asynchronous protocol..

CPSIZE

Bits 16-18: CRAM Page Size These are used for Cellular RAM 1.5 which does not allow burst access to cross the address boundaries between pages. When these bits are configured, the FMC controller splits automatically the burst access when the memory page size is reached (refer to memory datasheet for page size). Other configuration: reserved..

CBURSTRW

Bit 19: Write burst enable For PSRAM (CRAM) operating in Burst mode, the bit enables synchronous accesses during write operations. The enable bit for synchronous read accesses is the BURSTEN bit in the FMC_BCRx register..

CCLKEN

Bit 20: Continuous Clock Enable This bit enables the FMC_CLK clock output to external memory devices. Note: The CCLKEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register. Bank 1 must be configured in synchronous mode to generate the FMC_CLK continuous clock. If CCLKEN bit is set, the FMC_CLK clock ratio is specified by CLKDIV value in the FMC_BTR1 register. CLKDIV in FMC_BWTR1 is dont care. If the synchronous mode is used and CCLKEN bit is set, the synchronous memories connected to other banks than Bank 1 are clocked by the same clock (the CLKDIV value in the FMC_BTR2..4 and FMC_BWTR2..4 registers for other banks has no effect.).

WFDIS

Bit 21: Write FIFO Disable This bit disables the Write FIFO used by the FMC controller. Note: The WFDIS bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BMAP

Bits 24-25: FMC bank mapping These bits allows different to remap SDRAM bank2 or swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note: The BMAP bits of the FMC_BCR2..4 registers are dont care. It is only enabled through the FMC_BCR1 register..

FMCEN

Bit 31: FMC controller Enable This bit enables/disables the FMC controller. Note: The FMCEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BTR1

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set in the FMC_BCRx register, then this register is partitioned for write and read access, that is, 2 registers are available: one to configure read accesses (this register) and one to configure write accesses (FMC_BWTRx registers).

Offset: 0x4, 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
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 These bits are written by software to define the duration of the address setup phase (refer to Figure81 to Figure93), used in SRAMs, ROMs and asynchronous NOR Flash: For each access mode address setup phase duration, please refer to the respective figure (refer to Figure81 to Figure93). Note: In synchronous accesses, this value is dont care. In Muxed mode or Mode D, the minimum value for ADDSET is 1..

ADDHLD

Bits 4-7: Address-hold phase duration These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in mode D or multiplexed accesses: For each access mode address-hold phase duration, please refer to the respective figure (Figure81 to Figure93). Note: In synchronous accesses, this value is not used, the address hold phase is always 1 memory clock period duration..

DATAST

Bits 8-15: Data-phase duration These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous accesses: For each memory type and access mode data-phase duration, please refer to the respective figure (Figure81 to Figure93). Example: Mode1, write access, DATAST=1: Data-phase duration= DATAST+1 = 2 KCK_FMC clock cycles. Note: In synchronous accesses, this value is dont care..

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write-to-read or read-to write transaction. The programmed bus turnaround delay is inserted between an asynchronous read (in muxed or mode D) or write transaction and any other asynchronous /synchronous read/write from/to a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except in muxed mode and mode D. There is a bus turnaround delay of 1 FMC clock cycle between: Two consecutive asynchronous read transfers to the same static memory bank except for modes muxed and D. An asynchronous read to an asynchronous or synchronous write to any static bank or dynamic bank except in modes muxed and D mode. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank. A synchronous write (burst or single) access and an asynchronous write or read transfer to or from static memory bank (the bank can be the same or a different one in case of a read operation. Two consecutive synchronous read operations (in Burst or Single mode) followed by any synchronous/asynchronous read or write from/to another static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write access (in Burst or Single mode) and a synchronous read from the same or a different bank. The bus turnaround delay allows to match the minimum time between consecutive transactions (tEHEL from NEx high to NEx low) and the maximum time required by the memory to free the data bus after a read access (tEHQZ): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin and (BUSTRUN + 2)KCK_FMC period &#8805; tEHQZmax if EXTMOD = 0 (BUSTRUN + 2)KCK_FMC period &#8805; max (tEHELmin, tEHQZmax) if EXTMOD = 126. ....

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal) These bits define the period of FMC_CLK clock output signal, expressed in number of KCK_FMC cycles: In asynchronous NOR Flash, SRAM or PSRAM accesses, this value is dont care. Note: Refer to Section20.6.5: Synchronous transactions for FMC_CLK divider ratio formula).

DATLAT

Bits 24-27: Data latency for synchronous memory For synchronous access with read write burst mode enabled these bits define the number of memory clock cycles.

ACCMOD

Bits 28-29: Access mode These bits specify the asynchronous access modes as shown in the timing diagrams. They are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

BCR2

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.

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
BMAP
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 This bit enables the memory bank. After reset Bank1 is enabled, all others are disabled. Accessing a disabled bank causes an ERROR on AXI bus..

MUXEN

Bit 1: Address/data multiplexing enable bit When this bit is set, the address and data values are multiplexed on the data bus, valid only with NOR and PSRAM memories:.

MTYP

Bits 2-3: Memory type These bits define the type of external memory attached to the corresponding memory bank:.

MWID

Bits 4-5: Memory data bus width Defines the external memory device width, valid for all type of memories..

FACCEN

Bit 6: Flash access enable This bit enables NOR Flash memory access operations..

BURSTEN

Bit 8: Burst enable bit This bit enables/disables synchronous accesses during read operations. It is valid only for synchronous memories operating in Burst mode:.

WAITPOL

Bit 9: Wait signal polarity bit This bit defines the polarity of the wait signal from memory used for either in synchronous or asynchronous mode:.

WAITCFG

Bit 11: Wait timing configuration The NWAIT signal indicates whether the data from the memory are valid or if a wait state must be inserted when accessing the memory in synchronous mode. This configuration bit determines if NWAIT is asserted by the memory one clock cycle before the wait state or during the wait state:.

WREN

Bit 12: Write enable bit This bit indicates whether write operations are enabled/disabled in the bank by the FMC:.

WAITEN

Bit 13: Wait enable bit This bit enables/disables wait-state insertion via the NWAIT signal when accessing the memory in synchronous mode..

EXTMOD

Bit 14: Extended mode enable. This bit enables the FMC to program the write timings for asynchronous accesses inside the FMC_BWTR register, thus resulting in different timings for read and write operations. Note: When the extended mode is disabled, the FMC can operate in Mode1 or Mode2 as follows: ** Mode 1 is the default mode when the SRAM/PSRAM memory type is selected (MTYP =0x0 or 0x01) ** Mode 2 is the default mode when the NOR memory type is selected (MTYP = 0x10)..

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers This bit enables/disables the FMC to use the wait signal even during an asynchronous protocol..

CPSIZE

Bits 16-18: CRAM Page Size These are used for Cellular RAM 1.5 which does not allow burst access to cross the address boundaries between pages. When these bits are configured, the FMC controller splits automatically the burst access when the memory page size is reached (refer to memory datasheet for page size). Other configuration: reserved..

CBURSTRW

Bit 19: Write burst enable For PSRAM (CRAM) operating in Burst mode, the bit enables synchronous accesses during write operations. The enable bit for synchronous read accesses is the BURSTEN bit in the FMC_BCRx register..

CCLKEN

Bit 20: Continuous Clock Enable This bit enables the FMC_CLK clock output to external memory devices. Note: The CCLKEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register. Bank 1 must be configured in synchronous mode to generate the FMC_CLK continuous clock. If CCLKEN bit is set, the FMC_CLK clock ratio is specified by CLKDIV value in the FMC_BTR1 register. CLKDIV in FMC_BWTR1 is dont care. If the synchronous mode is used and CCLKEN bit is set, the synchronous memories connected to other banks than Bank 1 are clocked by the same clock (the CLKDIV value in the FMC_BTR2..4 and FMC_BWTR2..4 registers for other banks has no effect.).

WFDIS

Bit 21: Write FIFO Disable This bit disables the Write FIFO used by the FMC controller. Note: The WFDIS bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BMAP

Bits 24-25: FMC bank mapping These bits allows different to remap SDRAM bank2 or swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note: The BMAP bits of the FMC_BCR2..4 registers are dont care. It is only enabled through the FMC_BCR1 register..

FMCEN

Bit 31: FMC controller Enable This bit enables/disables the FMC controller. Note: The FMCEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BTR2

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set in the FMC_BCRx register, then this register is partitioned for write and read access, that is, 2 registers are available: one to configure read accesses (this register) and one to configure write accesses (FMC_BWTRx registers).

Offset: 0xc, 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
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 These bits are written by software to define the duration of the address setup phase (refer to Figure81 to Figure93), used in SRAMs, ROMs and asynchronous NOR Flash: For each access mode address setup phase duration, please refer to the respective figure (refer to Figure81 to Figure93). Note: In synchronous accesses, this value is dont care. In Muxed mode or Mode D, the minimum value for ADDSET is 1..

ADDHLD

Bits 4-7: Address-hold phase duration These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in mode D or multiplexed accesses: For each access mode address-hold phase duration, please refer to the respective figure (Figure81 to Figure93). Note: In synchronous accesses, this value is not used, the address hold phase is always 1 memory clock period duration..

DATAST

Bits 8-15: Data-phase duration These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous accesses: For each memory type and access mode data-phase duration, please refer to the respective figure (Figure81 to Figure93). Example: Mode1, write access, DATAST=1: Data-phase duration= DATAST+1 = 2 KCK_FMC clock cycles. Note: In synchronous accesses, this value is dont care..

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write-to-read or read-to write transaction. The programmed bus turnaround delay is inserted between an asynchronous read (in muxed or mode D) or write transaction and any other asynchronous /synchronous read/write from/to a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except in muxed mode and mode D. There is a bus turnaround delay of 1 FMC clock cycle between: Two consecutive asynchronous read transfers to the same static memory bank except for modes muxed and D. An asynchronous read to an asynchronous or synchronous write to any static bank or dynamic bank except in modes muxed and D mode. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank. A synchronous write (burst or single) access and an asynchronous write or read transfer to or from static memory bank (the bank can be the same or a different one in case of a read operation. Two consecutive synchronous read operations (in Burst or Single mode) followed by any synchronous/asynchronous read or write from/to another static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write access (in Burst or Single mode) and a synchronous read from the same or a different bank. The bus turnaround delay allows to match the minimum time between consecutive transactions (tEHEL from NEx high to NEx low) and the maximum time required by the memory to free the data bus after a read access (tEHQZ): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin and (BUSTRUN + 2)KCK_FMC period &#8805; tEHQZmax if EXTMOD = 0 (BUSTRUN + 2)KCK_FMC period &#8805; max (tEHELmin, tEHQZmax) if EXTMOD = 1. ....

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal) These bits define the period of FMC_CLK clock output signal, expressed in number of KCK_FMC cycles: In asynchronous NOR Flash, SRAM or PSRAM accesses, this value is dont care. Note: Refer to Section20.6.5: Synchronous transactions for FMC_CLK divider ratio formula).

DATLAT

Bits 24-27: Data latency for synchronous memory For synchronous access with read write burst mode enabled these bits define the number of memory clock cycles.

ACCMOD

Bits 28-29: Access mode These bits specify the asynchronous access modes as shown in the timing diagrams. They are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

BCR3

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.

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
BMAP
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 This bit enables the memory bank. After reset Bank1 is enabled, all others are disabled. Accessing a disabled bank causes an ERROR on AXI bus..

MUXEN

Bit 1: Address/data multiplexing enable bit When this bit is set, the address and data values are multiplexed on the data bus, valid only with NOR and PSRAM memories:.

MTYP

Bits 2-3: Memory type These bits define the type of external memory attached to the corresponding memory bank:.

MWID

Bits 4-5: Memory data bus width Defines the external memory device width, valid for all type of memories..

FACCEN

Bit 6: Flash access enable This bit enables NOR Flash memory access operations..

BURSTEN

Bit 8: Burst enable bit This bit enables/disables synchronous accesses during read operations. It is valid only for synchronous memories operating in Burst mode:.

WAITPOL

Bit 9: Wait signal polarity bit This bit defines the polarity of the wait signal from memory used for either in synchronous or asynchronous mode:.

WAITCFG

Bit 11: Wait timing configuration The NWAIT signal indicates whether the data from the memory are valid or if a wait state must be inserted when accessing the memory in synchronous mode. This configuration bit determines if NWAIT is asserted by the memory one clock cycle before the wait state or during the wait state:.

WREN

Bit 12: Write enable bit This bit indicates whether write operations are enabled/disabled in the bank by the FMC:.

WAITEN

Bit 13: Wait enable bit This bit enables/disables wait-state insertion via the NWAIT signal when accessing the memory in synchronous mode..

EXTMOD

Bit 14: Extended mode enable. This bit enables the FMC to program the write timings for asynchronous accesses inside the FMC_BWTR register, thus resulting in different timings for read and write operations. Note: When the extended mode is disabled, the FMC can operate in Mode1 or Mode2 as follows: ** Mode 1 is the default mode when the SRAM/PSRAM memory type is selected (MTYP =0x0 or 0x01) ** Mode 2 is the default mode when the NOR memory type is selected (MTYP = 0x10)..

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers This bit enables/disables the FMC to use the wait signal even during an asynchronous protocol..

CPSIZE

Bits 16-18: CRAM Page Size These are used for Cellular RAM 1.5 which does not allow burst access to cross the address boundaries between pages. When these bits are configured, the FMC controller splits automatically the burst access when the memory page size is reached (refer to memory datasheet for page size). Other configuration: reserved..

CBURSTRW

Bit 19: Write burst enable For PSRAM (CRAM) operating in Burst mode, the bit enables synchronous accesses during write operations. The enable bit for synchronous read accesses is the BURSTEN bit in the FMC_BCRx register..

CCLKEN

Bit 20: Continuous Clock Enable This bit enables the FMC_CLK clock output to external memory devices. Note: The CCLKEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register. Bank 1 must be configured in synchronous mode to generate the FMC_CLK continuous clock. If CCLKEN bit is set, the FMC_CLK clock ratio is specified by CLKDIV value in the FMC_BTR1 register. CLKDIV in FMC_BWTR1 is dont care. If the synchronous mode is used and CCLKEN bit is set, the synchronous memories connected to other banks than Bank 1 are clocked by the same clock (the CLKDIV value in the FMC_BTR2..4 and FMC_BWTR2..4 registers for other banks has no effect.).

WFDIS

Bit 21: Write FIFO Disable This bit disables the Write FIFO used by the FMC controller. Note: The WFDIS bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BMAP

Bits 24-25: FMC bank mapping These bits allows different to remap SDRAM bank2 or swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note: The BMAP bits of the FMC_BCR2..4 registers are dont care. It is only enabled through the FMC_BCR1 register..

FMCEN

Bit 31: FMC controller Enable This bit enables/disables the FMC controller. Note: The FMCEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BTR3

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set in the FMC_BCRx register, then this register is partitioned for write and read access, that is, 2 registers are available: one to configure read accesses (this register) and one to configure write accesses (FMC_BWTRx registers).

Offset: 0x14, 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
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 These bits are written by software to define the duration of the address setup phase (refer to Figure81 to Figure93), used in SRAMs, ROMs and asynchronous NOR Flash: For each access mode address setup phase duration, please refer to the respective figure (refer to Figure81 to Figure93). Note: In synchronous accesses, this value is dont care. In Muxed mode or Mode D, the minimum value for ADDSET is 1..

ADDHLD

Bits 4-7: Address-hold phase duration These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in mode D or multiplexed accesses: For each access mode address-hold phase duration, please refer to the respective figure (Figure81 to Figure93). Note: In synchronous accesses, this value is not used, the address hold phase is always 1 memory clock period duration..

DATAST

Bits 8-15: Data-phase duration These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous accesses: For each memory type and access mode data-phase duration, please refer to the respective figure (Figure81 to Figure93). Example: Mode1, write access, DATAST=1: Data-phase duration= DATAST+1 = 2 KCK_FMC clock cycles. Note: In synchronous accesses, this value is dont care..

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write-to-read or read-to write transaction. The programmed bus turnaround delay is inserted between an asynchronous read (in muxed or mode D) or write transaction and any other asynchronous /synchronous read/write from/to a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except in muxed mode and mode D. There is a bus turnaround delay of 1 FMC clock cycle between: Two consecutive asynchronous read transfers to the same static memory bank except for modes muxed and D. An asynchronous read to an asynchronous or synchronous write to any static bank or dynamic bank except in modes muxed and D mode. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank. A synchronous write (burst or single) access and an asynchronous write or read transfer to or from static memory bank (the bank can be the same or a different one in case of a read operation. Two consecutive synchronous read operations (in Burst or Single mode) followed by any synchronous/asynchronous read or write from/to another static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write access (in Burst or Single mode) and a synchronous read from the same or a different bank. The bus turnaround delay allows to match the minimum time between consecutive transactions (tEHEL from NEx high to NEx low) and the maximum time required by the memory to free the data bus after a read access (tEHQZ): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin and (BUSTRUN + 2)KCK_FMC period &#8805; tEHQZmax if EXTMOD = 0 (BUSTRUN + 2)KCK_FMC period &#8805; max (tEHELmin, tEHQZmax) if EXTMOD =1. ....

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal) These bits define the period of FMC_CLK clock output signal, expressed in number of KCK_FMC cycles: In asynchronous NOR Flash, SRAM or PSRAM accesses, this value is dont care. Note: Refer to Section20.6.5: Synchronous transactions for FMC_CLK divider ratio formula).

DATLAT

Bits 24-27: Data latency for synchronous memory For synchronous access with read write burst mode enabled these bits define the number of memory clock cycles.

ACCMOD

Bits 28-29: Access mode These bits specify the asynchronous access modes as shown in the timing diagrams. They are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

BCR4

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.

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
BMAP
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 This bit enables the memory bank. After reset Bank1 is enabled, all others are disabled. Accessing a disabled bank causes an ERROR on AXI bus..

MUXEN

Bit 1: Address/data multiplexing enable bit When this bit is set, the address and data values are multiplexed on the data bus, valid only with NOR and PSRAM memories:.

MTYP

Bits 2-3: Memory type These bits define the type of external memory attached to the corresponding memory bank:.

MWID

Bits 4-5: Memory data bus width Defines the external memory device width, valid for all type of memories..

FACCEN

Bit 6: Flash access enable This bit enables NOR Flash memory access operations..

BURSTEN

Bit 8: Burst enable bit This bit enables/disables synchronous accesses during read operations. It is valid only for synchronous memories operating in Burst mode:.

WAITPOL

Bit 9: Wait signal polarity bit This bit defines the polarity of the wait signal from memory used for either in synchronous or asynchronous mode:.

WAITCFG

Bit 11: Wait timing configuration The NWAIT signal indicates whether the data from the memory are valid or if a wait state must be inserted when accessing the memory in synchronous mode. This configuration bit determines if NWAIT is asserted by the memory one clock cycle before the wait state or during the wait state:.

WREN

Bit 12: Write enable bit This bit indicates whether write operations are enabled/disabled in the bank by the FMC:.

WAITEN

Bit 13: Wait enable bit This bit enables/disables wait-state insertion via the NWAIT signal when accessing the memory in synchronous mode..

EXTMOD

Bit 14: Extended mode enable. This bit enables the FMC to program the write timings for asynchronous accesses inside the FMC_BWTR register, thus resulting in different timings for read and write operations. Note: When the extended mode is disabled, the FMC can operate in Mode1 or Mode2 as follows: ** Mode 1 is the default mode when the SRAM/PSRAM memory type is selected (MTYP =0x0 or 0x01) ** Mode 2 is the default mode when the NOR memory type is selected (MTYP = 0x10)..

ASYNCWAIT

Bit 15: Wait signal during asynchronous transfers This bit enables/disables the FMC to use the wait signal even during an asynchronous protocol..

CPSIZE

Bits 16-18: CRAM Page Size These are used for Cellular RAM 1.5 which does not allow burst access to cross the address boundaries between pages. When these bits are configured, the FMC controller splits automatically the burst access when the memory page size is reached (refer to memory datasheet for page size). Other configuration: reserved..

CBURSTRW

Bit 19: Write burst enable For PSRAM (CRAM) operating in Burst mode, the bit enables synchronous accesses during write operations. The enable bit for synchronous read accesses is the BURSTEN bit in the FMC_BCRx register..

CCLKEN

Bit 20: Continuous Clock Enable This bit enables the FMC_CLK clock output to external memory devices. Note: The CCLKEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register. Bank 1 must be configured in synchronous mode to generate the FMC_CLK continuous clock. If CCLKEN bit is set, the FMC_CLK clock ratio is specified by CLKDIV value in the FMC_BTR1 register. CLKDIV in FMC_BWTR1 is dont care. If the synchronous mode is used and CCLKEN bit is set, the synchronous memories connected to other banks than Bank 1 are clocked by the same clock (the CLKDIV value in the FMC_BTR2..4 and FMC_BWTR2..4 registers for other banks has no effect.).

WFDIS

Bit 21: Write FIFO Disable This bit disables the Write FIFO used by the FMC controller. Note: The WFDIS bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BMAP

Bits 24-25: FMC bank mapping These bits allows different to remap SDRAM bank2 or swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note: The BMAP bits of the FMC_BCR2..4 registers are dont care. It is only enabled through the FMC_BCR1 register..

FMCEN

Bit 31: FMC controller Enable This bit enables/disables the FMC controller. Note: The FMCEN bit of the FMC_BCR2..4 registers is dont care. It is only enabled through the FMC_BCR1 register..

BTR4

This register contains the control information of each memory bank, used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set in the FMC_BCRx register, then this register is partitioned for write and read access, that is, 2 registers are available: one to configure read accesses (this register) and one to configure write accesses (FMC_BWTRx registers).

Offset: 0x1c, 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
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 These bits are written by software to define the duration of the address setup phase (refer to Figure81 to Figure93), used in SRAMs, ROMs and asynchronous NOR Flash: For each access mode address setup phase duration, please refer to the respective figure (refer to Figure81 to Figure93). Note: In synchronous accesses, this value is dont care. In Muxed mode or Mode D, the minimum value for ADDSET is 1..

ADDHLD

Bits 4-7: Address-hold phase duration These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in mode D or multiplexed accesses: For each access mode address-hold phase duration, please refer to the respective figure (Figure81 to Figure93). Note: In synchronous accesses, this value is not used, the address hold phase is always 1 memory clock period duration..

DATAST

Bits 8-15: Data-phase duration These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous accesses: For each memory type and access mode data-phase duration, please refer to the respective figure (Figure81 to Figure93). Example: Mode1, write access, DATAST=1: Data-phase duration= DATAST+1 = 2 KCK_FMC clock cycles. Note: In synchronous accesses, this value is dont care..

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write-to-read or read-to write transaction. The programmed bus turnaround delay is inserted between an asynchronous read (in muxed or mode D) or write transaction and any other asynchronous /synchronous read/write from/to a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except in muxed mode and mode D. There is a bus turnaround delay of 1 FMC clock cycle between: Two consecutive asynchronous read transfers to the same static memory bank except for modes muxed and D. An asynchronous read to an asynchronous or synchronous write to any static bank or dynamic bank except in modes muxed and D mode. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank. A synchronous write (burst or single) access and an asynchronous write or read transfer to or from static memory bank (the bank can be the same or a different one in case of a read operation. Two consecutive synchronous read operations (in Burst or Single mode) followed by any synchronous/asynchronous read or write from/to another static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write access (in Burst or Single mode) and a synchronous read from the same or a different bank. The bus turnaround delay allows to match the minimum time between consecutive transactions (tEHEL from NEx high to NEx low) and the maximum time required by the memory to free the data bus after a read access (tEHQZ): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin and (BUSTRUN + 2)KCK_FMC period &#8805; tEHQZmax if EXTMOD = 0 (BUSTRUN + 2)KCK_FMC period &#8805; max (tEHELmin, tEHQZmax) if EXTMOD =1. ....

CLKDIV

Bits 20-23: Clock divide ratio (for FMC_CLK signal) These bits define the period of FMC_CLK clock output signal, expressed in number of KCK_FMC cycles: In asynchronous NOR Flash, SRAM or PSRAM accesses, this value is dont care. Note: Refer to Section20.6.5: Synchronous transactions for FMC_CLK divider ratio formula).

DATLAT

Bits 24-27: Data latency for synchronous memory For synchronous access with read write burst mode enabled these bits define the number of memory clock cycles.

ACCMOD

Bits 28-29: Access mode These bits specify the asynchronous access modes as shown in the timing diagrams. They are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

PCR

NAND Flash control registers

Offset: 0x80, size: 32, reset: 0x00000018, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ECCPS
rw
TAR
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
PBKEN
rw
PWAITEN
rw
Toggle fields

PWAITEN

Bit 1: Wait feature enable bit. This bit enables the Wait feature for the NAND Flash memory bank:.

PBKEN

Bit 2: NAND Flash memory bank enable bit. This bit enables the memory bank. Accessing a disabled memory bank causes an ERROR on AXI bus.

PWID

Bits 4-5: Data bus width. These bits define the external memory device width..

ECCEN

Bit 6: ECC computation logic enable bit.

TCLR

Bits 9-12: CLE to RE delay. These bits set time from CLE low to RE low in number of KCK_FMC clock cycles. The time is give by the following formula: t_clr = (TCLR + SET + 2) TKCK_FMC where TKCK_FMC is the KCK_FMC clock period Note: Set is MEMSET or ATTSET according to the addressed space..

TAR

Bits 13-16: ALE to RE delay. These bits set time from ALE low to RE low in number of KCK_FMC clock cycles. Time is: t_ar = (TAR + SET + 2) TKCK_FMC where TKCK_FMC is the FMC clock period Note: Set is MEMSET or ATTSET according to the addressed space..

ECCPS

Bits 17-19: ECC page size. These bits define the page size for the extended ECC:.

SR

This register contains information about the FIFO status and interrupt. The FMC features a FIFO that is used when writing to memories to transfer up to 16 words of data.This is used to quickly write to the FIFO and free the AXI bus for transactions to peripherals other than the FMC, while the FMC is draining its FIFO into the memory. One of these register bits indicates the status of the FIFO, for ECC purposes.The ECC is calculated while the data are written to the memory. To read the correct ECC, the software must consequently wait until the FIFO is empty.

Offset: 0x84, size: 32, reset: 0x00000040, access: Unspecified

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 The flag is set by hardware and reset by software. Note: If this bit is written by software to 1 it will be set..

ILS

Bit 1: Interrupt high-level status The flag is set by hardware and reset by software..

IFS

Bit 2: Interrupt falling edge status The flag is set by hardware and reset by software. Note: If this bit is written by software to 1 it will be set..

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. Read-only bit that provides the status of the FIFO.

PMEM

The FMC_PMEM read/write register contains the timing information for NAND Flash memory bank. This information is used to access either the common memory space of the NAND Flash for command, address write access and data read/write access.

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 These bits define the number of KCK_FMC (+1) clock cycles to set up the address before the command assertion (NWE, NOE), for NAND Flash read or write access to common memory space:.

MEMWAIT

Bits 8-15: Common memory wait time These bits define the minimum number of KCK_FMC (+1) clock cycles to assert the command (NWE, NOE), for NAND Flash read or write access to common memory space. The duration of command assertion is extended if the wait signal (NWAIT) is active (low) at the end of the programmed value of KCK_FMC:.

MEMHOLD

Bits 16-23: Common memory hold time These bits define the number of KCK_FMC clock cycles for write accesses and KCK_FMC+1 clock cycles for read accesses during which the address is held (and data for write accesses) after the command is de-asserted (NWE, NOE), for NAND Flash read or write access to common memory space:.

MEMHIZ

Bits 24-31: Common memory x data bus Hi-Z time These bits define the number of KCK_FMC clock cycles during which the data bus is kept Hi-Z after the start of a NAND Flash write access to common memory space. This is only valid for write transactions:.

PATT

The FMC_PATT read/write register contains the timing information for NAND Flash memory bank. It is used for 8-bit accesses to the attribute memory space of the NAND Flash for the last address write access if the timing must differ from that of previous accesses (for Ready/Busy management, refer to Section20.8.5: NAND Flash prewait feature).

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 These bits define the number of KCK_FMC (+1) clock cycles to set up address before the command assertion (NWE, NOE), for NAND Flash read or write access to attribute memory space:.

ATTWAIT

Bits 8-15: Attribute memory wait time These bits define the minimum number of x KCK_FMC (+1) clock cycles to assert the command (NWE, NOE), for NAND Flash read or write access to attribute memory space. The duration for command assertion is extended if the wait signal (NWAIT) is active (low) at the end of the programmed value of KCK_FMC:.

ATTHOLD

Bits 16-23: Attribute memory hold time These bits define the number of KCK_FMC clock cycles during which the address is held (and data for write access) after the command de-assertion (NWE, NOE), for NAND Flash read or write access to attribute memory space:.

ATTHIZ

Bits 24-31: Attribute memory data bus Hi-Z time These bits define the number of KCK_FMC clock cycles during which the data bus is kept in Hi-Z after the start of a NAND Flash write access to attribute memory space on socket. Only valid for writ transaction:.

ECCR

This register contain the current error correction code value computed by the ECC computation modules of the FMC NAND controller. When the CPU reads/writes the data from a NAND Flash memory page at the correct address (refer to Section20.8.6: Computation of the error correction code (ECC) in NAND Flash memory), the data read/written from/to the NAND Flash memory are processed automatically by the ECC computation module. When X bytes have been read (according to the ECCPS field in the FMC_PCR registers), the CPU must read the computed ECC value from the FMC_ECC registers. It then verifies if these computed parity data are the same as the parity value recorded in the spare area, to determine whether a page is valid, and, to correct it otherwise. The FMC_ECCR register should be cleared after being read by setting the ECCEN bit to 0. To compute a new data block, the ECCEN bit must be set to 1.

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 This field contains the value computed by the ECC computation logic. Table167 describes the contents of these bit fields..

BWTR1

This register contains the control information of each memory bank. It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD bit is set in the FMC_BCRx register, then this register is active for write access.

Offset: 0x104, size: 32, reset: 0x0FFFFFFF, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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. These bits are written by software to define the duration of the address setup phase in KCK_FMC cycles (refer to Figure81 to Figure93), used in asynchronous accesses: ... Note: In synchronous accesses, this value is not used, the address setup phase is always 1 Flash clock period duration. In muxed mode, the minimum ADDSET value is 1..

ADDHLD

Bits 4-7: Address-hold phase duration. These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in asynchronous multiplexed accesses: ... Note: In synchronous NOR Flash accesses, this value is not used, the address hold phase is always 1 Flash clock period duration..

DATAST

Bits 8-15: Data-phase duration. These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous SRAM, PSRAM and NOR Flash memory accesses:.

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write transaction to match the minimum time between consecutive transactions (tEHEL from ENx high to ENx low): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin. The programmed bus turnaround delay is inserted between a an asynchronous write transfer and any other asynchronous /synchronous read or write transfer to or from a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except for muxed mode and mode D. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank A synchronous write transfer ((in Burst or Single mode) and an asynchronous write or read transfer to or from static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write transfer (in Burst or Single mode) and a synchronous read from the same or a different bank. ....

ACCMOD

Bits 28-29: Access mode. These bits specify the asynchronous access modes as shown in the next timing diagrams.These bits are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

BWTR2

This register contains the control information of each memory bank. It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD bit is set in the FMC_BCRx register, then this register is active for write access.

Offset: 0x10c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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. These bits are written by software to define the duration of the address setup phase in KCK_FMC cycles (refer to Figure81 to Figure93), used in asynchronous accesses: ... Note: In synchronous accesses, this value is not used, the address setup phase is always 1 Flash clock period duration. In muxed mode, the minimum ADDSET value is 1..

ADDHLD

Bits 4-7: Address-hold phase duration. These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in asynchronous multiplexed accesses: ... Note: In synchronous NOR Flash accesses, this value is not used, the address hold phase is always 1 Flash clock period duration..

DATAST

Bits 8-15: Data-phase duration. These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous SRAM, PSRAM and NOR Flash memory accesses:.

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write transaction to match the minimum time between consecutive transactions (tEHEL from ENx high to ENx low): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin. The programmed bus turnaround delay is inserted between a an asynchronous write transfer and any other asynchronous /synchronous read or write transfer to or from a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except for muxed mode and mode D. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank A synchronous write transfer ((in Burst or Single mode) and an asynchronous write or read transfer to or from static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write transfer (in Burst or Single mode) and a synchronous read from the same or a different bank. ....

ACCMOD

Bits 28-29: Access mode. These bits specify the asynchronous access modes as shown in the next timing diagrams.These bits are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

BWTR3

This register contains the control information of each memory bank. It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD bit is set in the FMC_BCRx register, then this register is active for write access.

Offset: 0x114, size: 32, reset: 0x0FFFFFFF, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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. These bits are written by software to define the duration of the address setup phase in KCK_FMC cycles (refer to Figure81 to Figure93), used in asynchronous accesses: ... Note: In synchronous accesses, this value is not used, the address setup phase is always 1 Flash clock period duration. In muxed mode, the minimum ADDSET value is 1..

ADDHLD

Bits 4-7: Address-hold phase duration. These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in asynchronous multiplexed accesses: ... Note: In synchronous NOR Flash accesses, this value is not used, the address hold phase is always 1 Flash clock period duration..

DATAST

Bits 8-15: Data-phase duration. These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous SRAM, PSRAM and NOR Flash memory accesses:.

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write transaction to match the minimum time between consecutive transactions (tEHEL from ENx high to ENx low): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin. The programmed bus turnaround delay is inserted between a an asynchronous write transfer and any other asynchronous /synchronous read or write transfer to or from a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except for muxed mode and mode D. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank A synchronous write transfer ((in Burst or Single mode) and an asynchronous write or read transfer to or from static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write transfer (in Burst or Single mode) and a synchronous read from the same or a different bank. ....

ACCMOD

Bits 28-29: Access mode. These bits specify the asynchronous access modes as shown in the next timing diagrams.These bits are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

BWTR4

This register contains the control information of each memory bank. It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD bit is set in the FMC_BCRx register, then this register is active for write access.

Offset: 0x11c, size: 32, reset: 0x0FFFFFFF, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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. These bits are written by software to define the duration of the address setup phase in KCK_FMC cycles (refer to Figure81 to Figure93), used in asynchronous accesses: ... Note: In synchronous accesses, this value is not used, the address setup phase is always 1 Flash clock period duration. In muxed mode, the minimum ADDSET value is 1..

ADDHLD

Bits 4-7: Address-hold phase duration. These bits are written by software to define the duration of the address hold phase (refer to Figure81 to Figure93), used in asynchronous multiplexed accesses: ... Note: In synchronous NOR Flash accesses, this value is not used, the address hold phase is always 1 Flash clock period duration..

DATAST

Bits 8-15: Data-phase duration. These bits are written by software to define the duration of the data phase (refer to Figure81 to Figure93), used in asynchronous SRAM, PSRAM and NOR Flash memory accesses:.

BUSTURN

Bits 16-19: Bus turnaround phase duration These bits are written by software to add a delay at the end of a write transaction to match the minimum time between consecutive transactions (tEHEL from ENx high to ENx low): (BUSTRUN + 1) KCK_FMC period &#8805; tEHELmin. The programmed bus turnaround delay is inserted between a an asynchronous write transfer and any other asynchronous /synchronous read or write transfer to or from a static bank. If a read operation is performed, the bank can be the same or a different one, whereas it must be different in case of write operation to the bank, except in muxed mode or mode D. In some cases, whatever the programmed BUSTRUN values, the bus turnaround delay is fixed as follows: The bus turnaround delay is not inserted between two consecutive asynchronous write transfers to the same static memory bank except for muxed mode and mode D. There is a bus turnaround delay of 2 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to the same bank A synchronous write transfer ((in Burst or Single mode) and an asynchronous write or read transfer to or from static memory bank. There is a bus turnaround delay of 3 FMC clock cycle between: Two consecutive synchronous write operations (in Burst or Single mode) to different static banks. A synchronous write transfer (in Burst or Single mode) and a synchronous read from the same or a different bank. ....

ACCMOD

Bits 28-29: Access mode. These bits specify the asynchronous access modes as shown in the next timing diagrams.These bits are taken into account only when the EXTMOD bit in the FMC_BCRx register is 1..

SDCR[1]

This register contains the control parameters for each SDRAM memory bank

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 These bits define the number of bits of a column address..

NR

Bits 2-3: Number of row address bits These bits define the number of bits of a row address..

MWID

Bits 4-5: Memory data bus width. These bits define the memory device width..

NB

Bit 6: Number of internal banks This bit sets the number of internal banks..

CAS

Bits 7-8: CAS Latency This bits sets the SDRAM CAS latency in number of memory clock cycles.

WP

Bit 9: Write protection This bit enables write mode access to the SDRAM bank..

SDCLK

Bits 10-11: SDRAM clock configuration These bits define the SDRAM clock period for both SDRAM banks and allow disabling the clock before changing the frequency. In this case the SDRAM must be re-initialized. Note: The corresponding bits in the FMC_SDCR2 register is read only..

RBURST

Bit 12: Burst read This bit enables burst read mode. The SDRAM controller anticipates the next read commands during the CAS latency and stores data in the Read FIFO. Note: The corresponding bit in the FMC_SDCR2 register is read only..

RPIPE

Bits 13-14: Read pipe These bits define the delay, in KCK_FMC clock cycles, for reading data after CAS latency. Note: The corresponding bits in the FMC_SDCR2 register is read only..

SDCR[2]

This register contains the control parameters for each SDRAM memory bank

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 These bits define the number of bits of a column address..

NR

Bits 2-3: Number of row address bits These bits define the number of bits of a row address..

MWID

Bits 4-5: Memory data bus width. These bits define the memory device width..

NB

Bit 6: Number of internal banks This bit sets the number of internal banks..

CAS

Bits 7-8: CAS Latency This bits sets the SDRAM CAS latency in number of memory clock cycles.

WP

Bit 9: Write protection This bit enables write mode access to the SDRAM bank..

SDCLK

Bits 10-11: SDRAM clock configuration These bits define the SDRAM clock period for both SDRAM banks and allow disabling the clock before changing the frequency. In this case the SDRAM must be re-initialized. Note: The corresponding bits in the FMC_SDCR2 register is read only..

RBURST

Bit 12: Burst read This bit enables burst read mode. The SDRAM controller anticipates the next read commands during the CAS latency and stores data in the Read FIFO. Note: The corresponding bit in the FMC_SDCR2 register is read only..

RPIPE

Bits 13-14: Read pipe These bits define the delay, in KCK_FMC clock cycles, for reading data after CAS latency. Note: The corresponding bits in the FMC_SDCR2 register is read only..

SDTR[1]

This register contains the timing parameters of each SDRAM bank

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 These bits define the delay between a Load Mode Register command and an Active or Refresh command in number of memory clock cycles. .....

TXSR

Bits 4-7: Exit Self-refresh delay These bits define the delay from releasing the Self-refresh command to issuing the Activate command in number of memory clock cycles. .... Note: If two SDRAM devices are used, the FMC_SDTR1 and FMC_SDTR2 must be programmed with the same TXSR timing corresponding to the slowest SDRAM device..

TRAS

Bits 8-11: Self refresh time These bits define the minimum Self-refresh period in number of memory clock cycles. .....

TRC

Bits 12-15: Row cycle delay These bits define the delay between the Refresh command and the Activate command, as well as the delay between two consecutive Refresh commands. It is expressed in number of memory clock cycles. The TRC timing is only configured in the FMC_SDTR1 register. If two SDRAM devices are used, the TRC must be programmed with the timings of the slowest device. .... Note: TRC must match the TRC and TRFC (Auto Refresh period) timings defined in the SDRAM device datasheet. Note: The corresponding bits in the FMC_SDTR2 register are dont care..

TWR

Bits 16-19: Recovery delay These bits define the delay between a Write and a Precharge command in number of memory clock cycles. .... Note: TWR must be programmed to match the write recovery time (tWR) defined in the SDRAM datasheet, and to guarantee that: TWR &#8805; TRAS - TRCD and TWR &#8805;TRC - TRCD - TRP Example: TRAS= 4 cycles, TRCD= 2 cycles. So, TWR &gt;= 2 cycles. TWR must be programmed to 0x1. If two SDRAM devices are used, the FMC_SDTR1 and FMC_SDTR2 must be programmed with the same TWR timing corresponding to the slowest SDRAM device..

TRP

Bits 20-23: Row precharge delay These bits define the delay between a Precharge command and another command in number of memory clock cycles. The TRP timing is only configured in the FMC_SDTR1 register. If two SDRAM devices are used, the TRP must be programmed with the timing of the slowest device. .... Note: The corresponding bits in the FMC_SDTR2 register are dont care..

TRCD

Bits 24-27: Row to column delay These bits define the delay between the Activate command and a Read/Write command in number of memory clock cycles. .....

SDTR[2]

This register contains the timing parameters of each SDRAM bank

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 These bits define the delay between a Load Mode Register command and an Active or Refresh command in number of memory clock cycles. .....

TXSR

Bits 4-7: Exit Self-refresh delay These bits define the delay from releasing the Self-refresh command to issuing the Activate command in number of memory clock cycles. .... Note: If two SDRAM devices are used, the FMC_SDTR1 and FMC_SDTR2 must be programmed with the same TXSR timing corresponding to the slowest SDRAM device..

TRAS

Bits 8-11: Self refresh time These bits define the minimum Self-refresh period in number of memory clock cycles. .....

TRC

Bits 12-15: Row cycle delay These bits define the delay between the Refresh command and the Activate command, as well as the delay between two consecutive Refresh commands. It is expressed in number of memory clock cycles. The TRC timing is only configured in the FMC_SDTR1 register. If two SDRAM devices are used, the TRC must be programmed with the timings of the slowest device. .... Note: TRC must match the TRC and TRFC (Auto Refresh period) timings defined in the SDRAM device datasheet. Note: The corresponding bits in the FMC_SDTR2 register are dont care..

TWR

Bits 16-19: Recovery delay These bits define the delay between a Write and a Precharge command in number of memory clock cycles. .... Note: TWR must be programmed to match the write recovery time (tWR) defined in the SDRAM datasheet, and to guarantee that: TWR &#8805; TRAS - TRCD and TWR &#8805;TRC - TRCD - TRP Example: TRAS= 4 cycles, TRCD= 2 cycles. So, TWR &gt;= 2 cycles. TWR must be programmed to 0x1. If two SDRAM devices are used, the FMC_SDTR1 and FMC_SDTR2 must be programmed with the same TWR timing corresponding to the slowest SDRAM device..

TRP

Bits 20-23: Row precharge delay These bits define the delay between a Precharge command and another command in number of memory clock cycles. The TRP timing is only configured in the FMC_SDTR1 register. If two SDRAM devices are used, the TRP must be programmed with the timing of the slowest device. .... Note: The corresponding bits in the FMC_SDTR2 register are dont care..

TRCD

Bits 24-27: Row to column delay These bits define the delay between the Activate command and a Read/Write command in number of memory clock cycles. .....

SDCMR

This register contains the command issued when the SDRAM device is accessed. This register is used to initialize the SDRAM device, and to activate the Self-refresh and the Power-down modes. As soon as the MODE field is written, the command will be issued only to one or to both SDRAM banks according to CTB1 and CTB2 command bits. This register is the same for both SDRAM banks.

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 These bits define the command issued to the SDRAM device. Note: When a command is issued, at least one Command Target Bank bit ( CTB1 or CTB2) must be set otherwise the command will be ignored. Note: If two SDRAM banks are used, the Auto-refresh and PALL command must be issued simultaneously to the two devices with CTB1 and CTB2 bits set otherwise the command will be ignored. Note: If only one SDRAM bank is used and a command is issued with its associated CTB bit set, the other CTB bit of the unused bank must be kept to 0..

CTB2

Bit 3: Command Target Bank 2 This bit indicates whether the command will be issued to SDRAM Bank 2 or not..

CTB1

Bit 4: Command Target Bank 1 This bit indicates whether the command will be issued to SDRAM Bank 1 or not..

NRFS

Bits 5-8: Number of Auto-refresh These bits define the number of consecutive Auto-refresh commands issued when MODE = 011. .....

MRD

Bits 9-22: Mode Register definition This 14-bit field defines the SDRAM Mode Register content. The Mode Register is programmed using the Load Mode Register command. The MRD[13:0] bits are also used to program the extended mode register for mobile SDRAM..

SDRTR

This register sets the refresh rate in number of SDCLK clock cycles between the refresh cycles by configuring the Refresh Timer Count value.Examplewhere 64 ms is the SDRAM refresh period.The refresh rate must be increased by 20 SDRAM clock cycles (as in the above example) to obtain a safe margin if an internal refresh request occurs when a read request has been accepted. It corresponds to a COUNT value of 0000111000000 (448). This 13-bit field is loaded into a timer which is decremented using the SDRAM clock. This timer generates a refresh pulse when zero is reached. The COUNT value must be set at least to 41 SDRAM clock cycles.As soon as the FMC_SDRTR register is programmed, the timer starts counting. If the value programmed in the register is 0, no refresh is carried out. This register must not be reprogrammed after the initialization procedure to avoid modifying the refresh rate.Each time a refresh pulse is generated, this 13-bit COUNT field is reloaded into the counter.If a memory access is in progress, the Auto-refresh request is delayed. However, if the memory access and Auto-refresh requests are generated simultaneously, the Auto-refresh takes precedence. If the memory access occurs during a refresh operation, the request is buffered to be processed when the refresh is complete.This register is common to SDRAM bank 1 and bank 2.

Offset: 0x154, size: 32, reset: 0x00000000, access: Unspecified

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 This bit is used to clear the Refresh Error Flag (RE) in the Status Register..

COUNT

Bits 1-13: Refresh Timer Count This 13-bit field defines the refresh rate of the SDRAM device. It is expressed in number of memory clock cycles. It must be set at least to 41 SDRAM clock cycles (0x29). Refresh rate = (COUNT + 1) x SDRAM frequency clock COUNT = (SDRAM refresh period / Number of rows) - 20.

REIE

Bit 14: RES Interrupt Enable.

SDSR

SDRAM Status register

Offset: 0x158, 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
MODES2
r
MODES1
r
RE
r
Toggle fields

RE

Bit 0: Refresh error flag An interrupt is generated if REIE = 1 and RE = 1.

MODES1

Bits 1-2: Status Mode for Bank 1 These bits define the Status Mode of SDRAM Bank 1..

MODES2

Bits 3-4: Status Mode for Bank 2 These bits define the Status Mode of SDRAM Bank 2..

FPU

0xe000ef34: Floting point unit

0/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 FPCCR
0x4 FPCAR
0x8 FPSCR
Toggle registers

FPCCR

Floating-point context control register

Offset: 0x0, 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
ASPEN
rw
LSPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MONRDY
rw
BFRDY
rw
MMRDY
rw
HFRDY
rw
THREAD
rw
USER
rw
LSPACT
rw
Toggle fields

LSPACT

Bit 0: LSPACT.

USER

Bit 1: USER.

THREAD

Bit 3: THREAD.

HFRDY

Bit 4: HFRDY.

MMRDY

Bit 5: MMRDY.

BFRDY

Bit 6: BFRDY.

MONRDY

Bit 8: MONRDY.

LSPEN

Bit 30: LSPEN.

ASPEN

Bit 31: ASPEN.

FPCAR

Floating-point context address 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
ADDRESS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDRESS
rw
Toggle fields

ADDRESS

Bits 3-31: Location of unpopulated floating-point.

FPSCR

Floating-point status control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
N
rw
Z
rw
C
rw
V
rw
AHP
rw
DN
rw
FZ
rw
RMode
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDC
rw
IXC
rw
UFC
rw
OFC
rw
DZC
rw
IOC
rw
Toggle fields

IOC

Bit 0: Invalid operation cumulative exception bit.

DZC

Bit 1: Division by zero cumulative exception bit..

OFC

Bit 2: Overflow cumulative exception bit.

UFC

Bit 3: Underflow cumulative exception bit.

IXC

Bit 4: Inexact cumulative exception bit.

IDC

Bit 7: Input denormal cumulative exception bit..

RMode

Bits 22-23: Rounding Mode control field.

FZ

Bit 24: Flush-to-zero mode control bit:.

DN

Bit 25: Default NaN mode control bit.

AHP

Bit 26: Alternative half-precision control bit.

V

Bit 28: Overflow condition code flag.

C

Bit 29: Carry condition code flag.

Z

Bit 30: Zero condition code flag.

N

Bit 31: Negative condition code flag.

FPU_CPACR

0xe000ed88: Floating point unit CPACR

0/1 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 CPACR
Toggle registers

CPACR

Coprocessor access control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

CP

Bits 20-23: CP.

GPIOA

0x58020000: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOB

0x58020400: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOC

0x58020800: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOD

0x58020c00: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOE

0x58021000: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOF

0x58021400: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOG

0x58021800: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOH

0x58021c00: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOI

0x58022000: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOJ

0x58022400: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

GPIOK

0x58022800: GPIO

161/161 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
Toggle registers

MODER

GPIO port mode register

Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MODER[15]
rw
MODER[14]
rw
MODER[13]
rw
MODER[12]
rw
MODER[11]
rw
MODER[10]
rw
MODER[9]
rw
MODER[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MODER[7]
rw
MODER[6]
rw
MODER[5]
rw
MODER[4]
rw
MODER[3]
rw
MODER[2]
rw
MODER[1]
rw
MODER[0]
rw
Toggle fields

MODER[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[1]

Bits 2-3: Port x configuration pin 1.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[2]

Bits 4-5: Port x configuration pin 2.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[3]

Bits 6-7: Port x configuration pin 3.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[4]

Bits 8-9: Port x configuration pin 4.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[5]

Bits 10-11: Port x configuration pin 5.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[6]

Bits 12-13: Port x configuration pin 6.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[7]

Bits 14-15: Port x configuration pin 7.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[8]

Bits 16-17: Port x configuration pin 8.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[9]

Bits 18-19: Port x configuration pin 9.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[10]

Bits 20-21: Port x configuration pin 10.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[11]

Bits 22-23: Port x configuration pin 11.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[12]

Bits 24-25: Port x configuration pin 12.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[13]

Bits 26-27: Port x configuration pin 13.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[14]

Bits 28-29: Port x configuration pin 14.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

MODER[15]

Bits 30-31: Port x configuration pin 15.

Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode

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: 0x0C000000, access: read-write

16/16 fields covered.

Toggle fields

OSPEEDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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

OSPEEDR[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: 0x12100000, access: read-write

16/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PUPDR[15]
rw
PUPDR[14]
rw
PUPDR[13]
rw
PUPDR[12]
rw
PUPDR[11]
rw
PUPDR[10]
rw
PUPDR[9]
rw
PUPDR[8]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PUPDR[7]
rw
PUPDR[6]
rw
PUPDR[5]
rw
PUPDR[4]
rw
PUPDR[3]
rw
PUPDR[2]
rw
PUPDR[1]
rw
PUPDR[0]
rw
Toggle fields

PUPDR[0]

Bits 0-1: Port x configuration pin 0.

Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

PUPDR[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

IDR[0]

Bit 0: Port input data pin 0.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[1]

Bit 1: Port input data pin 1.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[2]

Bit 2: Port input data pin 2.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[3]

Bit 3: Port input data pin 3.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[4]

Bit 4: Port input data pin 4.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[5]

Bit 5: Port input data pin 5.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[6]

Bit 6: Port input data pin 6.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[7]

Bit 7: Port input data pin 7.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[8]

Bit 8: Port input data pin 8.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[9]

Bit 9: Port input data pin 9.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[10]

Bit 10: Port input data pin 10.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[11]

Bit 11: Port input data pin 11.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[12]

Bit 12: Port input data pin 12.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[13]

Bit 13: Port input data pin 13.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[14]

Bit 14: Port input data pin 14.

Allowed values:
0: Low: Input is logic low
1: High: Input is logic high

IDR[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

ODR[0]

Bit 0: Port output data pin 0.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[1]

Bit 1: Port output data pin 1.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[2]

Bit 2: Port output data pin 2.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[3]

Bit 3: Port output data pin 3.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[4]

Bit 4: Port output data pin 4.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[5]

Bit 5: Port output data pin 5.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[6]

Bit 6: Port output data pin 6.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[7]

Bit 7: Port output data pin 7.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[8]

Bit 8: Port output data pin 8.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[9]

Bit 9: Port output data pin 9.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[10]

Bit 10: Port output data pin 10.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[11]

Bit 11: Port output data pin 11.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[12]

Bit 12: Port output data pin 12.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[13]

Bit 13: Port output data pin 13.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[14]

Bit 14: Port output data pin 14.

Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high

ODR[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 ODRx bit

BS[1]

Bit 1: Port x set pin 1.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[2]

Bit 2: Port x set pin 2.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[3]

Bit 3: Port x set pin 3.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[4]

Bit 4: Port x set pin 4.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[5]

Bit 5: Port x set pin 5.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[6]

Bit 6: Port x set pin 6.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[7]

Bit 7: Port x set pin 7.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[8]

Bit 8: Port x set pin 8.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[9]

Bit 9: Port x set pin 9.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[10]

Bit 10: Port x set pin 10.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[11]

Bit 11: Port x set pin 11.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[12]

Bit 12: Port x set pin 12.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[13]

Bit 13: Port x set pin 13.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[14]

Bit 14: Port x set pin 14.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BS[15]

Bit 15: Port x set pin 15.

Allowed values:
1: Set: Sets the corresponding ODRx bit

BR[0]

Bit 16: Port x reset pin 0.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[1]

Bit 17: Port x reset pin 1.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[2]

Bit 18: Port x reset pin 2.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[3]

Bit 19: Port x reset pin 3.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[4]

Bit 20: Port x reset pin 4.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[5]

Bit 21: Port x reset pin 5.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[6]

Bit 22: Port x reset pin 6.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[7]

Bit 23: Port x reset pin 7.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[8]

Bit 24: Port x reset pin 8.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[9]

Bit 25: Port x reset pin 9.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[10]

Bit 26: Port x reset pin 10.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[11]

Bit 27: Port x reset pin 11.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[12]

Bit 28: Port x reset pin 12.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[13]

Bit 29: Port x reset pin 13.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[14]

Bit 30: Port x reset pin 14.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

BR[15]

Bit 31: Port x reset pin 15.

Allowed values:
1: Reset: Resets the corresponding ODRx bit

LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).

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 This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset..

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[7]
rw
AFR[6]
rw
AFR[5]
rw
AFR[4]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[3]
rw
AFR[2]
rw
AFR[1]
rw
AFR[0]
rw
Toggle fields

AFR[0]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[1]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[2]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[3]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[4]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[5]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[6]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[7]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]
rw
AFR[14]
rw
AFR[13]
rw
AFR[12]
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AFR[11]
rw
AFR[10]
rw
AFR[9]
rw
AFR[8]
rw
Toggle fields

AFR[8]

Bits 0-3: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[9]

Bits 4-7: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[10]

Bits 8-11: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[11]

Bits 12-15: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[12]

Bits 16-19: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[13]

Bits 20-23: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[14]

Bits 24-27: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
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[15]

Bits 28-31: [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os.

Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15

HASH

0x48021400: Hash processor

17/86 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 HR[0]
0x10 HR[1]
0x14 HR[2]
0x18 HR[3]
0x1c HR[4]
0x20 IMR
0x24 SR
0xf8 CSR[0]
0xfc CSR[1]
0x100 CSR[2]
0x104 CSR[3]
0x108 CSR[4]
0x10c CSR[5]
0x110 CSR[6]
0x114 CSR[7]
0x118 CSR[8]
0x11c CSR[9]
0x120 CSR[10]
0x124 CSR[11]
0x128 CSR[12]
0x12c CSR[13]
0x130 CSR[14]
0x134 CSR[15]
0x138 CSR[16]
0x13c CSR[17]
0x140 CSR[18]
0x144 CSR[19]
0x148 CSR[20]
0x14c CSR[21]
0x150 CSR[22]
0x154 CSR[23]
0x158 CSR[24]
0x15c CSR[25]
0x160 CSR[26]
0x164 CSR[27]
0x168 CSR[28]
0x16c CSR[29]
0x170 CSR[30]
0x174 CSR[31]
0x178 CSR[32]
0x17c CSR[33]
0x180 CSR[34]
0x184 CSR[35]
0x188 CSR[36]
0x18c CSR[37]
0x190 CSR[38]
0x194 CSR[39]
0x198 CSR[40]
0x19c CSR[41]
0x1a0 CSR[42]
0x1a4 CSR[43]
0x1a8 CSR[44]
0x1ac CSR[45]
0x1b0 CSR[46]
0x1b4 CSR[47]
0x1b8 CSR[48]
0x1bc CSR[49]
0x1c0 CSR[50]
0x1c4 CSR[51]
0x1c8 CSR[52]
0x1cc CSR[53]
0x310 HASH_HR[0]
0x314 HASH_HR[1]
0x318 HASH_HR[2]
0x31c HASH_HR[3]
0x320 HASH_HR[4]
0x324 HASH_HR[5]
0x328 HASH_HR[6]
0x32c HASH_HR[7]
Toggle registers

CR

control register

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

2/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALGO1
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
ALGO0
rw
MODE
rw
DATATYPE
rw
DMAE
rw
INIT
w
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.

ALGO0

Bit 7: Algorithm 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.

ALGO1

Bit 18: ALGO.

DIN

data input 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
DATAIN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAIN
rw
Toggle fields

DATAIN

Bits 0-31: Data input.

STR

start register

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCAL
w
NBLW
rw
Toggle fields

NBLW

Bits 0-4: Number of valid bits in the last word of the message.

DCAL

Bit 8: Digest calculation.

HR[0]

digest registers

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HR[1]

digest registers

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HR[2]

digest registers

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HR[3]

digest registers

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HR[4]

digest registers

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

IMR

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

status register

Offset: 0x24, size: 32, reset: 0x00000001, access: Unspecified

2/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CSR[0]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[1]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[2]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[3]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[4]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[5]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[6]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[7]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[8]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[9]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[10]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[11]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[12]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[13]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[14]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[15]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[16]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[17]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[18]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[19]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[20]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[21]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[22]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[23]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[24]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[25]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[26]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[27]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[28]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[29]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[30]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[31]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[32]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[33]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[34]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[35]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[36]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[37]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[38]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[39]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[40]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[41]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[42]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[43]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[44]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[45]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[46]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[47]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[48]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[49]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[50]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[51]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[52]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

CSR[53]

context swap registers

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
CSR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSR
rw
Toggle fields

CSR

Bits 0-31: CSR0.

HASH_HR[0]

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[1]

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[2]

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[3]

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[4]

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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[5]

HASH 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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[6]

HASH 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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HASH_HR[7]

HASH 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
H
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
H
r
Toggle fields

H

Bits 0-31: H0.

HRTIM_Common

0x40017780: High Resolution Timer: Common functions

17/357 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 ISR
0xc ICR
0x10 IER
0x14 OENR
0x18 DISR
0x1c ODSR
0x20 BMCR
0x24 BMTRG
0x28 BMCMPR6
0x2c BMPER
0x30 EECR1
0x34 EECR2
0x38 EECR3
0x3c ADC1R
0x40 ADC2R
0x44 ADC3R
0x48 ADC4R
0x4c DLLCR
0x50 FLTINR1
0x54 FLTINR2
0x58 BDMUPDR
0x5c BDTxUPR
0x70 BDMADR
Toggle registers

CR1

Control Register 1

Offset: 0x0, 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
AD4USRC
rw
AD3USRC
rw
AD2USRC
rw
AD1USRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEUDIS
rw
TDUDIS
rw
TCUDIS
rw
TBUDIS
rw
TAUDIS
rw
MUDIS
rw
Toggle fields

MUDIS

Bit 0: Master Update Disable.

TAUDIS

Bit 1: Timer A Update Disable.

TBUDIS

Bit 2: Timer B Update Disable.

TCUDIS

Bit 3: Timer C Update Disable.

TDUDIS

Bit 4: Timer D Update Disable.

TEUDIS

Bit 5: Timer E Update Disable.

AD1USRC

Bits 16-18: ADC Trigger 1 Update Source.

AD2USRC

Bits 19-21: ADC Trigger 2 Update Source.

AD3USRC

Bits 22-24: ADC Trigger 3 Update Source.

AD4USRC

Bits 25-27: ADC Trigger 4 Update Source.

CR2

Control Register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TERST
rw
TDRST
rw
TCRST
rw
TBRST
rw
TARST
rw
MRST
rw
TESWU
rw
TDSWU
rw
TCSWU
rw
TBSWU
rw
TASWU
rw
MSWU
rw
Toggle fields

MSWU

Bit 0: Master Timer Software update.

TASWU

Bit 1: Timer A Software update.

TBSWU

Bit 2: Timer B Software Update.

TCSWU

Bit 3: Timer C Software Update.

TDSWU

Bit 4: Timer D Software Update.

TESWU

Bit 5: Timer E Software Update.

MRST

Bit 8: Master Counter software reset.

TARST

Bit 9: Timer A counter software reset.

TBRST

Bit 10: Timer B counter software reset.

TCRST

Bit 11: Timer C counter software reset.

TDRST

Bit 12: Timer D counter software reset.

TERST

Bit 13: Timer E counter software reset.

ISR

Interrupt Status Register

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

7/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BMPER
r
DLLRDY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SYSFLT
rw
FLT5
r
FLT4
r
FLT3
r
FLT2
r
FLT1
r
Toggle fields

FLT1

Bit 0: Fault 1 Interrupt Flag.

FLT2

Bit 1: Fault 2 Interrupt Flag.

FLT3

Bit 2: Fault 3 Interrupt Flag.

FLT4

Bit 3: Fault 4 Interrupt Flag.

FLT5

Bit 4: Fault 5 Interrupt Flag.

SYSFLT

Bit 5: System Fault Interrupt Flag.

DLLRDY

Bit 16: DLL Ready Interrupt Flag.

BMPER

Bit 17: Burst mode Period Interrupt Flag.

ICR

Interrupt Clear Register

Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BMPERC
w
DLLRDYC
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SYSFLTC
rw
FLT5C
w
FLT4C
w
FLT3C
w
FLT2C
w
FLT1C
w
Toggle fields

FLT1C

Bit 0: Fault 1 Interrupt Flag Clear.

FLT2C

Bit 1: Fault 2 Interrupt Flag Clear.

FLT3C

Bit 2: Fault 3 Interrupt Flag Clear.

FLT4C

Bit 3: Fault 4 Interrupt Flag Clear.

FLT5C

Bit 4: Fault 5 Interrupt Flag Clear.

SYSFLTC

Bit 5: System Fault Interrupt Flag Clear.

DLLRDYC

Bit 16: DLL Ready Interrupt flag Clear.

BMPERC

Bit 17: Burst mode period flag Clear.

IER

Interrupt Enable Register

Offset: 0x10, 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
BMPERIE
rw
DLLRDYIE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SYSFLTE
rw
FLT5IE
rw
FLT4IE
rw
FLT3IE
rw
FLT2IE
rw
FLT1IE
rw
Toggle fields

FLT1IE

Bit 0: Fault 1 Interrupt Enable.

FLT2IE

Bit 1: Fault 2 Interrupt Enable.

FLT3IE

Bit 2: Fault 3 Interrupt Enable.

FLT4IE

Bit 3: Fault 4 Interrupt Enable.

FLT5IE

Bit 4: Fault 5 Interrupt Enable.

SYSFLTE

Bit 5: System Fault Interrupt Enable.

DLLRDYIE

Bit 16: DLL Ready Interrupt Enable.

BMPERIE

Bit 17: Burst mode period Interrupt Enable.

OENR

Output Enable Register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

0/10 fields covered.

Toggle fields

TA1OEN

Bit 0: Timer A Output 1 Enable.

TA2OEN

Bit 1: Timer A Output 2 Enable.

TB1OEN

Bit 2: Timer B Output 1 Enable.

TB2OEN

Bit 3: Timer B Output 2 Enable.

TC1OEN

Bit 4: Timer C Output 1 Enable.

TC2OEN

Bit 5: Timer C Output 2 Enable.

TD1OEN

Bit 6: Timer D Output 1 Enable.

TD2OEN

Bit 7: Timer D Output 2 Enable.

TE1OEN

Bit 8: Timer E Output 1 Enable.

TE2OEN

Bit 9: Timer E Output 2 Enable.

DISR

DISR

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

Toggle fields

TA1ODIS

Bit 0: TA1ODIS.

TA2ODIS

Bit 1: TA2ODIS.

TB1ODIS

Bit 2: TB1ODIS.

TB2ODIS

Bit 3: TB2ODIS.

TC1ODIS

Bit 4: TC1ODIS.

TC2ODIS

Bit 5: TC2ODIS.

TD1ODIS

Bit 6: TD1ODIS.

TD2ODIS

Bit 7: TD2ODIS.

TE1ODIS

Bit 8: TE1ODIS.

TE2ODIS

Bit 9: TE2ODIS.

ODSR

Output Disable Status Register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only

10/10 fields covered.

Toggle fields

TA1ODS

Bit 0: Timer A Output 1 disable status.

TA2ODS

Bit 1: Timer A Output 2 disable status.

TB1ODS

Bit 2: Timer B Output 1 disable status.

TB2ODS

Bit 3: Timer B Output 2 disable status.

TC1ODS

Bit 4: Timer C Output 1 disable status.

TC2ODS

Bit 5: Timer C Output 2 disable status.

TD1ODS

Bit 6: Timer D Output 1 disable status.

TD2ODS

Bit 7: Timer D Output 2 disable status.

TE1ODS

Bit 8: Timer E Output 1 disable status.

TE2ODS

Bit 9: Timer E Output 2 disable status.

BMCR

Burst Mode Control Register

Offset: 0x20, 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
BMSTAT
rw
TEBM
rw
TDBM
rw
TCBM
rw
TBBM
rw
TABM
rw
MTBM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BMPREN
rw
BMPRSC
rw
BMCLK
rw
BMOM
rw
BME
rw
Toggle fields

BME

Bit 0: Burst Mode enable.

BMOM

Bit 1: Burst Mode operating mode.

BMCLK

Bits 2-5: Burst Mode Clock source.

BMPRSC

Bits 6-9: Burst Mode Prescaler.

BMPREN

Bit 10: Burst Mode Preload Enable.

MTBM

Bit 16: Master Timer Burst Mode.

TABM

Bit 17: Timer A Burst Mode.

TBBM

Bit 18: Timer B Burst Mode.

TCBM

Bit 19: Timer C Burst Mode.

TDBM

Bit 20: Timer D Burst Mode.

TEBM

Bit 21: Timer E Burst Mode.

BMSTAT

Bit 31: Burst Mode Status.

BMTRG

BMTRG

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OCHPEV
rw
TECMP2
rw
TECMP1
rw
TEREP
rw
TERST
rw
TDCMP2
rw
TDCMP1
rw
TDREP
rw
TDRST
rw
TCCMP2
rw
TCCMP1
rw
TCREP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCRST
rw
TBCMP2
rw
TBCMP1
rw
TBREP
rw
TBRST
rw
TACMP2
rw
TACMP1
rw
TAREP
rw
TARST
rw
MSTCMP4
rw
MSTCMP3
rw
MSTCMP2
rw
MSTCMP1
rw
MSTREP
rw
MSTRST
rw
SW
rw
Toggle fields

SW

Bit 0: SW.

MSTRST

Bit 1: MSTRST.

MSTREP

Bit 2: MSTREP.

MSTCMP1

Bit 3: MSTCMP1.

MSTCMP2

Bit 4: MSTCMP2.

MSTCMP3

Bit 5: MSTCMP3.

MSTCMP4

Bit 6: MSTCMP4.

TARST

Bit 7: TARST.

TAREP

Bit 8: TAREP.

TACMP1

Bit 9: TACMP1.

TACMP2

Bit 10: TACMP2.

TBRST

Bit 11: TBRST.

TBREP

Bit 12: TBREP.

TBCMP1

Bit 13: TBCMP1.

TBCMP2

Bit 14: TBCMP2.

TCRST

Bit 15: TCRST.

TCREP

Bit 16: TCREP.

TCCMP1

Bit 17: TCCMP1.

TCCMP2

Bit 18: TCCMP2.

TDRST

Bit 19: TDRST.

TDREP

Bit 20: TDREP.

TDCMP1

Bit 21: TDCMP1.

TDCMP2

Bit 22: TDCMP2.

TERST

Bit 23: TERST.

TEREP

Bit 24: TEREP.

TECMP1

Bit 25: TECMP1.

TECMP2

Bit 26: TECMP2.

OCHPEV

Bit 31: OCHPEV.

BMCMPR6

BMCMPR6

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
BMCMP
rw
Toggle fields

BMCMP

Bits 0-15: BMCMP.

BMPER

Burst Mode Period Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BMPER
rw
Toggle fields

BMPER

Bits 0-15: Burst mode Period.

EECR1

Timer External Event Control Register 1

Offset: 0x30, 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
EE5FAST
rw
EE5SNS
rw
EE5POL
rw
EE5SRC
rw
EE4FAST
rw
EE4SNS
rw
EE4POL
rw
EE4SRC
rw
EE3FAST
rw
EE3SNS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE3SNS
rw
EE3POL
rw
EE3SRC
rw
EE2FAST
rw
EE2SNS
rw
EE2POL
rw
EE2SRC
rw
EE1FAST
rw
EE1SNS
rw
EE1POL
rw
EE1SRC
rw
Toggle fields

EE1SRC

Bits 0-1: External Event 1 Source.

EE1POL

Bit 2: External Event 1 Polarity.

EE1SNS

Bits 3-4: External Event 1 Sensitivity.

EE1FAST

Bit 5: External Event 1 Fast mode.

EE2SRC

Bits 6-7: External Event 2 Source.

EE2POL

Bit 8: External Event 2 Polarity.

EE2SNS

Bits 9-10: External Event 2 Sensitivity.

EE2FAST

Bit 11: External Event 2 Fast mode.

EE3SRC

Bits 12-13: External Event 3 Source.

EE3POL

Bit 14: External Event 3 Polarity.

EE3SNS

Bits 15-16: External Event 3 Sensitivity.

EE3FAST

Bit 17: External Event 3 Fast mode.

EE4SRC

Bits 18-19: External Event 4 Source.

EE4POL

Bit 20: External Event 4 Polarity.

EE4SNS

Bits 21-22: External Event 4 Sensitivity.

EE4FAST

Bit 23: External Event 4 Fast mode.

EE5SRC

Bits 24-25: External Event 5 Source.

EE5POL

Bit 26: External Event 5 Polarity.

EE5SNS

Bits 27-28: External Event 5 Sensitivity.

EE5FAST

Bit 29: External Event 5 Fast mode.

EECR2

Timer External Event Control Register 2

Offset: 0x34, 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
EE10SNS
rw
EE10POL
rw
EE10SRC
rw
EE9SNS
rw
EE9POL
rw
EE9SRC
rw
EE8SNS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8SNS
rw
EE8POL
rw
EE8SRC
rw
EE7SNS
rw
EE7POL
rw
EE7SRC
rw
EE6SNS
rw
EE6POL
rw
EE6SRC
rw
Toggle fields

EE6SRC

Bits 0-1: External Event 6 Source.

EE6POL

Bit 2: External Event 6 Polarity.

EE6SNS

Bits 3-4: External Event 6 Sensitivity.

EE7SRC

Bits 6-7: External Event 7 Source.

EE7POL

Bit 8: External Event 7 Polarity.

EE7SNS

Bits 9-10: External Event 7 Sensitivity.

EE8SRC

Bits 12-13: External Event 8 Source.

EE8POL

Bit 14: External Event 8 Polarity.

EE8SNS

Bits 15-16: External Event 8 Sensitivity.

EE9SRC

Bits 18-19: External Event 9 Source.

EE9POL

Bit 20: External Event 9 Polarity.

EE9SNS

Bits 21-22: External Event 9 Sensitivity.

EE10SRC

Bits 24-25: External Event 10 Source.

EE10POL

Bit 26: External Event 10 Polarity.

EE10SNS

Bits 27-28: External Event 10 Sensitivity.

EECR3

Timer External Event Control Register 3

Offset: 0x38, 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
EE10SNS
rw
EE10POL
rw
EE10SRC
rw
EE9SNS
rw
EE9POL
rw
EE9SRC
rw
EE8SNS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8SNS
rw
EE8POL
rw
EE8SRC
rw
EE7SNS
rw
EE7POL
rw
EE7SRC
rw
EE6SNS
rw
EE6POL
rw
EE6SRC
rw
Toggle fields

EE6SRC

Bits 0-1: EE6SRC.

EE6POL

Bit 2: EE6POL.

EE6SNS

Bits 3-4: EE6SNS.

EE7SRC

Bits 6-7: EE7SRC.

EE7POL

Bit 8: EE7POL.

EE7SNS

Bits 9-10: EE7SNS.

EE8SRC

Bits 12-13: EE8SRC.

EE8POL

Bit 14: EE8POL.

EE8SNS

Bits 15-16: EE8SNS.

EE9SRC

Bits 18-19: EE9SRC.

EE9POL

Bit 20: EE9POL.

EE9SNS

Bits 21-22: EE9SNS.

EE10SRC

Bits 24-25: EE10SRC.

EE10POL

Bit 26: EE10POL.

EE10SNS

Bits 27-28: EE10SNS.

ADC1R

ADC Trigger 1 Register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

AD1MC1

Bit 0: ADC trigger 1 on Master Compare 1.

AD1MC2

Bit 1: ADC trigger 1 on Master Compare 2.

AD1MC3

Bit 2: ADC trigger 1 on Master Compare 3.

AD1MC4

Bit 3: ADC trigger 1 on Master Compare 4.

AD1MPER

Bit 4: ADC trigger 1 on Master Period.

AD1EEV1

Bit 5: ADC trigger 1 on External Event 1.

AD1EEV2

Bit 6: ADC trigger 1 on External Event 2.

AD1EEV3

Bit 7: ADC trigger 1 on External Event 3.

AD1EEV4

Bit 8: ADC trigger 1 on External Event 4.

AD1EEV5

Bit 9: ADC trigger 1 on External Event 5.

AD1TAC2

Bit 10: ADC trigger 1 on Timer A compare 2.

AD1TAC3

Bit 11: ADC trigger 1 on Timer A compare 3.

AD1TAC4

Bit 12: ADC trigger 1 on Timer A compare 4.

AD1TAPER

Bit 13: ADC trigger 1 on Timer A Period.

AD1TARST

Bit 14: ADC trigger 1 on Timer A Reset.

AD1TBC2

Bit 15: ADC trigger 1 on Timer B compare 2.

AD1TBC3

Bit 16: ADC trigger 1 on Timer B compare 3.

AD1TBC4

Bit 17: ADC trigger 1 on Timer B compare 4.

AD1TBPER

Bit 18: ADC trigger 1 on Timer B Period.

AD1TBRST

Bit 19: ADC trigger 1 on Timer B Reset.

AD1TCC2

Bit 20: ADC trigger 1 on Timer C compare 2.

AD1TCC3

Bit 21: ADC trigger 1 on Timer C compare 3.

AD1TCC4

Bit 22: ADC trigger 1 on Timer C compare 4.

AD1TCPER

Bit 23: ADC trigger 1 on Timer C Period.

AD1TDC2

Bit 24: ADC trigger 1 on Timer D compare 2.

AD1TDC3

Bit 25: ADC trigger 1 on Timer D compare 3.

AD1TDC4

Bit 26: ADC trigger 1 on Timer D compare 4.

AD1TDPER

Bit 27: ADC trigger 1 on Timer D Period.

AD1TEC2

Bit 28: ADC trigger 1 on Timer E compare 2.

AD1TEC3

Bit 29: ADC trigger 1 on Timer E compare 3.

AD1TEC4

Bit 30: ADC trigger 1 on Timer E compare 4.

AD1TEPER

Bit 31: ADC trigger 1 on Timer E Period.

ADC2R

ADC Trigger 2 Register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

AD2MC1

Bit 0: ADC trigger 2 on Master Compare 1.

AD2MC2

Bit 1: ADC trigger 2 on Master Compare 2.

AD2MC3

Bit 2: ADC trigger 2 on Master Compare 3.

AD2MC4

Bit 3: ADC trigger 2 on Master Compare 4.

AD2MPER

Bit 4: ADC trigger 2 on Master Period.

AD2EEV6

Bit 5: ADC trigger 2 on External Event 6.

AD2EEV7

Bit 6: ADC trigger 2 on External Event 7.

AD2EEV8

Bit 7: ADC trigger 2 on External Event 8.

AD2EEV9

Bit 8: ADC trigger 2 on External Event 9.

AD2EEV10

Bit 9: ADC trigger 2 on External Event 10.

AD2TAC2

Bit 10: ADC trigger 2 on Timer A compare 2.

AD2TAC3

Bit 11: ADC trigger 2 on Timer A compare 3.

AD2TAC4

Bit 12: ADC trigger 2 on Timer A compare 4.

AD2TAPER

Bit 13: ADC trigger 2 on Timer A Period.

AD2TBC2

Bit 14: ADC trigger 2 on Timer B compare 2.

AD2TBC3

Bit 15: ADC trigger 2 on Timer B compare 3.

AD2TBC4

Bit 16: ADC trigger 2 on Timer B compare 4.

AD2TBPER

Bit 17: ADC trigger 2 on Timer B Period.

AD2TCC2

Bit 18: ADC trigger 2 on Timer C compare 2.

AD2TCC3

Bit 19: ADC trigger 2 on Timer C compare 3.

AD2TCC4

Bit 20: ADC trigger 2 on Timer C compare 4.

AD2TCPER

Bit 21: ADC trigger 2 on Timer C Period.

AD2TCRST

Bit 22: ADC trigger 2 on Timer C Reset.

AD2TDC2

Bit 23: ADC trigger 2 on Timer D compare 2.

AD2TDC3

Bit 24: ADC trigger 2 on Timer D compare 3.

AD2TDC4

Bit 25: ADC trigger 2 on Timer D compare 4.

AD2TDPER

Bit 26: ADC trigger 2 on Timer D Period.

AD2TDRST

Bit 27: ADC trigger 2 on Timer D Reset.

AD2TEC2

Bit 28: ADC trigger 2 on Timer E compare 2.

AD2TEC3

Bit 29: ADC trigger 2 on Timer E compare 3.

AD2TEC4

Bit 30: ADC trigger 2 on Timer E compare 4.

AD2TERST

Bit 31: ADC trigger 2 on Timer E Reset.

ADC3R

ADC Trigger 3 Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

AD1MC1

Bit 0: AD1MC1.

AD1MC2

Bit 1: AD1MC2.

AD1MC3

Bit 2: AD1MC3.

AD1MC4

Bit 3: AD1MC4.

AD1MPER

Bit 4: AD1MPER.

AD1EEV1

Bit 5: AD1EEV1.

AD1EEV2

Bit 6: AD1EEV2.

AD1EEV3

Bit 7: AD1EEV3.

AD1EEV4

Bit 8: AD1EEV4.

AD1EEV5

Bit 9: AD1EEV5.

AD1TAC2

Bit 10: AD1TAC2.

AD1TAC3

Bit 11: AD1TAC3.

AD1TAC4

Bit 12: AD1TAC4.

AD1TAPER

Bit 13: AD1TAPER.

AD1TARST

Bit 14: AD1TARST.

AD1TBC2

Bit 15: AD1TBC2.

AD1TBC3

Bit 16: AD1TBC3.

AD1TBC4

Bit 17: AD1TBC4.

AD1TBPER

Bit 18: AD1TBPER.

AD1TBRST

Bit 19: AD1TBRST.

AD1TCC2

Bit 20: AD1TCC2.

AD1TCC3

Bit 21: AD1TCC3.

AD1TCC4

Bit 22: AD1TCC4.

AD1TCPER

Bit 23: AD1TCPER.

AD1TDC2

Bit 24: AD1TDC2.

AD1TDC3

Bit 25: AD1TDC3.

AD1TDC4

Bit 26: AD1TDC4.

AD1TDPER

Bit 27: AD1TDPER.

AD1TEC2

Bit 28: AD1TEC2.

AD1TEC3

Bit 29: AD1TEC3.

AD1TEC4

Bit 30: AD1TEC4.

AD1TEPER

Bit 31: AD1TEPER.

ADC4R

ADC Trigger 4 Register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

AD2MC1

Bit 0: AD2MC1.

AD2MC2

Bit 1: AD2MC2.

AD2MC3

Bit 2: AD2MC3.

AD2MC4

Bit 3: AD2MC4.

AD2MPER

Bit 4: AD2MPER.

AD2EEV6

Bit 5: AD2EEV6.

AD2EEV7

Bit 6: AD2EEV7.

AD2EEV8

Bit 7: AD2EEV8.

AD2EEV9

Bit 8: AD2EEV9.

AD2EEV10

Bit 9: AD2EEV10.

AD2TAC2

Bit 10: AD2TAC2.

AD2TAC3

Bit 11: AD2TAC3.

AD2TAC4

Bit 12: AD2TAC4.

AD2TAPER

Bit 13: AD2TAPER.

AD2TBC2

Bit 14: AD2TBC2.

AD2TBC3

Bit 15: AD2TBC3.

AD2TBC4

Bit 16: AD2TBC4.

AD2TBPER

Bit 17: AD2TBPER.

AD2TCC2

Bit 18: AD2TCC2.

AD2TCC3

Bit 19: AD2TCC3.

AD2TCC4

Bit 20: AD2TCC4.

AD2TCPER

Bit 21: AD2TCPER.

AD2TCRST

Bit 22: AD2TCRST.

AD2TDC2

Bit 23: AD2TDC2.

AD2TDC3

Bit 24: AD2TDC3.

AD2TDC4

Bit 25: AD2TDC4.

AD2TDPER

Bit 26: AD2TDPER.

AD2TDRST

Bit 27: AD2TDRST.

AD2TEC2

Bit 28: AD2TEC2.

AD2TEC3

Bit 29: AD2TEC3.

AD2TEC4

Bit 30: AD2TEC4.

AD2TERST

Bit 31: AD2TERST.

DLLCR

DLL Control Register

Offset: 0x4c, 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
CALRTE
rw
CALEN
rw
CAL
rw
Toggle fields

CAL

Bit 0: DLL Calibration Start.

CALEN

Bit 1: DLL Calibration Enable.

CALRTE

Bits 2-3: DLL Calibration rate.

FLTINR1

HRTIM Fault Input Register 1

Offset: 0x50, 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
FLT4LCK
rw
FLT4F
rw
FLT4SRC
rw
FLT4P
rw
FLT4E
rw
FLT3LCK
rw
FLT3F
rw
FLT3SRC
rw
FLT3P
rw
FLT3E
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT2LCK
rw
FLT2F
rw
FLT2SRC
rw
FLT2P
rw
FLT2E
rw
FLT1LCK
rw
FLT1F
rw
FLT1SRC
rw
FLT1P
rw
FLT1E
rw
Toggle fields

FLT1E

Bit 0: FLT1E.

FLT1P

Bit 1: FLT1P.

FLT1SRC

Bit 2: FLT1SRC.

FLT1F

Bits 3-6: FLT1F.

FLT1LCK

Bit 7: FLT1LCK.

FLT2E

Bit 8: FLT2E.

FLT2P

Bit 9: FLT2P.

FLT2SRC

Bit 10: FLT2SRC.

FLT2F

Bits 11-14: FLT2F.

FLT2LCK

Bit 15: FLT2LCK.

FLT3E

Bit 16: FLT3E.

FLT3P

Bit 17: FLT3P.

FLT3SRC

Bit 18: FLT3SRC.

FLT3F

Bits 19-22: FLT3F.

FLT3LCK

Bit 23: FLT3LCK.

FLT4E

Bit 24: FLT4E.

FLT4P

Bit 25: FLT4P.

FLT4SRC

Bit 26: FLT4SRC.

FLT4F

Bits 27-30: FLT4F.

FLT4LCK

Bit 31: FLT4LCK.

FLTINR2

HRTIM Fault Input Register 2

Offset: 0x54, 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
FLTSD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT5LCK
rw
FLT5F
rw
FLT5SRC
rw
FLT5P
rw
FLT5E
rw
Toggle fields

FLT5E

Bit 0: FLT5E.

FLT5P

Bit 1: FLT5P.

FLT5SRC

Bit 2: FLT5SRC.

FLT5F

Bits 3-6: FLT5F.

FLT5LCK

Bit 7: FLT5LCK.

FLTSD

Bits 24-25: FLTSD.

BDMUPDR

BDMUPDR

Offset: 0x58, 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
MCMP4
rw
MCMP3
rw
MCMP2
rw
MCMP1
rw
MREP
rw
MPER
rw
MCNT
rw
MDIER
rw
MICR
rw
MCR
rw
Toggle fields

MCR

Bit 0: MCR.

MICR

Bit 1: MICR.

MDIER

Bit 2: MDIER.

MCNT

Bit 3: MCNT.

MPER

Bit 4: MPER.

MREP

Bit 5: MREP.

MCMP1

Bit 6: MCMP1.

MCMP2

Bit 7: MCMP2.

MCMP3

Bit 8: MCMP3.

MCMP4

Bit 9: MCMP4.

BDTxUPR

Burst DMA Timerx update Register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

Toggle fields

TIMxCR

Bit 0: HRTIM_TIMxCR register update enable.

TIMxICR

Bit 1: HRTIM_TIMxICR register update enable.

TIMxDIER

Bit 2: HRTIM_TIMxDIER register update enable.

TIMxCNT

Bit 3: HRTIM_CNTxR register update enable.

TIMxPER

Bit 4: HRTIM_PERxR register update enable.

TIMxREP

Bit 5: HRTIM_REPxR register update enable.

TIMxCMP1

Bit 6: HRTIM_CMP1xR register update enable.

TIMxCMP2

Bit 7: HRTIM_CMP2xR register update enable.

TIMxCMP3

Bit 8: HRTIM_CMP3xR register update enable.

TIMxCMP4

Bit 9: HRTIM_CMP4xR register update enable.

TIMx_DTxR

Bit 10: HRTIM_DTxR register update enable.

TIMxSET1R

Bit 11: HRTIM_SET1xR register update enable.

TIMxRST1R

Bit 12: HRTIM_RST1xR register update enable.

TIMxSET2R

Bit 13: HRTIM_SET2xR register update enable.

TIMxRST2R

Bit 14: HRTIM_RST2xR register update enable.

TIMxEEFR1

Bit 15: HRTIM_EEFxR1 register update enable.

TIMxEEFR2

Bit 16: HRTIM_EEFxR2 register update enable.

TIMxRSTR

Bit 17: HRTIM_RSTxR register update enable.

TIMxCHPR

Bit 18: HRTIM_CHPxR register update enable.

TIMxOUTR

Bit 19: HRTIM_OUTxR register update enable.

TIMxFLTR

Bit 20: HRTIM_FLTxR register update enable.

BDMADR

Burst DMA Data 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
BDMADR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BDMADR
rw
Toggle fields

BDMADR

Bits 0-31: Burst DMA Data register.

HRTIM_Master

0x40017400: High Resolution Timer: Master Timers

7/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 MCR
0x4 MISR
0x8 MICR
0xc MDIER4
0x10 MCNTR
0x14 MPER
0x18 MREP
0x1c MCMP1R
0x24 MCMP2R
0x28 MCMP3R
0x2c MCMP4R
Toggle registers

MCR

Master Timer Control Register

Offset: 0x0, 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
BRSTDMA
rw
MREPU
rw
PREEN
rw
DACSYNC
rw
TECEN
rw
TDCEN
rw
TCCEN
rw
TBCEN
rw
TACEN
rw
MCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SYNC_SRC
rw
SYNC_OUT
rw
SYNCSTRTM
rw
SYNCRSTM
rw
SYNC_IN
rw
HALF
rw
RETRIG
rw
CONT
rw
CK_PSC
rw
Toggle fields

CK_PSC

Bits 0-2: HRTIM Master Clock prescaler.

CONT

Bit 3: Master Continuous mode.

RETRIG

Bit 4: Master Re-triggerable mode.

HALF

Bit 5: Half mode enable.

SYNC_IN

Bits 8-9: ynchronization input.

SYNCRSTM

Bit 10: Synchronization Resets Master.

SYNCSTRTM

Bit 11: Synchronization Starts Master.

SYNC_OUT

Bits 12-13: Synchronization output.

SYNC_SRC

Bits 14-15: Synchronization source.

MCEN

Bit 16: Master Counter enable.

TACEN

Bit 17: Timer A counter enable.

TBCEN

Bit 18: Timer B counter enable.

TCCEN

Bit 19: Timer C counter enable.

TDCEN

Bit 20: Timer D counter enable.

TECEN

Bit 21: Timer E counter enable.

DACSYNC

Bits 25-26: AC Synchronization.

PREEN

Bit 27: Preload enable.

MREPU

Bit 29: Master Timer Repetition update.

BRSTDMA

Bits 30-31: Burst DMA Update.

MISR

Master Timer Interrupt Status Register

Offset: 0x4, 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
MUPD
r
SYNC
r
MREP
r
MCMP4
r
MCMP3
r
MCMP2
r
MCMP1
r
Toggle fields

MCMP1

Bit 0: Master Compare 1 Interrupt Flag.

MCMP2

Bit 1: Master Compare 2 Interrupt Flag.

MCMP3

Bit 2: Master Compare 3 Interrupt Flag.

MCMP4

Bit 3: Master Compare 4 Interrupt Flag.

MREP

Bit 4: Master Repetition Interrupt Flag.

SYNC

Bit 5: Sync Input Interrupt Flag.

MUPD

Bit 6: Master Update Interrupt Flag.

MICR

Master Timer Interrupt Clear Register

Offset: 0x8, size: 32, reset: 0x00000000, access: write-only

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MUPDC
w
SYNCC
w
MREPC
w
MCMP4C
w
MCMP3C
w
MCMP2C
w
MCMP1C
w
Toggle fields

MCMP1C

Bit 0: Master Compare 1 Interrupt flag clear.

MCMP2C

Bit 1: Master Compare 2 Interrupt flag clear.

MCMP3C

Bit 2: Master Compare 3 Interrupt flag clear.

MCMP4C

Bit 3: Master Compare 4 Interrupt flag clear.

MREPC

Bit 4: Repetition Interrupt flag clear.

SYNCC

Bit 5: Sync Input Interrupt flag clear.

MUPDC

Bit 6: Master update Interrupt flag clear.

MDIER4

MDIER4

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
MUPDDE
rw
SYNCDE
rw
MREPDE
rw
MCMP4DE
rw
MCMP3DE
rw
MCMP2DE
rw
MCMP1DE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MUPDIE
rw
SYNCIE
rw
MREPIE
rw
MCMP4IE
rw
MCMP3IE
rw
MCMP2IE
rw
MCMP1IE
rw
Toggle fields

MCMP1IE

Bit 0: MCMP1IE.

MCMP2IE

Bit 1: MCMP2IE.

MCMP3IE

Bit 2: MCMP3IE.

MCMP4IE

Bit 3: MCMP4IE.

MREPIE

Bit 4: MREPIE.

SYNCIE

Bit 5: SYNCIE.

MUPDIE

Bit 6: MUPDIE.

MCMP1DE

Bit 16: MCMP1DE.

MCMP2DE

Bit 17: MCMP2DE.

MCMP3DE

Bit 18: MCMP3DE.

MCMP4DE

Bit 19: MCMP4DE.

MREPDE

Bit 20: MREPDE.

SYNCDE

Bit 21: SYNCDE.

MUPDDE

Bit 22: MUPDDE.

MCNTR

Master Timer Counter Register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MCNT
rw
Toggle fields

MCNT

Bits 0-15: Counter value.

MPER

Master Timer Period Register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MPER
rw
Toggle fields

MPER

Bits 0-15: Master Timer Period value.

MREP

Master Timer Repetition 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
MREP
rw
Toggle fields

MREP

Bits 0-7: Master Timer Repetition counter value.

MCMP1R

Master Timer Compare 1 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
MCMP1
rw
Toggle fields

MCMP1

Bits 0-15: Master Timer Compare 1 value.

MCMP2R

Master Timer Compare 2 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
MCMP2
rw
Toggle fields

MCMP2

Bits 0-15: Master Timer Compare 2 value.

MCMP3R

Master Timer Compare 3 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
MCMP3
rw
Toggle fields

MCMP3

Bits 0-15: Master Timer Compare 3 value.

MCMP4R

Master Timer Compare 4 Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MCMP4
rw
Toggle fields

MCMP4

Bits 0-15: Master Timer Compare 4 value.

HRTIM_TIMA

0x40017480: High Resolution Timer: TIMA

20/357 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 TIMACR
0x4 TIMAISR
0x8 TIMAICR
0xc TIMADIER5
0x10 CNTAR
0x14 PERAR
0x18 REPAR
0x1c CMP1AR
0x20 CMP1CAR
0x24 CMP2AR
0x28 CMP3AR
0x2c CMP4AR
0x30 CPT1AR
0x34 CPT2AR
0x38 DTAR
0x3c SETA1R
0x40 RSTA1R
0x44 SETA2R
0x48 RSTA2R
0x4c EEFAR1
0x50 EEFAR2
0x54 RSTAR
0x58 CHPAR
0x5c CPT1ACR
0x60 CPT2ACR
0x64 OUTAR
0x68 FLTAR
Toggle registers

TIMACR

Timerx Control Register

Offset: 0x0, 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
UPDGAT
rw
PREEN
rw
DACSYNC
rw
MSTU
rw
TEU
rw
TDU
rw
TCU
rw
TBU
rw
TxRSTU
rw
TxREPU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DELCMP4
rw
DELCMP2
rw
SYNCSTRTx
rw
SYNCRSTx
rw
PSHPLL
rw
HALF
rw
RETRIG
rw
CONT
rw
CK_PSCx
rw
Toggle fields

CK_PSCx

Bits 0-2: HRTIM Timer x Clock prescaler.

CONT

Bit 3: Continuous mode.

RETRIG

Bit 4: Re-triggerable mode.

HALF

Bit 5: Half mode enable.

PSHPLL

Bit 6: Push-Pull mode enable.

SYNCRSTx

Bit 10: Synchronization Resets Timer x.

SYNCSTRTx

Bit 11: Synchronization Starts Timer x.

DELCMP2

Bits 12-13: Delayed CMP2 mode.

DELCMP4

Bits 14-15: Delayed CMP4 mode.

TxREPU

Bit 17: Timer x Repetition update.

TxRSTU

Bit 18: Timerx reset update.

TBU

Bit 20: TBU.

TCU

Bit 21: TCU.

TDU

Bit 22: TDU.

TEU

Bit 23: TEU.

MSTU

Bit 24: Master Timer update.

DACSYNC

Bits 25-26: AC Synchronization.

PREEN

Bit 27: Preload enable.

UPDGAT

Bits 28-31: Update Gating.

TIMAISR

Timerx Interrupt Status Register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O2STAT
r
O1STAT
r
IPPSTAT
r
CPPSTAT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
r
RST
r
RSTx2
r
SETx2
r
RSTx1
r
SETx1
r
CPT2
r
CPT1
r
UPD
r
REP
r
CMP4
r
CMP3
r
CMP2
r
CMP1
r
Toggle fields

CMP1

Bit 0: Compare 1 Interrupt Flag.

CMP2

Bit 1: Compare 2 Interrupt Flag.

CMP3

Bit 2: Compare 3 Interrupt Flag.

CMP4

Bit 3: Compare 4 Interrupt Flag.

REP

Bit 4: Repetition Interrupt Flag.

UPD

Bit 6: Update Interrupt Flag.

CPT1

Bit 7: Capture1 Interrupt Flag.

CPT2

Bit 8: Capture2 Interrupt Flag.

SETx1

Bit 9: Output 1 Set Interrupt Flag.

RSTx1

Bit 10: Output 1 Reset Interrupt Flag.

SETx2

Bit 11: Output 2 Set Interrupt Flag.

RSTx2

Bit 12: Output 2 Reset Interrupt Flag.

RST

Bit 13: Reset Interrupt Flag.

DLYPRT

Bit 14: Delayed Protection Flag.

CPPSTAT

Bit 16: Current Push Pull Status.

IPPSTAT

Bit 17: Idle Push Pull Status.

O1STAT

Bit 18: Output 1 State.

O2STAT

Bit 19: Output 2 State.

TIMAICR

Timerx Interrupt Clear Register

Offset: 0x8, size: 32, reset: 0x00000000, access: write-only

0/14 fields covered.

Toggle fields

CMP1C

Bit 0: Compare 1 Interrupt flag Clear.

CMP2C

Bit 1: Compare 2 Interrupt flag Clear.

CMP3C

Bit 2: Compare 3 Interrupt flag Clear.

CMP4C

Bit 3: Compare 4 Interrupt flag Clear.

REPC

Bit 4: Repetition Interrupt flag Clear.

UPDC

Bit 6: Update Interrupt flag Clear.

CPT1C

Bit 7: Capture1 Interrupt flag Clear.

CPT2C

Bit 8: Capture2 Interrupt flag Clear.

SET1xC

Bit 9: Output 1 Set flag Clear.

RSTx1C

Bit 10: Output 1 Reset flag Clear.

SET2xC

Bit 11: Output 2 Set flag Clear.

RSTx2C

Bit 12: Output 2 Reset flag Clear.

RSTC

Bit 13: Reset Interrupt flag Clear.

DLYPRTC

Bit 14: Delayed Protection Flag Clear.

TIMADIER5

TIMxDIER5

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

CMP1IE

Bit 0: CMP1IE.

CMP2IE

Bit 1: CMP2IE.

CMP3IE

Bit 2: CMP3IE.

CMP4IE

Bit 3: CMP4IE.

REPIE

Bit 4: REPIE.

UPDIE

Bit 6: UPDIE.

CPT1IE

Bit 7: CPT1IE.

CPT2IE

Bit 8: CPT2IE.

SET1xIE

Bit 9: SET1xIE.

RSTx1IE

Bit 10: RSTx1IE.

SETx2IE

Bit 11: SETx2IE.

RSTx2IE

Bit 12: RSTx2IE.

RSTIE

Bit 13: RSTIE.

DLYPRTIE

Bit 14: DLYPRTIE.

CMP1DE

Bit 16: CMP1DE.

CMP2DE

Bit 17: CMP2DE.

CMP3DE

Bit 18: CMP3DE.

CMP4DE

Bit 19: CMP4DE.

REPDE

Bit 20: REPDE.

UPDDE

Bit 22: UPDDE.

CPT1DE

Bit 23: CPT1DE.

CPT2DE

Bit 24: CPT2DE.

SET1xDE

Bit 25: SET1xDE.

RSTx1DE

Bit 26: RSTx1DE.

SETx2DE

Bit 27: SETx2DE.

RSTx2DE

Bit 28: RSTx2DE.

RSTDE

Bit 29: RSTDE.

DLYPRTDE

Bit 30: DLYPRTDE.

CNTAR

Timerx Counter Register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNTx
rw
Toggle fields

CNTx

Bits 0-15: Timerx Counter value.

PERAR

Timerx Period Register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERx
rw
Toggle fields

PERx

Bits 0-15: Timerx Period value.

REPAR

Timerx Repetition 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
REPx
rw
Toggle fields

REPx

Bits 0-7: Timerx Repetition counter value.

CMP1AR

Timerx Compare 1 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
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

CMP1CAR

Timerx Compare 1 Compound 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
REPx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

REPx

Bits 16-23: Timerx Repetition value (aliased from HRTIM_REPx register).

CMP2AR

Timerx Compare 2 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
CMP2x
rw
Toggle fields

CMP2x

Bits 0-15: Timerx Compare 2 value.

CMP3AR

Timerx Compare 3 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
CMP3x
rw
Toggle fields

CMP3x

Bits 0-15: Timerx Compare 3 value.

CMP4AR

Timerx Compare 4 Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP4x
rw
Toggle fields

CMP4x

Bits 0-15: Timerx Compare 4 value.

CPT1AR

Timerx Capture 1 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
CPT1x
r
Toggle fields

CPT1x

Bits 0-15: Timerx Capture 1 value.

CPT2AR

Timerx Capture 2 Register

Offset: 0x34, 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
CPT2x
r
Toggle fields

CPT2x

Bits 0-15: Timerx Capture 2 value.

DTAR

Timerx Deadtime Register

Offset: 0x38, 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
DTFLKx
rw
DTFSLKx
rw
SDTFx
rw
DTFx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTRLKx
rw
DTRSLKx
rw
DTPRSC
rw
SDTRx
rw
DTRx
rw
Toggle fields

DTRx

Bits 0-8: Deadtime Rising value.

SDTRx

Bit 9: Sign Deadtime Rising value.

DTPRSC

Bits 10-12: Deadtime Prescaler.

DTRSLKx

Bit 14: Deadtime Rising Sign Lock.

DTRLKx

Bit 15: Deadtime Rising Lock.

DTFx

Bits 16-24: Deadtime Falling value.

SDTFx

Bit 25: Sign Deadtime Falling value.

DTFSLKx

Bit 30: Deadtime Falling Sign Lock.

DTFLKx

Bit 31: Deadtime Falling Lock.

SETA1R

Timerx Output1 Set Register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: Software Set trigger.

RESYNC

Bit 1: Timer A resynchronizaton.

PER

Bit 2: Timer A Period.

CMP1

Bit 3: Timer A compare 1.

CMP2

Bit 4: Timer A compare 2.

CMP3

Bit 5: Timer A compare 3.

CMP4

Bit 6: Timer A compare 4.

MSTPER

Bit 7: Master Period.

MSTCMP1

Bit 8: Master Compare 1.

MSTCMP2

Bit 9: Master Compare 2.

MSTCMP3

Bit 10: Master Compare 3.

MSTCMP4

Bit 11: Master Compare 4.

TIMEVNT1

Bit 12: Timer Event 1.

TIMEVNT2

Bit 13: Timer Event 2.

TIMEVNT3

Bit 14: Timer Event 3.

TIMEVNT4

Bit 15: Timer Event 4.

TIMEVNT5

Bit 16: Timer Event 5.

TIMEVNT6

Bit 17: Timer Event 6.

TIMEVNT7

Bit 18: Timer Event 7.

TIMEVNT8

Bit 19: Timer Event 8.

TIMEVNT9

Bit 20: Timer Event 9.

EXTEVNT1

Bit 21: External Event 1.

EXTEVNT2

Bit 22: External Event 2.

EXTEVNT3

Bit 23: External Event 3.

EXTEVNT4

Bit 24: External Event 4.

EXTEVNT5

Bit 25: External Event 5.

EXTEVNT6

Bit 26: External Event 6.

EXTEVNT7

Bit 27: External Event 7.

EXTEVNT8

Bit 28: External Event 8.

EXTEVNT9

Bit 29: External Event 9.

EXTEVNT10

Bit 30: External Event 10.

UPDATE

Bit 31: Registers update (transfer preload to active).

RSTA1R

Timerx Output1 Reset Register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

SETA2R

Timerx Output2 Set Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: SST.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

RSTA2R

Timerx Output2 Reset Register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

EEFAR1

Timerx External Event Filtering Register 1

Offset: 0x4c, 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
EE5FLTR
rw
EE5LTCH
rw
EE4FLTR
rw
EE4LTCH
rw
EE3FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE3FLTR
rw
EE3LTCH
rw
EE2FLTR
rw
EE2LTCH
rw
EE1FLTR
rw
EE1LTCH
rw
Toggle fields

EE1LTCH

Bit 0: External Event 1 latch.

EE1FLTR

Bits 1-4: External Event 1 filter.

EE2LTCH

Bit 6: External Event 2 latch.

EE2FLTR

Bits 7-10: External Event 2 filter.

EE3LTCH

Bit 12: External Event 3 latch.

EE3FLTR

Bits 13-16: External Event 3 filter.

EE4LTCH

Bit 18: External Event 4 latch.

EE4FLTR

Bits 19-22: External Event 4 filter.

EE5LTCH

Bit 24: External Event 5 latch.

EE5FLTR

Bits 25-28: External Event 5 filter.

EEFAR2

Timerx External Event Filtering Register 2

Offset: 0x50, 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
EE10FLTR
rw
EE10LTCH
rw
EE9FLTR
rw
EE9LTCH
rw
EE8FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8FLTR
rw
EE8LTCH
rw
EE7FLTR
rw
EE7LTCH
rw
EE6FLTR
rw
EE6LTCH
rw
Toggle fields

EE6LTCH

Bit 0: External Event 6 latch.

EE6FLTR

Bits 1-4: External Event 6 filter.

EE7LTCH

Bit 6: External Event 7 latch.

EE7FLTR

Bits 7-10: External Event 7 filter.

EE8LTCH

Bit 12: External Event 8 latch.

EE8FLTR

Bits 13-16: External Event 8 filter.

EE9LTCH

Bit 18: External Event 9 latch.

EE9FLTR

Bits 19-22: External Event 9 filter.

EE10LTCH

Bit 24: External Event 10 latch.

EE10FLTR

Bits 25-28: External Event 10 filter.

RSTAR

TimerA Reset Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

UPDT

Bit 1: Timer A Update reset.

CMP2

Bit 2: Timer A compare 2 reset.

CMP4

Bit 3: Timer A compare 4 reset.

MSTPER

Bit 4: Master timer Period.

MSTCMP1

Bit 5: Master compare 1.

MSTCMP2

Bit 6: Master compare 2.

MSTCMP3

Bit 7: Master compare 3.

MSTCMP4

Bit 8: Master compare 4.

EXTEVNT1

Bit 9: External Event 1.

EXTEVNT2

Bit 10: External Event 2.

EXTEVNT3

Bit 11: External Event 3.

EXTEVNT4

Bit 12: External Event 4.

EXTEVNT5

Bit 13: External Event 5.

EXTEVNT6

Bit 14: External Event 6.

EXTEVNT7

Bit 15: External Event 7.

EXTEVNT8

Bit 16: External Event 8.

EXTEVNT9

Bit 17: External Event 9.

EXTEVNT10

Bit 18: External Event 10.

TIMBCMP1

Bit 19: Timer B Compare 1.

TIMBCMP2

Bit 20: Timer B Compare 2.

TIMBCMP4

Bit 21: Timer B Compare 4.

TIMCCMP1

Bit 22: Timer C Compare 1.

TIMCCMP2

Bit 23: Timer C Compare 2.

TIMCCMP4

Bit 24: Timer C Compare 4.

TIMDCMP1

Bit 25: Timer D Compare 1.

TIMDCMP2

Bit 26: Timer D Compare 2.

TIMDCMP4

Bit 27: Timer D Compare 4.

TIMECMP1

Bit 28: Timer E Compare 1.

TIMECMP2

Bit 29: Timer E Compare 2.

TIMECMP4

Bit 30: Timer E Compare 4.

CHPAR

Timerx Chopper Register

Offset: 0x58, 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
STRTPW
rw
CHPDTY
rw
CHPFRQ
rw
Toggle fields

CHPFRQ

Bits 0-3: Timerx carrier frequency value.

CHPDTY

Bits 4-6: Timerx chopper duty cycle value.

STRTPW

Bits 7-10: STRTPW.

CPT1ACR

Timerx Capture 2 Control Register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

CPT2ACR

CPT2xCR

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

OUTAR

Timerx Output Register

Offset: 0x64, 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
DIDL2
rw
CHP2
rw
FAULT2
rw
IDLES2
rw
IDLEM2
rw
POL2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
rw
DLYPRTEN
rw
DTEN
rw
DIDL1
rw
CHP1
rw
FAULT1
rw
IDLES1
rw
IDLEM1
rw
POL1
rw
Toggle fields

POL1

Bit 1: Output 1 polarity.

IDLEM1

Bit 2: Output 1 Idle mode.

IDLES1

Bit 3: Output 1 Idle State.

FAULT1

Bits 4-5: Output 1 Fault state.

CHP1

Bit 6: Output 1 Chopper enable.

DIDL1

Bit 7: Output 1 Deadtime upon burst mode Idle entry.

DTEN

Bit 8: Deadtime enable.

DLYPRTEN

Bit 9: Delayed Protection Enable.

DLYPRT

Bits 10-12: Delayed Protection.

POL2

Bit 17: Output 2 polarity.

IDLEM2

Bit 18: Output 2 Idle mode.

IDLES2

Bit 19: Output 2 Idle State.

FAULT2

Bits 20-21: Output 2 Fault state.

CHP2

Bit 22: Output 2 Chopper enable.

DIDL2

Bit 23: Output 2 Deadtime upon burst mode Idle entry.

FLTAR

Timerx Fault Register

Offset: 0x68, 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
FLTLCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT5EN
rw
FLT4EN
rw
FLT3EN
rw
FLT2EN
rw
FLT1EN
rw
Toggle fields

FLT1EN

Bit 0: Fault 1 enable.

FLT2EN

Bit 1: Fault 2 enable.

FLT3EN

Bit 2: Fault 3 enable.

FLT4EN

Bit 3: Fault 4 enable.

FLT5EN

Bit 4: Fault 5 enable.

FLTLCK

Bit 31: Fault sources Lock.

HRTIM_TIMB

0x40017500: High Resolution Timer: TIMB

20/357 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 TIMBCR
0x4 TIMBISR
0x8 TIMBICR
0xc TIMBDIER5
0x10 CNTR
0x14 PERBR
0x18 REPBR
0x1c CMP1BR
0x20 CMP1CBR
0x24 CMP2BR
0x28 CMP3BR
0x2c CMP4BR
0x30 CPT1BR
0x34 CPT2BR
0x38 DTBR
0x3c SETB1R
0x40 RSTB1R
0x44 SETB2R
0x48 RSTB2R
0x4c EEFBR1
0x50 EEFBR2
0x54 RSTBR
0x58 CHPBR
0x5c CPT1BCR
0x60 CPT2BCR
0x64 OUTBR
0x68 FLTBR
Toggle registers

TIMBCR

Timerx Control Register

Offset: 0x0, 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
UPDGAT
rw
PREEN
rw
DACSYNC
rw
MSTU
rw
TEU
rw
TDU
rw
TCU
rw
TBU
rw
TxRSTU
rw
TxREPU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DELCMP4
rw
DELCMP2
rw
SYNCSTRTx
rw
SYNCRSTx
rw
PSHPLL
rw
HALF
rw
RETRIG
rw
CONT
rw
CK_PSCx
rw
Toggle fields

CK_PSCx

Bits 0-2: HRTIM Timer x Clock prescaler.

CONT

Bit 3: Continuous mode.

RETRIG

Bit 4: Re-triggerable mode.

HALF

Bit 5: Half mode enable.

PSHPLL

Bit 6: Push-Pull mode enable.

SYNCRSTx

Bit 10: Synchronization Resets Timer x.

SYNCSTRTx

Bit 11: Synchronization Starts Timer x.

DELCMP2

Bits 12-13: Delayed CMP2 mode.

DELCMP4

Bits 14-15: Delayed CMP4 mode.

TxREPU

Bit 17: Timer x Repetition update.

TxRSTU

Bit 18: Timerx reset update.

TBU

Bit 20: TBU.

TCU

Bit 21: TCU.

TDU

Bit 22: TDU.

TEU

Bit 23: TEU.

MSTU

Bit 24: Master Timer update.

DACSYNC

Bits 25-26: AC Synchronization.

PREEN

Bit 27: Preload enable.

UPDGAT

Bits 28-31: Update Gating.

TIMBISR

Timerx Interrupt Status Register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O2STAT
r
O1STAT
r
IPPSTAT
r
CPPSTAT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
r
RST
r
RSTx2
r
SETx2
r
RSTx1
r
SETx1
r
CPT2
r
CPT1
r
UPD
r
REP
r
CMP4
r
CMP3
r
CMP2
r
CMP1
r
Toggle fields

CMP1

Bit 0: Compare 1 Interrupt Flag.

CMP2

Bit 1: Compare 2 Interrupt Flag.

CMP3

Bit 2: Compare 3 Interrupt Flag.

CMP4

Bit 3: Compare 4 Interrupt Flag.

REP

Bit 4: Repetition Interrupt Flag.

UPD

Bit 6: Update Interrupt Flag.

CPT1

Bit 7: Capture1 Interrupt Flag.

CPT2

Bit 8: Capture2 Interrupt Flag.

SETx1

Bit 9: Output 1 Set Interrupt Flag.

RSTx1

Bit 10: Output 1 Reset Interrupt Flag.

SETx2

Bit 11: Output 2 Set Interrupt Flag.

RSTx2

Bit 12: Output 2 Reset Interrupt Flag.

RST

Bit 13: Reset Interrupt Flag.

DLYPRT

Bit 14: Delayed Protection Flag.

CPPSTAT

Bit 16: Current Push Pull Status.

IPPSTAT

Bit 17: Idle Push Pull Status.

O1STAT

Bit 18: Output 1 State.

O2STAT

Bit 19: Output 2 State.

TIMBICR

Timerx Interrupt Clear Register

Offset: 0x8, size: 32, reset: 0x00000000, access: write-only

0/14 fields covered.

Toggle fields

CMP1C

Bit 0: Compare 1 Interrupt flag Clear.

CMP2C

Bit 1: Compare 2 Interrupt flag Clear.

CMP3C

Bit 2: Compare 3 Interrupt flag Clear.

CMP4C

Bit 3: Compare 4 Interrupt flag Clear.

REPC

Bit 4: Repetition Interrupt flag Clear.

UPDC

Bit 6: Update Interrupt flag Clear.

CPT1C

Bit 7: Capture1 Interrupt flag Clear.

CPT2C

Bit 8: Capture2 Interrupt flag Clear.

SET1xC

Bit 9: Output 1 Set flag Clear.

RSTx1C

Bit 10: Output 1 Reset flag Clear.

SET2xC

Bit 11: Output 2 Set flag Clear.

RSTx2C

Bit 12: Output 2 Reset flag Clear.

RSTC

Bit 13: Reset Interrupt flag Clear.

DLYPRTC

Bit 14: Delayed Protection Flag Clear.

TIMBDIER5

TIMxDIER5

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

CMP1IE

Bit 0: CMP1IE.

CMP2IE

Bit 1: CMP2IE.

CMP3IE

Bit 2: CMP3IE.

CMP4IE

Bit 3: CMP4IE.

REPIE

Bit 4: REPIE.

UPDIE

Bit 6: UPDIE.

CPT1IE

Bit 7: CPT1IE.

CPT2IE

Bit 8: CPT2IE.

SET1xIE

Bit 9: SET1xIE.

RSTx1IE

Bit 10: RSTx1IE.

SETx2IE

Bit 11: SETx2IE.

RSTx2IE

Bit 12: RSTx2IE.

RSTIE

Bit 13: RSTIE.

DLYPRTIE

Bit 14: DLYPRTIE.

CMP1DE

Bit 16: CMP1DE.

CMP2DE

Bit 17: CMP2DE.

CMP3DE

Bit 18: CMP3DE.

CMP4DE

Bit 19: CMP4DE.

REPDE

Bit 20: REPDE.

UPDDE

Bit 22: UPDDE.

CPT1DE

Bit 23: CPT1DE.

CPT2DE

Bit 24: CPT2DE.

SET1xDE

Bit 25: SET1xDE.

RSTx1DE

Bit 26: RSTx1DE.

SETx2DE

Bit 27: SETx2DE.

RSTx2DE

Bit 28: RSTx2DE.

RSTDE

Bit 29: RSTDE.

DLYPRTDE

Bit 30: DLYPRTDE.

CNTR

Timerx Counter Register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNTx
rw
Toggle fields

CNTx

Bits 0-15: Timerx Counter value.

PERBR

Timerx Period Register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERx
rw
Toggle fields

PERx

Bits 0-15: Timerx Period value.

REPBR

Timerx Repetition 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
REPx
rw
Toggle fields

REPx

Bits 0-7: Timerx Repetition counter value.

CMP1BR

Timerx Compare 1 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
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

CMP1CBR

Timerx Compare 1 Compound 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
REPx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

REPx

Bits 16-23: Timerx Repetition value (aliased from HRTIM_REPx register).

CMP2BR

Timerx Compare 2 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
CMP2x
rw
Toggle fields

CMP2x

Bits 0-15: Timerx Compare 2 value.

CMP3BR

Timerx Compare 3 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
CMP3x
rw
Toggle fields

CMP3x

Bits 0-15: Timerx Compare 3 value.

CMP4BR

Timerx Compare 4 Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP4x
rw
Toggle fields

CMP4x

Bits 0-15: Timerx Compare 4 value.

CPT1BR

Timerx Capture 1 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
CPT1x
r
Toggle fields

CPT1x

Bits 0-15: Timerx Capture 1 value.

CPT2BR

Timerx Capture 2 Register

Offset: 0x34, 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
CPT2x
r
Toggle fields

CPT2x

Bits 0-15: Timerx Capture 2 value.

DTBR

Timerx Deadtime Register

Offset: 0x38, 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
DTFLKx
rw
DTFSLKx
rw
SDTFx
rw
DTFx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTRLKx
rw
DTRSLKx
rw
DTPRSC
rw
SDTRx
rw
DTRx
rw
Toggle fields

DTRx

Bits 0-8: Deadtime Rising value.

SDTRx

Bit 9: Sign Deadtime Rising value.

DTPRSC

Bits 10-12: Deadtime Prescaler.

DTRSLKx

Bit 14: Deadtime Rising Sign Lock.

DTRLKx

Bit 15: Deadtime Rising Lock.

DTFx

Bits 16-24: Deadtime Falling value.

SDTFx

Bit 25: Sign Deadtime Falling value.

DTFSLKx

Bit 30: Deadtime Falling Sign Lock.

DTFLKx

Bit 31: Deadtime Falling Lock.

SETB1R

Timerx Output1 Set Register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: Software Set trigger.

RESYNC

Bit 1: Timer A resynchronizaton.

PER

Bit 2: Timer A Period.

CMP1

Bit 3: Timer A compare 1.

CMP2

Bit 4: Timer A compare 2.

CMP3

Bit 5: Timer A compare 3.

CMP4

Bit 6: Timer A compare 4.

MSTPER

Bit 7: Master Period.

MSTCMP1

Bit 8: Master Compare 1.

MSTCMP2

Bit 9: Master Compare 2.

MSTCMP3

Bit 10: Master Compare 3.

MSTCMP4

Bit 11: Master Compare 4.

TIMEVNT1

Bit 12: Timer Event 1.

TIMEVNT2

Bit 13: Timer Event 2.

TIMEVNT3

Bit 14: Timer Event 3.

TIMEVNT4

Bit 15: Timer Event 4.

TIMEVNT5

Bit 16: Timer Event 5.

TIMEVNT6

Bit 17: Timer Event 6.

TIMEVNT7

Bit 18: Timer Event 7.

TIMEVNT8

Bit 19: Timer Event 8.

TIMEVNT9

Bit 20: Timer Event 9.

EXTEVNT1

Bit 21: External Event 1.

EXTEVNT2

Bit 22: External Event 2.

EXTEVNT3

Bit 23: External Event 3.

EXTEVNT4

Bit 24: External Event 4.

EXTEVNT5

Bit 25: External Event 5.

EXTEVNT6

Bit 26: External Event 6.

EXTEVNT7

Bit 27: External Event 7.

EXTEVNT8

Bit 28: External Event 8.

EXTEVNT9

Bit 29: External Event 9.

EXTEVNT10

Bit 30: External Event 10.

UPDATE

Bit 31: Registers update (transfer preload to active).

RSTB1R

Timerx Output1 Reset Register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

SETB2R

Timerx Output2 Set Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: SST.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

RSTB2R

Timerx Output2 Reset Register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

EEFBR1

Timerx External Event Filtering Register 1

Offset: 0x4c, 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
EE5FLTR
rw
EE5LTCH
rw
EE4FLTR
rw
EE4LTCH
rw
EE3FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE3FLTR
rw
EE3LTCH
rw
EE2FLTR
rw
EE2LTCH
rw
EE1FLTR
rw
EE1LTCH
rw
Toggle fields

EE1LTCH

Bit 0: External Event 1 latch.

EE1FLTR

Bits 1-4: External Event 1 filter.

EE2LTCH

Bit 6: External Event 2 latch.

EE2FLTR

Bits 7-10: External Event 2 filter.

EE3LTCH

Bit 12: External Event 3 latch.

EE3FLTR

Bits 13-16: External Event 3 filter.

EE4LTCH

Bit 18: External Event 4 latch.

EE4FLTR

Bits 19-22: External Event 4 filter.

EE5LTCH

Bit 24: External Event 5 latch.

EE5FLTR

Bits 25-28: External Event 5 filter.

EEFBR2

Timerx External Event Filtering Register 2

Offset: 0x50, 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
EE10FLTR
rw
EE10LTCH
rw
EE9FLTR
rw
EE9LTCH
rw
EE8FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8FLTR
rw
EE8LTCH
rw
EE7FLTR
rw
EE7LTCH
rw
EE6FLTR
rw
EE6LTCH
rw
Toggle fields

EE6LTCH

Bit 0: External Event 6 latch.

EE6FLTR

Bits 1-4: External Event 6 filter.

EE7LTCH

Bit 6: External Event 7 latch.

EE7FLTR

Bits 7-10: External Event 7 filter.

EE8LTCH

Bit 12: External Event 8 latch.

EE8FLTR

Bits 13-16: External Event 8 filter.

EE9LTCH

Bit 18: External Event 9 latch.

EE9FLTR

Bits 19-22: External Event 9 filter.

EE10LTCH

Bit 24: External Event 10 latch.

EE10FLTR

Bits 25-28: External Event 10 filter.

RSTBR

TimerA Reset Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

UPDT

Bit 1: Timer A Update reset.

CMP2

Bit 2: Timer A compare 2 reset.

CMP4

Bit 3: Timer A compare 4 reset.

MSTPER

Bit 4: Master timer Period.

MSTCMP1

Bit 5: Master compare 1.

MSTCMP2

Bit 6: Master compare 2.

MSTCMP3

Bit 7: Master compare 3.

MSTCMP4

Bit 8: Master compare 4.

EXTEVNT1

Bit 9: External Event 1.

EXTEVNT2

Bit 10: External Event 2.

EXTEVNT3

Bit 11: External Event 3.

EXTEVNT4

Bit 12: External Event 4.

EXTEVNT5

Bit 13: External Event 5.

EXTEVNT6

Bit 14: External Event 6.

EXTEVNT7

Bit 15: External Event 7.

EXTEVNT8

Bit 16: External Event 8.

EXTEVNT9

Bit 17: External Event 9.

EXTEVNT10

Bit 18: External Event 10.

TIMACMP1

Bit 19: Timer A Compare 1.

TIMACMP2

Bit 20: Timer A Compare 2.

TIMACMP4

Bit 21: Timer A Compare 4.

TIMCCMP1

Bit 22: Timer C Compare 1.

TIMCCMP2

Bit 23: Timer C Compare 2.

TIMCCMP4

Bit 24: Timer C Compare 4.

TIMDCMP1

Bit 25: Timer D Compare 1.

TIMDCMP2

Bit 26: Timer D Compare 2.

TIMDCMP4

Bit 27: Timer D Compare 4.

TIMECMP1

Bit 28: Timer E Compare 1.

TIMECMP2

Bit 29: Timer E Compare 2.

TIMECMP4

Bit 30: Timer E Compare 4.

CHPBR

Timerx Chopper Register

Offset: 0x58, 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
STRTPW
rw
CHPDTY
rw
CHPFRQ
rw
Toggle fields

CHPFRQ

Bits 0-3: Timerx carrier frequency value.

CHPDTY

Bits 4-6: Timerx chopper duty cycle value.

STRTPW

Bits 7-10: STRTPW.

CPT1BCR

Timerx Capture 2 Control Register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

CPT2BCR

CPT2xCR

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

OUTBR

Timerx Output Register

Offset: 0x64, 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
DIDL2
rw
CHP2
rw
FAULT2
rw
IDLES2
rw
IDLEM2
rw
POL2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
rw
DLYPRTEN
rw
DTEN
rw
DIDL1
rw
CHP1
rw
FAULT1
rw
IDLES1
rw
IDLEM1
rw
POL1
rw
Toggle fields

POL1

Bit 1: Output 1 polarity.

IDLEM1

Bit 2: Output 1 Idle mode.

IDLES1

Bit 3: Output 1 Idle State.

FAULT1

Bits 4-5: Output 1 Fault state.

CHP1

Bit 6: Output 1 Chopper enable.

DIDL1

Bit 7: Output 1 Deadtime upon burst mode Idle entry.

DTEN

Bit 8: Deadtime enable.

DLYPRTEN

Bit 9: Delayed Protection Enable.

DLYPRT

Bits 10-12: Delayed Protection.

POL2

Bit 17: Output 2 polarity.

IDLEM2

Bit 18: Output 2 Idle mode.

IDLES2

Bit 19: Output 2 Idle State.

FAULT2

Bits 20-21: Output 2 Fault state.

CHP2

Bit 22: Output 2 Chopper enable.

DIDL2

Bit 23: Output 2 Deadtime upon burst mode Idle entry.

FLTBR

Timerx Fault Register

Offset: 0x68, 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
FLTLCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT5EN
rw
FLT4EN
rw
FLT3EN
rw
FLT2EN
rw
FLT1EN
rw
Toggle fields

FLT1EN

Bit 0: Fault 1 enable.

FLT2EN

Bit 1: Fault 2 enable.

FLT3EN

Bit 2: Fault 3 enable.

FLT4EN

Bit 3: Fault 4 enable.

FLT5EN

Bit 4: Fault 5 enable.

FLTLCK

Bit 31: Fault sources Lock.

HRTIM_TIMC

0x40017580: High Resolution Timer: TIMC

20/357 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 TIMCCR
0x4 TIMCISR
0x8 TIMCICR
0xc TIMCDIER5
0x10 CNTCR
0x14 PERCR
0x18 REPCR
0x1c CMP1CR
0x20 CMP1CCR
0x24 CMP2CR
0x28 CMP3CR
0x2c CMP4CR
0x30 CPT1CR
0x34 CPT2CR
0x38 DTCR
0x3c SETC1R
0x40 RSTC1R
0x44 SETC2R
0x48 RSTC2R
0x4c EEFCR1
0x50 EEFCR2
0x54 RSTCR
0x58 CHPCR
0x5c CPT1CCR
0x60 CPT2CCR
0x64 OUTCR
0x68 FLTCR
Toggle registers

TIMCCR

Timerx Control Register

Offset: 0x0, 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
UPDGAT
rw
PREEN
rw
DACSYNC
rw
MSTU
rw
TEU
rw
TDU
rw
TCU
rw
TBU
rw
TxRSTU
rw
TxREPU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DELCMP4
rw
DELCMP2
rw
SYNCSTRTx
rw
SYNCRSTx
rw
PSHPLL
rw
HALF
rw
RETRIG
rw
CONT
rw
CK_PSCx
rw
Toggle fields

CK_PSCx

Bits 0-2: HRTIM Timer x Clock prescaler.

CONT

Bit 3: Continuous mode.

RETRIG

Bit 4: Re-triggerable mode.

HALF

Bit 5: Half mode enable.

PSHPLL

Bit 6: Push-Pull mode enable.

SYNCRSTx

Bit 10: Synchronization Resets Timer x.

SYNCSTRTx

Bit 11: Synchronization Starts Timer x.

DELCMP2

Bits 12-13: Delayed CMP2 mode.

DELCMP4

Bits 14-15: Delayed CMP4 mode.

TxREPU

Bit 17: Timer x Repetition update.

TxRSTU

Bit 18: Timerx reset update.

TBU

Bit 20: TBU.

TCU

Bit 21: TCU.

TDU

Bit 22: TDU.

TEU

Bit 23: TEU.

MSTU

Bit 24: Master Timer update.

DACSYNC

Bits 25-26: AC Synchronization.

PREEN

Bit 27: Preload enable.

UPDGAT

Bits 28-31: Update Gating.

TIMCISR

Timerx Interrupt Status Register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O2STAT
r
O1STAT
r
IPPSTAT
r
CPPSTAT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
r
RST
r
RSTx2
r
SETx2
r
RSTx1
r
SETx1
r
CPT2
r
CPT1
r
UPD
r
REP
r
CMP4
r
CMP3
r
CMP2
r
CMP1
r
Toggle fields

CMP1

Bit 0: Compare 1 Interrupt Flag.

CMP2

Bit 1: Compare 2 Interrupt Flag.

CMP3

Bit 2: Compare 3 Interrupt Flag.

CMP4

Bit 3: Compare 4 Interrupt Flag.

REP

Bit 4: Repetition Interrupt Flag.

UPD

Bit 6: Update Interrupt Flag.

CPT1

Bit 7: Capture1 Interrupt Flag.

CPT2

Bit 8: Capture2 Interrupt Flag.

SETx1

Bit 9: Output 1 Set Interrupt Flag.

RSTx1

Bit 10: Output 1 Reset Interrupt Flag.

SETx2

Bit 11: Output 2 Set Interrupt Flag.

RSTx2

Bit 12: Output 2 Reset Interrupt Flag.

RST

Bit 13: Reset Interrupt Flag.

DLYPRT

Bit 14: Delayed Protection Flag.

CPPSTAT

Bit 16: Current Push Pull Status.

IPPSTAT

Bit 17: Idle Push Pull Status.

O1STAT

Bit 18: Output 1 State.

O2STAT

Bit 19: Output 2 State.

TIMCICR

Timerx Interrupt Clear Register

Offset: 0x8, size: 32, reset: 0x00000000, access: write-only

0/14 fields covered.

Toggle fields

CMP1C

Bit 0: Compare 1 Interrupt flag Clear.

CMP2C

Bit 1: Compare 2 Interrupt flag Clear.

CMP3C

Bit 2: Compare 3 Interrupt flag Clear.

CMP4C

Bit 3: Compare 4 Interrupt flag Clear.

REPC

Bit 4: Repetition Interrupt flag Clear.

UPDC

Bit 6: Update Interrupt flag Clear.

CPT1C

Bit 7: Capture1 Interrupt flag Clear.

CPT2C

Bit 8: Capture2 Interrupt flag Clear.

SET1xC

Bit 9: Output 1 Set flag Clear.

RSTx1C

Bit 10: Output 1 Reset flag Clear.

SET2xC

Bit 11: Output 2 Set flag Clear.

RSTx2C

Bit 12: Output 2 Reset flag Clear.

RSTC

Bit 13: Reset Interrupt flag Clear.

DLYPRTC

Bit 14: Delayed Protection Flag Clear.

TIMCDIER5

TIMxDIER5

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

CMP1IE

Bit 0: CMP1IE.

CMP2IE

Bit 1: CMP2IE.

CMP3IE

Bit 2: CMP3IE.

CMP4IE

Bit 3: CMP4IE.

REPIE

Bit 4: REPIE.

UPDIE

Bit 6: UPDIE.

CPT1IE

Bit 7: CPT1IE.

CPT2IE

Bit 8: CPT2IE.

SET1xIE

Bit 9: SET1xIE.

RSTx1IE

Bit 10: RSTx1IE.

SETx2IE

Bit 11: SETx2IE.

RSTx2IE

Bit 12: RSTx2IE.

RSTIE

Bit 13: RSTIE.

DLYPRTIE

Bit 14: DLYPRTIE.

CMP1DE

Bit 16: CMP1DE.

CMP2DE

Bit 17: CMP2DE.

CMP3DE

Bit 18: CMP3DE.

CMP4DE

Bit 19: CMP4DE.

REPDE

Bit 20: REPDE.

UPDDE

Bit 22: UPDDE.

CPT1DE

Bit 23: CPT1DE.

CPT2DE

Bit 24: CPT2DE.

SET1xDE

Bit 25: SET1xDE.

RSTx1DE

Bit 26: RSTx1DE.

SETx2DE

Bit 27: SETx2DE.

RSTx2DE

Bit 28: RSTx2DE.

RSTDE

Bit 29: RSTDE.

DLYPRTDE

Bit 30: DLYPRTDE.

CNTCR

Timerx Counter Register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNTx
rw
Toggle fields

CNTx

Bits 0-15: Timerx Counter value.

PERCR

Timerx Period Register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERx
rw
Toggle fields

PERx

Bits 0-15: Timerx Period value.

REPCR

Timerx Repetition 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
REPx
rw
Toggle fields

REPx

Bits 0-7: Timerx Repetition counter value.

CMP1CR

Timerx Compare 1 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
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

CMP1CCR

Timerx Compare 1 Compound 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
REPx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

REPx

Bits 16-23: Timerx Repetition value (aliased from HRTIM_REPx register).

CMP2CR

Timerx Compare 2 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
CMP2x
rw
Toggle fields

CMP2x

Bits 0-15: Timerx Compare 2 value.

CMP3CR

Timerx Compare 3 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
CMP3x
rw
Toggle fields

CMP3x

Bits 0-15: Timerx Compare 3 value.

CMP4CR

Timerx Compare 4 Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP4x
rw
Toggle fields

CMP4x

Bits 0-15: Timerx Compare 4 value.

CPT1CR

Timerx Capture 1 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
CPT1x
r
Toggle fields

CPT1x

Bits 0-15: Timerx Capture 1 value.

CPT2CR

Timerx Capture 2 Register

Offset: 0x34, 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
CPT2x
r
Toggle fields

CPT2x

Bits 0-15: Timerx Capture 2 value.

DTCR

Timerx Deadtime Register

Offset: 0x38, 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
DTFLKx
rw
DTFSLKx
rw
SDTFx
rw
DTFx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTRLKx
rw
DTRSLKx
rw
DTPRSC
rw
SDTRx
rw
DTRx
rw
Toggle fields

DTRx

Bits 0-8: Deadtime Rising value.

SDTRx

Bit 9: Sign Deadtime Rising value.

DTPRSC

Bits 10-12: Deadtime Prescaler.

DTRSLKx

Bit 14: Deadtime Rising Sign Lock.

DTRLKx

Bit 15: Deadtime Rising Lock.

DTFx

Bits 16-24: Deadtime Falling value.

SDTFx

Bit 25: Sign Deadtime Falling value.

DTFSLKx

Bit 30: Deadtime Falling Sign Lock.

DTFLKx

Bit 31: Deadtime Falling Lock.

SETC1R

Timerx Output1 Set Register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: Software Set trigger.

RESYNC

Bit 1: Timer A resynchronizaton.

PER

Bit 2: Timer A Period.

CMP1

Bit 3: Timer A compare 1.

CMP2

Bit 4: Timer A compare 2.

CMP3

Bit 5: Timer A compare 3.

CMP4

Bit 6: Timer A compare 4.

MSTPER

Bit 7: Master Period.

MSTCMP1

Bit 8: Master Compare 1.

MSTCMP2

Bit 9: Master Compare 2.

MSTCMP3

Bit 10: Master Compare 3.

MSTCMP4

Bit 11: Master Compare 4.

TIMEVNT1

Bit 12: Timer Event 1.

TIMEVNT2

Bit 13: Timer Event 2.

TIMEVNT3

Bit 14: Timer Event 3.

TIMEVNT4

Bit 15: Timer Event 4.

TIMEVNT5

Bit 16: Timer Event 5.

TIMEVNT6

Bit 17: Timer Event 6.

TIMEVNT7

Bit 18: Timer Event 7.

TIMEVNT8

Bit 19: Timer Event 8.

TIMEVNT9

Bit 20: Timer Event 9.

EXTEVNT1

Bit 21: External Event 1.

EXTEVNT2

Bit 22: External Event 2.

EXTEVNT3

Bit 23: External Event 3.

EXTEVNT4

Bit 24: External Event 4.

EXTEVNT5

Bit 25: External Event 5.

EXTEVNT6

Bit 26: External Event 6.

EXTEVNT7

Bit 27: External Event 7.

EXTEVNT8

Bit 28: External Event 8.

EXTEVNT9

Bit 29: External Event 9.

EXTEVNT10

Bit 30: External Event 10.

UPDATE

Bit 31: Registers update (transfer preload to active).

RSTC1R

Timerx Output1 Reset Register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

SETC2R

Timerx Output2 Set Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: SST.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

RSTC2R

Timerx Output2 Reset Register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

EEFCR1

Timerx External Event Filtering Register 1

Offset: 0x4c, 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
EE5FLTR
rw
EE5LTCH
rw
EE4FLTR
rw
EE4LTCH
rw
EE3FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE3FLTR
rw
EE3LTCH
rw
EE2FLTR
rw
EE2LTCH
rw
EE1FLTR
rw
EE1LTCH
rw
Toggle fields

EE1LTCH

Bit 0: External Event 1 latch.

EE1FLTR

Bits 1-4: External Event 1 filter.

EE2LTCH

Bit 6: External Event 2 latch.

EE2FLTR

Bits 7-10: External Event 2 filter.

EE3LTCH

Bit 12: External Event 3 latch.

EE3FLTR

Bits 13-16: External Event 3 filter.

EE4LTCH

Bit 18: External Event 4 latch.

EE4FLTR

Bits 19-22: External Event 4 filter.

EE5LTCH

Bit 24: External Event 5 latch.

EE5FLTR

Bits 25-28: External Event 5 filter.

EEFCR2

Timerx External Event Filtering Register 2

Offset: 0x50, 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
EE10FLTR
rw
EE10LTCH
rw
EE9FLTR
rw
EE9LTCH
rw
EE8FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8FLTR
rw
EE8LTCH
rw
EE7FLTR
rw
EE7LTCH
rw
EE6FLTR
rw
EE6LTCH
rw
Toggle fields

EE6LTCH

Bit 0: External Event 6 latch.

EE6FLTR

Bits 1-4: External Event 6 filter.

EE7LTCH

Bit 6: External Event 7 latch.

EE7FLTR

Bits 7-10: External Event 7 filter.

EE8LTCH

Bit 12: External Event 8 latch.

EE8FLTR

Bits 13-16: External Event 8 filter.

EE9LTCH

Bit 18: External Event 9 latch.

EE9FLTR

Bits 19-22: External Event 9 filter.

EE10LTCH

Bit 24: External Event 10 latch.

EE10FLTR

Bits 25-28: External Event 10 filter.

RSTCR

TimerA Reset Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

UPDT

Bit 1: Timer A Update reset.

CMP2

Bit 2: Timer A compare 2 reset.

CMP4

Bit 3: Timer A compare 4 reset.

MSTPER

Bit 4: Master timer Period.

MSTCMP1

Bit 5: Master compare 1.

MSTCMP2

Bit 6: Master compare 2.

MSTCMP3

Bit 7: Master compare 3.

MSTCMP4

Bit 8: Master compare 4.

EXTEVNT1

Bit 9: External Event 1.

EXTEVNT2

Bit 10: External Event 2.

EXTEVNT3

Bit 11: External Event 3.

EXTEVNT4

Bit 12: External Event 4.

EXTEVNT5

Bit 13: External Event 5.

EXTEVNT6

Bit 14: External Event 6.

EXTEVNT7

Bit 15: External Event 7.

EXTEVNT8

Bit 16: External Event 8.

EXTEVNT9

Bit 17: External Event 9.

EXTEVNT10

Bit 18: External Event 10.

TIMACMP1

Bit 19: Timer A Compare 1.

TIMACMP2

Bit 20: Timer A Compare 2.

TIMACMP4

Bit 21: Timer A Compare 4.

TIMBCMP1

Bit 22: Timer B Compare 1.

TIMBCMP2

Bit 23: Timer B Compare 2.

TIMBCMP4

Bit 24: Timer B Compare 4.

TIMDCMP1

Bit 25: Timer D Compare 1.

TIMDCMP2

Bit 26: Timer D Compare 2.

TIMDCMP4

Bit 27: Timer D Compare 4.

TIMECMP1

Bit 28: Timer E Compare 1.

TIMECMP2

Bit 29: Timer E Compare 2.

TIMECMP4

Bit 30: Timer E Compare 4.

CHPCR

Timerx Chopper Register

Offset: 0x58, 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
STRTPW
rw
CHPDTY
rw
CHPFRQ
rw
Toggle fields

CHPFRQ

Bits 0-3: Timerx carrier frequency value.

CHPDTY

Bits 4-6: Timerx chopper duty cycle value.

STRTPW

Bits 7-10: STRTPW.

CPT1CCR

Timerx Capture 2 Control Register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

CPT2CCR

CPT2xCR

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

OUTCR

Timerx Output Register

Offset: 0x64, 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
DIDL2
rw
CHP2
rw
FAULT2
rw
IDLES2
rw
IDLEM2
rw
POL2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
rw
DLYPRTEN
rw
DTEN
rw
DIDL1
rw
CHP1
rw
FAULT1
rw
IDLES1
rw
IDLEM1
rw
POL1
rw
Toggle fields

POL1

Bit 1: Output 1 polarity.

IDLEM1

Bit 2: Output 1 Idle mode.

IDLES1

Bit 3: Output 1 Idle State.

FAULT1

Bits 4-5: Output 1 Fault state.

CHP1

Bit 6: Output 1 Chopper enable.

DIDL1

Bit 7: Output 1 Deadtime upon burst mode Idle entry.

DTEN

Bit 8: Deadtime enable.

DLYPRTEN

Bit 9: Delayed Protection Enable.

DLYPRT

Bits 10-12: Delayed Protection.

POL2

Bit 17: Output 2 polarity.

IDLEM2

Bit 18: Output 2 Idle mode.

IDLES2

Bit 19: Output 2 Idle State.

FAULT2

Bits 20-21: Output 2 Fault state.

CHP2

Bit 22: Output 2 Chopper enable.

DIDL2

Bit 23: Output 2 Deadtime upon burst mode Idle entry.

FLTCR

Timerx Fault Register

Offset: 0x68, 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
FLTLCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT5EN
rw
FLT4EN
rw
FLT3EN
rw
FLT2EN
rw
FLT1EN
rw
Toggle fields

FLT1EN

Bit 0: Fault 1 enable.

FLT2EN

Bit 1: Fault 2 enable.

FLT3EN

Bit 2: Fault 3 enable.

FLT4EN

Bit 3: Fault 4 enable.

FLT5EN

Bit 4: Fault 5 enable.

FLTLCK

Bit 31: Fault sources Lock.

HRTIM_TIMD

0x40017600: High Resolution Timer: TIMD

20/357 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 TIMDCR
0x4 TIMDISR
0x8 TIMDICR
0xc TIMDDIER5
0x10 CNTDR
0x14 PERDR
0x18 REPDR
0x1c CMP1DR
0x20 CMP1CDR
0x24 CMP2DR
0x28 CMP3DR
0x2c CMP4DR
0x30 CPT1DR
0x34 CPT2DR
0x38 DTDR
0x3c SETD1R
0x40 RSTD1R
0x44 SETD2R
0x48 RSTD2R
0x4c EEFDR1
0x50 EEFDR2
0x54 RSTDR
0x58 CHPDR
0x5c CPT1DCR
0x60 CPT2DCR
0x64 OUTDR
0x68 FLTDR
Toggle registers

TIMDCR

Timerx Control Register

Offset: 0x0, 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
UPDGAT
rw
PREEN
rw
DACSYNC
rw
MSTU
rw
TEU
rw
TDU
rw
TCU
rw
TBU
rw
TxRSTU
rw
TxREPU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DELCMP4
rw
DELCMP2
rw
SYNCSTRTx
rw
SYNCRSTx
rw
PSHPLL
rw
HALF
rw
RETRIG
rw
CONT
rw
CK_PSCx
rw
Toggle fields

CK_PSCx

Bits 0-2: HRTIM Timer x Clock prescaler.

CONT

Bit 3: Continuous mode.

RETRIG

Bit 4: Re-triggerable mode.

HALF

Bit 5: Half mode enable.

PSHPLL

Bit 6: Push-Pull mode enable.

SYNCRSTx

Bit 10: Synchronization Resets Timer x.

SYNCSTRTx

Bit 11: Synchronization Starts Timer x.

DELCMP2

Bits 12-13: Delayed CMP2 mode.

DELCMP4

Bits 14-15: Delayed CMP4 mode.

TxREPU

Bit 17: Timer x Repetition update.

TxRSTU

Bit 18: Timerx reset update.

TBU

Bit 20: TBU.

TCU

Bit 21: TCU.

TDU

Bit 22: TDU.

TEU

Bit 23: TEU.

MSTU

Bit 24: Master Timer update.

DACSYNC

Bits 25-26: AC Synchronization.

PREEN

Bit 27: Preload enable.

UPDGAT

Bits 28-31: Update Gating.

TIMDISR

Timerx Interrupt Status Register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O2STAT
r
O1STAT
r
IPPSTAT
r
CPPSTAT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
r
RST
r
RSTx2
r
SETx2
r
RSTx1
r
SETx1
r
CPT2
r
CPT1
r
UPD
r
REP
r
CMP4
r
CMP3
r
CMP2
r
CMP1
r
Toggle fields

CMP1

Bit 0: Compare 1 Interrupt Flag.

CMP2

Bit 1: Compare 2 Interrupt Flag.

CMP3

Bit 2: Compare 3 Interrupt Flag.

CMP4

Bit 3: Compare 4 Interrupt Flag.

REP

Bit 4: Repetition Interrupt Flag.

UPD

Bit 6: Update Interrupt Flag.

CPT1

Bit 7: Capture1 Interrupt Flag.

CPT2

Bit 8: Capture2 Interrupt Flag.

SETx1

Bit 9: Output 1 Set Interrupt Flag.

RSTx1

Bit 10: Output 1 Reset Interrupt Flag.

SETx2

Bit 11: Output 2 Set Interrupt Flag.

RSTx2

Bit 12: Output 2 Reset Interrupt Flag.

RST

Bit 13: Reset Interrupt Flag.

DLYPRT

Bit 14: Delayed Protection Flag.

CPPSTAT

Bit 16: Current Push Pull Status.

IPPSTAT

Bit 17: Idle Push Pull Status.

O1STAT

Bit 18: Output 1 State.

O2STAT

Bit 19: Output 2 State.

TIMDICR

Timerx Interrupt Clear Register

Offset: 0x8, size: 32, reset: 0x00000000, access: write-only

0/14 fields covered.

Toggle fields

CMP1C

Bit 0: Compare 1 Interrupt flag Clear.

CMP2C

Bit 1: Compare 2 Interrupt flag Clear.

CMP3C

Bit 2: Compare 3 Interrupt flag Clear.

CMP4C

Bit 3: Compare 4 Interrupt flag Clear.

REPC

Bit 4: Repetition Interrupt flag Clear.

UPDC

Bit 6: Update Interrupt flag Clear.

CPT1C

Bit 7: Capture1 Interrupt flag Clear.

CPT2C

Bit 8: Capture2 Interrupt flag Clear.

SET1xC

Bit 9: Output 1 Set flag Clear.

RSTx1C

Bit 10: Output 1 Reset flag Clear.

SET2xC

Bit 11: Output 2 Set flag Clear.

RSTx2C

Bit 12: Output 2 Reset flag Clear.

RSTC

Bit 13: Reset Interrupt flag Clear.

DLYPRTC

Bit 14: Delayed Protection Flag Clear.

TIMDDIER5

TIMxDIER5

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

CMP1IE

Bit 0: CMP1IE.

CMP2IE

Bit 1: CMP2IE.

CMP3IE

Bit 2: CMP3IE.

CMP4IE

Bit 3: CMP4IE.

REPIE

Bit 4: REPIE.

UPDIE

Bit 6: UPDIE.

CPT1IE

Bit 7: CPT1IE.

CPT2IE

Bit 8: CPT2IE.

SET1xIE

Bit 9: SET1xIE.

RSTx1IE

Bit 10: RSTx1IE.

SETx2IE

Bit 11: SETx2IE.

RSTx2IE

Bit 12: RSTx2IE.

RSTIE

Bit 13: RSTIE.

DLYPRTIE

Bit 14: DLYPRTIE.

CMP1DE

Bit 16: CMP1DE.

CMP2DE

Bit 17: CMP2DE.

CMP3DE

Bit 18: CMP3DE.

CMP4DE

Bit 19: CMP4DE.

REPDE

Bit 20: REPDE.

UPDDE

Bit 22: UPDDE.

CPT1DE

Bit 23: CPT1DE.

CPT2DE

Bit 24: CPT2DE.

SET1xDE

Bit 25: SET1xDE.

RSTx1DE

Bit 26: RSTx1DE.

SETx2DE

Bit 27: SETx2DE.

RSTx2DE

Bit 28: RSTx2DE.

RSTDE

Bit 29: RSTDE.

DLYPRTDE

Bit 30: DLYPRTDE.

CNTDR

Timerx Counter Register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNTx
rw
Toggle fields

CNTx

Bits 0-15: Timerx Counter value.

PERDR

Timerx Period Register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERx
rw
Toggle fields

PERx

Bits 0-15: Timerx Period value.

REPDR

Timerx Repetition 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
REPx
rw
Toggle fields

REPx

Bits 0-7: Timerx Repetition counter value.

CMP1DR

Timerx Compare 1 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
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

CMP1CDR

Timerx Compare 1 Compound 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
REPx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

REPx

Bits 16-23: Timerx Repetition value (aliased from HRTIM_REPx register).

CMP2DR

Timerx Compare 2 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
CMP2x
rw
Toggle fields

CMP2x

Bits 0-15: Timerx Compare 2 value.

CMP3DR

Timerx Compare 3 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
CMP3x
rw
Toggle fields

CMP3x

Bits 0-15: Timerx Compare 3 value.

CMP4DR

Timerx Compare 4 Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP4x
rw
Toggle fields

CMP4x

Bits 0-15: Timerx Compare 4 value.

CPT1DR

Timerx Capture 1 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
CPT1x
r
Toggle fields

CPT1x

Bits 0-15: Timerx Capture 1 value.

CPT2DR

Timerx Capture 2 Register

Offset: 0x34, 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
CPT2x
r
Toggle fields

CPT2x

Bits 0-15: Timerx Capture 2 value.

DTDR

Timerx Deadtime Register

Offset: 0x38, 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
DTFLKx
rw
DTFSLKx
rw
SDTFx
rw
DTFx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTRLKx
rw
DTRSLKx
rw
DTPRSC
rw
SDTRx
rw
DTRx
rw
Toggle fields

DTRx

Bits 0-8: Deadtime Rising value.

SDTRx

Bit 9: Sign Deadtime Rising value.

DTPRSC

Bits 10-12: Deadtime Prescaler.

DTRSLKx

Bit 14: Deadtime Rising Sign Lock.

DTRLKx

Bit 15: Deadtime Rising Lock.

DTFx

Bits 16-24: Deadtime Falling value.

SDTFx

Bit 25: Sign Deadtime Falling value.

DTFSLKx

Bit 30: Deadtime Falling Sign Lock.

DTFLKx

Bit 31: Deadtime Falling Lock.

SETD1R

Timerx Output1 Set Register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: Software Set trigger.

RESYNC

Bit 1: Timer A resynchronizaton.

PER

Bit 2: Timer A Period.

CMP1

Bit 3: Timer A compare 1.

CMP2

Bit 4: Timer A compare 2.

CMP3

Bit 5: Timer A compare 3.

CMP4

Bit 6: Timer A compare 4.

MSTPER

Bit 7: Master Period.

MSTCMP1

Bit 8: Master Compare 1.

MSTCMP2

Bit 9: Master Compare 2.

MSTCMP3

Bit 10: Master Compare 3.

MSTCMP4

Bit 11: Master Compare 4.

TIMEVNT1

Bit 12: Timer Event 1.

TIMEVNT2

Bit 13: Timer Event 2.

TIMEVNT3

Bit 14: Timer Event 3.

TIMEVNT4

Bit 15: Timer Event 4.

TIMEVNT5

Bit 16: Timer Event 5.

TIMEVNT6

Bit 17: Timer Event 6.

TIMEVNT7

Bit 18: Timer Event 7.

TIMEVNT8

Bit 19: Timer Event 8.

TIMEVNT9

Bit 20: Timer Event 9.

EXTEVNT1

Bit 21: External Event 1.

EXTEVNT2

Bit 22: External Event 2.

EXTEVNT3

Bit 23: External Event 3.

EXTEVNT4

Bit 24: External Event 4.

EXTEVNT5

Bit 25: External Event 5.

EXTEVNT6

Bit 26: External Event 6.

EXTEVNT7

Bit 27: External Event 7.

EXTEVNT8

Bit 28: External Event 8.

EXTEVNT9

Bit 29: External Event 9.

EXTEVNT10

Bit 30: External Event 10.

UPDATE

Bit 31: Registers update (transfer preload to active).

RSTD1R

Timerx Output1 Reset Register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

SETD2R

Timerx Output2 Set Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: SST.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

RSTD2R

Timerx Output2 Reset Register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

EEFDR1

Timerx External Event Filtering Register 1

Offset: 0x4c, 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
EE5FLTR
rw
EE5LTCH
rw
EE4FLTR
rw
EE4LTCH
rw
EE3FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE3FLTR
rw
EE3LTCH
rw
EE2FLTR
rw
EE2LTCH
rw
EE1FLTR
rw
EE1LTCH
rw
Toggle fields

EE1LTCH

Bit 0: External Event 1 latch.

EE1FLTR

Bits 1-4: External Event 1 filter.

EE2LTCH

Bit 6: External Event 2 latch.

EE2FLTR

Bits 7-10: External Event 2 filter.

EE3LTCH

Bit 12: External Event 3 latch.

EE3FLTR

Bits 13-16: External Event 3 filter.

EE4LTCH

Bit 18: External Event 4 latch.

EE4FLTR

Bits 19-22: External Event 4 filter.

EE5LTCH

Bit 24: External Event 5 latch.

EE5FLTR

Bits 25-28: External Event 5 filter.

EEFDR2

Timerx External Event Filtering Register 2

Offset: 0x50, 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
EE10FLTR
rw
EE10LTCH
rw
EE9FLTR
rw
EE9LTCH
rw
EE8FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8FLTR
rw
EE8LTCH
rw
EE7FLTR
rw
EE7LTCH
rw
EE6FLTR
rw
EE6LTCH
rw
Toggle fields

EE6LTCH

Bit 0: External Event 6 latch.

EE6FLTR

Bits 1-4: External Event 6 filter.

EE7LTCH

Bit 6: External Event 7 latch.

EE7FLTR

Bits 7-10: External Event 7 filter.

EE8LTCH

Bit 12: External Event 8 latch.

EE8FLTR

Bits 13-16: External Event 8 filter.

EE9LTCH

Bit 18: External Event 9 latch.

EE9FLTR

Bits 19-22: External Event 9 filter.

EE10LTCH

Bit 24: External Event 10 latch.

EE10FLTR

Bits 25-28: External Event 10 filter.

RSTDR

TimerA Reset Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

UPDT

Bit 1: Timer A Update reset.

CMP2

Bit 2: Timer A compare 2 reset.

CMP4

Bit 3: Timer A compare 4 reset.

MSTPER

Bit 4: Master timer Period.

MSTCMP1

Bit 5: Master compare 1.

MSTCMP2

Bit 6: Master compare 2.

MSTCMP3

Bit 7: Master compare 3.

MSTCMP4

Bit 8: Master compare 4.

EXTEVNT1

Bit 9: External Event 1.

EXTEVNT2

Bit 10: External Event 2.

EXTEVNT3

Bit 11: External Event 3.

EXTEVNT4

Bit 12: External Event 4.

EXTEVNT5

Bit 13: External Event 5.

EXTEVNT6

Bit 14: External Event 6.

EXTEVNT7

Bit 15: External Event 7.

EXTEVNT8

Bit 16: External Event 8.

EXTEVNT9

Bit 17: External Event 9.

EXTEVNT10

Bit 18: External Event 10.

TIMACMP1

Bit 19: Timer A Compare 1.

TIMACMP2

Bit 20: Timer A Compare 2.

TIMACMP4

Bit 21: Timer A Compare 4.

TIMBCMP1

Bit 22: Timer B Compare 1.

TIMBCMP2

Bit 23: Timer B Compare 2.

TIMBCMP4

Bit 24: Timer B Compare 4.

TIMCCMP1

Bit 25: Timer C Compare 1.

TIMCCMP2

Bit 26: Timer C Compare 2.

TIMCCMP4

Bit 27: Timer C Compare 4.

TIMECMP1

Bit 28: Timer E Compare 1.

TIMECMP2

Bit 29: Timer E Compare 2.

TIMECMP4

Bit 30: Timer E Compare 4.

CHPDR

Timerx Chopper Register

Offset: 0x58, 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
STRTPW
rw
CHPDTY
rw
CHPFRQ
rw
Toggle fields

CHPFRQ

Bits 0-3: Timerx carrier frequency value.

CHPDTY

Bits 4-6: Timerx chopper duty cycle value.

STRTPW

Bits 7-10: STRTPW.

CPT1DCR

Timerx Capture 2 Control Register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

CPT2DCR

CPT2xCR

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TE1SET

Bit 28: Timer E output 1 Set.

TE1RST

Bit 29: Timer E output 1 Reset.

TECMP1

Bit 30: Timer E Compare 1.

TECMP2

Bit 31: Timer E Compare 2.

OUTDR

Timerx Output Register

Offset: 0x64, 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
DIDL2
rw
CHP2
rw
FAULT2
rw
IDLES2
rw
IDLEM2
rw
POL2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
rw
DLYPRTEN
rw
DTEN
rw
DIDL1
rw
CHP1
rw
FAULT1
rw
IDLES1
rw
IDLEM1
rw
POL1
rw
Toggle fields

POL1

Bit 1: Output 1 polarity.

IDLEM1

Bit 2: Output 1 Idle mode.

IDLES1

Bit 3: Output 1 Idle State.

FAULT1

Bits 4-5: Output 1 Fault state.

CHP1

Bit 6: Output 1 Chopper enable.

DIDL1

Bit 7: Output 1 Deadtime upon burst mode Idle entry.

DTEN

Bit 8: Deadtime enable.

DLYPRTEN

Bit 9: Delayed Protection Enable.

DLYPRT

Bits 10-12: Delayed Protection.

POL2

Bit 17: Output 2 polarity.

IDLEM2

Bit 18: Output 2 Idle mode.

IDLES2

Bit 19: Output 2 Idle State.

FAULT2

Bits 20-21: Output 2 Fault state.

CHP2

Bit 22: Output 2 Chopper enable.

DIDL2

Bit 23: Output 2 Deadtime upon burst mode Idle entry.

FLTDR

Timerx Fault Register

Offset: 0x68, 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
FLTLCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT5EN
rw
FLT4EN
rw
FLT3EN
rw
FLT2EN
rw
FLT1EN
rw
Toggle fields

FLT1EN

Bit 0: Fault 1 enable.

FLT2EN

Bit 1: Fault 2 enable.

FLT3EN

Bit 2: Fault 3 enable.

FLT4EN

Bit 3: Fault 4 enable.

FLT5EN

Bit 4: Fault 5 enable.

FLTLCK

Bit 31: Fault sources Lock.

HRTIM_TIME

0x40017680: High Resolution Timer: TIME

20/357 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 TIMECR
0x4 TIMEISR
0x8 TIMEICR
0xc TIMEDIER5
0x10 CNTER
0x14 PERER
0x18 REPER
0x1c CMP1ER
0x20 CMP1CER
0x24 CMP2ER
0x28 CMP3ER
0x2c CMP4ER
0x30 CPT1ER
0x34 CPT2ER
0x38 DTER
0x3c SETE1R
0x40 RSTE1R
0x44 SETE2R
0x48 RSTE2R
0x4c EEFER1
0x50 EEFER2
0x54 RSTER
0x58 CHPER
0x5c CPT1ECR
0x60 CPT2ECR
0x64 OUTER
0x68 FLTER
Toggle registers

TIMECR

Timerx Control Register

Offset: 0x0, 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
UPDGAT
rw
PREEN
rw
DACSYNC
rw
MSTU
rw
TEU
rw
TDU
rw
TCU
rw
TBU
rw
TxRSTU
rw
TxREPU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DELCMP4
rw
DELCMP2
rw
SYNCSTRTx
rw
SYNCRSTx
rw
PSHPLL
rw
HALF
rw
RETRIG
rw
CONT
rw
CK_PSCx
rw
Toggle fields

CK_PSCx

Bits 0-2: HRTIM Timer x Clock prescaler.

CONT

Bit 3: Continuous mode.

RETRIG

Bit 4: Re-triggerable mode.

HALF

Bit 5: Half mode enable.

PSHPLL

Bit 6: Push-Pull mode enable.

SYNCRSTx

Bit 10: Synchronization Resets Timer x.

SYNCSTRTx

Bit 11: Synchronization Starts Timer x.

DELCMP2

Bits 12-13: Delayed CMP2 mode.

DELCMP4

Bits 14-15: Delayed CMP4 mode.

TxREPU

Bit 17: Timer x Repetition update.

TxRSTU

Bit 18: Timerx reset update.

TBU

Bit 20: TBU.

TCU

Bit 21: TCU.

TDU

Bit 22: TDU.

TEU

Bit 23: TEU.

MSTU

Bit 24: Master Timer update.

DACSYNC

Bits 25-26: AC Synchronization.

PREEN

Bit 27: Preload enable.

UPDGAT

Bits 28-31: Update Gating.

TIMEISR

Timerx Interrupt Status Register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-only

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O2STAT
r
O1STAT
r
IPPSTAT
r
CPPSTAT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
r
RST
r
RSTx2
r
SETx2
r
RSTx1
r
SETx1
r
CPT2
r
CPT1
r
UPD
r
REP
r
CMP4
r
CMP3
r
CMP2
r
CMP1
r
Toggle fields

CMP1

Bit 0: Compare 1 Interrupt Flag.

CMP2

Bit 1: Compare 2 Interrupt Flag.

CMP3

Bit 2: Compare 3 Interrupt Flag.

CMP4

Bit 3: Compare 4 Interrupt Flag.

REP

Bit 4: Repetition Interrupt Flag.

UPD

Bit 6: Update Interrupt Flag.

CPT1

Bit 7: Capture1 Interrupt Flag.

CPT2

Bit 8: Capture2 Interrupt Flag.

SETx1

Bit 9: Output 1 Set Interrupt Flag.

RSTx1

Bit 10: Output 1 Reset Interrupt Flag.

SETx2

Bit 11: Output 2 Set Interrupt Flag.

RSTx2

Bit 12: Output 2 Reset Interrupt Flag.

RST

Bit 13: Reset Interrupt Flag.

DLYPRT

Bit 14: Delayed Protection Flag.

CPPSTAT

Bit 16: Current Push Pull Status.

IPPSTAT

Bit 17: Idle Push Pull Status.

O1STAT

Bit 18: Output 1 State.

O2STAT

Bit 19: Output 2 State.

TIMEICR

Timerx Interrupt Clear Register

Offset: 0x8, size: 32, reset: 0x00000000, access: write-only

0/14 fields covered.

Toggle fields

CMP1C

Bit 0: Compare 1 Interrupt flag Clear.

CMP2C

Bit 1: Compare 2 Interrupt flag Clear.

CMP3C

Bit 2: Compare 3 Interrupt flag Clear.

CMP4C

Bit 3: Compare 4 Interrupt flag Clear.

REPC

Bit 4: Repetition Interrupt flag Clear.

UPDC

Bit 6: Update Interrupt flag Clear.

CPT1C

Bit 7: Capture1 Interrupt flag Clear.

CPT2C

Bit 8: Capture2 Interrupt flag Clear.

SET1xC

Bit 9: Output 1 Set flag Clear.

RSTx1C

Bit 10: Output 1 Reset flag Clear.

SET2xC

Bit 11: Output 2 Set flag Clear.

RSTx2C

Bit 12: Output 2 Reset flag Clear.

RSTC

Bit 13: Reset Interrupt flag Clear.

DLYPRTC

Bit 14: Delayed Protection Flag Clear.

TIMEDIER5

TIMxDIER5

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

CMP1IE

Bit 0: CMP1IE.

CMP2IE

Bit 1: CMP2IE.

CMP3IE

Bit 2: CMP3IE.

CMP4IE

Bit 3: CMP4IE.

REPIE

Bit 4: REPIE.

UPDIE

Bit 6: UPDIE.

CPT1IE

Bit 7: CPT1IE.

CPT2IE

Bit 8: CPT2IE.

SET1xIE

Bit 9: SET1xIE.

RSTx1IE

Bit 10: RSTx1IE.

SETx2IE

Bit 11: SETx2IE.

RSTx2IE

Bit 12: RSTx2IE.

RSTIE

Bit 13: RSTIE.

DLYPRTIE

Bit 14: DLYPRTIE.

CMP1DE

Bit 16: CMP1DE.

CMP2DE

Bit 17: CMP2DE.

CMP3DE

Bit 18: CMP3DE.

CMP4DE

Bit 19: CMP4DE.

REPDE

Bit 20: REPDE.

UPDDE

Bit 22: UPDDE.

CPT1DE

Bit 23: CPT1DE.

CPT2DE

Bit 24: CPT2DE.

SET1xDE

Bit 25: SET1xDE.

RSTx1DE

Bit 26: RSTx1DE.

SETx2DE

Bit 27: SETx2DE.

RSTx2DE

Bit 28: RSTx2DE.

RSTDE

Bit 29: RSTDE.

DLYPRTDE

Bit 30: DLYPRTDE.

CNTER

Timerx Counter Register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNTx
rw
Toggle fields

CNTx

Bits 0-15: Timerx Counter value.

PERER

Timerx Period Register

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PERx
rw
Toggle fields

PERx

Bits 0-15: Timerx Period value.

REPER

Timerx Repetition 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
REPx
rw
Toggle fields

REPx

Bits 0-7: Timerx Repetition counter value.

CMP1ER

Timerx Compare 1 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
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

CMP1CER

Timerx Compare 1 Compound 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
REPx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP1x
rw
Toggle fields

CMP1x

Bits 0-15: Timerx Compare 1 value.

REPx

Bits 16-23: Timerx Repetition value (aliased from HRTIM_REPx register).

CMP2ER

Timerx Compare 2 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
CMP2x
rw
Toggle fields

CMP2x

Bits 0-15: Timerx Compare 2 value.

CMP3ER

Timerx Compare 3 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
CMP3x
rw
Toggle fields

CMP3x

Bits 0-15: Timerx Compare 3 value.

CMP4ER

Timerx Compare 4 Register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP4x
rw
Toggle fields

CMP4x

Bits 0-15: Timerx Compare 4 value.

CPT1ER

Timerx Capture 1 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
CPT1x
r
Toggle fields

CPT1x

Bits 0-15: Timerx Capture 1 value.

CPT2ER

Timerx Capture 2 Register

Offset: 0x34, 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
CPT2x
r
Toggle fields

CPT2x

Bits 0-15: Timerx Capture 2 value.

DTER

Timerx Deadtime Register

Offset: 0x38, 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
DTFLKx
rw
DTFSLKx
rw
SDTFx
rw
DTFx
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTRLKx
rw
DTRSLKx
rw
DTPRSC
rw
SDTRx
rw
DTRx
rw
Toggle fields

DTRx

Bits 0-8: Deadtime Rising value.

SDTRx

Bit 9: Sign Deadtime Rising value.

DTPRSC

Bits 10-12: Deadtime Prescaler.

DTRSLKx

Bit 14: Deadtime Rising Sign Lock.

DTRLKx

Bit 15: Deadtime Rising Lock.

DTFx

Bits 16-24: Deadtime Falling value.

SDTFx

Bit 25: Sign Deadtime Falling value.

DTFSLKx

Bit 30: Deadtime Falling Sign Lock.

DTFLKx

Bit 31: Deadtime Falling Lock.

SETE1R

Timerx Output1 Set Register

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: Software Set trigger.

RESYNC

Bit 1: Timer A resynchronizaton.

PER

Bit 2: Timer A Period.

CMP1

Bit 3: Timer A compare 1.

CMP2

Bit 4: Timer A compare 2.

CMP3

Bit 5: Timer A compare 3.

CMP4

Bit 6: Timer A compare 4.

MSTPER

Bit 7: Master Period.

MSTCMP1

Bit 8: Master Compare 1.

MSTCMP2

Bit 9: Master Compare 2.

MSTCMP3

Bit 10: Master Compare 3.

MSTCMP4

Bit 11: Master Compare 4.

TIMEVNT1

Bit 12: Timer Event 1.

TIMEVNT2

Bit 13: Timer Event 2.

TIMEVNT3

Bit 14: Timer Event 3.

TIMEVNT4

Bit 15: Timer Event 4.

TIMEVNT5

Bit 16: Timer Event 5.

TIMEVNT6

Bit 17: Timer Event 6.

TIMEVNT7

Bit 18: Timer Event 7.

TIMEVNT8

Bit 19: Timer Event 8.

TIMEVNT9

Bit 20: Timer Event 9.

EXTEVNT1

Bit 21: External Event 1.

EXTEVNT2

Bit 22: External Event 2.

EXTEVNT3

Bit 23: External Event 3.

EXTEVNT4

Bit 24: External Event 4.

EXTEVNT5

Bit 25: External Event 5.

EXTEVNT6

Bit 26: External Event 6.

EXTEVNT7

Bit 27: External Event 7.

EXTEVNT8

Bit 28: External Event 8.

EXTEVNT9

Bit 29: External Event 9.

EXTEVNT10

Bit 30: External Event 10.

UPDATE

Bit 31: Registers update (transfer preload to active).

RSTE1R

Timerx Output1 Reset Register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

SETE2R

Timerx Output2 Set Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SST

Bit 0: SST.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

RSTE2R

Timerx Output2 Reset Register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

SRT

Bit 0: SRT.

RESYNC

Bit 1: RESYNC.

PER

Bit 2: PER.

CMP1

Bit 3: CMP1.

CMP2

Bit 4: CMP2.

CMP3

Bit 5: CMP3.

CMP4

Bit 6: CMP4.

MSTPER

Bit 7: MSTPER.

MSTCMP1

Bit 8: MSTCMP1.

MSTCMP2

Bit 9: MSTCMP2.

MSTCMP3

Bit 10: MSTCMP3.

MSTCMP4

Bit 11: MSTCMP4.

TIMEVNT1

Bit 12: TIMEVNT1.

TIMEVNT2

Bit 13: TIMEVNT2.

TIMEVNT3

Bit 14: TIMEVNT3.

TIMEVNT4

Bit 15: TIMEVNT4.

TIMEVNT5

Bit 16: TIMEVNT5.

TIMEVNT6

Bit 17: TIMEVNT6.

TIMEVNT7

Bit 18: TIMEVNT7.

TIMEVNT8

Bit 19: TIMEVNT8.

TIMEVNT9

Bit 20: TIMEVNT9.

EXTEVNT1

Bit 21: EXTEVNT1.

EXTEVNT2

Bit 22: EXTEVNT2.

EXTEVNT3

Bit 23: EXTEVNT3.

EXTEVNT4

Bit 24: EXTEVNT4.

EXTEVNT5

Bit 25: EXTEVNT5.

EXTEVNT6

Bit 26: EXTEVNT6.

EXTEVNT7

Bit 27: EXTEVNT7.

EXTEVNT8

Bit 28: EXTEVNT8.

EXTEVNT9

Bit 29: EXTEVNT9.

EXTEVNT10

Bit 30: EXTEVNT10.

UPDATE

Bit 31: UPDATE.

EEFER1

Timerx External Event Filtering Register 1

Offset: 0x4c, 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
EE5FLTR
rw
EE5LTCH
rw
EE4FLTR
rw
EE4LTCH
rw
EE3FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE3FLTR
rw
EE3LTCH
rw
EE2FLTR
rw
EE2LTCH
rw
EE1FLTR
rw
EE1LTCH
rw
Toggle fields

EE1LTCH

Bit 0: External Event 1 latch.

EE1FLTR

Bits 1-4: External Event 1 filter.

EE2LTCH

Bit 6: External Event 2 latch.

EE2FLTR

Bits 7-10: External Event 2 filter.

EE3LTCH

Bit 12: External Event 3 latch.

EE3FLTR

Bits 13-16: External Event 3 filter.

EE4LTCH

Bit 18: External Event 4 latch.

EE4FLTR

Bits 19-22: External Event 4 filter.

EE5LTCH

Bit 24: External Event 5 latch.

EE5FLTR

Bits 25-28: External Event 5 filter.

EEFER2

Timerx External Event Filtering Register 2

Offset: 0x50, 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
EE10FLTR
rw
EE10LTCH
rw
EE9FLTR
rw
EE9LTCH
rw
EE8FLTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EE8FLTR
rw
EE8LTCH
rw
EE7FLTR
rw
EE7LTCH
rw
EE6FLTR
rw
EE6LTCH
rw
Toggle fields

EE6LTCH

Bit 0: External Event 6 latch.

EE6FLTR

Bits 1-4: External Event 6 filter.

EE7LTCH

Bit 6: External Event 7 latch.

EE7FLTR

Bits 7-10: External Event 7 filter.

EE8LTCH

Bit 12: External Event 8 latch.

EE8FLTR

Bits 13-16: External Event 8 filter.

EE9LTCH

Bit 18: External Event 9 latch.

EE9FLTR

Bits 19-22: External Event 9 filter.

EE10LTCH

Bit 24: External Event 10 latch.

EE10FLTR

Bits 25-28: External Event 10 filter.

RSTER

TimerA Reset Register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

0/30 fields covered.

Toggle fields

UPDT

Bit 1: Timer A Update reset.

CMP2

Bit 2: Timer A compare 2 reset.

CMP4

Bit 3: Timer A compare 4 reset.

MSTPER

Bit 4: Master timer Period.

MSTCMP1

Bit 5: Master compare 1.

MSTCMP2

Bit 6: Master compare 2.

MSTCMP3

Bit 7: Master compare 3.

MSTCMP4

Bit 8: Master compare 4.

EXTEVNT1

Bit 9: External Event 1.

EXTEVNT2

Bit 10: External Event 2.

EXTEVNT3

Bit 11: External Event 3.

EXTEVNT4

Bit 12: External Event 4.

EXTEVNT5

Bit 13: External Event 5.

EXTEVNT6

Bit 14: External Event 6.

EXTEVNT7

Bit 15: External Event 7.

EXTEVNT8

Bit 16: External Event 8.

EXTEVNT9

Bit 17: External Event 9.

EXTEVNT10

Bit 18: External Event 10.

TIMACMP1

Bit 19: Timer A Compare 1.

TIMACMP2

Bit 20: Timer A Compare 2.

TIMACMP4

Bit 21: Timer A Compare 4.

TIMBCMP1

Bit 22: Timer B Compare 1.

TIMBCMP2

Bit 23: Timer B Compare 2.

TIMBCMP4

Bit 24: Timer B Compare 4.

TIMCCMP1

Bit 25: Timer C Compare 1.

TIMCCMP2

Bit 26: Timer C Compare 2.

TIMCCMP4

Bit 27: Timer C Compare 4.

TIMDCMP1

Bit 28: Timer D Compare 1.

TIMDCMP2

Bit 29: Timer D Compare 2.

TIMDCMP4

Bit 30: Timer D Compare 4.

CHPER

Timerx Chopper Register

Offset: 0x58, 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
STRTPW
rw
CHPDTY
rw
CHPFRQ
rw
Toggle fields

CHPFRQ

Bits 0-3: Timerx carrier frequency value.

CHPDTY

Bits 4-6: Timerx chopper duty cycle value.

STRTPW

Bits 7-10: STRTPW.

CPT1ECR

Timerx Capture 2 Control Register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

CPT2ECR

CPT2xCR

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/28 fields covered.

Toggle fields

SWCPT

Bit 0: Software Capture.

UDPCPT

Bit 1: Update Capture.

EXEV1CPT

Bit 2: External Event 1 Capture.

EXEV2CPT

Bit 3: External Event 2 Capture.

EXEV3CPT

Bit 4: External Event 3 Capture.

EXEV4CPT

Bit 5: External Event 4 Capture.

EXEV5CPT

Bit 6: External Event 5 Capture.

EXEV6CPT

Bit 7: External Event 6 Capture.

EXEV7CPT

Bit 8: External Event 7 Capture.

EXEV8CPT

Bit 9: External Event 8 Capture.

EXEV9CPT

Bit 10: External Event 9 Capture.

EXEV10CPT

Bit 11: External Event 10 Capture.

TA1SET

Bit 12: Timer A output 1 Set.

TA1RST

Bit 13: Timer A output 1 Reset.

TACMP1

Bit 14: Timer A Compare 1.

TACMP2

Bit 15: Timer A Compare 2.

TB1SET

Bit 16: Timer B output 1 Set.

TB1RST

Bit 17: Timer B output 1 Reset.

TBCMP1

Bit 18: Timer B Compare 1.

TBCMP2

Bit 19: Timer B Compare 2.

TC1SET

Bit 20: Timer C output 1 Set.

TC1RST

Bit 21: Timer C output 1 Reset.

TCCMP1

Bit 22: Timer C Compare 1.

TCCMP2

Bit 23: Timer C Compare 2.

TD1SET

Bit 24: Timer D output 1 Set.

TD1RST

Bit 25: Timer D output 1 Reset.

TDCMP1

Bit 26: Timer D Compare 1.

TDCMP2

Bit 27: Timer D Compare 2.

OUTER

Timerx Output Register

Offset: 0x64, 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
DIDL2
rw
CHP2
rw
FAULT2
rw
IDLES2
rw
IDLEM2
rw
POL2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYPRT
rw
DLYPRTEN
rw
DTEN
rw
DIDL1
rw
CHP1
rw
FAULT1
rw
IDLES1
rw
IDLEM1
rw
POL1
rw
Toggle fields

POL1

Bit 1: Output 1 polarity.

IDLEM1

Bit 2: Output 1 Idle mode.

IDLES1

Bit 3: Output 1 Idle State.

FAULT1

Bits 4-5: Output 1 Fault state.

CHP1

Bit 6: Output 1 Chopper enable.

DIDL1

Bit 7: Output 1 Deadtime upon burst mode Idle entry.

DTEN

Bit 8: Deadtime enable.

DLYPRTEN

Bit 9: Delayed Protection Enable.

DLYPRT

Bits 10-12: Delayed Protection.

POL2

Bit 17: Output 2 polarity.

IDLEM2

Bit 18: Output 2 Idle mode.

IDLES2

Bit 19: Output 2 Idle State.

FAULT2

Bits 20-21: Output 2 Fault state.

CHP2

Bit 22: Output 2 Chopper enable.

DIDL2

Bit 23: Output 2 Deadtime upon burst mode Idle entry.

FLTER

Timerx Fault Register

Offset: 0x68, 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
FLTLCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FLT5EN
rw
FLT4EN
rw
FLT3EN
rw
FLT2EN
rw
FLT1EN
rw
Toggle fields

FLT1EN

Bit 0: Fault 1 enable.

FLT2EN

Bit 1: Fault 2 enable.

FLT3EN

Bit 2: Fault 3 enable.

FLT4EN

Bit 3: Fault 4 enable.

FLT5EN

Bit 4: Fault 5 enable.

FLTLCK

Bit 31: Fault sources Lock.

HSEM

0x58026400: HSEM

192/323 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 R[0]
0x4 R[1]
0x8 R[2]
0xc R[3]
0x10 R[4]
0x14 R[5]
0x18 R[6]
0x1c R[7]
0x20 R[8]
0x24 R[9]
0x28 R[10]
0x2c R[11]
0x30 R[12]
0x34 R[13]
0x38 R[14]
0x3c R[15]
0x40 R[16]
0x44 R[17]
0x48 R[18]
0x4c R[19]
0x50 R[20]
0x54 R[21]
0x58 R[22]
0x5c R[23]
0x60 R[24]
0x64 R[25]
0x68 R[26]
0x6c R[27]
0x70 R[28]
0x74 R[29]
0x78 R[30]
0x7c R[31]
0x80 RLR[0]
0x84 RLR[1]
0x88 RLR[2]
0x8c RLR[3]
0x90 RLR[4]
0x94 RLR[5]
0x98 RLR[6]
0x9c RLR[7]
0xa0 RLR[8]
0xa4 RLR[9]
0xa8 RLR[10]
0xac RLR[11]
0xb0 RLR[12]
0xb4 RLR[13]
0xb8 RLR[14]
0xbc RLR[15]
0xc0 RLR[16]
0xc4 RLR[17]
0xc8 RLR[18]
0xcc RLR[19]
0xd0 RLR[20]
0xd4 RLR[21]
0xd8 RLR[22]
0xdc RLR[23]
0xe0 RLR[24]
0xe4 RLR[25]
0xe8 RLR[26]
0xec RLR[27]
0xf0 RLR[28]
0xf4 RLR[29]
0xf8 RLR[30]
0xfc RLR[31]
0x100 IER
0x104 ICR
0x108 ISR
0x10c MISR
0x140 CR
0x144 KEYR
Toggle registers

R[0]

HSEM register HSEM_R0

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[1]

HSEM register HSEM_R1

Offset: 0x4, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[2]

HSEM register HSEM_R2

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[3]

HSEM register HSEM_R3

Offset: 0xc, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[4]

HSEM register HSEM_R4

Offset: 0x10, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[5]

HSEM register HSEM_R5

Offset: 0x14, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[6]

HSEM register HSEM_R6

Offset: 0x18, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[7]

HSEM register HSEM_R7

Offset: 0x1c, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[8]

HSEM register HSEM_R8

Offset: 0x20, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[9]

HSEM register HSEM_R9

Offset: 0x24, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[10]

HSEM register HSEM_R10

Offset: 0x28, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[11]

HSEM register HSEM_R11

Offset: 0x2c, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[12]

HSEM register HSEM_R12

Offset: 0x30, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[13]

HSEM register HSEM_R13

Offset: 0x34, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[14]

HSEM register HSEM_R14

Offset: 0x38, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[15]

HSEM register HSEM_R15

Offset: 0x3c, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[16]

HSEM register HSEM_R16

Offset: 0x40, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[17]

HSEM register HSEM_R17

Offset: 0x44, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[18]

HSEM register HSEM_R18

Offset: 0x48, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[19]

HSEM register HSEM_R19

Offset: 0x4c, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[20]

HSEM register HSEM_R20

Offset: 0x50, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[21]

HSEM register HSEM_R21

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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[22]

HSEM register HSEM_R22

Offset: 0x58, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[23]

HSEM register HSEM_R23

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[24]

HSEM register HSEM_R24

Offset: 0x60, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[25]

HSEM register HSEM_R25

Offset: 0x64, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[26]

HSEM register HSEM_R26

Offset: 0x68, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[27]

HSEM register HSEM_R27

Offset: 0x6c, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[28]

HSEM register HSEM_R28

Offset: 0x70, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[29]

HSEM register HSEM_R29

Offset: 0x74, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[30]

HSEM register HSEM_R30

Offset: 0x78, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

R[31]

HSEM register HSEM_R31

Offset: 0x7c, 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
LOCK
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
PROCID
rw
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[0]

Semaphore 0 read lock register

Offset: 0x80, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[1]

Semaphore 1 read lock register

Offset: 0x84, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[2]

Semaphore 2 read lock register

Offset: 0x88, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[3]

Semaphore 3 read lock register

Offset: 0x8c, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[4]

Semaphore 4 read lock register

Offset: 0x90, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[5]

Semaphore 5 read lock register

Offset: 0x94, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[6]

Semaphore 6 read lock register

Offset: 0x98, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[7]

Semaphore 7 read lock register

Offset: 0x9c, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[8]

Semaphore 8 read lock register

Offset: 0xa0, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[9]

Semaphore 9 read lock register

Offset: 0xa4, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[10]

Semaphore 10 read lock register

Offset: 0xa8, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[11]

Semaphore 11 read lock register

Offset: 0xac, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[12]

Semaphore 12 read lock register

Offset: 0xb0, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[13]

Semaphore 13 read lock register

Offset: 0xb4, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[14]

Semaphore 14 read lock register

Offset: 0xb8, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[15]

Semaphore 15 read lock register

Offset: 0xbc, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[16]

Semaphore 16 read lock register

Offset: 0xc0, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[17]

Semaphore 17 read lock register

Offset: 0xc4, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[18]

Semaphore 18 read lock register

Offset: 0xc8, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[19]

Semaphore 19 read lock register

Offset: 0xcc, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[20]

Semaphore 20 read lock register

Offset: 0xd0, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[21]

Semaphore 21 read lock register

Offset: 0xd4, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[22]

Semaphore 22 read lock register

Offset: 0xd8, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[23]

Semaphore 23 read lock register

Offset: 0xdc, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[24]

Semaphore 24 read lock register

Offset: 0xe0, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[25]

Semaphore 25 read lock register

Offset: 0xe4, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[26]

Semaphore 26 read lock register

Offset: 0xe8, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[27]

Semaphore 27 read lock register

Offset: 0xec, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[28]

Semaphore 28 read lock register

Offset: 0xf0, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[29]

Semaphore 29 read lock register

Offset: 0xf4, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[30]

Semaphore 30 read lock register

Offset: 0xf8, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

RLR[31]

Semaphore 31 read lock register

Offset: 0xfc, 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
LOCK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
r
PROCID
r
Toggle fields

PROCID

Bits 0-7: Semaphore ProcessID.

MASTERID

Bits 8-15: Semaphore MasterID.

LOCK

Bit 31: Lock indication.

IER

HSEM Interrupt enable register

Offset: 0x100, size: 32, reset: 0x00000000, access: read-write

0/32 fields covered.

Toggle fields

ISEM0

Bit 0: Interrupt semaphore n enable bit.

ISEM1

Bit 1: Interrupt semaphore n enable bit.

ISEM2

Bit 2: Interrupt semaphore n enable bit.

ISEM3

Bit 3: Interrupt semaphore n enable bit.

ISEM4

Bit 4: Interrupt semaphore n enable bit.

ISEM5

Bit 5: Interrupt semaphore n enable bit.

ISEM6

Bit 6: Interrupt semaphore n enable bit.

ISEM7

Bit 7: Interrupt semaphore n enable bit.

ISEM8

Bit 8: Interrupt semaphore n enable bit.

ISEM9

Bit 9: Interrupt semaphore n enable bit.

ISEM10

Bit 10: Interrupt semaphore n enable bit.

ISEM11

Bit 11: Interrupt semaphore n enable bit.

ISEM12

Bit 12: Interrupt semaphore n enable bit.

ISEM13

Bit 13: Interrupt semaphore n enable bit.

ISEM14

Bit 14: Interrupt semaphore n enable bit.

ISEM15

Bit 15: Interrupt semaphore n enable bit.

ISEM16

Bit 16: Interrupt semaphore n enable bit.

ISEM17

Bit 17: Interrupt semaphore n enable bit.

ISEM18

Bit 18: Interrupt semaphore n enable bit.

ISEM19

Bit 19: Interrupt semaphore n enable bit.

ISEM20

Bit 20: Interrupt semaphore n enable bit.

ISEM21

Bit 21: Interrupt semaphore n enable bit.

ISEM22

Bit 22: Interrupt semaphore n enable bit.

ISEM23

Bit 23: Interrupt semaphore n enable bit.

ISEM24

Bit 24: Interrupt semaphore n enable bit.

ISEM25

Bit 25: Interrupt semaphore n enable bit.

ISEM26

Bit 26: Interrupt semaphore n enable bit.

ISEM27

Bit 27: Interrupt semaphore n enable bit.

ISEM28

Bit 28: Interrupt semaphore n enable bit.

ISEM29

Bit 29: Interrupt semaphore n enable bit.

ISEM30

Bit 30: Interrupt semaphore n enable bit.

ISEM31

Bit 31: Interrupt(N) semaphore n enable bit..

ICR

HSEM Interrupt clear register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-only

32/32 fields covered.

Toggle fields

ISEM0

Bit 0: Interrupt(N) semaphore n clear bit.

ISEM1

Bit 1: Interrupt(N) semaphore n clear bit.

ISEM2

Bit 2: Interrupt(N) semaphore n clear bit.

ISEM3

Bit 3: Interrupt(N) semaphore n clear bit.

ISEM4

Bit 4: Interrupt(N) semaphore n clear bit.

ISEM5

Bit 5: Interrupt(N) semaphore n clear bit.

ISEM6

Bit 6: Interrupt(N) semaphore n clear bit.

ISEM7

Bit 7: Interrupt(N) semaphore n clear bit.

ISEM8

Bit 8: Interrupt(N) semaphore n clear bit.

ISEM9

Bit 9: Interrupt(N) semaphore n clear bit.

ISEM10

Bit 10: Interrupt(N) semaphore n clear bit.

ISEM11

Bit 11: Interrupt(N) semaphore n clear bit.

ISEM12

Bit 12: Interrupt(N) semaphore n clear bit.

ISEM13

Bit 13: Interrupt(N) semaphore n clear bit.

ISEM14

Bit 14: Interrupt(N) semaphore n clear bit.

ISEM15

Bit 15: Interrupt(N) semaphore n clear bit.

ISEM16

Bit 16: Interrupt(N) semaphore n clear bit.

ISEM17

Bit 17: Interrupt(N) semaphore n clear bit.

ISEM18

Bit 18: Interrupt(N) semaphore n clear bit.

ISEM19

Bit 19: Interrupt(N) semaphore n clear bit.

ISEM20

Bit 20: Interrupt(N) semaphore n clear bit.

ISEM21

Bit 21: Interrupt(N) semaphore n clear bit.

ISEM22

Bit 22: Interrupt(N) semaphore n clear bit.

ISEM23

Bit 23: Interrupt(N) semaphore n clear bit.

ISEM24

Bit 24: Interrupt(N) semaphore n clear bit.

ISEM25

Bit 25: Interrupt(N) semaphore n clear bit.

ISEM26

Bit 26: Interrupt(N) semaphore n clear bit.

ISEM27

Bit 27: Interrupt(N) semaphore n clear bit.

ISEM28

Bit 28: Interrupt(N) semaphore n clear bit.

ISEM29

Bit 29: Interrupt(N) semaphore n clear bit.

ISEM30

Bit 30: Interrupt(N) semaphore n clear bit.

ISEM31

Bit 31: Interrupt(N) semaphore n clear bit.

ISR

HSEM Interrupt status register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-only

32/32 fields covered.

Toggle fields

ISEM0

Bit 0: Interrupt(N) semaphore n status bit before enable (mask).

ISEM1

Bit 1: Interrupt(N) semaphore n status bit before enable (mask).

ISEM2

Bit 2: Interrupt(N) semaphore n status bit before enable (mask).

ISEM3

Bit 3: Interrupt(N) semaphore n status bit before enable (mask).

ISEM4

Bit 4: Interrupt(N) semaphore n status bit before enable (mask).

ISEM5

Bit 5: Interrupt(N) semaphore n status bit before enable (mask).

ISEM6

Bit 6: Interrupt(N) semaphore n status bit before enable (mask).

ISEM7

Bit 7: Interrupt(N) semaphore n status bit before enable (mask).

ISEM8

Bit 8: Interrupt(N) semaphore n status bit before enable (mask).

ISEM9

Bit 9: Interrupt(N) semaphore n status bit before enable (mask).

ISEM10

Bit 10: Interrupt(N) semaphore n status bit before enable (mask).

ISEM11

Bit 11: Interrupt(N) semaphore n status bit before enable (mask).

ISEM12

Bit 12: Interrupt(N) semaphore n status bit before enable (mask).

ISEM13

Bit 13: Interrupt(N) semaphore n status bit before enable (mask).

ISEM14

Bit 14: Interrupt(N) semaphore n status bit before enable (mask).

ISEM15

Bit 15: Interrupt(N) semaphore n status bit before enable (mask).

ISEM16

Bit 16: Interrupt(N) semaphore n status bit before enable (mask).

ISEM17

Bit 17: Interrupt(N) semaphore n status bit before enable (mask).

ISEM18

Bit 18: Interrupt(N) semaphore n status bit before enable (mask).

ISEM19

Bit 19: Interrupt(N) semaphore n status bit before enable (mask).

ISEM20

Bit 20: Interrupt(N) semaphore n status bit before enable (mask).

ISEM21

Bit 21: Interrupt(N) semaphore n status bit before enable (mask).

ISEM22

Bit 22: Interrupt(N) semaphore n status bit before enable (mask).

ISEM23

Bit 23: Interrupt(N) semaphore n status bit before enable (mask).

ISEM24

Bit 24: Interrupt(N) semaphore n status bit before enable (mask).

ISEM25

Bit 25: Interrupt(N) semaphore n status bit before enable (mask).

ISEM26

Bit 26: Interrupt(N) semaphore n status bit before enable (mask).

ISEM27

Bit 27: Interrupt(N) semaphore n status bit before enable (mask).

ISEM28

Bit 28: Interrupt(N) semaphore n status bit before enable (mask).

ISEM29

Bit 29: Interrupt(N) semaphore n status bit before enable (mask).

ISEM30

Bit 30: Interrupt(N) semaphore n status bit before enable (mask).

ISEM31

Bit 31: Interrupt(N) semaphore n status bit before enable (mask).

MISR

HSEM Masked interrupt status register

Offset: 0x10c, size: 32, reset: 0x00000000, access: read-only

32/32 fields covered.

Toggle fields

ISEM0

Bit 0: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM1

Bit 1: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM2

Bit 2: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM3

Bit 3: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM4

Bit 4: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM5

Bit 5: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM6

Bit 6: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM7

Bit 7: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM8

Bit 8: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM9

Bit 9: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM10

Bit 10: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM11

Bit 11: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM12

Bit 12: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM13

Bit 13: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM14

Bit 14: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM15

Bit 15: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM16

Bit 16: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM17

Bit 17: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM18

Bit 18: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM19

Bit 19: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM20

Bit 20: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM21

Bit 21: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM22

Bit 22: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM23

Bit 23: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM24

Bit 24: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM25

Bit 25: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM26

Bit 26: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM27

Bit 27: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM28

Bit 28: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM29

Bit 29: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM30

Bit 30: masked interrupt(N) semaphore n status bit after enable (mask).

ISEM31

Bit 31: masked interrupt(N) semaphore n status bit after enable (mask).

CR

HSEM Clear register

Offset: 0x140, 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
KEY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MASTERID
rw
Toggle fields

MASTERID

Bits 8-15: MasterID of semaphores to be cleared.

KEY

Bits 16-31: Semaphore clear Key.

KEYR

HSEM Interrupt clear 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
KEY
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

KEY

Bits 16-31: Semaphore Clear Key.

I2C1

0x40005400: I2C

76/76 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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable Note: When PE=0, the I2C SCL and SDA lines are released. Internal state machines and status bits are put back to their reset value. When cleared, PE must be kept low for at least 3 APB clock cycles..

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 Note: Any of these events will generate an interrupt: Transfer Complete (TC) Transfer Complete Reload (TCR).

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable Note: Any of these errors generate an interrupt: Arbitration Loss (ARLO) Bus Error detection (BERR) Overrun/Underrun (OVR) Timeout detection (TIMEOUT) PEC error detection (PECERR) Alert pin event detection (ALERT).

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

Bits 8-11: Digital noise filter These bits are used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0] * tI2CCLK ... Note: If the analog filter is also enabled, the digital filter is added to the analog filter. This filter can only be programmed when the I2C is disabled (PE = 0)..

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 Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

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 This bit is used to enable hardware byte control in slave mode..

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable This bit is used to disable clock stretching in slave mode. It must be kept cleared in master mode. Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wakeup from Stop mode enable Note: If the Wakeup from Stop mode feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation. Note: WUPEN can be set only when DNF = 0000.

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Device mode (SMBHEN=0): Host mode (SMBHEN=1): Note: When ALERTEN=0, the SMBA pin can be used as a standard GPIO. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

CR2

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
rw
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
rw
STOP
rw
START
rw
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address bit 0 (master mode) In 7-bit addressing mode (ADD10 = 0): This bit is dont care In 10-bit addressing mode (ADD10 = 1): This bit should be written with bit 0 of the slave address to be sent Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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 This bit is set by software, and cleared by hardware after the Start followed by the address sequence is sent, by an arbitration loss, by a timeout error detection, or when PE = 0. It can also be cleared by software by writing 1 to the ADDRCF bit in the I2C_ICR register. If the I2C is already in master mode with AUTOEND = 0, setting this bit generates a Repeated Start condition when RELOAD=0, after the end of the NBYTES transfer. Otherwise setting this bit will generate a START condition once the bus is free. Note: Writing 0 to this bit has no effect. The START bit can be set even if the bus is BUSY or I2C is in slave mode. This bit has no effect when RELOAD is set..

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode) The bit is set by software, cleared by hardware when a Stop condition is detected, or when PE = 0. In Master Mode: Note: Writing 0 to this bit has no effect..

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

Bit 15: NACK generation (slave mode) The bit is set by software, cleared by hardware when the NACK is sent, or when a STOP condition or an Address matched is received, or when PE=0. Note: Writing 0 to this bit has no effect. This bit is used in slave mode only: in master receiver mode, NACK is automatically generated after last byte preceding STOP or RESTART condition, whatever the NACK bit value. When an overrun occurs in slave receiver NOSTRETCH mode, a NACK is automatically generated whatever the NACK bit value. When hardware PEC checking is enabled (PECBYTE=1), the PEC acknowledge value does not depend on the NACK value..

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 The number of bytes to be transmitted/received is programmed there. This field is dont care in slave mode with SBC=0. Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode This bit is set and cleared by software..

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) This bit is set and cleared by software. Note: This bit has no effect in slave mode or when the RELOAD bit is set..

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 This bit is set by software, and cleared by hardware when the PEC is transferred, or when a STOP condition or an Address matched is received, also when PE=0. Note: Writing 0 to this bit has no effect. This bit has no effect when RELOAD is set. This bit has no effect is slave mode when SBC=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 address 7-bit addressing mode: dont care 10-bit addressing mode: bits 9:8 of address Note: These bits can be written only when OA1EN=0. OA1[7:1]: Interface address Bits 7:1 of address Note: These bits can be written only when OA1EN=0. OA1[0]: Interface address 7-bit addressing mode: dont care 10-bit addressing mode: bit 0 of address Note: This bit can be written only when OA1EN=0..

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own Address 1 10-bit mode Note: This bit can be written only when OA1EN=0..

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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 bits 7:1 of address Note: These bits can be written only when OA2EN=0..

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own Address 2 masks Note: These bits can be written only when OA2EN=0. As soon as OA2MSK is not equal to 0, the reserved I2C addresses (0b0000xxx and 0b1111xxx) are not acknowledged even if the comparison matches..

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

Access: No wait states

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) This field is used to generate the SCL low period in master mode. tSCLL = (SCLL+1) x tPRESC Note: SCLL is also used to generate tBUF and tSU:STA timings..

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode) This field is used to generate the SCL high period in master mode. tSCLH = (SCLH+1) x tPRESC Note: SCLH is also used to generate tSU:STO and tHD:STA timing..

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time This field is used to generate the delay tSDADEL between SCL falling edge and SDA edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSDADEL. tSDADEL= SDADEL x tPRESC Note: SDADEL is used to generate tHD:DAT timing..

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time This field is used to generate a delay tSCLDEL between SDA edge and SCL rising edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSCLDEL. tSCLDEL = (SCLDEL+1) x tPRESC Note: tSCLDEL is used to generate tSU:DAT timing..

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler This field is used to prescale I2CCLK in order to generate the clock period tPRESC used for data setup and hold counters (refer to I2C timings on page9) and for SCL high and low level counters (refer to I2C master initialization on page24). tPRESC = (PRESC+1) x tI2CCLK.

Allowed values: 0x0-0xf

TIMEOUTR

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 This field is used to configure: The SCL low timeout condition tTIMEOUT when TIDLE=0 tTIMEOUT= (TIMEOUTA+1) x 2048 x tI2CCLK The bus idle condition (both SCL and SDA high) when TIDLE=1 tIDLE= (TIMEOUTA+1) x 4 x tI2CCLK Note: These bits can be written only when TIMOUTEN=0..

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0..

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 This field is used to configure the cumulative clock extension timeout: In master mode, the master cumulative clock low extend time (tLOW:MEXT) is detected In slave mode, the slave cumulative clock low extend time (tLOW:SEXT) is detected tLOW:EXT= (TIMEOUTB+1) x 2048 x tI2CCLK Note: These bits can be written only when TEXTEN=0..

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

Access: No wait states

Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
rw
TXE
rw
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters) This bit is set by hardware when the I2C_TXDR register is empty. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software in order to flush the transmit data register I2C_TXDR. Note: This bit is set by hardware when PE=0..

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

Bit 1: Transmit interrupt status (transmitters) This bit is set by hardware when the I2C_TXDR register is empty and the data to be transmitted must be written in the I2C_TXDR register. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software when NOSTRETCH=1 only, in order to generate a TXIS event (interrupt if TXIE=1 or DMA request if TXDMAEN=1). Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware when the received data is copied into the I2C_RXDR register, and is ready to be read. It is cleared when I2C_RXDR is read. Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware as soon as the received slave address matched with one of the enabled slave addresses. It is cleared by software by setting ADDRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when a NACK is received after a byte transmission. It is cleared by software by setting the NACKCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag This flag is set by hardware when a Stop condition is detected on the bus and the peripheral is involved in this transfer: either as a master, provided that the STOP condition is generated by the peripheral. or as a slave, provided that the peripheral has been addressed previously during this transfer. It is cleared by software by setting the STOPCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer Complete (master mode) This flag is set by hardware when RELOAD=0, AUTOEND=0 and NBYTES data have been transferred. It is cleared by software when START bit or STOP bit is set. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer Complete Reload This flag is set by hardware when RELOAD=1 and NBYTES data have been transferred. It is cleared by software when NBYTES is written to a non-zero value. Note: This bit is cleared by hardware when PE=0. This flag is only for master mode, or for slave mode when the SBC bit is set..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error This flag is set by hardware when a misplaced Start or Stop condition is detected whereas the peripheral is involved in the transfer. The flag is not set during the address phase in slave mode. It is cleared by software by setting BERRCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost This flag is set by hardware in case of arbitration loss. It is cleared by software by setting the ARLOCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

Bit 10: Overrun/Underrun (slave mode) This flag is set by hardware in slave mode with NOSTRETCH=1, when an overrun/underrun error occurs. It is cleared by software by setting the OVRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when the received PEC does not match with the PEC register content. A NACK is automatically sent after the wrong PEC reception. It is cleared by software by setting the PECCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 tLOW detection flag This flag is set by hardware when a timeout or extended clock timeout occurred. It is cleared by software by setting the TIMEOUTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert This flag is set by hardware when SMBHEN=1 (SMBus host configuration), ALERTEN=1 and a SMBALERT event (falling edge) is detected on SMBA pin. It is cleared by software by setting the ALERTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

Bit 15: Bus busy This flag indicates that a communication is in progress on the bus. It is set by hardware when a START condition is detected. It is cleared by hardware when a Stop condition is detected, or when PE=0..

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) This flag is updated when an address match event occurs (ADDR=1)..

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) These bits are updated with the received address when an address match event occurs (ADDR = 1). In the case of a 10-bit address, ADDCODE provides the 10-bit header followed by the 2 MSBs of the address..

Allowed values: 0x0-0x7f

ICR

Access: No wait states

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

Toggle fields

ADDRCF

Bit 3: Address matched flag clear Writing 1 to this bit clears the ADDR flag in the I2C_ISR register. Writing 1 to this bit also clears the START bit in the I2C_CR2 register..

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not Acknowledge flag clear Writing 1 to this bit clears the ACKF flag in I2C_ISR register..

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: Stop detection flag clear Writing 1 to this bit clears the STOPF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear Writing 1 to this bit clears the BERRF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration Lost flag clear Writing 1 to this bit clears the ARLO flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/Underrun flag clear Writing 1 to this bit clears the OVR flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC Error flag clear Writing 1 to this bit clears the PECERR flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear Writing 1 to this bit clears the TIMEOUT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear Writing 1 to this bit clears the ALERT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

Access: No wait states

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 This field contains the internal PEC when PECEN=1. The PEC is cleared by hardware when PE=0..

Allowed values: 0x0-0xff

RXDR

Access: No wait states

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 Data byte received from the I2C bus..

Allowed values: 0x0-0xff

TXDR

Access: No wait states

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 Data byte to be transmitted to the I2C bus. Note: These bits can be written only when TXE=1..

Allowed values: 0x0-0xff

I2C2

0x40005800: I2C

76/76 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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable Note: When PE=0, the I2C SCL and SDA lines are released. Internal state machines and status bits are put back to their reset value. When cleared, PE must be kept low for at least 3 APB clock cycles..

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 Note: Any of these events will generate an interrupt: Transfer Complete (TC) Transfer Complete Reload (TCR).

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable Note: Any of these errors generate an interrupt: Arbitration Loss (ARLO) Bus Error detection (BERR) Overrun/Underrun (OVR) Timeout detection (TIMEOUT) PEC error detection (PECERR) Alert pin event detection (ALERT).

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

Bits 8-11: Digital noise filter These bits are used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0] * tI2CCLK ... Note: If the analog filter is also enabled, the digital filter is added to the analog filter. This filter can only be programmed when the I2C is disabled (PE = 0)..

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 Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

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 This bit is used to enable hardware byte control in slave mode..

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable This bit is used to disable clock stretching in slave mode. It must be kept cleared in master mode. Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wakeup from Stop mode enable Note: If the Wakeup from Stop mode feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation. Note: WUPEN can be set only when DNF = 0000.

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Device mode (SMBHEN=0): Host mode (SMBHEN=1): Note: When ALERTEN=0, the SMBA pin can be used as a standard GPIO. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

CR2

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
rw
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
rw
STOP
rw
START
rw
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address bit 0 (master mode) In 7-bit addressing mode (ADD10 = 0): This bit is dont care In 10-bit addressing mode (ADD10 = 1): This bit should be written with bit 0 of the slave address to be sent Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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 This bit is set by software, and cleared by hardware after the Start followed by the address sequence is sent, by an arbitration loss, by a timeout error detection, or when PE = 0. It can also be cleared by software by writing 1 to the ADDRCF bit in the I2C_ICR register. If the I2C is already in master mode with AUTOEND = 0, setting this bit generates a Repeated Start condition when RELOAD=0, after the end of the NBYTES transfer. Otherwise setting this bit will generate a START condition once the bus is free. Note: Writing 0 to this bit has no effect. The START bit can be set even if the bus is BUSY or I2C is in slave mode. This bit has no effect when RELOAD is set..

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode) The bit is set by software, cleared by hardware when a Stop condition is detected, or when PE = 0. In Master Mode: Note: Writing 0 to this bit has no effect..

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

Bit 15: NACK generation (slave mode) The bit is set by software, cleared by hardware when the NACK is sent, or when a STOP condition or an Address matched is received, or when PE=0. Note: Writing 0 to this bit has no effect. This bit is used in slave mode only: in master receiver mode, NACK is automatically generated after last byte preceding STOP or RESTART condition, whatever the NACK bit value. When an overrun occurs in slave receiver NOSTRETCH mode, a NACK is automatically generated whatever the NACK bit value. When hardware PEC checking is enabled (PECBYTE=1), the PEC acknowledge value does not depend on the NACK value..

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 The number of bytes to be transmitted/received is programmed there. This field is dont care in slave mode with SBC=0. Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode This bit is set and cleared by software..

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) This bit is set and cleared by software. Note: This bit has no effect in slave mode or when the RELOAD bit is set..

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 This bit is set by software, and cleared by hardware when the PEC is transferred, or when a STOP condition or an Address matched is received, also when PE=0. Note: Writing 0 to this bit has no effect. This bit has no effect when RELOAD is set. This bit has no effect is slave mode when SBC=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 address 7-bit addressing mode: dont care 10-bit addressing mode: bits 9:8 of address Note: These bits can be written only when OA1EN=0. OA1[7:1]: Interface address Bits 7:1 of address Note: These bits can be written only when OA1EN=0. OA1[0]: Interface address 7-bit addressing mode: dont care 10-bit addressing mode: bit 0 of address Note: This bit can be written only when OA1EN=0..

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own Address 1 10-bit mode Note: This bit can be written only when OA1EN=0..

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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 bits 7:1 of address Note: These bits can be written only when OA2EN=0..

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own Address 2 masks Note: These bits can be written only when OA2EN=0. As soon as OA2MSK is not equal to 0, the reserved I2C addresses (0b0000xxx and 0b1111xxx) are not acknowledged even if the comparison matches..

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

Access: No wait states

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) This field is used to generate the SCL low period in master mode. tSCLL = (SCLL+1) x tPRESC Note: SCLL is also used to generate tBUF and tSU:STA timings..

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode) This field is used to generate the SCL high period in master mode. tSCLH = (SCLH+1) x tPRESC Note: SCLH is also used to generate tSU:STO and tHD:STA timing..

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time This field is used to generate the delay tSDADEL between SCL falling edge and SDA edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSDADEL. tSDADEL= SDADEL x tPRESC Note: SDADEL is used to generate tHD:DAT timing..

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time This field is used to generate a delay tSCLDEL between SDA edge and SCL rising edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSCLDEL. tSCLDEL = (SCLDEL+1) x tPRESC Note: tSCLDEL is used to generate tSU:DAT timing..

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler This field is used to prescale I2CCLK in order to generate the clock period tPRESC used for data setup and hold counters (refer to I2C timings on page9) and for SCL high and low level counters (refer to I2C master initialization on page24). tPRESC = (PRESC+1) x tI2CCLK.

Allowed values: 0x0-0xf

TIMEOUTR

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 This field is used to configure: The SCL low timeout condition tTIMEOUT when TIDLE=0 tTIMEOUT= (TIMEOUTA+1) x 2048 x tI2CCLK The bus idle condition (both SCL and SDA high) when TIDLE=1 tIDLE= (TIMEOUTA+1) x 4 x tI2CCLK Note: These bits can be written only when TIMOUTEN=0..

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0..

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 This field is used to configure the cumulative clock extension timeout: In master mode, the master cumulative clock low extend time (tLOW:MEXT) is detected In slave mode, the slave cumulative clock low extend time (tLOW:SEXT) is detected tLOW:EXT= (TIMEOUTB+1) x 2048 x tI2CCLK Note: These bits can be written only when TEXTEN=0..

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

Access: No wait states

Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
rw
TXE
rw
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters) This bit is set by hardware when the I2C_TXDR register is empty. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software in order to flush the transmit data register I2C_TXDR. Note: This bit is set by hardware when PE=0..

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

Bit 1: Transmit interrupt status (transmitters) This bit is set by hardware when the I2C_TXDR register is empty and the data to be transmitted must be written in the I2C_TXDR register. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software when NOSTRETCH=1 only, in order to generate a TXIS event (interrupt if TXIE=1 or DMA request if TXDMAEN=1). Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware when the received data is copied into the I2C_RXDR register, and is ready to be read. It is cleared when I2C_RXDR is read. Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware as soon as the received slave address matched with one of the enabled slave addresses. It is cleared by software by setting ADDRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when a NACK is received after a byte transmission. It is cleared by software by setting the NACKCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag This flag is set by hardware when a Stop condition is detected on the bus and the peripheral is involved in this transfer: either as a master, provided that the STOP condition is generated by the peripheral. or as a slave, provided that the peripheral has been addressed previously during this transfer. It is cleared by software by setting the STOPCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer Complete (master mode) This flag is set by hardware when RELOAD=0, AUTOEND=0 and NBYTES data have been transferred. It is cleared by software when START bit or STOP bit is set. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer Complete Reload This flag is set by hardware when RELOAD=1 and NBYTES data have been transferred. It is cleared by software when NBYTES is written to a non-zero value. Note: This bit is cleared by hardware when PE=0. This flag is only for master mode, or for slave mode when the SBC bit is set..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error This flag is set by hardware when a misplaced Start or Stop condition is detected whereas the peripheral is involved in the transfer. The flag is not set during the address phase in slave mode. It is cleared by software by setting BERRCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost This flag is set by hardware in case of arbitration loss. It is cleared by software by setting the ARLOCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

Bit 10: Overrun/Underrun (slave mode) This flag is set by hardware in slave mode with NOSTRETCH=1, when an overrun/underrun error occurs. It is cleared by software by setting the OVRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when the received PEC does not match with the PEC register content. A NACK is automatically sent after the wrong PEC reception. It is cleared by software by setting the PECCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 tLOW detection flag This flag is set by hardware when a timeout or extended clock timeout occurred. It is cleared by software by setting the TIMEOUTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert This flag is set by hardware when SMBHEN=1 (SMBus host configuration), ALERTEN=1 and a SMBALERT event (falling edge) is detected on SMBA pin. It is cleared by software by setting the ALERTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

Bit 15: Bus busy This flag indicates that a communication is in progress on the bus. It is set by hardware when a START condition is detected. It is cleared by hardware when a Stop condition is detected, or when PE=0..

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) This flag is updated when an address match event occurs (ADDR=1)..

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) These bits are updated with the received address when an address match event occurs (ADDR = 1). In the case of a 10-bit address, ADDCODE provides the 10-bit header followed by the 2 MSBs of the address..

Allowed values: 0x0-0x7f

ICR

Access: No wait states

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

Toggle fields

ADDRCF

Bit 3: Address matched flag clear Writing 1 to this bit clears the ADDR flag in the I2C_ISR register. Writing 1 to this bit also clears the START bit in the I2C_CR2 register..

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not Acknowledge flag clear Writing 1 to this bit clears the ACKF flag in I2C_ISR register..

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: Stop detection flag clear Writing 1 to this bit clears the STOPF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear Writing 1 to this bit clears the BERRF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration Lost flag clear Writing 1 to this bit clears the ARLO flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/Underrun flag clear Writing 1 to this bit clears the OVR flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC Error flag clear Writing 1 to this bit clears the PECERR flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear Writing 1 to this bit clears the TIMEOUT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear Writing 1 to this bit clears the ALERT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

Access: No wait states

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 This field contains the internal PEC when PECEN=1. The PEC is cleared by hardware when PE=0..

Allowed values: 0x0-0xff

RXDR

Access: No wait states

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 Data byte received from the I2C bus..

Allowed values: 0x0-0xff

TXDR

Access: No wait states

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 Data byte to be transmitted to the I2C bus. Note: These bits can be written only when TXE=1..

Allowed values: 0x0-0xff

I2C3

0x40005c00: I2C

76/76 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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable Note: When PE=0, the I2C SCL and SDA lines are released. Internal state machines and status bits are put back to their reset value. When cleared, PE must be kept low for at least 3 APB clock cycles..

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 Note: Any of these events will generate an interrupt: Transfer Complete (TC) Transfer Complete Reload (TCR).

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable Note: Any of these errors generate an interrupt: Arbitration Loss (ARLO) Bus Error detection (BERR) Overrun/Underrun (OVR) Timeout detection (TIMEOUT) PEC error detection (PECERR) Alert pin event detection (ALERT).

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

Bits 8-11: Digital noise filter These bits are used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0] * tI2CCLK ... Note: If the analog filter is also enabled, the digital filter is added to the analog filter. This filter can only be programmed when the I2C is disabled (PE = 0)..

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 Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

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 This bit is used to enable hardware byte control in slave mode..

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable This bit is used to disable clock stretching in slave mode. It must be kept cleared in master mode. Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wakeup from Stop mode enable Note: If the Wakeup from Stop mode feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation. Note: WUPEN can be set only when DNF = 0000.

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Device mode (SMBHEN=0): Host mode (SMBHEN=1): Note: When ALERTEN=0, the SMBA pin can be used as a standard GPIO. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

CR2

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
rw
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
rw
STOP
rw
START
rw
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address bit 0 (master mode) In 7-bit addressing mode (ADD10 = 0): This bit is dont care In 10-bit addressing mode (ADD10 = 1): This bit should be written with bit 0 of the slave address to be sent Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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 This bit is set by software, and cleared by hardware after the Start followed by the address sequence is sent, by an arbitration loss, by a timeout error detection, or when PE = 0. It can also be cleared by software by writing 1 to the ADDRCF bit in the I2C_ICR register. If the I2C is already in master mode with AUTOEND = 0, setting this bit generates a Repeated Start condition when RELOAD=0, after the end of the NBYTES transfer. Otherwise setting this bit will generate a START condition once the bus is free. Note: Writing 0 to this bit has no effect. The START bit can be set even if the bus is BUSY or I2C is in slave mode. This bit has no effect when RELOAD is set..

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode) The bit is set by software, cleared by hardware when a Stop condition is detected, or when PE = 0. In Master Mode: Note: Writing 0 to this bit has no effect..

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

Bit 15: NACK generation (slave mode) The bit is set by software, cleared by hardware when the NACK is sent, or when a STOP condition or an Address matched is received, or when PE=0. Note: Writing 0 to this bit has no effect. This bit is used in slave mode only: in master receiver mode, NACK is automatically generated after last byte preceding STOP or RESTART condition, whatever the NACK bit value. When an overrun occurs in slave receiver NOSTRETCH mode, a NACK is automatically generated whatever the NACK bit value. When hardware PEC checking is enabled (PECBYTE=1), the PEC acknowledge value does not depend on the NACK value..

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 The number of bytes to be transmitted/received is programmed there. This field is dont care in slave mode with SBC=0. Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode This bit is set and cleared by software..

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) This bit is set and cleared by software. Note: This bit has no effect in slave mode or when the RELOAD bit is set..

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 This bit is set by software, and cleared by hardware when the PEC is transferred, or when a STOP condition or an Address matched is received, also when PE=0. Note: Writing 0 to this bit has no effect. This bit has no effect when RELOAD is set. This bit has no effect is slave mode when SBC=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 address 7-bit addressing mode: dont care 10-bit addressing mode: bits 9:8 of address Note: These bits can be written only when OA1EN=0. OA1[7:1]: Interface address Bits 7:1 of address Note: These bits can be written only when OA1EN=0. OA1[0]: Interface address 7-bit addressing mode: dont care 10-bit addressing mode: bit 0 of address Note: This bit can be written only when OA1EN=0..

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own Address 1 10-bit mode Note: This bit can be written only when OA1EN=0..

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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 bits 7:1 of address Note: These bits can be written only when OA2EN=0..

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own Address 2 masks Note: These bits can be written only when OA2EN=0. As soon as OA2MSK is not equal to 0, the reserved I2C addresses (0b0000xxx and 0b1111xxx) are not acknowledged even if the comparison matches..

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

Access: No wait states

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) This field is used to generate the SCL low period in master mode. tSCLL = (SCLL+1) x tPRESC Note: SCLL is also used to generate tBUF and tSU:STA timings..

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode) This field is used to generate the SCL high period in master mode. tSCLH = (SCLH+1) x tPRESC Note: SCLH is also used to generate tSU:STO and tHD:STA timing..

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time This field is used to generate the delay tSDADEL between SCL falling edge and SDA edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSDADEL. tSDADEL= SDADEL x tPRESC Note: SDADEL is used to generate tHD:DAT timing..

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time This field is used to generate a delay tSCLDEL between SDA edge and SCL rising edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSCLDEL. tSCLDEL = (SCLDEL+1) x tPRESC Note: tSCLDEL is used to generate tSU:DAT timing..

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler This field is used to prescale I2CCLK in order to generate the clock period tPRESC used for data setup and hold counters (refer to I2C timings on page9) and for SCL high and low level counters (refer to I2C master initialization on page24). tPRESC = (PRESC+1) x tI2CCLK.

Allowed values: 0x0-0xf

TIMEOUTR

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 This field is used to configure: The SCL low timeout condition tTIMEOUT when TIDLE=0 tTIMEOUT= (TIMEOUTA+1) x 2048 x tI2CCLK The bus idle condition (both SCL and SDA high) when TIDLE=1 tIDLE= (TIMEOUTA+1) x 4 x tI2CCLK Note: These bits can be written only when TIMOUTEN=0..

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0..

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 This field is used to configure the cumulative clock extension timeout: In master mode, the master cumulative clock low extend time (tLOW:MEXT) is detected In slave mode, the slave cumulative clock low extend time (tLOW:SEXT) is detected tLOW:EXT= (TIMEOUTB+1) x 2048 x tI2CCLK Note: These bits can be written only when TEXTEN=0..

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

Access: No wait states

Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
rw
TXE
rw
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters) This bit is set by hardware when the I2C_TXDR register is empty. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software in order to flush the transmit data register I2C_TXDR. Note: This bit is set by hardware when PE=0..

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

Bit 1: Transmit interrupt status (transmitters) This bit is set by hardware when the I2C_TXDR register is empty and the data to be transmitted must be written in the I2C_TXDR register. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software when NOSTRETCH=1 only, in order to generate a TXIS event (interrupt if TXIE=1 or DMA request if TXDMAEN=1). Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware when the received data is copied into the I2C_RXDR register, and is ready to be read. It is cleared when I2C_RXDR is read. Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware as soon as the received slave address matched with one of the enabled slave addresses. It is cleared by software by setting ADDRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when a NACK is received after a byte transmission. It is cleared by software by setting the NACKCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag This flag is set by hardware when a Stop condition is detected on the bus and the peripheral is involved in this transfer: either as a master, provided that the STOP condition is generated by the peripheral. or as a slave, provided that the peripheral has been addressed previously during this transfer. It is cleared by software by setting the STOPCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer Complete (master mode) This flag is set by hardware when RELOAD=0, AUTOEND=0 and NBYTES data have been transferred. It is cleared by software when START bit or STOP bit is set. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer Complete Reload This flag is set by hardware when RELOAD=1 and NBYTES data have been transferred. It is cleared by software when NBYTES is written to a non-zero value. Note: This bit is cleared by hardware when PE=0. This flag is only for master mode, or for slave mode when the SBC bit is set..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error This flag is set by hardware when a misplaced Start or Stop condition is detected whereas the peripheral is involved in the transfer. The flag is not set during the address phase in slave mode. It is cleared by software by setting BERRCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost This flag is set by hardware in case of arbitration loss. It is cleared by software by setting the ARLOCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

Bit 10: Overrun/Underrun (slave mode) This flag is set by hardware in slave mode with NOSTRETCH=1, when an overrun/underrun error occurs. It is cleared by software by setting the OVRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when the received PEC does not match with the PEC register content. A NACK is automatically sent after the wrong PEC reception. It is cleared by software by setting the PECCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 tLOW detection flag This flag is set by hardware when a timeout or extended clock timeout occurred. It is cleared by software by setting the TIMEOUTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert This flag is set by hardware when SMBHEN=1 (SMBus host configuration), ALERTEN=1 and a SMBALERT event (falling edge) is detected on SMBA pin. It is cleared by software by setting the ALERTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

Bit 15: Bus busy This flag indicates that a communication is in progress on the bus. It is set by hardware when a START condition is detected. It is cleared by hardware when a Stop condition is detected, or when PE=0..

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) This flag is updated when an address match event occurs (ADDR=1)..

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) These bits are updated with the received address when an address match event occurs (ADDR = 1). In the case of a 10-bit address, ADDCODE provides the 10-bit header followed by the 2 MSBs of the address..

Allowed values: 0x0-0x7f

ICR

Access: No wait states

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

Toggle fields

ADDRCF

Bit 3: Address matched flag clear Writing 1 to this bit clears the ADDR flag in the I2C_ISR register. Writing 1 to this bit also clears the START bit in the I2C_CR2 register..

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not Acknowledge flag clear Writing 1 to this bit clears the ACKF flag in I2C_ISR register..

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: Stop detection flag clear Writing 1 to this bit clears the STOPF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear Writing 1 to this bit clears the BERRF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration Lost flag clear Writing 1 to this bit clears the ARLO flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/Underrun flag clear Writing 1 to this bit clears the OVR flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC Error flag clear Writing 1 to this bit clears the PECERR flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear Writing 1 to this bit clears the TIMEOUT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear Writing 1 to this bit clears the ALERT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

Access: No wait states

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 This field contains the internal PEC when PECEN=1. The PEC is cleared by hardware when PE=0..

Allowed values: 0x0-0xff

RXDR

Access: No wait states

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 Data byte received from the I2C bus..

Allowed values: 0x0-0xff

TXDR

Access: No wait states

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 Data byte to be transmitted to the I2C bus. Note: These bits can be written only when TXE=1..

Allowed values: 0x0-0xff

I2C4

0x58001c00: I2C

76/76 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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

20/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECEN
rw
ALERTEN
rw
SMBDEN
rw
SMBHEN
rw
GCEN
rw
WUPEN
rw
NOSTRETCH
rw
SBC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXDMAEN
rw
TXDMAEN
rw
ANFOFF
rw
DNF
rw
ERRIE
rw
TCIE
rw
STOPIE
rw
NACKIE
rw
ADDRIE
rw
RXIE
rw
TXIE
rw
PE
rw
Toggle fields

PE

Bit 0: Peripheral enable Note: When PE=0, the I2C SCL and SDA lines are released. Internal state machines and status bits are put back to their reset value. When cleared, PE must be kept low for at least 3 APB clock cycles..

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 Note: Any of these events will generate an interrupt: Transfer Complete (TC) Transfer Complete Reload (TCR).

Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled

ERRIE

Bit 7: Error interrupts enable Note: Any of these errors generate an interrupt: Arbitration Loss (ARLO) Bus Error detection (BERR) Overrun/Underrun (OVR) Timeout detection (TIMEOUT) PEC error detection (PECERR) Alert pin event detection (ALERT).

Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled

DNF

Bits 8-11: Digital noise filter These bits are used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0] * tI2CCLK ... Note: If the analog filter is also enabled, the digital filter is added to the analog filter. This filter can only be programmed when the I2C is disabled (PE = 0)..

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 Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

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 This bit is used to enable hardware byte control in slave mode..

Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled

NOSTRETCH

Bit 17: Clock stretching disable This bit is used to disable clock stretching in slave mode. It must be kept cleared in master mode. Note: This bit can only be programmed when the I2C is disabled (PE = 0)..

Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled

WUPEN

Bit 18: Wakeup from Stop mode enable Note: If the Wakeup from Stop mode feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation. Note: WUPEN can be set only when DNF = 0000.

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Device mode (SMBHEN=0): Host mode (SMBHEN=1): Note: When ALERTEN=0, the SMBA pin can be used as a standard GPIO. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled

CR2

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

11/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PECBYTE
rw
AUTOEND
rw
RELOAD
rw
NBYTES
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NACK
rw
STOP
rw
START
rw
HEAD10R
rw
ADD10
rw
RD_WRN
rw
SADD
rw
Toggle fields

SADD

Bits 0-9: Slave address bit 0 (master mode) In 7-bit addressing mode (ADD10 = 0): This bit is dont care In 10-bit addressing mode (ADD10 = 1): This bit should be written with bit 0 of the slave address to be sent Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0x3ff

RD_WRN

Bit 10: Transfer direction (master mode) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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) Note: Changing this bit when the START bit is set is not allowed..

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 This bit is set by software, and cleared by hardware after the Start followed by the address sequence is sent, by an arbitration loss, by a timeout error detection, or when PE = 0. It can also be cleared by software by writing 1 to the ADDRCF bit in the I2C_ICR register. If the I2C is already in master mode with AUTOEND = 0, setting this bit generates a Repeated Start condition when RELOAD=0, after the end of the NBYTES transfer. Otherwise setting this bit will generate a START condition once the bus is free. Note: Writing 0 to this bit has no effect. The START bit can be set even if the bus is BUSY or I2C is in slave mode. This bit has no effect when RELOAD is set..

Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation

STOP

Bit 14: Stop generation (master mode) The bit is set by software, cleared by hardware when a Stop condition is detected, or when PE = 0. In Master Mode: Note: Writing 0 to this bit has no effect..

Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer

NACK

Bit 15: NACK generation (slave mode) The bit is set by software, cleared by hardware when the NACK is sent, or when a STOP condition or an Address matched is received, or when PE=0. Note: Writing 0 to this bit has no effect. This bit is used in slave mode only: in master receiver mode, NACK is automatically generated after last byte preceding STOP or RESTART condition, whatever the NACK bit value. When an overrun occurs in slave receiver NOSTRETCH mode, a NACK is automatically generated whatever the NACK bit value. When hardware PEC checking is enabled (PECBYTE=1), the PEC acknowledge value does not depend on the NACK value..

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 The number of bytes to be transmitted/received is programmed there. This field is dont care in slave mode with SBC=0. Note: Changing these bits when the START bit is set is not allowed..

Allowed values: 0x0-0xff

RELOAD

Bit 24: NBYTES reload mode This bit is set and cleared by software..

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) This bit is set and cleared by software. Note: This bit has no effect in slave mode or when the RELOAD bit is set..

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 This bit is set by software, and cleared by hardware when the PEC is transferred, or when a STOP condition or an Address matched is received, also when PE=0. Note: Writing 0 to this bit has no effect. This bit has no effect when RELOAD is set. This bit has no effect is slave mode when SBC=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested

OAR1

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 address 7-bit addressing mode: dont care 10-bit addressing mode: bits 9:8 of address Note: These bits can be written only when OA1EN=0. OA1[7:1]: Interface address Bits 7:1 of address Note: These bits can be written only when OA1EN=0. OA1[0]: Interface address 7-bit addressing mode: dont care 10-bit addressing mode: bit 0 of address Note: This bit can be written only when OA1EN=0..

Allowed values: 0x0-0x3ff

OA1MODE

Bit 10: Own Address 1 10-bit mode Note: This bit can be written only when OA1EN=0..

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

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 bits 7:1 of address Note: These bits can be written only when OA2EN=0..

Allowed values: 0x0-0x7f

OA2MSK

Bits 8-10: Own Address 2 masks Note: These bits can be written only when OA2EN=0. As soon as OA2MSK is not equal to 0, the reserved I2C addresses (0b0000xxx and 0b1111xxx) are not acknowledged even if the comparison matches..

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

Access: No wait states

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) This field is used to generate the SCL low period in master mode. tSCLL = (SCLL+1) x tPRESC Note: SCLL is also used to generate tBUF and tSU:STA timings..

Allowed values: 0x0-0xff

SCLH

Bits 8-15: SCL high period (master mode) This field is used to generate the SCL high period in master mode. tSCLH = (SCLH+1) x tPRESC Note: SCLH is also used to generate tSU:STO and tHD:STA timing..

Allowed values: 0x0-0xff

SDADEL

Bits 16-19: Data hold time This field is used to generate the delay tSDADEL between SCL falling edge and SDA edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSDADEL. tSDADEL= SDADEL x tPRESC Note: SDADEL is used to generate tHD:DAT timing..

Allowed values: 0x0-0xf

SCLDEL

Bits 20-23: Data setup time This field is used to generate a delay tSCLDEL between SDA edge and SCL rising edge. In master mode and in slave mode with NOSTRETCH = 0, the SCL line is stretched low during tSCLDEL. tSCLDEL = (SCLDEL+1) x tPRESC Note: tSCLDEL is used to generate tSU:DAT timing..

Allowed values: 0x0-0xf

PRESC

Bits 28-31: Timing prescaler This field is used to prescale I2CCLK in order to generate the clock period tPRESC used for data setup and hold counters (refer to I2C timings on page9) and for SCL high and low level counters (refer to I2C master initialization on page24). tPRESC = (PRESC+1) x tI2CCLK.

Allowed values: 0x0-0xf

TIMEOUTR

Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

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 This field is used to configure: The SCL low timeout condition tTIMEOUT when TIDLE=0 tTIMEOUT= (TIMEOUTA+1) x 2048 x tI2CCLK The bus idle condition (both SCL and SDA high) when TIDLE=1 tIDLE= (TIMEOUTA+1) x 4 x tI2CCLK Note: These bits can be written only when TIMOUTEN=0..

Allowed values: 0x0-0xfff

TIDLE

Bit 12: Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0..

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 This field is used to configure the cumulative clock extension timeout: In master mode, the master cumulative clock low extend time (tLOW:MEXT) is detected In slave mode, the slave cumulative clock low extend time (tLOW:SEXT) is detected tLOW:EXT= (TIMEOUTB+1) x 2048 x tI2CCLK Note: These bits can be written only when TEXTEN=0..

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

Access: No wait states

Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified

17/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADDCODE
r
DIR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BUSY
r
ALERT
r
TIMEOUT
r
PECERR
r
OVR
r
ARLO
r
BERR
r
TCR
r
TC
r
STOPF
r
NACKF
r
ADDR
r
RXNE
r
TXIS
rw
TXE
rw
Toggle fields

TXE

Bit 0: Transmit data register empty (transmitters) This bit is set by hardware when the I2C_TXDR register is empty. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software in order to flush the transmit data register I2C_TXDR. Note: This bit is set by hardware when PE=0..

Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty

TXIS

Bit 1: Transmit interrupt status (transmitters) This bit is set by hardware when the I2C_TXDR register is empty and the data to be transmitted must be written in the I2C_TXDR register. It is cleared when the next data to be sent is written in the I2C_TXDR register. This bit can be written to 1 by software when NOSTRETCH=1 only, in order to generate a TXIS event (interrupt if TXIE=1 or DMA request if TXDMAEN=1). Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware when the received data is copied into the I2C_RXDR register, and is ready to be read. It is cleared when I2C_RXDR is read. Note: This bit is cleared by hardware when PE=0..

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) This bit is set by hardware as soon as the received slave address matched with one of the enabled slave addresses. It is cleared by software by setting ADDRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when a NACK is received after a byte transmission. It is cleared by software by setting the NACKCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received

STOPF

Bit 5: Stop detection flag This flag is set by hardware when a Stop condition is detected on the bus and the peripheral is involved in this transfer: either as a master, provided that the STOP condition is generated by the peripheral. or as a slave, provided that the peripheral has been addressed previously during this transfer. It is cleared by software by setting the STOPCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected

TC

Bit 6: Transfer Complete (master mode) This flag is set by hardware when RELOAD=0, AUTOEND=0 and NBYTES data have been transferred. It is cleared by software when START bit or STOP bit is set. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

TCR

Bit 7: Transfer Complete Reload This flag is set by hardware when RELOAD=1 and NBYTES data have been transferred. It is cleared by software when NBYTES is written to a non-zero value. Note: This bit is cleared by hardware when PE=0. This flag is only for master mode, or for slave mode when the SBC bit is set..

Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered

BERR

Bit 8: Bus error This flag is set by hardware when a misplaced Start or Stop condition is detected whereas the peripheral is involved in the transfer. The flag is not set during the address phase in slave mode. It is cleared by software by setting BERRCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected

ARLO

Bit 9: Arbitration lost This flag is set by hardware in case of arbitration loss. It is cleared by software by setting the ARLOCF bit. Note: This bit is cleared by hardware when PE=0..

Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost

OVR

Bit 10: Overrun/Underrun (slave mode) This flag is set by hardware in slave mode with NOSTRETCH=1, when an overrun/underrun error occurs. It is cleared by software by setting the OVRCF bit. Note: This bit is cleared by hardware when PE=0..

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 This flag is set by hardware when the received PEC does not match with the PEC register content. A NACK is automatically sent after the wrong PEC reception. It is cleared by software by setting the PECCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

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 tLOW detection flag This flag is set by hardware when a timeout or extended clock timeout occurred. It is cleared by software by setting the TIMEOUTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured

ALERT

Bit 13: SMBus alert This flag is set by hardware when SMBHEN=1 (SMBus host configuration), ALERTEN=1 and a SMBALERT event (falling edge) is detected on SMBA pin. It is cleared by software by setting the ALERTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin

BUSY

Bit 15: Bus busy This flag indicates that a communication is in progress on the bus. It is set by hardware when a START condition is detected. It is cleared by hardware when a Stop condition is detected, or when PE=0..

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) This flag is updated when an address match event occurs (ADDR=1)..

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) These bits are updated with the received address when an address match event occurs (ADDR = 1). In the case of a 10-bit address, ADDCODE provides the 10-bit header followed by the 2 MSBs of the address..

Allowed values: 0x0-0x7f

ICR

Access: No wait states

Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only

9/9 fields covered.

Toggle fields

ADDRCF

Bit 3: Address matched flag clear Writing 1 to this bit clears the ADDR flag in the I2C_ISR register. Writing 1 to this bit also clears the START bit in the I2C_CR2 register..

Allowed values:
1: Clear: Clears the ADDR flag in ISR register

NACKCF

Bit 4: Not Acknowledge flag clear Writing 1 to this bit clears the ACKF flag in I2C_ISR register..

Allowed values:
1: Clear: Clears the NACK flag in ISR register

STOPCF

Bit 5: Stop detection flag clear Writing 1 to this bit clears the STOPF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the STOP flag in ISR register

BERRCF

Bit 8: Bus error flag clear Writing 1 to this bit clears the BERRF flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the BERR flag in ISR register

ARLOCF

Bit 9: Arbitration Lost flag clear Writing 1 to this bit clears the ARLO flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the ARLO flag in ISR register

OVRCF

Bit 10: Overrun/Underrun flag clear Writing 1 to this bit clears the OVR flag in the I2C_ISR register..

Allowed values:
1: Clear: Clears the OVR flag in ISR register

PECCF

Bit 11: PEC Error flag clear Writing 1 to this bit clears the PECERR flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the PEC flag in ISR register

TIMOUTCF

Bit 12: Timeout detection flag clear Writing 1 to this bit clears the TIMEOUT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register

ALERTCF

Bit 13: Alert flag clear Writing 1 to this bit clears the ALERT flag in the I2C_ISR register. Note: If the SMBus feature is not supported, this bit is reserved and forced by hardware to 0. Please refer to Section25.3: I2C implementation..

Allowed values:
1: Clear: Clears the ALERT flag in ISR register

PECR

Access: No wait states

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 This field contains the internal PEC when PECEN=1. The PEC is cleared by hardware when PE=0..

Allowed values: 0x0-0xff

RXDR

Access: No wait states

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 Data byte received from the I2C bus..

Allowed values: 0x0-0xff

TXDR

Access: No wait states

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 Data byte to be transmitted to the I2C bus. Note: These bits can be written only when TXE=1..

Allowed values: 0x0-0xff

IWDG1

0x58004800: IWDG

7/7 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 KR
0x4 PR
0x8 RLR
0xc SR
0x10 WINR
Toggle registers

KR

Key register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
w
Toggle fields

KEY

Bits 0-15: Key value (write only, read 0x0000) These bits must be written by software at regular intervals with the key value 0xAAAA, otherwise the watchdog generates a reset when the counter reaches 0. Writing the key value 0x5555 to enable access to the IWDG_PR, IWDG_RLR and IWDG_WINR registers (see Section23.3.6: Register access protection) Writing the key value CCCCh starts the watchdog (except if the hardware watchdog option is selected).

Allowed values:
21845: Enable: Enable access to PR, RLR and WINR registers (0x5555)
43690: Reset: Reset the watchdog value (0xAAAA)
52428: Start: Start the watchdog (0xCCCC)

PR

Prescaler register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PR
rw
Toggle fields

PR

Bits 0-2: Prescaler divider These bits are write access protected see Section23.3.6: Register access protection. They are written by software to select the prescaler divider feeding the counter clock. PVU bit of IWDG_SR must be reset in order to be able to change the prescaler divider. Note: Reading this register returns the prescaler value from the VDD voltage domain. This value may not be up to date/valid if a write operation to this register is ongoing. For this reason the value read from this register is valid only when the PVU bit in the IWDG_SR register is reset..

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

RLR

Reload register

Offset: 0x8, size: 32, reset: 0x00000FFF, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RL
rw
Toggle fields

RL

Bits 0-11: Watchdog counter reload value These bits are write access protected see Section23.3.6. They are written by software to define the value to be loaded in the watchdog counter each time the value 0xAAAA is written in the IWDG_KR register. The watchdog counter counts down from this value. The timeout period is a function of this value and the clock prescaler. Refer to the datasheet for the timeout information. The RVU bit in the IWDG_SR register must be reset in order to be able to change the reload value. Note: Reading this register returns the reload value from the VDD voltage domain. This value may not be up to date/valid if a write operation to this register is ongoing on this register. For this reason the value read from this register is valid only when the RVU bit in the IWDG_SR register is reset..

Allowed values: 0x0-0xfff

SR

Status register

Offset: 0xc, 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
WVU
r
RVU
r
PVU
r
Toggle fields

PVU

Bit 0: Watchdog prescaler value update This bit is set by hardware to indicate that an update of the prescaler value is ongoing. It is reset by hardware when the prescaler update operation is completed in the VDD voltage domain (takes up to 5 RC 40 kHz cycles). Prescaler value can be updated only when PVU bit is reset..

RVU

Bit 1: Watchdog counter reload value update This bit is set by hardware to indicate that an update of the reload value is ongoing. It is reset by hardware when the reload value update operation is completed in the VDD voltage domain (takes up to 5 RC 40 kHz cycles). Reload value can be updated only when RVU bit is reset..

WVU

Bit 2: Watchdog counter window value update This bit is set by hardware to indicate that an update of the window value is ongoing. It is reset by hardware when the reload value update operation is completed in the VDD voltage domain (takes up to 5 RC 40 kHz cycles). Window value can be updated only when WVU bit is reset. This bit is generated only if generic window = 1.

WINR

Window register

Offset: 0x10, size: 32, reset: 0x00000FFF, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WIN
rw
Toggle fields

WIN

Bits 0-11: Watchdog counter window value These bits are write access protected see Section23.3.6. These bits contain the high limit of the window value to be compared to the downcounter. To prevent a reset, the downcounter must be reloaded when its value is lower than the window register value and greater than 0x0 The WVU bit in the IWDG_SR register must be reset in order to be able to change the reload value. Note: Reading this register returns the reload value from the VDD voltage domain. This value may not be valid if a write operation to this register is ongoing. For this reason the value read from this register is valid only when the WVU bit in the IWDG_SR register is reset..

Allowed values: 0x0-0xfff

IWDG2

0x58004c00: IWDG

7/7 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 KR
0x4 PR
0x8 RLR
0xc SR
0x10 WINR
Toggle registers

KR

Key register

Offset: 0x0, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
w
Toggle fields

KEY

Bits 0-15: Key value (write only, read 0x0000) These bits must be written by software at regular intervals with the key value 0xAAAA, otherwise the watchdog generates a reset when the counter reaches 0. Writing the key value 0x5555 to enable access to the IWDG_PR, IWDG_RLR and IWDG_WINR registers (see Section23.3.6: Register access protection) Writing the key value CCCCh starts the watchdog (except if the hardware watchdog option is selected).

Allowed values:
21845: Enable: Enable access to PR, RLR and WINR registers (0x5555)
43690: Reset: Reset the watchdog value (0xAAAA)
52428: Start: Start the watchdog (0xCCCC)

PR

Prescaler register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PR
rw
Toggle fields

PR

Bits 0-2: Prescaler divider These bits are write access protected see Section23.3.6: Register access protection. They are written by software to select the prescaler divider feeding the counter clock. PVU bit of IWDG_SR must be reset in order to be able to change the prescaler divider. Note: Reading this register returns the prescaler value from the VDD voltage domain. This value may not be up to date/valid if a write operation to this register is ongoing. For this reason the value read from this register is valid only when the PVU bit in the IWDG_SR register is reset..

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

RLR

Reload register

Offset: 0x8, size: 32, reset: 0x00000FFF, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RL
rw
Toggle fields

RL

Bits 0-11: Watchdog counter reload value These bits are write access protected see Section23.3.6. They are written by software to define the value to be loaded in the watchdog counter each time the value 0xAAAA is written in the IWDG_KR register. The watchdog counter counts down from this value. The timeout period is a function of this value and the clock prescaler. Refer to the datasheet for the timeout information. The RVU bit in the IWDG_SR register must be reset in order to be able to change the reload value. Note: Reading this register returns the reload value from the VDD voltage domain. This value may not be up to date/valid if a write operation to this register is ongoing on this register. For this reason the value read from this register is valid only when the RVU bit in the IWDG_SR register is reset..

Allowed values: 0x0-0xfff

SR

Status register

Offset: 0xc, 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
WVU
r
RVU
r
PVU
r
Toggle fields

PVU

Bit 0: Watchdog prescaler value update This bit is set by hardware to indicate that an update of the prescaler value is ongoing. It is reset by hardware when the prescaler update operation is completed in the VDD voltage domain (takes up to 5 RC 40 kHz cycles). Prescaler value can be updated only when PVU bit is reset..

RVU

Bit 1: Watchdog counter reload value update This bit is set by hardware to indicate that an update of the reload value is ongoing. It is reset by hardware when the reload value update operation is completed in the VDD voltage domain (takes up to 5 RC 40 kHz cycles). Reload value can be updated only when RVU bit is reset..

WVU

Bit 2: Watchdog counter window value update This bit is set by hardware to indicate that an update of the window value is ongoing. It is reset by hardware when the reload value update operation is completed in the VDD voltage domain (takes up to 5 RC 40 kHz cycles). Window value can be updated only when WVU bit is reset. This bit is generated only if generic window = 1.

WINR

Window register

Offset: 0x10, size: 32, reset: 0x00000FFF, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WIN
rw
Toggle fields

WIN

Bits 0-11: Watchdog counter window value These bits are write access protected see Section23.3.6. These bits contain the high limit of the window value to be compared to the downcounter. To prevent a reset, the downcounter must be reloaded when its value is lower than the window register value and greater than 0x0 The WVU bit in the IWDG_SR register must be reset in order to be able to change the reload value. Note: Reading this register returns the reload value from the VDD voltage domain. This value may not be valid if a write operation to this register is ongoing. For this reason the value read from this register is valid only when the WVU bit in the IWDG_SR register is reset..

Allowed values: 0x0-0xfff

JPEG

0x52003000: JPEG

8/55 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 CONFR0
0x4 CONFR1
0x8 CONFR2
0xc CONFR3
0x10 CONFRN1
0x14 CONFRN2
0x18 CONFRN3
0x1c CONFRN4
0x30 CR
0x34 SR
0x38 CFR
0x40 DIR
0x44 DOR
Toggle registers

CONFR0

JPEG codec control register

Offset: 0x0, 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
START
w
Toggle fields

START

Bit 0: Start This bit start or stop the encoding or decoding process. Read this register always return 0..

CONFR1

JPEG codec configuration register 1

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
YSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HDR
rw
NS
rw
COLORSPACE
rw
DE
rw
NF
rw
Toggle fields

NF

Bits 0-1: Number of color components This field defines the number of color components minus 1..

DE

Bit 3: Decoding Enable This bit selects the coding or decoding process.

COLORSPACE

Bits 4-5: Color Space This filed defines the number of quantization tables minus 1 to insert in the output stream..

NS

Bits 6-7: Number of components for Scan This field defines the number of components minus 1 for scan header marker segment..

HDR

Bit 8: Header Processing This bit enable the header processing (generation/parsing)..

YSIZE

Bits 16-31: Y Size This field defines the number of lines in source image..

CONFR2

JPEG codec configuration register 2

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
NMCU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NMCU
rw
Toggle fields

NMCU

Bits 0-25: Number of MCU For encoding: this field defines the number of MCU units minus 1 to encode. For decoding: this field indicates the number of complete MCU units minus 1 to be decoded (this field is updated after the JPEG header parsing). If the decoded image size has not a X or Y size multiple of 8 or 16 (depending on the sub-sampling process), the resulting incomplete or empty MCU must be added to this value to get the total number of MCU generated..

CONFR3

JPEG codec configuration register 3

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

XSIZE

Bits 16-31: X size This field defines the number of pixels per line..

CONFRN1

JPEG codec configuration register 4-7

Offset: 0x10, 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
HSF
rw
VSF
rw
NB
rw
QT
rw
HA
rw
HD
rw
Toggle fields

HD

Bit 0: Huffman DC Selects the Huffman table for encoding the DC coefficients..

HA

Bit 1: Huffman AC Selects the Huffman table for encoding the AC coefficients..

QT

Bits 2-3: Quantization Table Selects quantization table associated with a color component..

NB

Bits 4-7: Number of Block Number of data units minus 1 that belong to a particular color in the MCU..

VSF

Bits 8-11: Vertical Sampling Factor Vertical sampling factor for component i..

HSF

Bits 12-15: Horizontal Sampling Factor Horizontal sampling factor for component i..

CONFRN2

JPEG codec configuration register 4-7

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSF
rw
VSF
rw
NB
rw
QT
rw
HA
rw
HD
rw
Toggle fields

HD

Bit 0: Huffman DC Selects the Huffman table for encoding the DC coefficients..

HA

Bit 1: Huffman AC Selects the Huffman table for encoding the AC coefficients..

QT

Bits 2-3: Quantization Table Selects quantization table associated with a color component..

NB

Bits 4-7: Number of Block Number of data units minus 1 that belong to a particular color in the MCU..

VSF

Bits 8-11: Vertical Sampling Factor Vertical sampling factor for component i..

HSF

Bits 12-15: Horizontal Sampling Factor Horizontal sampling factor for component i..

CONFRN3

JPEG codec configuration register 4-7

Offset: 0x18, 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
HSF
rw
VSF
rw
NB
rw
QT
rw
HA
rw
HD
rw
Toggle fields

HD

Bit 0: Huffman DC Selects the Huffman table for encoding the DC coefficients..

HA

Bit 1: Huffman AC Selects the Huffman table for encoding the AC coefficients..

QT

Bits 2-3: Quantization Table Selects quantization table associated with a color component..

NB

Bits 4-7: Number of Block Number of data units minus 1 that belong to a particular color in the MCU..

VSF

Bits 8-11: Vertical Sampling Factor Vertical sampling factor for component i..

HSF

Bits 12-15: Horizontal Sampling Factor Horizontal sampling factor for component i..

CONFRN4

JPEG codec configuration register 4-7

Offset: 0x1c, 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
HSF
rw
VSF
rw
NB
rw
QT
rw
HA
rw
HD
rw
Toggle fields

HD

Bit 0: Huffman DC Selects the Huffman table for encoding the DC coefficients..

HA

Bit 1: Huffman AC Selects the Huffman table for encoding the AC coefficients..

QT

Bits 2-3: Quantization Table Selects quantization table associated with a color component..

NB

Bits 4-7: Number of Block Number of data units minus 1 that belong to a particular color in the MCU..

VSF

Bits 8-11: Vertical Sampling Factor Vertical sampling factor for component i..

HSF

Bits 12-15: Horizontal Sampling Factor Horizontal sampling factor for component i..

CR

JPEG control register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OFF
rw
IFF
rw
ODMAEN
rw
IDMAEN
rw
HPDIE
rw
EOCIE
rw
OFNEIE
rw
OFTIE
rw
IFNFIE
rw
IFTIE
rw
JCEN
rw
Toggle fields

JCEN

Bit 0: JPEG Core Enable Enable the JPEG codec Core..

IFTIE

Bit 1: Input FIFO Threshold Interrupt Enable This bit enables the interrupt generation when input FIFO reach the threshold..

IFNFIE

Bit 2: Input FIFO Not Full Interrupt Enable This bit enables the interrupt generation when input FIFO is not empty..

OFTIE

Bit 3: Output FIFO Threshold Interrupt Enable This bit enables the interrupt generation when output FIFO reach the threshold..

OFNEIE

Bit 4: Output FIFO Not Empty Interrupt Enable This bit enables the interrupt generation when output FIFO is not empty..

EOCIE

Bit 5: End of Conversion Interrupt Enable This bit enables the interrupt generation on the end of conversion..

HPDIE

Bit 6: Header Parsing Done Interrupt Enable This bit enables the interrupt generation on the Header Parsing Operation..

IDMAEN

Bit 11: Input DMA Enable Enable the DMA request generation for the input FIFO..

ODMAEN

Bit 12: Output DMA Enable Enable the DMA request generation for the output FIFO..

IFF

Bit 13: Input FIFO Flush This bit flush the input FIFO. This bit is always read as 0..

OFF

Bit 14: Output FIFO Flush This bit flush the output FIFO. This bit is always read as 0..

SR

JPEG status register

Offset: 0x34, size: 32, reset: 0x00000006, access: read-only

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COF
r
HPDF
r
EOCF
r
OFNEF
r
OFTF
r
IFNFF
r
IFTF
r
Toggle fields

IFTF

Bit 1: Input FIFO Threshold Flag This bit is set when the input FIFO is not full and is bellow its threshold..

IFNFF

Bit 2: Input FIFO Not Full Flag This bit is set when the input FIFO is not full (a data can be written)..

OFTF

Bit 3: Output FIFO Threshold Flag This bit is set when the output FIFO is not empty and has reach its threshold..

OFNEF

Bit 4: Output FIFO Not Empty Flag This bit is set when the output FIFO is not empty (a data is available)..

EOCF

Bit 5: End of Conversion Flag This bit is set when the JPEG codec core has finished the encoding or the decoding process and than last data has been sent to the output FIFO..

HPDF

Bit 6: Header Parsing Done Flag This bit is set in decode mode when the JPEG codec has finished the parsing of the headers and the internal registers have been updated..

COF

Bit 7: Codec Operation Flag This bit is set when when a JPEG codec operation is on going (encoding or decoding)..

CFR

JPEG clear flag register

Offset: 0x38, 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
CHPDF
rw
CEOCF
rw
Toggle fields

CEOCF

Bit 5: Clear End of Conversion Flag Writing 1 clears the End of Conversion Flag of the JPEG Status Register..

CHPDF

Bit 6: Clear Header Parsing Done Flag Writing 1 clears the Header Parsing Done Flag of the JPEG Status Register..

DIR

JPEG data input register

Offset: 0x40, 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 FIFO Input FIFO data register..

DOR

JPEG data output 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
DATAOUT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DATAOUT
r
Toggle fields

DATAOUT

Bits 0-31: Data Output FIFO Output FIFO data register..

LPTIM1

0x40002400: Low power timer

40/44 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 ICR
0x8 IER
0xc CFGR
0x10 CR
0x14 CMP
0x18 ARR
0x1c CNT
0x24 CFGR2
Toggle registers

ISR

Interrupt and Status Register

Offset: 0x0, 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
DOWN
r
UP
r
ARROK
r
CMPOK
r
EXTTRIG
r
ARRM
r
CMPM
r
Toggle fields

CMPM

Bit 0: Compare match.

Allowed values:
1: Set: Compare match

ARRM

Bit 1: Autoreload match.

Allowed values:
1: Set: Autoreload match

EXTTRIG

Bit 2: External trigger edge event.

Allowed values:
1: Set: External trigger edge event

CMPOK

Bit 3: Compare register update OK.

Allowed values:
1: Set: Compare register update OK

ARROK

Bit 4: Autoreload register update OK.

Allowed values:
1: Set: Autoreload register update OK

UP

Bit 5: Counter direction change down to up.

Allowed values:
1: Set: Counter direction change down to up

DOWN

Bit 6: Counter direction change up to down.

Allowed values:
1: Set: Counter direction change up to down

ICR

Interrupt Clear Register

Offset: 0x4, 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
DOWNCF
w
UPCF
w
ARROKCF
w
CMPOKCF
w
EXTTRIGCF
w
ARRMCF
w
CMPMCF
w
Toggle fields

CMPMCF

Bit 0: compare match Clear Flag.

Allowed values:
1: Clear: Compare match Clear Flag

ARRMCF

Bit 1: Autoreload match Clear Flag.

Allowed values:
1: Clear: Autoreload match Clear Flag

EXTTRIGCF

Bit 2: External trigger valid edge Clear Flag.

Allowed values:
1: Clear: External trigger valid edge Clear Flag

CMPOKCF

Bit 3: Compare register update OK Clear Flag.

Allowed values:
1: Clear: Compare register update OK Clear Flag

ARROKCF

Bit 4: Autoreload register update OK Clear Flag.

Allowed values:
1: Clear: Autoreload register update OK Clear Flag

UPCF

Bit 5: Direction change to UP Clear Flag.

Allowed values:
1: Clear: Direction change to up Clear Flag

DOWNCF

Bit 6: Direction change to down Clear Flag.

Allowed values:
1: Clear: Direction change to down Clear Flag

IER

Interrupt Enable Register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMPOKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CMPMIE
rw
Toggle fields

CMPMIE

Bit 0: Compare match Interrupt Enable.

Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled

CMPOKIE

Bit 3: Compare register update OK Interrupt Enable.

Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled

UPIE

Bit 5: Direction change to UP Interrupt Enable.

Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled

CFGR

Configuration Register

Offset: 0xc, 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
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.

Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1

CKPOL

Bits 1-2: Clock Polarity.

Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger

PRESC

Bits 9-11: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128

TRIGSEL

Bits 13-15: Trigger selector.

Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7

TRIGEN

Bits 17-18: Trigger enable and polarity.

Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges

TIMOUT

Bit 19: Timeout enable.

Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter

WAVE

Bit 20: Waveform shape.

Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode

WAVPOL

Bit 21: Waveform shape polarity.

Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers

PRELOAD

Bit 22: Registers update mode.

Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period

COUNTMODE

Bit 23: counter mode enabled.

Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1

ENC

Bit 24: Encoder mode enable.

Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled

CR

Control Register

Offset: 0x10, 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
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM Enable.

Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled

SNGSTRT

Bit 1: LPTIM start in single mode.

Allowed values:
1: Start: LPTIM start in Single mode

CNTSTRT

Bit 2: Timer start in continuous mode.

Allowed values:
1: Start: Timer start in Continuous mode

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CMP

Compare Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP
rw
Toggle fields

CMP

Bits 0-15: Compare value.

Allowed values: 0x0-0xffff

ARR

Autoreload Register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

Allowed values: 0x0-0xffff

CNT

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/2 fields covered.

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.

LPTIM2

0x58002400: Low power timer

40/44 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 ICR
0x8 IER
0xc CFGR
0x10 CR
0x14 CMP
0x18 ARR
0x1c CNT
0x24 CFGR2
Toggle registers

ISR

Interrupt and Status Register

Offset: 0x0, 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
DOWN
r
UP
r
ARROK
r
CMPOK
r
EXTTRIG
r
ARRM
r
CMPM
r
Toggle fields

CMPM

Bit 0: Compare match.

Allowed values:
1: Set: Compare match

ARRM

Bit 1: Autoreload match.

Allowed values:
1: Set: Autoreload match

EXTTRIG

Bit 2: External trigger edge event.

Allowed values:
1: Set: External trigger edge event

CMPOK

Bit 3: Compare register update OK.

Allowed values:
1: Set: Compare register update OK

ARROK

Bit 4: Autoreload register update OK.

Allowed values:
1: Set: Autoreload register update OK

UP

Bit 5: Counter direction change down to up.

Allowed values:
1: Set: Counter direction change down to up

DOWN

Bit 6: Counter direction change up to down.

Allowed values:
1: Set: Counter direction change up to down

ICR

Interrupt Clear Register

Offset: 0x4, 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
DOWNCF
w
UPCF
w
ARROKCF
w
CMPOKCF
w
EXTTRIGCF
w
ARRMCF
w
CMPMCF
w
Toggle fields

CMPMCF

Bit 0: compare match Clear Flag.

Allowed values:
1: Clear: Compare match Clear Flag

ARRMCF

Bit 1: Autoreload match Clear Flag.

Allowed values:
1: Clear: Autoreload match Clear Flag

EXTTRIGCF

Bit 2: External trigger valid edge Clear Flag.

Allowed values:
1: Clear: External trigger valid edge Clear Flag

CMPOKCF

Bit 3: Compare register update OK Clear Flag.

Allowed values:
1: Clear: Compare register update OK Clear Flag

ARROKCF

Bit 4: Autoreload register update OK Clear Flag.

Allowed values:
1: Clear: Autoreload register update OK Clear Flag

UPCF

Bit 5: Direction change to UP Clear Flag.

Allowed values:
1: Clear: Direction change to up Clear Flag

DOWNCF

Bit 6: Direction change to down Clear Flag.

Allowed values:
1: Clear: Direction change to down Clear Flag

IER

Interrupt Enable Register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMPOKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CMPMIE
rw
Toggle fields

CMPMIE

Bit 0: Compare match Interrupt Enable.

Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled

CMPOKIE

Bit 3: Compare register update OK Interrupt Enable.

Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled

UPIE

Bit 5: Direction change to UP Interrupt Enable.

Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled

CFGR

Configuration Register

Offset: 0xc, 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
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.

Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1

CKPOL

Bits 1-2: Clock Polarity.

Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger

PRESC

Bits 9-11: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128

TRIGSEL

Bits 13-15: Trigger selector.

Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7

TRIGEN

Bits 17-18: Trigger enable and polarity.

Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges

TIMOUT

Bit 19: Timeout enable.

Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter

WAVE

Bit 20: Waveform shape.

Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode

WAVPOL

Bit 21: Waveform shape polarity.

Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers

PRELOAD

Bit 22: Registers update mode.

Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period

COUNTMODE

Bit 23: counter mode enabled.

Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1

ENC

Bit 24: Encoder mode enable.

Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled

CR

Control Register

Offset: 0x10, 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
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM Enable.

Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled

SNGSTRT

Bit 1: LPTIM start in single mode.

Allowed values:
1: Start: LPTIM start in Single mode

CNTSTRT

Bit 2: Timer start in continuous mode.

Allowed values:
1: Start: Timer start in Continuous mode

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CMP

Compare Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP
rw
Toggle fields

CMP

Bits 0-15: Compare value.

Allowed values: 0x0-0xffff

ARR

Autoreload Register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

Allowed values: 0x0-0xffff

CNT

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/2 fields covered.

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.

LPTIM3

0x58002800: Low power timer

40/43 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 ICR
0x8 IER
0xc CFGR
0x10 CR
0x14 CMP
0x18 ARR
0x1c CNT
0x24 CFGR2
Toggle registers

ISR

Interrupt and Status Register

Offset: 0x0, 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
DOWN
r
UP
r
ARROK
r
CMPOK
r
EXTTRIG
r
ARRM
r
CMPM
r
Toggle fields

CMPM

Bit 0: Compare match.

Allowed values:
1: Set: Compare match

ARRM

Bit 1: Autoreload match.

Allowed values:
1: Set: Autoreload match

EXTTRIG

Bit 2: External trigger edge event.

Allowed values:
1: Set: External trigger edge event

CMPOK

Bit 3: Compare register update OK.

Allowed values:
1: Set: Compare register update OK

ARROK

Bit 4: Autoreload register update OK.

Allowed values:
1: Set: Autoreload register update OK

UP

Bit 5: Counter direction change down to up.

Allowed values:
1: Set: Counter direction change down to up

DOWN

Bit 6: Counter direction change up to down.

Allowed values:
1: Set: Counter direction change up to down

ICR

Interrupt Clear Register

Offset: 0x4, 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
DOWNCF
w
UPCF
w
ARROKCF
w
CMPOKCF
w
EXTTRIGCF
w
ARRMCF
w
CMPMCF
w
Toggle fields

CMPMCF

Bit 0: compare match Clear Flag.

Allowed values:
1: Clear: Compare match Clear Flag

ARRMCF

Bit 1: Autoreload match Clear Flag.

Allowed values:
1: Clear: Autoreload match Clear Flag

EXTTRIGCF

Bit 2: External trigger valid edge Clear Flag.

Allowed values:
1: Clear: External trigger valid edge Clear Flag

CMPOKCF

Bit 3: Compare register update OK Clear Flag.

Allowed values:
1: Clear: Compare register update OK Clear Flag

ARROKCF

Bit 4: Autoreload register update OK Clear Flag.

Allowed values:
1: Clear: Autoreload register update OK Clear Flag

UPCF

Bit 5: Direction change to UP Clear Flag.

Allowed values:
1: Clear: Direction change to up Clear Flag

DOWNCF

Bit 6: Direction change to down Clear Flag.

Allowed values:
1: Clear: Direction change to down Clear Flag

IER

Interrupt Enable Register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMPOKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CMPMIE
rw
Toggle fields

CMPMIE

Bit 0: Compare match Interrupt Enable.

Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled

CMPOKIE

Bit 3: Compare register update OK Interrupt Enable.

Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled

UPIE

Bit 5: Direction change to UP Interrupt Enable.

Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled

CFGR

Configuration Register

Offset: 0xc, 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
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.

Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1

CKPOL

Bits 1-2: Clock Polarity.

Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger

PRESC

Bits 9-11: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128

TRIGSEL

Bits 13-15: Trigger selector.

Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7

TRIGEN

Bits 17-18: Trigger enable and polarity.

Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges

TIMOUT

Bit 19: Timeout enable.

Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter

WAVE

Bit 20: Waveform shape.

Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode

WAVPOL

Bit 21: Waveform shape polarity.

Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers

PRELOAD

Bit 22: Registers update mode.

Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period

COUNTMODE

Bit 23: counter mode enabled.

Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1

ENC

Bit 24: Encoder mode enable.

Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled

CR

Control Register

Offset: 0x10, 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
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM Enable.

Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled

SNGSTRT

Bit 1: LPTIM start in single mode.

Allowed values:
1: Start: LPTIM start in Single mode

CNTSTRT

Bit 2: Timer start in continuous mode.

Allowed values:
1: Start: Timer start in Continuous mode

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CMP

Compare Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP
rw
Toggle fields

CMP

Bits 0-15: Compare value.

Allowed values: 0x0-0xffff

ARR

Autoreload Register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

Allowed values: 0x0-0xffff

CNT

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/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM Input 1 selection.

LPTIM4

0x58002c00: Low power timer

40/43 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 ICR
0x8 IER
0xc CFGR
0x10 CR
0x14 CMP
0x18 ARR
0x1c CNT
0x24 CFGR2
Toggle registers

ISR

Interrupt and Status Register

Offset: 0x0, 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
DOWN
r
UP
r
ARROK
r
CMPOK
r
EXTTRIG
r
ARRM
r
CMPM
r
Toggle fields

CMPM

Bit 0: Compare match.

Allowed values:
1: Set: Compare match

ARRM

Bit 1: Autoreload match.

Allowed values:
1: Set: Autoreload match

EXTTRIG

Bit 2: External trigger edge event.

Allowed values:
1: Set: External trigger edge event

CMPOK

Bit 3: Compare register update OK.

Allowed values:
1: Set: Compare register update OK

ARROK

Bit 4: Autoreload register update OK.

Allowed values:
1: Set: Autoreload register update OK

UP

Bit 5: Counter direction change down to up.

Allowed values:
1: Set: Counter direction change down to up

DOWN

Bit 6: Counter direction change up to down.

Allowed values:
1: Set: Counter direction change up to down

ICR

Interrupt Clear Register

Offset: 0x4, 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
DOWNCF
w
UPCF
w
ARROKCF
w
CMPOKCF
w
EXTTRIGCF
w
ARRMCF
w
CMPMCF
w
Toggle fields

CMPMCF

Bit 0: compare match Clear Flag.

Allowed values:
1: Clear: Compare match Clear Flag

ARRMCF

Bit 1: Autoreload match Clear Flag.

Allowed values:
1: Clear: Autoreload match Clear Flag

EXTTRIGCF

Bit 2: External trigger valid edge Clear Flag.

Allowed values:
1: Clear: External trigger valid edge Clear Flag

CMPOKCF

Bit 3: Compare register update OK Clear Flag.

Allowed values:
1: Clear: Compare register update OK Clear Flag

ARROKCF

Bit 4: Autoreload register update OK Clear Flag.

Allowed values:
1: Clear: Autoreload register update OK Clear Flag

UPCF

Bit 5: Direction change to UP Clear Flag.

Allowed values:
1: Clear: Direction change to up Clear Flag

DOWNCF

Bit 6: Direction change to down Clear Flag.

Allowed values:
1: Clear: Direction change to down Clear Flag

IER

Interrupt Enable Register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMPOKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CMPMIE
rw
Toggle fields

CMPMIE

Bit 0: Compare match Interrupt Enable.

Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled

CMPOKIE

Bit 3: Compare register update OK Interrupt Enable.

Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled

UPIE

Bit 5: Direction change to UP Interrupt Enable.

Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled

CFGR

Configuration Register

Offset: 0xc, 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
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.

Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1

CKPOL

Bits 1-2: Clock Polarity.

Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger

PRESC

Bits 9-11: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128

TRIGSEL

Bits 13-15: Trigger selector.

Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7

TRIGEN

Bits 17-18: Trigger enable and polarity.

Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges

TIMOUT

Bit 19: Timeout enable.

Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter

WAVE

Bit 20: Waveform shape.

Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode

WAVPOL

Bit 21: Waveform shape polarity.

Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers

PRELOAD

Bit 22: Registers update mode.

Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period

COUNTMODE

Bit 23: counter mode enabled.

Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1

ENC

Bit 24: Encoder mode enable.

Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled

CR

Control Register

Offset: 0x10, 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
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM Enable.

Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled

SNGSTRT

Bit 1: LPTIM start in single mode.

Allowed values:
1: Start: LPTIM start in Single mode

CNTSTRT

Bit 2: Timer start in continuous mode.

Allowed values:
1: Start: Timer start in Continuous mode

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CMP

Compare Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP
rw
Toggle fields

CMP

Bits 0-15: Compare value.

Allowed values: 0x0-0xffff

ARR

Autoreload Register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

Allowed values: 0x0-0xffff

CNT

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/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM Input 1 selection.

LPTIM5

0x58003000: Low power timer

40/43 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 ICR
0x8 IER
0xc CFGR
0x10 CR
0x14 CMP
0x18 ARR
0x1c CNT
0x24 CFGR2
Toggle registers

ISR

Interrupt and Status Register

Offset: 0x0, 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
DOWN
r
UP
r
ARROK
r
CMPOK
r
EXTTRIG
r
ARRM
r
CMPM
r
Toggle fields

CMPM

Bit 0: Compare match.

Allowed values:
1: Set: Compare match

ARRM

Bit 1: Autoreload match.

Allowed values:
1: Set: Autoreload match

EXTTRIG

Bit 2: External trigger edge event.

Allowed values:
1: Set: External trigger edge event

CMPOK

Bit 3: Compare register update OK.

Allowed values:
1: Set: Compare register update OK

ARROK

Bit 4: Autoreload register update OK.

Allowed values:
1: Set: Autoreload register update OK

UP

Bit 5: Counter direction change down to up.

Allowed values:
1: Set: Counter direction change down to up

DOWN

Bit 6: Counter direction change up to down.

Allowed values:
1: Set: Counter direction change up to down

ICR

Interrupt Clear Register

Offset: 0x4, 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
DOWNCF
w
UPCF
w
ARROKCF
w
CMPOKCF
w
EXTTRIGCF
w
ARRMCF
w
CMPMCF
w
Toggle fields

CMPMCF

Bit 0: compare match Clear Flag.

Allowed values:
1: Clear: Compare match Clear Flag

ARRMCF

Bit 1: Autoreload match Clear Flag.

Allowed values:
1: Clear: Autoreload match Clear Flag

EXTTRIGCF

Bit 2: External trigger valid edge Clear Flag.

Allowed values:
1: Clear: External trigger valid edge Clear Flag

CMPOKCF

Bit 3: Compare register update OK Clear Flag.

Allowed values:
1: Clear: Compare register update OK Clear Flag

ARROKCF

Bit 4: Autoreload register update OK Clear Flag.

Allowed values:
1: Clear: Autoreload register update OK Clear Flag

UPCF

Bit 5: Direction change to UP Clear Flag.

Allowed values:
1: Clear: Direction change to up Clear Flag

DOWNCF

Bit 6: Direction change to down Clear Flag.

Allowed values:
1: Clear: Direction change to down Clear Flag

IER

Interrupt Enable Register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOWNIE
rw
UPIE
rw
ARROKIE
rw
CMPOKIE
rw
EXTTRIGIE
rw
ARRMIE
rw
CMPMIE
rw
Toggle fields

CMPMIE

Bit 0: Compare match Interrupt Enable.

Allowed values:
0: Disabled: CMPM interrupt disabled
1: Enabled: CMPM interrupt enabled

ARRMIE

Bit 1: Autoreload match Interrupt Enable.

Allowed values:
0: Disabled: ARRM interrupt disabled
1: Enabled: ARRM interrupt enabled

EXTTRIGIE

Bit 2: External trigger valid edge Interrupt Enable.

Allowed values:
0: Disabled: EXTTRIG interrupt disabled
1: Enabled: EXTTRIG interrupt enabled

CMPOKIE

Bit 3: Compare register update OK Interrupt Enable.

Allowed values:
0: Disabled: CMPOK interrupt disabled
1: Enabled: CMPOK interrupt enabled

ARROKIE

Bit 4: Autoreload register update OK Interrupt Enable.

Allowed values:
0: Disabled: ARROK interrupt disabled
1: Enabled: ARROK interrupt enabled

UPIE

Bit 5: Direction change to UP Interrupt Enable.

Allowed values:
0: Disabled: UP interrupt disabled
1: Enabled: UP interrupt enabled

DOWNIE

Bit 6: Direction change to down Interrupt Enable.

Allowed values:
0: Disabled: DOWN interrupt disabled
1: Enabled: DOWN interrupt enabled

CFGR

Configuration Register

Offset: 0xc, 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
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.

Allowed values:
0: Internal: LPTIM is clocked by internal clock source (APB clock or any of the embedded oscillators)
1: External: LPTIM is clocked by an external clock source through the LPTIM external Input1

CKPOL

Bits 1-2: Clock Polarity.

Allowed values:
0: RisingEdge: The rising edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 1 is active.
1: FallingEdge: The falling edge is the active edge used for counting. If LPTIM is in encoder mode: Encoder sub-mode 2 is active.
2: BothEdges: Both edges are active edge. If LPTIM is in encoder mode: Encoder sub-mode 3 is active.

CKFLT

Bits 3-4: Configurable digital filter for external clock.

Allowed values:
0: Immediate: Any external clock signal level change is considered as a valid transition
1: Clocks2: External clock signal level change must be stable for at least 2 clock periods before it is considered as valid transition
2: Clocks4: External clock signal level change must be stable for at least 4 clock periods before it is considered as valid transition
3: Clocks8: External clock signal level change must be stable for at least 8 clock periods before it is considered as valid transition

TRGFLT

Bits 6-7: Configurable digital filter for trigger.

Allowed values:
0: Immediate: Any trigger active level change is considered as a valid trigger
1: Clocks2: Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger
2: Clocks4: Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger
3: Clocks8: Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger

PRESC

Bits 9-11: Clock prescaler.

Allowed values:
0: Div1: /1
1: Div2: /2
2: Div4: /4
3: Div8: /8
4: Div16: /16
5: Div32: /32
6: Div64: /64
7: Div128: /128

TRIGSEL

Bits 13-15: Trigger selector.

Allowed values:
0: Trig0: lptim_ext_trig0
1: Trig1: lptim_ext_trig1
2: Trig2: lptim_ext_trig2
3: Trig3: lptim_ext_trig3
4: Trig4: lptim_ext_trig4
5: Trig5: lptim_ext_trig5
6: Trig6: lptim_ext_trig6
7: Trig7: lptim_ext_trig7

TRIGEN

Bits 17-18: Trigger enable and polarity.

Allowed values:
0: SW: Software trigger (counting start is initiated by software)
1: RisingEdge: Rising edge is the active edge
2: FallingEdge: Falling edge is the active edge
3: BothEdges: Both edges are active edges

TIMOUT

Bit 19: Timeout enable.

Allowed values:
0: Disabled: A trigger event arriving when the timer is already started will be ignored
1: Enabled: A trigger event arriving when the timer is already started will reset and restart the counter

WAVE

Bit 20: Waveform shape.

Allowed values:
0: Inactive: Deactivate Set-once mode, PWM / One Pulse waveform (depending on OPMODE bit)
1: Active: Activate the Set-once mode

WAVPOL

Bit 21: Waveform shape polarity.

Allowed values:
0: Positive: The LPTIM output reflects the compare results between LPTIM_ARR and LPTIM_CMP registers
1: Negative: The LPTIM output reflects the inverse of the compare results between LPTIM_ARR and LPTIM_CMP registers

PRELOAD

Bit 22: Registers update mode.

Allowed values:
0: Immediate: Registers are updated after each APB bus write access
1: EndOfPeriod: Registers are updated at the end of the current LPTIM period

COUNTMODE

Bit 23: counter mode enabled.

Allowed values:
0: Internal: The counter is incremented following each internal clock pulse
1: External: The counter is incremented following each valid clock pulse on the LPTIM external Input1

ENC

Bit 24: Encoder mode enable.

Allowed values:
0: Disabled: Encoder mode disabled
1: Enabled: Encoder mode enabled

CR

Control Register

Offset: 0x10, 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
RSTARE
rw
COUNTRST
rw
CNTSTRT
rw
SNGSTRT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: LPTIM Enable.

Allowed values:
0: Disabled: LPTIM is disabled
1: Enabled: LPTIM is enabled

SNGSTRT

Bit 1: LPTIM start in single mode.

Allowed values:
1: Start: LPTIM start in Single mode

CNTSTRT

Bit 2: Timer start in continuous mode.

Allowed values:
1: Start: Timer start in Continuous mode

COUNTRST

Bit 3: Counter reset.

RSTARE

Bit 4: Reset after read enable.

CMP

Compare Register

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMP
rw
Toggle fields

CMP

Bits 0-15: Compare value.

Allowed values: 0x0-0xffff

ARR

Autoreload Register

Offset: 0x18, size: 32, reset: 0x00000001, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto reload value.

Allowed values: 0x0-0xffff

CNT

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/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IN1SEL
rw
Toggle fields

IN1SEL

Bits 0-1: LPTIM Input 1 selection.

LPUART1

0x58000c00: LPUART1

22/89 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

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
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: USART enable.

UESM

Bit 1: USART enable in Stop mode.

RE

Bit 2: Receiver enable.

TE

Bit 3: Transmitter enable.

IDLEIE

Bit 4: IDLE interrupt enable.

RXNEIE

Bit 5: RXNE interrupt enable.

TCIE

Bit 6: Transmission complete interrupt enable.

TXEIE

Bit 7: interrupt enable.

PEIE

Bit 8: PE interrupt enable.

PS

Bit 9: Parity selection.

PCE

Bit 10: Parity control enable.

WAKE

Bit 11: Receiver wakeup method.

M0

Bit 12: Word length.

MME

Bit 13: Mute mode enable.

CMIE

Bit 14: Character match interrupt enable.

DEDT

Bits 16-20: Driver Enable deassertion time.

DEAT

Bits 21-25: Driver Enable assertion time.

M1

Bit 28: Word length.

FIFOEN

Bit 29: FIFO mode enable.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

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
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.

STOP

Bits 12-13: STOP bits.

SWAP

Bit 15: Swap TX/RX pins.

RXINV

Bit 16: RX pin active level inversion.

TXINV

Bit 17: TX pin active level inversion.

DATAINV

Bit 18: Binary data inversion.

MSBFIRST

Bit 19: Most significant bit first.

ADD

Bits 24-31: Address of the USART node.

CR3

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFTCFG
rw
RXFTIE
rw
RXFTCFG
rw
TXFTIE
rw
WUFIE
rw
WUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DEP
rw
DEM
rw
DDRE
rw
OVRDIS
rw
CTSIE
rw
CTSE
rw
RTSE
rw
DMAT
rw
DMAR
rw
HDSEL
rw
EIE
rw
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.

WUS

Bits 20-21: Wakeup from Stop mode interrupt flag selection.

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

Baud rate register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/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: BRR.

GTPR

Guard time and prescaler register

Offset: 0x10, 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
GT
rw
PSC
rw
Toggle fields

PSC

Bits 0-7: Prescaler value.

GT

Bits 8-15: Guard time value.

RTOR

Receiver timeout register

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
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.

BLEN

Bits 24-31: Block Length.

RQR

Request register

Offset: 0x18, 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
TXFRQ
w
RXFRQ
w
MMRQ
w
SBKRQ
w
ABRRQ
w
Toggle fields

ABRRQ

Bit 0: Auto baud rate request.

SBKRQ

Bit 1: Send break request.

MMRQ

Bit 2: Mute mode request.

RXFRQ

Bit 3: Receive data flush request.

TXFRQ

Bit 4: Transmit data flush request.

ISR

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

21/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTS
r
CTSIF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NE
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NE

Bit 2: NE.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CTSCF
w
TCCF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
Toggle fields

PECF

Bit 0: Parity error clear flag.

FECF

Bit 1: Framing error clear flag.

NCF

Bit 2: Noise detected clear flag.

ORECF

Bit 3: Overrun error clear flag.

IDLECF

Bit 4: Idle line detected clear flag.

TCCF

Bit 6: Transmission complete clear flag.

CTSCF

Bit 9: CTS clear flag.

CMCF

Bit 17: Character match clear flag.

WUCF

Bit 20: Wakeup from Stop mode clear flag.

RDR

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.

TDR

Transmit data register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDR
rw
Toggle fields

TDR

Bits 0-8: Transmit data value.

PRESC

Prescaler register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRESCALER
rw
Toggle fields

PRESCALER

Bits 0-3: Clock prescaler.

LTDC

0x50001000: LCD-TFT Controller

93/93 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
0x8 SSCR
0xc BPCR
0x10 AWCR
0x14 TWCR
0x18 GCR
0x24 SRCR
0x2c BCCR
0x34 IER
0x38 ISR
0x3c ICR
0x40 LIPCR
0x44 CPSR
0x48 CDSR
0x84 CR [1]
0x88 WHPCR [1]
0x8c WVPCR [1]
0x90 CKCR [1]
0x94 PFCR [1]
0x98 CACR [1]
0x9c DCCR [1]
0xa0 BFCR [1]
0xac CFBAR [1]
0xb0 CFBLR [1]
0xb4 CFBLNR [1]
0xc4 CLUTWR [1]
0x104 CR [2]
0x108 WHPCR [2]
0x10c WVPCR [2]
0x110 CKCR [2]
0x114 PFCR [2]
0x118 CACR [2]
0x11c DCCR [2]
0x120 BFCR [2]
0x12c CFBAR [2]
0x130 CFBLR [2]
0x134 CFBLNR [2]
0x144 CLUTWR [2]
Toggle registers

SSCR

Synchronization Size Configuration 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
HSW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VSH
rw
Toggle fields

VSH

Bits 0-10: Vertical Synchronization Height (in units of horizontal scan line).

Allowed values: 0x0-0x7ff

HSW

Bits 16-27: Horizontal Synchronization Width (in units of pixel clock period).

Allowed values: 0x0-0xfff

BPCR

Back Porch Configuration 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
AHBP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AVBP
rw
Toggle fields

AVBP

Bits 0-10: Accumulated Vertical back porch (in units of horizontal scan line).

Allowed values: 0x0-0x7ff

AHBP

Bits 16-27: Accumulated Horizontal back porch (in units of pixel clock period).

Allowed values: 0x0-0xfff

AWCR

Active Width Configuration Register

Offset: 0x10, 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
AAW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AAH
rw
Toggle fields

AAH

Bits 0-10: Accumulated Active Height (in units of horizontal scan line).

Allowed values: 0x0-0x7ff

AAW

Bits 16-27: Accumulated Active Width (in units of pixel clock period).

Allowed values: 0x0-0xfff

TWCR

Total Width Configuration 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
TOTALW
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOTALH
rw
Toggle fields

TOTALH

Bits 0-10: Total Height (in units of horizontal scan line).

Allowed values: 0x0-0x7ff

TOTALW

Bits 16-27: Total Width (in units of pixel clock period).

Allowed values: 0x0-0xfff

GCR

Global Control Register

Offset: 0x18, size: 32, reset: 0x00002220, access: Unspecified

9/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSPOL
rw
VSPOL
rw
DEPOL
rw
PCPOL
rw
DEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DRW
r
DGW
r
DBW
r
LTDCEN
rw
Toggle fields

LTDCEN

Bit 0: LCD-TFT controller enable bit.

Allowed values:
0: Disabled: LCD-TFT controller disabled
1: Enabled: LCD-TFT controller enabled

DBW

Bits 4-6: Dither Blue Width.

DGW

Bits 8-10: Dither Green Width.

DRW

Bits 12-14: Dither Red Width.

DEN

Bit 16: Dither Enable.

Allowed values:
0: Disabled: Dither disabled
1: Enabled: Dither enabled

PCPOL

Bit 28: Pixel Clock Polarity.

Allowed values:
0: RisingEdge: Pixel clock on rising edge
1: FallingEdge: Pixel clock on falling edge

DEPOL

Bit 29: Data Enable Polarity.

Allowed values:
0: ActiveLow: Data enable polarity is active low
1: ActiveHigh: Data enable polarity is active high

VSPOL

Bit 30: Vertical Synchronization Polarity.

Allowed values:
0: ActiveLow: Vertical synchronization polarity is active low
1: ActiveHigh: Vertical synchronization polarity is active high

HSPOL

Bit 31: Horizontal Synchronization Polarity.

Allowed values:
0: ActiveLow: Horizontal synchronization polarity is active low
1: ActiveHigh: Horizontal synchronization polarity is active high

SRCR

Shadow Reload Configuration Register

Offset: 0x24, 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
VBR
rw
IMR
rw
Toggle fields

IMR

Bit 0: Immediate Reload.

Allowed values:
0: NoEffect: This bit is set by software and cleared only by hardware after reload (it cannot be cleared through register write once it is set)
1: Reload: The shadow registers are reloaded immediately. This bit is set by software and cleared only by hardware after reload

VBR

Bit 1: Vertical Blanking Reload.

Allowed values:
0: NoEffect: This bit is set by software and cleared only by hardware after reload (it cannot be cleared through register write once it is set)
1: Reload: The shadow registers are reloaded during the vertical blanking period (at the beginning of the first line after the active display area).

BCCR

Background Color Configuration Register

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
BCRED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCGREEN
rw
BCBLUE
rw
Toggle fields

BCBLUE

Bits 0-7: Background Color Blue value.

Allowed values: 0x0-0xff

BCGREEN

Bits 8-15: Background Color Green value.

Allowed values: 0x0-0xff

BCRED

Bits 16-23: Background Color Red value.

Allowed values: 0x0-0xff

IER

Interrupt Enable 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
RRIE
rw
TERRIE
rw
FUIE
rw
LIE
rw
Toggle fields

LIE

Bit 0: Line Interrupt Enable.

Allowed values:
0: Disabled: Line interrupt disabled
1: Enabled: Line interrupt enabled

FUIE

Bit 1: FIFO Underrun Interrupt Enable.

Allowed values:
0: Disabled: FIFO underrun interrupt disabled
1: Enabled: FIFO underrun interrupt enabled

TERRIE

Bit 2: Transfer Error Interrupt Enable.

Allowed values:
0: Disabled: Transfer error interrupt disabled
1: Enabled: Transfer error interrupt enabled

RRIE

Bit 3: Register Reload interrupt enable.

Allowed values:
0: Disabled: Register reload interrupt disabled
1: Enabled: Register reload interrupt enabled

ISR

Interrupt Status Register

Offset: 0x38, 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
RRIF
r
TERRIF
r
FUIF
r
LIF
r
Toggle fields

LIF

Bit 0: Line Interrupt flag.

Allowed values:
0: NotReached: Programmed line not reached
1: Reached: Line interrupt generated when a programmed line is reached

FUIF

Bit 1: FIFO Underrun Interrupt flag.

Allowed values:
0: NoUnderrun: No FIFO underrun
1: Underrun: FIFO underrun interrupt generated, if one of the layer FIFOs is empty and pixel data is read from the FIFO

TERRIF

Bit 2: Transfer Error interrupt flag.

Allowed values:
0: NoError: No transfer error
1: Error: Transfer error interrupt generated when a bus error occurs

RRIF

Bit 3: Register Reload Interrupt Flag.

Allowed values:
0: NoReload: No register reload
1: Reload: Register reload interrupt generated when a vertical blanking reload occurs (and the first line after the active area is reached)

ICR

Interrupt Clear Register

Offset: 0x3c, 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
CRRIF
w
CTERRIF
w
CFUIF
w
CLIF
w
Toggle fields

CLIF

Bit 0: Clears the Line Interrupt Flag.

Allowed values:
1: Clear: Clears the LIF flag in the ISR register

CFUIF

Bit 1: Clears the FIFO Underrun Interrupt flag.

Allowed values:
1: Clear: Clears the FUIF flag in the ISR register

CTERRIF

Bit 2: Clears the Transfer Error Interrupt Flag.

Allowed values:
1: Clear: Clears the TERRIF flag in the ISR register

CRRIF

Bit 3: Clears Register Reload Interrupt Flag.

Allowed values:
1: Clear: Clears the RRIF flag in the ISR register

LIPCR

Line Interrupt Position Configuration 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
LIPOS
rw
Toggle fields

LIPOS

Bits 0-10: Line Interrupt Position.

Allowed values: 0x0-0x7ff

CPSR

Current Position Status Register

Offset: 0x44, 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
CXPOS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CYPOS
r
Toggle fields

CYPOS

Bits 0-15: Current Y Position.

CXPOS

Bits 16-31: Current X Position.

CDSR

Current Display Status Register

Offset: 0x48, size: 32, reset: 0x0000000F, access: read-only

4/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSYNCS
r
VSYNCS
r
HDES
r
VDES
r
Toggle fields

VDES

Bit 0: Vertical Data Enable display Status.

Allowed values:
0: NotActive: Currently not in vertical Data Enable phase
1: Active: Currently in vertical Data Enable phase

HDES

Bit 1: Horizontal Data Enable display Status.

Allowed values:
0: NotActive: Currently not in horizontal Data Enable phase
1: Active: Currently in horizontal Data Enable phase

VSYNCS

Bit 2: Vertical Synchronization display Status.

Allowed values:
0: NotActive: Currently not in VSYNC phase
1: Active: Currently in VSYNC phase

HSYNCS

Bit 3: Horizontal Synchronization display Status.

Allowed values:
0: NotActive: Currently not in HSYNC phase
1: Active: Currently in HSYNC phase

CR [1]

Layerx Control Register

Offset: 0x84, 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
CLUTEN
rw
COLKEN
rw
LEN
rw
Toggle fields

LEN

Bit 0: Layer Enable.

Allowed values:
0: Disabled: Layer disabled
1: Enabled: Layer enabled

COLKEN

Bit 1: Color Keying Enable.

Allowed values:
0: Disabled: Color keying disabled
1: Enabled: Color keying enabled

CLUTEN

Bit 4: Color Look-Up Table Enable.

Allowed values:
0: Disabled: Color look-up table disabled
1: Enabled: Color look-up table enabled

WHPCR [1]

Layerx Window Horizontal Position Configuration Register

Offset: 0x88, 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
WHSPPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WHSTPOS
rw
Toggle fields

WHSTPOS

Bits 0-11: Window Horizontal Start Position.

Allowed values: 0x0-0xfff

WHSPPOS

Bits 16-27: Window Horizontal Stop Position.

Allowed values: 0x0-0xfff

WVPCR [1]

Layerx Window Vertical Position Configuration Register

Offset: 0x8c, 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
WVSPPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WVSTPOS
rw
Toggle fields

WVSTPOS

Bits 0-10: Window Vertical Start Position.

Allowed values: 0x0-0x7ff

WVSPPOS

Bits 16-26: Window Vertical Stop Position.

Allowed values: 0x0-0x7ff

CKCR [1]

Layerx Color Keying Configuration Register

Offset: 0x90, 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
CKRED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CKGREEN
rw
CKBLUE
rw
Toggle fields

CKBLUE

Bits 0-7: Color Key Blue value.

Allowed values: 0x0-0xff

CKGREEN

Bits 8-15: Color Key Green value.

Allowed values: 0x0-0xff

CKRED

Bits 16-23: Color Key Red value.

Allowed values: 0x0-0xff

PFCR [1]

Layerx Pixel Format Configuration Register

Offset: 0x94, 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
PF
rw
Toggle fields

PF

Bits 0-2: Pixel Format.

Allowed values:
0: ARGB8888: ARGB8888
1: RGB888: RGB888
2: RGB565: RGB565
3: ARGB1555: ARGB1555
4: ARGB4444: ARGB4444
5: L8: L8 (8-bit luminance)
6: AL44: AL44 (4-bit alpha, 4-bit luminance)
7: AL88: AL88 (8-bit alpha, 8-bit luminance)

CACR [1]

Layerx Constant Alpha Configuration Register

Offset: 0x98, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CONSTA
rw
Toggle fields

CONSTA

Bits 0-7: Constant Alpha.

Allowed values: 0x0-0xff

DCCR [1]

Layerx Default Color Configuration Register

Offset: 0x9c, 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
DCALPHA
rw
DCRED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCGREEN
rw
DCBLUE
rw
Toggle fields

DCBLUE

Bits 0-7: Default Color Blue.

Allowed values: 0x0-0xff

DCGREEN

Bits 8-15: Default Color Green.

Allowed values: 0x0-0xff

DCRED

Bits 16-23: Default Color Red.

Allowed values: 0x0-0xff

DCALPHA

Bits 24-31: Default Color Alpha.

Allowed values: 0x0-0xff

BFCR [1]

Layerx Blending Factors Configuration Register

Offset: 0xa0, size: 32, reset: 0x00000607, access: read-write

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BF1
rw
BF2
rw
Toggle fields

BF2

Bits 0-2: Blending Factor 2.

Allowed values:
5: Constant: BF2 = 1 - constant alpha
7: Pixel: BF2 = 1 - pixel alpha * constant alpha

BF1

Bits 8-10: Blending Factor 1.

Allowed values:
4: Constant: BF1 = constant alpha
6: Pixel: BF1 = pixel alpha * constant alpha

CFBAR [1]

Layerx Color Frame Buffer Address Register

Offset: 0xac, 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
CFBADD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFBADD
rw
Toggle fields

CFBADD

Bits 0-31: Color Frame Buffer Start Address.

Allowed values: 0x0-0xffffffff

CFBLR [1]

Layerx Color Frame Buffer Length Register

Offset: 0xb0, 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
CFBP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFBLL
rw
Toggle fields

CFBLL

Bits 0-12: Color Frame Buffer Line Length.

Allowed values: 0x0-0x1fff

CFBP

Bits 16-28: Color Frame Buffer Pitch in bytes.

Allowed values: 0x0-0x1fff

CFBLNR [1]

Layerx ColorFrame Buffer Line Number Register

Offset: 0xb4, 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
CFBLNBR
rw
Toggle fields

CFBLNBR

Bits 0-10: Frame Buffer Line Number.

Allowed values: 0x0-0x7ff

CLUTWR [1]

Layerx CLUT Write Register

Offset: 0xc4, size: 32, reset: 0x00000000, access: write-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLUTADD
w
RED
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GREEN
w
BLUE
w
Toggle fields

BLUE

Bits 0-7: Blue value.

Allowed values: 0x0-0xff

GREEN

Bits 8-15: Green value.

Allowed values: 0x0-0xff

RED

Bits 16-23: Red value.

Allowed values: 0x0-0xff

CLUTADD

Bits 24-31: CLUT Address.

Allowed values: 0x0-0xff

CR [2]

Layerx Control Register

Offset: 0x104, 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
CLUTEN
rw
COLKEN
rw
LEN
rw
Toggle fields

LEN

Bit 0: Layer Enable.

Allowed values:
0: Disabled: Layer disabled
1: Enabled: Layer enabled

COLKEN

Bit 1: Color Keying Enable.

Allowed values:
0: Disabled: Color keying disabled
1: Enabled: Color keying enabled

CLUTEN

Bit 4: Color Look-Up Table Enable.

Allowed values:
0: Disabled: Color look-up table disabled
1: Enabled: Color look-up table enabled

WHPCR [2]

Layerx Window Horizontal Position Configuration Register

Offset: 0x108, 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
WHSPPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WHSTPOS
rw
Toggle fields

WHSTPOS

Bits 0-11: Window Horizontal Start Position.

Allowed values: 0x0-0xfff

WHSPPOS

Bits 16-27: Window Horizontal Stop Position.

Allowed values: 0x0-0xfff

WVPCR [2]

Layerx Window Vertical Position Configuration Register

Offset: 0x10c, 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
WVSPPOS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WVSTPOS
rw
Toggle fields

WVSTPOS

Bits 0-10: Window Vertical Start Position.

Allowed values: 0x0-0x7ff

WVSPPOS

Bits 16-26: Window Vertical Stop Position.

Allowed values: 0x0-0x7ff

CKCR [2]

Layerx Color Keying Configuration Register

Offset: 0x110, 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
CKRED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CKGREEN
rw
CKBLUE
rw
Toggle fields

CKBLUE

Bits 0-7: Color Key Blue value.

Allowed values: 0x0-0xff

CKGREEN

Bits 8-15: Color Key Green value.

Allowed values: 0x0-0xff

CKRED

Bits 16-23: Color Key Red value.

Allowed values: 0x0-0xff

PFCR [2]

Layerx Pixel Format Configuration Register

Offset: 0x114, 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
PF
rw
Toggle fields

PF

Bits 0-2: Pixel Format.

Allowed values:
0: ARGB8888: ARGB8888
1: RGB888: RGB888
2: RGB565: RGB565
3: ARGB1555: ARGB1555
4: ARGB4444: ARGB4444
5: L8: L8 (8-bit luminance)
6: AL44: AL44 (4-bit alpha, 4-bit luminance)
7: AL88: AL88 (8-bit alpha, 8-bit luminance)

CACR [2]

Layerx Constant Alpha Configuration Register

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
CONSTA
rw
Toggle fields

CONSTA

Bits 0-7: Constant Alpha.

Allowed values: 0x0-0xff

DCCR [2]

Layerx Default Color Configuration Register

Offset: 0x11c, 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
DCALPHA
rw
DCRED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DCGREEN
rw
DCBLUE
rw
Toggle fields

DCBLUE

Bits 0-7: Default Color Blue.

Allowed values: 0x0-0xff

DCGREEN

Bits 8-15: Default Color Green.

Allowed values: 0x0-0xff

DCRED

Bits 16-23: Default Color Red.

Allowed values: 0x0-0xff

DCALPHA

Bits 24-31: Default Color Alpha.

Allowed values: 0x0-0xff

BFCR [2]

Layerx Blending Factors Configuration Register

Offset: 0x120, size: 32, reset: 0x00000607, access: read-write

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BF1
rw
BF2
rw
Toggle fields

BF2

Bits 0-2: Blending Factor 2.

Allowed values:
5: Constant: BF2 = 1 - constant alpha
7: Pixel: BF2 = 1 - pixel alpha * constant alpha

BF1

Bits 8-10: Blending Factor 1.

Allowed values:
4: Constant: BF1 = constant alpha
6: Pixel: BF1 = pixel alpha * constant alpha

CFBAR [2]

Layerx Color Frame Buffer Address Register

Offset: 0x12c, 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
CFBADD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFBADD
rw
Toggle fields

CFBADD

Bits 0-31: Color Frame Buffer Start Address.

Allowed values: 0x0-0xffffffff

CFBLR [2]

Layerx Color Frame Buffer Length Register

Offset: 0x130, 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
CFBP
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CFBLL
rw
Toggle fields

CFBLL

Bits 0-12: Color Frame Buffer Line Length.

Allowed values: 0x0-0x1fff

CFBP

Bits 16-28: Color Frame Buffer Pitch in bytes.

Allowed values: 0x0-0x1fff

CFBLNR [2]

Layerx ColorFrame Buffer Line Number Register

Offset: 0x134, 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
CFBLNBR
rw
Toggle fields

CFBLNBR

Bits 0-10: Frame Buffer Line Number.

Allowed values: 0x0-0x7ff

CLUTWR [2]

Layerx CLUT Write Register

Offset: 0x144, size: 32, reset: 0x00000000, access: write-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CLUTADD
w
RED
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GREEN
w
BLUE
w
Toggle fields

BLUE

Bits 0-7: Blue value.

Allowed values: 0x0-0xff

GREEN

Bits 8-15: Green value.

Allowed values: 0x0-0xff

RED

Bits 16-23: Red value.

Allowed values: 0x0-0xff

CLUTADD

Bits 24-31: CLUT Address.

Allowed values: 0x0-0xff

MDIOS

0x40009400: Management data input/output slave

37/80 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 WRFR
0x8 CWRFR
0xc RDFR
0x10 CRDFR
0x14 SR
0x18 CLRFR
0x1c DINR0
0x20 DINR1
0x24 DINR2
0x28 DINR3
0x2c DINR4
0x30 DINR5
0x34 DINR6
0x38 DINR7
0x3c DINR8
0x40 DINR9
0x44 DINR10
0x48 DINR11
0x4c DINR12
0x50 DINR13
0x54 DINR14
0x58 DINR15
0x5c DINR16
0x60 DINR17
0x64 DINR18
0x68 DINR19
0x6c DINR20
0x70 DINR21
0x74 DINR22
0x78 DINR23
0x7c DINR24
0x80 DINR25
0x84 DINR26
0x88 DINR27
0x8c DINR28
0x90 DINR29
0x94 DINR30
0x98 DINR31
0x9c DOUTR0
0xa0 DOUTR1
0xa4 DOUTR2
0xa8 DOUTR3
0xac DOUTR4
0xb0 DOUTR5
0xb4 DOUTR6
0xb8 DOUTR7
0xbc DOUTR8
0xc0 DOUTR9
0xc4 DOUTR10
0xc8 DOUTR11
0xcc DOUTR12
0xd0 DOUTR13
0xd4 DOUTR14
0xd8 DOUTR15
0xdc DOUTR16
0xe0 DOUTR17
0xe4 DOUTR18
0xe8 DOUTR19
0xec DOUTR20
0xf0 DOUTR21
0xf4 DOUTR22
0xf8 DOUTR23
0xfc DOUTR24
0x100 DOUTR25
0x104 DOUTR26
0x108 DOUTR27
0x10c DOUTR28
0x110 DOUTR29
0x114 DOUTR30
0x118 DOUTR31
Toggle registers

CR

MDIOS configuration register

Offset: 0x0, 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
PORT_ADDRESS
rw
DPC
rw
EIE
rw
RDIE
rw
WRIE
rw
EN
rw
Toggle fields

EN

Bit 0: Peripheral enable.

WRIE

Bit 1: Register write interrupt enable.

RDIE

Bit 2: Register Read Interrupt Enable.

EIE

Bit 3: Error interrupt enable.

DPC

Bit 7: Disable Preamble Check.

PORT_ADDRESS

Bits 8-12: Slaves's address.

WRFR

MDIOS write flag register

Offset: 0x4, 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
WRF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRF
r
Toggle fields

WRF

Bits 0-31: Write flags for MDIO registers 0 to 31.

CWRFR

MDIOS clear write flag 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
CWRF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CWRF
rw
Toggle fields

CWRF

Bits 0-31: Clear the write flag.

RDFR

MDIOS read flag register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RDF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RDF
r
Toggle fields

RDF

Bits 0-31: Read flags for MDIO registers 0 to 31.

CRDFR

MDIOS clear read flag register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CRDF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRDF
rw
Toggle fields

CRDF

Bits 0-31: Clear the read flag.

SR

MDIOS status register

Offset: 0x14, 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
TERF
r
SERF
r
PERF
r
Toggle fields

PERF

Bit 0: Preamble error flag.

SERF

Bit 1: Start error flag.

TERF

Bit 2: Turnaround error flag.

CLRFR

MDIOS clear flag register

Offset: 0x18, 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
CTERF
rw
CSERF
rw
CPERF
rw
Toggle fields

CPERF

Bit 0: Clear the preamble error flag.

CSERF

Bit 1: Clear the start error flag.

CTERF

Bit 2: Clear the turnaround error flag.

DINR0

MDIOS input data register 0

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
DIN0
r
Toggle fields

DIN0

Bits 0-15: Input data received from MDIO Master during write frames.

DINR1

MDIOS input data register 1

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
DIN1
r
Toggle fields

DIN1

Bits 0-15: Input data received from MDIO Master during write frames.

DINR2

MDIOS input data register 2

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
DIN2
r
Toggle fields

DIN2

Bits 0-15: Input data received from MDIO Master during write frames.

DINR3

MDIOS input data register 3

Offset: 0x28, 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
DIN3
r
Toggle fields

DIN3

Bits 0-15: Input data received from MDIO Master during write frames.

DINR4

MDIOS input data register 4

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
DIN4
r
Toggle fields

DIN4

Bits 0-15: Input data received from MDIO Master during write frames.

DINR5

MDIOS input data register 5

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
DIN5
r
Toggle fields

DIN5

Bits 0-15: Input data received from MDIO Master during write frames.

DINR6

MDIOS input data register 6

Offset: 0x34, 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
DIN6
r
Toggle fields

DIN6

Bits 0-15: Input data received from MDIO Master during write frames.

DINR7

MDIOS input data register 7

Offset: 0x38, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIN7
r
Toggle fields

DIN7

Bits 0-15: Input data received from MDIO Master during write frames.

DINR8

MDIOS input data register 8

Offset: 0x3c, 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
DIN8
r
Toggle fields

DIN8

Bits 0-15: Input data received from MDIO Master during write frames.

DINR9

MDIOS input data register 9

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
DIN9
r
Toggle fields

DIN9

Bits 0-15: Input data received from MDIO Master during write frames.

DINR10

MDIOS input data register 10

Offset: 0x44, 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
DIN10
r
Toggle fields

DIN10

Bits 0-15: Input data received from MDIO Master during write frames.

DINR11

MDIOS input data register 11

Offset: 0x48, 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
DIN11
r
Toggle fields

DIN11

Bits 0-15: Input data received from MDIO Master during write frames.

DINR12

MDIOS input data register 12

Offset: 0x4c, 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
DIN12
r
Toggle fields

DIN12

Bits 0-15: Input data received from MDIO Master during write frames.

DINR13

MDIOS input data register 13

Offset: 0x50, 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
DIN13
r
Toggle fields

DIN13

Bits 0-15: Input data received from MDIO Master during write frames.

DINR14

MDIOS input data register 14

Offset: 0x54, 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
DIN14
r
Toggle fields

DIN14

Bits 0-15: Input data received from MDIO Master during write frames.

DINR15

MDIOS input data register 15

Offset: 0x58, 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
DIN15
r
Toggle fields

DIN15

Bits 0-15: Input data received from MDIO Master during write frames.

DINR16

MDIOS input data register 16

Offset: 0x5c, 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
DIN16
r
Toggle fields

DIN16

Bits 0-15: Input data received from MDIO Master during write frames.

DINR17

MDIOS input data register 17

Offset: 0x60, 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
DIN17
r
Toggle fields

DIN17

Bits 0-15: Input data received from MDIO Master during write frames.

DINR18

MDIOS input data register 18

Offset: 0x64, 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
DIN18
r
Toggle fields

DIN18

Bits 0-15: Input data received from MDIO Master during write frames.

DINR19

MDIOS input data register 19

Offset: 0x68, 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
DIN19
r
Toggle fields

DIN19

Bits 0-15: Input data received from MDIO Master during write frames.

DINR20

MDIOS input data register 20

Offset: 0x6c, 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
DIN20
r
Toggle fields

DIN20

Bits 0-15: Input data received from MDIO Master during write frames.

DINR21

MDIOS input data register 21

Offset: 0x70, 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
DIN21
r
Toggle fields

DIN21

Bits 0-15: Input data received from MDIO Master during write frames.

DINR22

MDIOS input data register 22

Offset: 0x74, 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
DIN22
r
Toggle fields

DIN22

Bits 0-15: Input data received from MDIO Master during write frames.

DINR23

MDIOS input data register 23

Offset: 0x78, 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
DIN23
r
Toggle fields

DIN23

Bits 0-15: Input data received from MDIO Master during write frames.

DINR24

MDIOS input data register 24

Offset: 0x7c, 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
DIN24
r
Toggle fields

DIN24

Bits 0-15: Input data received from MDIO Master during write frames.

DINR25

MDIOS input data register 25

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
DIN25
r
Toggle fields

DIN25

Bits 0-15: Input data received from MDIO Master during write frames.

DINR26

MDIOS input data register 26

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
DIN26
r
Toggle fields

DIN26

Bits 0-15: Input data received from MDIO Master during write frames.

DINR27

MDIOS input data register 27

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
DIN27
r
Toggle fields

DIN27

Bits 0-15: Input data received from MDIO Master during write frames.

DINR28

MDIOS input data register 28

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
DIN28
r
Toggle fields

DIN28

Bits 0-15: Input data received from MDIO Master during write frames.

DINR29

MDIOS input data register 29

Offset: 0x90, 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
DIN29
r
Toggle fields

DIN29

Bits 0-15: Input data received from MDIO Master during write frames.

DINR30

MDIOS input data register 30

Offset: 0x94, 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
DIN30
r
Toggle fields

DIN30

Bits 0-15: Input data received from MDIO Master during write frames.

DINR31

MDIOS input data register 31

Offset: 0x98, 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
DIN31
r
Toggle fields

DIN31

Bits 0-15: Input data received from MDIO Master during write frames.

DOUTR0

MDIOS output data register 0

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
DOUT0
rw
Toggle fields

DOUT0

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR1

MDIOS output data register 1

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
DOUT1
rw
Toggle fields

DOUT1

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR2

MDIOS output data register 2

Offset: 0xa4, 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
DOUT2
rw
Toggle fields

DOUT2

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR3

MDIOS output data register 3

Offset: 0xa8, 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
DOUT3
rw
Toggle fields

DOUT3

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR4

MDIOS output data register 4

Offset: 0xac, 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
DOUT4
rw
Toggle fields

DOUT4

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR5

MDIOS output data register 5

Offset: 0xb0, 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
DOUT5
rw
Toggle fields

DOUT5

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR6

MDIOS output data register 6

Offset: 0xb4, 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
DOUT6
rw
Toggle fields

DOUT6

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR7

MDIOS output data register 7

Offset: 0xb8, 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
DOUT7
rw
Toggle fields

DOUT7

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR8

MDIOS output data register 8

Offset: 0xbc, 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
DOUT8
rw
Toggle fields

DOUT8

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR9

MDIOS output data register 9

Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DOUT9
rw
Toggle fields

DOUT9

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR10

MDIOS output data register 10

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
DOUT10
rw
Toggle fields

DOUT10

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR11

MDIOS output data register 11

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
DOUT11
rw
Toggle fields

DOUT11

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR12

MDIOS output data register 12

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
DOUT12
rw
Toggle fields

DOUT12

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR13

MDIOS output data register 13

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
DOUT13
rw
Toggle fields

DOUT13

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR14

MDIOS output data register 14

Offset: 0xd4, 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
DOUT14
rw
Toggle fields

DOUT14

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR15

MDIOS output data register 15

Offset: 0xd8, 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
DOUT15
rw
Toggle fields

DOUT15

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR16

MDIOS output data register 16

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
DOUT16
rw
Toggle fields

DOUT16

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR17

MDIOS output data register 17

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
DOUT17
rw
Toggle fields

DOUT17

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR18

MDIOS output data register 18

Offset: 0xe4, 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
DOUT18
rw
Toggle fields

DOUT18

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR19

MDIOS output data register 19

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
DOUT19
rw
Toggle fields

DOUT19

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR20

MDIOS output data register 20

Offset: 0xec, 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
DOUT20
rw
Toggle fields

DOUT20

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR21

MDIOS output data register 21

Offset: 0xf0, 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
DOUT21
rw
Toggle fields

DOUT21

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR22

MDIOS output data register 22

Offset: 0xf4, 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
DOUT22
rw
Toggle fields

DOUT22

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR23

MDIOS output data register 23

Offset: 0xf8, 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
DOUT23
rw
Toggle fields

DOUT23

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR24

MDIOS output data register 24

Offset: 0xfc, 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
DOUT24
rw
Toggle fields

DOUT24

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR25

MDIOS output data register 25

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
DOUT25
rw
Toggle fields

DOUT25

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR26

MDIOS output data register 26

Offset: 0x104, 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
DOUT26
rw
Toggle fields

DOUT26

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR27

MDIOS output data register 27

Offset: 0x108, 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
DOUT27
rw
Toggle fields

DOUT27

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR28

MDIOS output data register 28

Offset: 0x10c, 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
DOUT28
rw
Toggle fields

DOUT28

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR29

MDIOS output data register 29

Offset: 0x110, 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
DOUT29
rw
Toggle fields

DOUT29

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR30

MDIOS output data register 30

Offset: 0x114, 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
DOUT30
rw
Toggle fields

DOUT30

Bits 0-15: Output data sent to MDIO Master during read frames.

DOUTR31

MDIOS output data register 31

Offset: 0x118, 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
DOUT31
rw
Toggle fields

DOUT31

Bits 0-15: Output data sent to MDIO Master during read frames.

MDMA

0x52000000: MDMA

208/912 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 GISR0
0x40 ISR [0]
0x44 IFCR [0]
0x48 ESR [0]
0x4c CR [0]
0x50 TCR [0]
0x54 BNDTR [0]
0x58 SAR [0]
0x5c DAR [0]
0x60 BRUR [0]
0x64 LAR [0]
0x68 TBR [0]
0x70 MAR [0]
0x74 MDR [0]
0x80 ISR [1]
0x84 IFCR [1]
0x88 ESR [1]
0x8c CR [1]
0x90 TCR [1]
0x94 BNDTR [1]
0x98 SAR [1]
0x9c DAR [1]
0xa0 BRUR [1]
0xa4 LAR [1]
0xa8 TBR [1]
0xb0 MAR [1]
0xb4 MDR [1]
0xc0 ISR [2]
0xc4 IFCR [2]
0xc8 ESR [2]
0xcc CR [2]
0xd0 TCR [2]
0xd4 BNDTR [2]
0xd8 SAR [2]
0xdc DAR [2]
0xe0 BRUR [2]
0xe4 LAR [2]
0xe8 TBR [2]
0xf0 MAR [2]
0xf4 MDR [2]
0x100 ISR [3]
0x104 IFCR [3]
0x108 ESR [3]
0x10c CR [3]
0x110 TCR [3]
0x114 BNDTR [3]
0x118 SAR [3]
0x11c DAR [3]
0x120 BRUR [3]
0x124 LAR [3]
0x128 TBR [3]
0x130 MAR [3]
0x134 MDR [3]
0x140 ISR [4]
0x144 IFCR [4]
0x148 ESR [4]
0x14c CR [4]
0x150 TCR [4]
0x154 BNDTR [4]
0x158 SAR [4]
0x15c DAR [4]
0x160 BRUR [4]
0x164 LAR [4]
0x168 TBR [4]
0x170 MAR [4]
0x174 MDR [4]
0x180 ISR [5]
0x184 IFCR [5]
0x188 ESR [5]
0x18c CR [5]
0x190 TCR [5]
0x194 BNDTR [5]
0x198 SAR [5]
0x19c DAR [5]
0x1a0 BRUR [5]
0x1a4 LAR [5]
0x1a8 TBR [5]
0x1b0 MAR [5]
0x1b4 MDR [5]
0x1c0 ISR [6]
0x1c4 IFCR [6]
0x1c8 ESR [6]
0x1cc CR [6]
0x1d0 TCR [6]
0x1d4 BNDTR [6]
0x1d8 SAR [6]
0x1dc DAR [6]
0x1e0 BRUR [6]
0x1e4 LAR [6]
0x1e8 TBR [6]
0x1f0 MAR [6]
0x1f4 MDR [6]
0x200 ISR [7]
0x204 IFCR [7]
0x208 ESR [7]
0x20c CR [7]
0x210 TCR [7]
0x214 BNDTR [7]
0x218 SAR [7]
0x21c DAR [7]
0x220 BRUR [7]
0x224 LAR [7]
0x228 TBR [7]
0x230 MAR [7]
0x234 MDR [7]
0x240 ISR [8]
0x244 IFCR [8]
0x248 ESR [8]
0x24c CR [8]
0x250 TCR [8]
0x254 BNDTR [8]
0x258 SAR [8]
0x25c DAR [8]
0x260 BRUR [8]
0x264 LAR [8]
0x268 TBR [8]
0x270 MAR [8]
0x274 MDR [8]
0x280 ISR [9]
0x284 IFCR [9]
0x288 ESR [9]
0x28c CR [9]
0x290 TCR [9]
0x294 BNDTR [9]
0x298 SAR [9]
0x29c DAR [9]
0x2a0 BRUR [9]
0x2a4 LAR [9]
0x2a8 TBR [9]
0x2b0 MAR [9]
0x2b4 MDR [9]
0x2c0 ISR [10]
0x2c4 IFCR [10]
0x2c8 ESR [10]
0x2cc CR [10]
0x2d0 TCR [10]
0x2d4 BNDTR [10]
0x2d8 SAR [10]
0x2dc DAR [10]
0x2e0 BRUR [10]
0x2e4 LAR [10]
0x2e8 TBR [10]
0x2f0 MAR [10]
0x2f4 MDR [10]
0x300 ISR [11]
0x304 IFCR [11]
0x308 ESR [11]
0x30c CR [11]
0x310 TCR [11]
0x314 BNDTR [11]
0x318 SAR [11]
0x31c DAR [11]
0x320 BRUR [11]
0x324 LAR [11]
0x328 TBR [11]
0x330 MAR [11]
0x334 MDR [11]
0x340 ISR [12]
0x344 IFCR [12]
0x348 ESR [12]
0x34c CR [12]
0x350 TCR [12]
0x354 BNDTR [12]
0x358 SAR [12]
0x35c DAR [12]
0x360 BRUR [12]
0x364 LAR [12]
0x368 TBR [12]
0x370 MAR [12]
0x374 MDR [12]
0x380 ISR [13]
0x384 IFCR [13]
0x388 ESR [13]
0x38c CR [13]
0x390 TCR [13]
0x394 BNDTR [13]
0x398 SAR [13]
0x39c DAR [13]
0x3a0 BRUR [13]
0x3a4 LAR [13]
0x3a8 TBR [13]
0x3b0 MAR [13]
0x3b4 MDR [13]
0x3c0 ISR [14]
0x3c4 IFCR [14]
0x3c8 ESR [14]
0x3cc CR [14]
0x3d0 TCR [14]
0x3d4 BNDTR [14]
0x3d8 SAR [14]
0x3dc DAR [14]
0x3e0 BRUR [14]
0x3e4 LAR [14]
0x3e8 TBR [14]
0x3f0 MAR [14]
0x3f4 MDR [14]
0x400 ISR [15]
0x404 IFCR [15]
0x408 ESR [15]
0x40c CR [15]
0x410 TCR [15]
0x414 BNDTR [15]
0x418 SAR [15]
0x41c DAR [15]
0x420 BRUR [15]
0x424 LAR [15]
0x428 TBR [15]
0x430 MAR [15]
0x434 MDR [15]
Toggle registers

GISR0

MDMA Global Interrupt/Status Register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-only

16/16 fields covered.

Toggle fields

GIF[0]

Bit 0: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[1]

Bit 1: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[2]

Bit 2: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[3]

Bit 3: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[4]

Bit 4: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[5]

Bit 5: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[6]

Bit 6: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[7]

Bit 7: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[8]

Bit 8: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[9]

Bit 9: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[10]

Bit 10: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[11]

Bit 11: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[12]

Bit 12: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[13]

Bit 13: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[14]

Bit 14: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

GIF[15]

Bit 15: Channel x global interrupt flag (x=...) This bit is set and reset by hardware. It is a logical OR of all the Channel x interrupt flags (CTCIFx, BTIFx, BRTIFx, TEIFx) which are enabled in the interrupt mask register (CTCIEx, BTIEx, BRTIEx, TEIEx).

ISR [0]

MDMA channel x interrupt/status register

Offset: 0x40, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [0]

MDMA channel x interrupt flag clear register

Offset: 0x44, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [0]

MDMA Channel x error status register

Offset: 0x48, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [0]

This register is used to control the concerned channel.

Offset: 0x4c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [0]

This register is used to configure the concerned channel.

Offset: 0x50, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [0]

MDMA Channel x block number of data register

Offset: 0x54, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [0]

MDMA channel x source 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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [0]

MDMA channel x destination address register

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [0]

MDMA channel x Block Repeat address Update register

Offset: 0x60, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [0]

MDMA channel x Link Address register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [0]

MDMA channel x Trigger and Bus selection Register

Offset: 0x68, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [0]

MDMA channel x Mask address 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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [0]

MDMA channel x Mask Data 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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [1]

MDMA channel x interrupt/status register

Offset: 0x80, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [1]

MDMA channel x interrupt flag clear register

Offset: 0x84, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [1]

MDMA Channel x error status register

Offset: 0x88, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [1]

This register is used to control the concerned channel.

Offset: 0x8c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [1]

This register is used to configure the concerned channel.

Offset: 0x90, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [1]

MDMA Channel x block number of data register

Offset: 0x94, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [1]

MDMA channel x source address register

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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [1]

MDMA channel x destination address register

Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [1]

MDMA channel x Block Repeat address Update register

Offset: 0xa0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [1]

MDMA channel x Link Address register

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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [1]

MDMA channel x Trigger and Bus selection Register

Offset: 0xa8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [1]

MDMA channel x Mask address register

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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [1]

MDMA channel x Mask Data register

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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [2]

MDMA channel x interrupt/status register

Offset: 0xc0, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [2]

MDMA channel x interrupt flag clear register

Offset: 0xc4, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [2]

MDMA Channel x error status register

Offset: 0xc8, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [2]

This register is used to control the concerned channel.

Offset: 0xcc, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [2]

This register is used to configure the concerned channel.

Offset: 0xd0, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [2]

MDMA Channel x block number of data register

Offset: 0xd4, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [2]

MDMA channel x source address register

Offset: 0xd8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [2]

MDMA channel x destination address register

Offset: 0xdc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [2]

MDMA channel x Block Repeat address Update register

Offset: 0xe0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [2]

MDMA channel x Link Address register

Offset: 0xe4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [2]

MDMA channel x Trigger and Bus selection Register

Offset: 0xe8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [2]

MDMA channel x Mask address register

Offset: 0xf0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [2]

MDMA channel x Mask Data register

Offset: 0xf4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [3]

MDMA channel x interrupt/status register

Offset: 0x100, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [3]

MDMA channel x interrupt flag clear register

Offset: 0x104, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [3]

MDMA Channel x error status register

Offset: 0x108, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [3]

This register is used to control the concerned channel.

Offset: 0x10c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [3]

This register is used to configure the concerned channel.

Offset: 0x110, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [3]

MDMA Channel x block number of data register

Offset: 0x114, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [3]

MDMA channel x source address 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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [3]

MDMA channel x destination address 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
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [3]

MDMA channel x Block Repeat address Update register

Offset: 0x120, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [3]

MDMA channel x Link Address 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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [3]

MDMA channel x Trigger and Bus selection Register

Offset: 0x128, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [3]

MDMA channel x Mask address 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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [3]

MDMA channel x Mask Data 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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [4]

MDMA channel x interrupt/status register

Offset: 0x140, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [4]

MDMA channel x interrupt flag clear register

Offset: 0x144, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [4]

MDMA Channel x error status register

Offset: 0x148, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [4]

This register is used to control the concerned channel.

Offset: 0x14c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [4]

This register is used to configure the concerned channel.

Offset: 0x150, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [4]

MDMA Channel x block number of data register

Offset: 0x154, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [4]

MDMA channel x source address 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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [4]

MDMA channel x destination address 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
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [4]

MDMA channel x Block Repeat address Update register

Offset: 0x160, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [4]

MDMA channel x Link Address 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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [4]

MDMA channel x Trigger and Bus selection Register

Offset: 0x168, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [4]

MDMA channel x Mask address 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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [4]

MDMA channel x Mask Data 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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [5]

MDMA channel x interrupt/status register

Offset: 0x180, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [5]

MDMA channel x interrupt flag clear register

Offset: 0x184, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [5]

MDMA Channel x error status register

Offset: 0x188, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [5]

This register is used to control the concerned channel.

Offset: 0x18c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [5]

This register is used to configure the concerned channel.

Offset: 0x190, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [5]

MDMA Channel x block number of data register

Offset: 0x194, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [5]

MDMA channel x source address register

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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [5]

MDMA channel x destination address register

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
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [5]

MDMA channel x Block Repeat address Update register

Offset: 0x1a0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [5]

MDMA channel x Link Address register

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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [5]

MDMA channel x Trigger and Bus selection Register

Offset: 0x1a8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [5]

MDMA channel x Mask address register

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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [5]

MDMA channel x Mask Data register

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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [6]

MDMA channel x interrupt/status register

Offset: 0x1c0, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [6]

MDMA channel x interrupt flag clear register

Offset: 0x1c4, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [6]

MDMA Channel x error status register

Offset: 0x1c8, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [6]

This register is used to control the concerned channel.

Offset: 0x1cc, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [6]

This register is used to configure the concerned channel.

Offset: 0x1d0, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [6]

MDMA Channel x block number of data register

Offset: 0x1d4, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [6]

MDMA channel x source address register

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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [6]

MDMA channel x destination address register

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
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [6]

MDMA channel x Block Repeat address Update register

Offset: 0x1e0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [6]

MDMA channel x Link Address register

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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [6]

MDMA channel x Trigger and Bus selection Register

Offset: 0x1e8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [6]

MDMA channel x Mask address register

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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [6]

MDMA channel x Mask Data register

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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [7]

MDMA channel x interrupt/status register

Offset: 0x200, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [7]

MDMA channel x interrupt flag clear register

Offset: 0x204, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [7]

MDMA Channel x error status register

Offset: 0x208, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [7]

This register is used to control the concerned channel.

Offset: 0x20c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [7]

This register is used to configure the concerned channel.

Offset: 0x210, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [7]

MDMA Channel x block number of data register

Offset: 0x214, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [7]

MDMA channel x source address register

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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [7]

MDMA channel x destination address register

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
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [7]

MDMA channel x Block Repeat address Update register

Offset: 0x220, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [7]

MDMA channel x Link Address register

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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [7]

MDMA channel x Trigger and Bus selection Register

Offset: 0x228, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [7]

MDMA channel x Mask address register

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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [7]

MDMA channel x Mask Data register

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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [8]

MDMA channel x interrupt/status register

Offset: 0x240, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [8]

MDMA channel x interrupt flag clear register

Offset: 0x244, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [8]

MDMA Channel x error status register

Offset: 0x248, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [8]

This register is used to control the concerned channel.

Offset: 0x24c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [8]

This register is used to configure the concerned channel.

Offset: 0x250, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [8]

MDMA Channel x block number of data register

Offset: 0x254, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [8]

MDMA channel x source address register

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
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [8]

MDMA channel x destination address register

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
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [8]

MDMA channel x Block Repeat address Update register

Offset: 0x260, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [8]

MDMA channel x Link Address register

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
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [8]

MDMA channel x Trigger and Bus selection Register

Offset: 0x268, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [8]

MDMA channel x Mask address register

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
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [8]

MDMA channel x Mask Data register

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
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [9]

MDMA channel x interrupt/status register

Offset: 0x280, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [9]

MDMA channel x interrupt flag clear register

Offset: 0x284, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [9]

MDMA Channel x error status register

Offset: 0x288, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [9]

This register is used to control the concerned channel.

Offset: 0x28c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [9]

This register is used to configure the concerned channel.

Offset: 0x290, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [9]

MDMA Channel x block number of data register

Offset: 0x294, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [9]

MDMA channel x source address register

Offset: 0x298, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [9]

MDMA channel x destination address register

Offset: 0x29c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [9]

MDMA channel x Block Repeat address Update register

Offset: 0x2a0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [9]

MDMA channel x Link Address register

Offset: 0x2a4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [9]

MDMA channel x Trigger and Bus selection Register

Offset: 0x2a8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [9]

MDMA channel x Mask address register

Offset: 0x2b0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [9]

MDMA channel x Mask Data register

Offset: 0x2b4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [10]

MDMA channel x interrupt/status register

Offset: 0x2c0, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [10]

MDMA channel x interrupt flag clear register

Offset: 0x2c4, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [10]

MDMA Channel x error status register

Offset: 0x2c8, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [10]

This register is used to control the concerned channel.

Offset: 0x2cc, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [10]

This register is used to configure the concerned channel.

Offset: 0x2d0, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [10]

MDMA Channel x block number of data register

Offset: 0x2d4, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [10]

MDMA channel x source address register

Offset: 0x2d8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [10]

MDMA channel x destination address register

Offset: 0x2dc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [10]

MDMA channel x Block Repeat address Update register

Offset: 0x2e0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [10]

MDMA channel x Link Address register

Offset: 0x2e4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [10]

MDMA channel x Trigger and Bus selection Register

Offset: 0x2e8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [10]

MDMA channel x Mask address register

Offset: 0x2f0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [10]

MDMA channel x Mask Data register

Offset: 0x2f4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [11]

MDMA channel x interrupt/status register

Offset: 0x300, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [11]

MDMA channel x interrupt flag clear register

Offset: 0x304, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [11]

MDMA Channel x error status register

Offset: 0x308, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [11]

This register is used to control the concerned channel.

Offset: 0x30c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [11]

This register is used to configure the concerned channel.

Offset: 0x310, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [11]

MDMA Channel x block number of data register

Offset: 0x314, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [11]

MDMA channel x source address register

Offset: 0x318, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [11]

MDMA channel x destination address register

Offset: 0x31c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [11]

MDMA channel x Block Repeat address Update register

Offset: 0x320, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [11]

MDMA channel x Link Address register

Offset: 0x324, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [11]

MDMA channel x Trigger and Bus selection Register

Offset: 0x328, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [11]

MDMA channel x Mask address register

Offset: 0x330, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [11]

MDMA channel x Mask Data register

Offset: 0x334, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [12]

MDMA channel x interrupt/status register

Offset: 0x340, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [12]

MDMA channel x interrupt flag clear register

Offset: 0x344, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [12]

MDMA Channel x error status register

Offset: 0x348, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [12]

This register is used to control the concerned channel.

Offset: 0x34c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [12]

This register is used to configure the concerned channel.

Offset: 0x350, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [12]

MDMA Channel x block number of data register

Offset: 0x354, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [12]

MDMA channel x source address register

Offset: 0x358, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [12]

MDMA channel x destination address register

Offset: 0x35c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [12]

MDMA channel x Block Repeat address Update register

Offset: 0x360, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [12]

MDMA channel x Link Address register

Offset: 0x364, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [12]

MDMA channel x Trigger and Bus selection Register

Offset: 0x368, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [12]

MDMA channel x Mask address register

Offset: 0x370, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [12]

MDMA channel x Mask Data register

Offset: 0x374, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [13]

MDMA channel x interrupt/status register

Offset: 0x380, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [13]

MDMA channel x interrupt flag clear register

Offset: 0x384, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [13]

MDMA Channel x error status register

Offset: 0x388, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [13]

This register is used to control the concerned channel.

Offset: 0x38c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [13]

This register is used to configure the concerned channel.

Offset: 0x390, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [13]

MDMA Channel x block number of data register

Offset: 0x394, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [13]

MDMA channel x source address register

Offset: 0x398, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [13]

MDMA channel x destination address register

Offset: 0x39c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [13]

MDMA channel x Block Repeat address Update register

Offset: 0x3a0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [13]

MDMA channel x Link Address register

Offset: 0x3a4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [13]

MDMA channel x Trigger and Bus selection Register

Offset: 0x3a8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [13]

MDMA channel x Mask address register

Offset: 0x3b0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [13]

MDMA channel x Mask Data register

Offset: 0x3b4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [14]

MDMA channel x interrupt/status register

Offset: 0x3c0, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [14]

MDMA channel x interrupt flag clear register

Offset: 0x3c4, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [14]

MDMA Channel x error status register

Offset: 0x3c8, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [14]

This register is used to control the concerned channel.

Offset: 0x3cc, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [14]

This register is used to configure the concerned channel.

Offset: 0x3d0, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [14]

MDMA Channel x block number of data register

Offset: 0x3d4, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [14]

MDMA channel x source address register

Offset: 0x3d8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [14]

MDMA channel x destination address register

Offset: 0x3dc, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [14]

MDMA channel x Block Repeat address Update register

Offset: 0x3e0, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [14]

MDMA channel x Link Address register

Offset: 0x3e4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [14]

MDMA channel x Trigger and Bus selection Register

Offset: 0x3e8, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [14]

MDMA channel x Mask address register

Offset: 0x3f0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [14]

MDMA channel x Mask Data register

Offset: 0x3f4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

ISR [15]

MDMA channel x interrupt/status register

Offset: 0x400, 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
CRQA
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TCIF
r
BTIF
r
BRTIF
r
CTCIF
r
TEIF
r
Toggle fields

TEIF

Bit 0: Channel x transfer error interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

CTCIF

Bit 1: Channel x Channel Transfer Complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register. CTC is set when the last block was transferred and the channel has been automatically disabled. CTC is also set when the channel is suspended, as a result of writing EN bit to 0..

BRTIF

Bit 2: Channel x block repeat transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

BTIF

Bit 3: Channel x block transfer complete interrupt flag This bit is set by hardware. It is cleared by software writing 1 to the corresponding bit in the DMA_IFCRy register..

TCIF

Bit 4: channel x buffer transfer complete.

CRQA

Bit 16: channel x request active flag.

IFCR [15]

MDMA channel x interrupt flag clear register

Offset: 0x404, 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
CLTCIF
w
CBTIF
w
CBRTIF
w
CCTCIF
w
CTEIF
w
Toggle fields

CTEIF

Bit 0: Channel x clear transfer error interrupt flag Writing a 1 into this bit clears TEIFx in the MDMA_ISRy register.

CCTCIF

Bit 1: Clear Channel transfer complete interrupt flag for channel x Writing a 1 into this bit clears CTCIFx in the MDMA_ISRy register.

CBRTIF

Bit 2: Channel x clear block repeat transfer complete interrupt flag Writing a 1 into this bit clears BRTIFx in the MDMA_ISRy register.

CBTIF

Bit 3: Channel x Clear block transfer complete interrupt flag Writing a 1 into this bit clears BTIFx in the MDMA_ISRy register.

CLTCIF

Bit 4: CLear buffer Transfer Complete Interrupt Flag for channel x Writing a 1 into this bit clears TCIFx in the MDMA_ISRy register.

ESR [15]

MDMA Channel x error status register

Offset: 0x408, size: 32, 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
BSE
r
ASE
r
TEMD
r
TELD
r
TED
r
TEA
r
Toggle fields

TEA

Bits 0-6: Transfer Error Address These bits are set and cleared by HW, in case of an MDMA data transfer error. It is used in conjunction with TED. This field indicates the 7 LSBits of the address which generated a transfer/access error. It may be used by SW to retrieve the failing address, by adding this value (truncated to the buffer transfer length size) to the current SAR/DAR value. Note: The SAR/DAR current value doesnt reflect this last address due to the FIFO management system. The SAR/DAR are only updated at the end of a (buffer) transfer (of TLEN+1 bytes). Note: It is not set in case of a link data error..

TED

Bit 7: Transfer Error Direction These bit is set and cleared by HW, in case of an MDMA data transfer error..

TELD

Bit 8: Transfer Error Link Data These bit is set by HW, in case of a transfer error while reading the block link data structure. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

TEMD

Bit 9: Transfer Error Mask Data These bit is set by HW, in case of a transfer error while writing the Mask Data. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

ASE

Bit 10: Address/Size Error These bit is set by HW, when the programmed address is not aligned with the data size. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

BSE

Bit 11: Block Size Error These bit is set by HW, when the block size is not an integer multiple of the data size either for source or destination. TED will indicate whether the problem is on the source or destination. It is cleared by software writing 1 to the CTEIFx bit in the DMA_IFCRy register..

CR [15]

This register is used to control the concerned channel.

Offset: 0x40c, size: 32, reset: 0x00000000, access: Unspecified

0/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SWRQ
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WEX
rw
HEX
rw
BEX
rw
PL
rw
TCIE
rw
BTIE
rw
BRTIE
rw
CTCIE
rw
TEIE
rw
EN
rw
Toggle fields

EN

Bit 0: channel enable.

TEIE

Bit 1: Transfer error interrupt enable This bit is set and cleared by software..

CTCIE

Bit 2: Channel Transfer Complete interrupt enable This bit is set and cleared by software..

BRTIE

Bit 3: Block Repeat transfer interrupt enable This bit is set and cleared by software..

BTIE

Bit 4: Block Transfer interrupt enable This bit is set and cleared by software..

TCIE

Bit 5: buffer Transfer Complete interrupt enable This bit is set and cleared by software..

PL

Bits 6-7: Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0..

BEX

Bit 12: byte Endianness exchange.

HEX

Bit 13: Half word Endianes exchange.

WEX

Bit 14: Word Endianness exchange.

SWRQ

Bit 16: SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access)..

TCR [15]

This register is used to configure the concerned channel.

Offset: 0x410, 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
BWM
rw
SWRM
rw
TRGM
rw
PAM
rw
PKE
rw
TLEN
rw
DBURST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DBURST
rw
SBURST
rw
DINCOS
rw
SINCOS
rw
DSIZE
rw
SSIZE
rw
DINC
rw
SINC
rw
Toggle fields

SINC

Bits 0-1: Source increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When source is AHB (SBUS=1), SINC = 00 is forbidden. In Linked List Mode, at the end of a block (single or last block in repeated block transfer mode), this register will be loaded from memory (from address given by current LAR[31:0] + 0x00)..

DINC

Bits 2-3: Destination increment mode These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: When destination is AHB (DBUS=1), DINC = 00 is forbidden..

SSIZE

Bits 4-5: Source data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0 Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If SINCOS &lt; SSIZE and SINC &#8800; 00, the result will be unpredictable. Note: SSIZE = 11 (double-word) is forbidden when source is TCM/AHB bus (SBUS=1)..

DSIZE

Bits 6-7: Destination data size These bits are set and cleared by software. These bits are protected and can be written only if EN is 0. Note: If a value of 11 is programmed for the TCM access/AHB port, a transfer error will occur (TEIF bit set) If DINCOS &lt; DSIZE and DINC &#8800; 00, the result will be unpredictable. Note: DSIZE = 11 (double-word) is forbidden when destination is TCM/AHB bus (DBUS=1)..

SINCOS

Bits 8-9: source increment offset size.

DINCOS

Bits 10-11: Destination increment offset.

SBURST

Bits 12-14: source burst transfer configuration.

DBURST

Bits 15-17: Destination burst transfer configuration.

TLEN

Bits 18-24: buffer transfer lengh.

PKE

Bit 25: PacK Enable These bit is set and cleared by software. If the Source Size is smaller than the destination, it will be padded according to the PAM value. If the Source data size is larger than the destination one, it will be truncated. The alignment will be done according to the PAM[0] value. This bit is protected and can be written only if EN is 0.

PAM

Bits 26-27: Padding/Alignement Mode These bits are set and cleared by software. Case 1: Source data size smaller than destination data size - 3 options are valid. Case 2: Source data size larger than destination data size. The remainder part is discarded. When PKE = 1 or DSIZE=SSIZE, these bits are ignored. These bits are protected and can be written only if EN is 0.

TRGM

Bits 28-29: Trigger Mode These bits are set and cleared by software. Note: If TRGM is 11 for the current block, all the values loaded at the end of the current block through the linked list mechanism must keep the same value (TRGM=11) and the same SWRM value, otherwise the result is undefined. These bits are protected and can be written only if EN is 0..

SWRM

Bit 30: SW Request Mode This bit is set and cleared by software. If a HW or SW request is currently active, the bit change will be delayed until the current transfer is completed. If the CxMAR contains a valid address, the CxMDR value will also be written @ CxMAR address. This bit is protected and can be written only if EN is 0..

BWM

Bit 31: Bufferable Write Mode This bit is set and cleared by software. This bit is protected and can be written only if EN is 0. Note: All MDMA destination accesses are non-cacheable..

BNDTR [15]

MDMA Channel x block number of data register

Offset: 0x414, 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
BRC
rw
BRDUM
rw
BRSUM
rw
BNDT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BNDT
rw
Toggle fields

BNDT

Bits 0-16: block number of data to transfer.

BRSUM

Bit 18: Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0..

BRDUM

Bit 19: Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0..

BRC

Bits 20-31: Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0..

SAR [15]

MDMA channel x source address register

Offset: 0x418, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SAR
rw
Toggle fields

SAR

Bits 0-31: source adr base.

DAR [15]

MDMA channel x destination address register

Offset: 0x41c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DAR
rw
Toggle fields

DAR

Bits 0-31: Destination adr base.

BRUR [15]

MDMA channel x Block Repeat address Update register

Offset: 0x420, 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
DUV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SUV
rw
Toggle fields

SUV

Bits 0-15: source adresse update value.

DUV

Bits 16-31: destination address update.

LAR [15]

MDMA channel x Link Address register

Offset: 0x424, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LAR
rw
Toggle fields

LAR

Bits 0-31: Link address register.

TBR [15]

MDMA channel x Trigger and Bus selection Register

Offset: 0x428, 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
DBUS
rw
SBUS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSEL
rw
Toggle fields

TSEL

Bits 0-5: Trigger selection.

SBUS

Bit 16: Source BUS select This bit is protected and can be written only if EN is 0..

DBUS

Bit 17: Destination BUS slect This bit is protected and can be written only if EN is 0..

MAR [15]

MDMA channel x Mask address register

Offset: 0x430, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MAR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MAR
rw
Toggle fields

MAR

Bits 0-31: Mask address.

MDR [15]

MDMA channel x Mask Data register

Offset: 0x434, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MDR
rw
Toggle fields

MDR

Bits 0-31: Mask data.

MPU

0xe000ed90: Memory protection unit

3/19 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 TYPER
0x4 CTRL
0x8 RNR
0xc RBAR
0x10 RASR
Toggle registers

TYPER

MPU type register

Offset: 0x0, size: 32, reset: 0x00000800, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IREGION
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DREGION
r
SEPARATE
r
Toggle fields

SEPARATE

Bit 0: Separate flag.

DREGION

Bits 8-15: Number of MPU data regions.

IREGION

Bits 16-23: Number of MPU instruction regions.

CTRL

MPU control register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRIVDEFENA
rw
HFNMIENA
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: Enables the MPU.

HFNMIENA

Bit 1: Enables the operation of MPU during hard fault.

PRIVDEFENA

Bit 2: Enable priviliged software access to default memory map.

RNR

MPU region number register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REGION
rw
Toggle fields

REGION

Bits 0-7: MPU region.

RBAR

MPU region base address register

Offset: 0xc, 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
ADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ADDR
rw
VALID
rw
REGION
rw
Toggle fields

REGION

Bits 0-3: MPU region field.

VALID

Bit 4: MPU region number valid.

ADDR

Bits 5-31: Region base address field.

RASR

MPU region attribute and size register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
XN
rw
AP
rw
TEX
rw
S
rw
C
rw
B
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SRD
rw
SIZE
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: Region enable bit..

SIZE

Bits 1-5: Size of the MPU protection region.

SRD

Bits 8-15: Subregion disable bits.

B

Bit 16: memory attribute.

C

Bit 17: memory attribute.

S

Bit 18: Shareable memory attribute.

TEX

Bits 19-21: memory attribute.

AP

Bits 24-26: Access permission.

XN

Bit 28: Instruction access disable bit.

NVIC

0xe000e100: Nested Vectored Interrupt Controller

3/171 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 ISER0
0x4 ISER1
0x8 ISER2
0xc ISER3
0x80 ICER0
0x84 ICER1
0x88 ICER2
0x8c ICER3
0x100 ISPR0
0x104 ISPR1
0x108 ISPR2
0x10c ISPR3
0x180 ICPR0
0x184 ICPR1
0x188 ICPR2
0x1c0 ICPR3
0x200 IABR0
0x204 IABR1
0x208 IABR2
0x20c IABR3
0x300 IPR0
0x304 IPR1
0x308 IPR2
0x30c IPR3
0x310 IPR4
0x314 IPR5
0x318 IPR6
0x31c IPR7
0x320 IPR8
0x324 IPR9
0x328 IPR10
0x32c IPR11
0x330 IPR12
0x334 IPR13
0x338 IPR14
0x33c IPR15
0x340 IPR16
0x344 IPR17
0x348 IPR18
0x34c IPR19
0x350 IPR20
0x354 IPR21
0x358 IPR22
0x35c IPR23
0x360 IPR24
0x364 IPR25
0x368 IPR26
0x36c IPR27
0x370 IPR28
0x374 IPR29
0x378 IPR30
0x37c IPR31
0x380 IPR32
0x384 IPR33
0x388 IPR34
0x38c IPR35
0x390 IPR36
0x394 IPR37
0x398 IPR38
Toggle registers

ISER0

Interrupt Set-Enable Register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle fields

SETENA

Bits 0-31: SETENA.

ISER1

Interrupt Set-Enable 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
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle fields

SETENA

Bits 0-31: SETENA.

ISER2

Interrupt Set-Enable 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
SETENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETENA
rw
Toggle fields

SETENA

Bits 0-31: SETENA.

ISER3

Interrupt Set-Enable Register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

Toggle fields

ICER0

Interrupt Clear-Enable 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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle fields

CLRENA

Bits 0-31: CLRENA.

ICER1

Interrupt Clear-Enable Register

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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle fields

CLRENA

Bits 0-31: CLRENA.

ICER2

Interrupt Clear-Enable 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
CLRENA
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRENA
rw
Toggle fields

CLRENA

Bits 0-31: CLRENA.

ICER3

Interrupt Clear-Enable Register

Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write

Toggle fields

ISPR0

Interrupt Set-Pending 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle fields

SETPEND

Bits 0-31: SETPEND.

ISPR1

Interrupt Set-Pending 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle fields

SETPEND

Bits 0-31: SETPEND.

ISPR2

Interrupt Set-Pending 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
SETPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SETPEND
rw
Toggle fields

SETPEND

Bits 0-31: SETPEND.

ISPR3

Interrupt Set-Pending Register

Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write

Toggle fields

ICPR0

Interrupt Clear-Pending Register

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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle fields

CLRPEND

Bits 0-31: CLRPEND.

ICPR1

Interrupt Clear-Pending Register

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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle fields

CLRPEND

Bits 0-31: CLRPEND.

ICPR2

Interrupt Clear-Pending Register

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
CLRPEND
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLRPEND
rw
Toggle fields

CLRPEND

Bits 0-31: CLRPEND.

ICPR3

Interrupt Clear-Pending Register

Offset: 0x1c0, size: 32, reset: 0x00000000, access: read-write

Toggle fields

IABR0

Interrupt Active Bit Register

Offset: 0x200, 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
ACTIVE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
r
Toggle fields

ACTIVE

Bits 0-31: ACTIVE.

IABR1

Interrupt Active Bit Register

Offset: 0x204, 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
ACTIVE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
r
Toggle fields

ACTIVE

Bits 0-31: ACTIVE.

IABR2

Interrupt Active Bit Register

Offset: 0x208, 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
ACTIVE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTIVE
r
Toggle fields

ACTIVE

Bits 0-31: ACTIVE.

IABR3

Interrupt Active Bit Register

Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write

Toggle fields

IPR0

Interrupt Priority Register

Offset: 0x300, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR1

Interrupt Priority Register

Offset: 0x304, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR2

Interrupt Priority Register

Offset: 0x308, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR3

Interrupt Priority Register

Offset: 0x30c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR4

Interrupt Priority Register

Offset: 0x310, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR5

Interrupt Priority Register

Offset: 0x314, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR6

Interrupt Priority Register

Offset: 0x318, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR7

Interrupt Priority Register

Offset: 0x31c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR8

Interrupt Priority Register

Offset: 0x320, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR9

Interrupt Priority Register

Offset: 0x324, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR10

Interrupt Priority Register

Offset: 0x328, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR11

Interrupt Priority Register

Offset: 0x32c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR12

Interrupt Priority Register

Offset: 0x330, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR13

Interrupt Priority Register

Offset: 0x334, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR14

Interrupt Priority Register

Offset: 0x338, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR15

Interrupt Priority Register

Offset: 0x33c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR16

Interrupt Priority Register

Offset: 0x340, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR17

Interrupt Priority Register

Offset: 0x344, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR18

Interrupt Priority Register

Offset: 0x348, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR19

Interrupt Priority Register

Offset: 0x34c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR20

Interrupt Priority Register

Offset: 0x350, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR21

Interrupt Priority Register

Offset: 0x354, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR22

Interrupt Priority Register

Offset: 0x358, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR23

Interrupt Priority Register

Offset: 0x35c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR24

Interrupt Priority Register

Offset: 0x360, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR25

Interrupt Priority Register

Offset: 0x364, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR26

Interrupt Priority Register

Offset: 0x368, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR27

Interrupt Priority Register

Offset: 0x36c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR28

Interrupt Priority Register

Offset: 0x370, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR29

Interrupt Priority Register

Offset: 0x374, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR30

Interrupt Priority Register

Offset: 0x378, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR31

Interrupt Priority Register

Offset: 0x37c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR32

Interrupt Priority Register

Offset: 0x380, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR33

Interrupt Priority Register

Offset: 0x384, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR34

Interrupt Priority Register

Offset: 0x388, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR35

Interrupt Priority Register

Offset: 0x38c, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR36

Interrupt Priority Register

Offset: 0x390, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR37

Interrupt Priority Register

Offset: 0x394, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

IPR38

Interrupt Priority Register

Offset: 0x398, 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
IPR_N3
rw
IPR_N2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPR_N1
rw
IPR_N0
rw
Toggle fields

IPR_N0

Bits 0-7: IPR_N0.

IPR_N1

Bits 8-15: IPR_N1.

IPR_N2

Bits 16-23: IPR_N2.

IPR_N3

Bits 24-31: IPR_N3.

NVIC_STIR

0xe000ef00: Nested vectored interrupt controller

0/1 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 STIR
Toggle registers

STIR

Software trigger interrupt register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INTID
rw
Toggle fields

INTID

Bits 0-8: Software generated interrupt ID.

OPAMP

0x40009000: Operational amplifiers

0/29 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 OPAMP1_CSR
0x4 OPAMP1_OTR
0x8 OPAMP1_HSOTR
0x10 OPAMP2_CSR
0x14 OPAMP2_OTR
0x18 OPAMP2_HSOTR
Toggle registers

OPAMP1_CSR

OPAMP1 control/status register

Offset: 0x0, 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
CALOUT
rw
TSTREF
rw
USERTRIM
rw
PGA_GAIN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PGA_GAIN
rw
CALSEL
rw
CALON
rw
OPAHSM
rw
VM_SEL
rw
VP_SEL
rw
FORCE_VP
rw
OPAEN
rw
Toggle fields

OPAEN

Bit 0: Operational amplifier Enable.

FORCE_VP

Bit 1: Force internal reference on VP (reserved for test.

VP_SEL

Bits 2-3: Operational amplifier PGA mode.

VM_SEL

Bits 5-6: Inverting input selection.

OPAHSM

Bit 8: Operational amplifier high-speed mode.

CALON

Bit 11: Calibration mode enabled.

CALSEL

Bits 12-13: Calibration selection.

PGA_GAIN

Bits 14-17: allows to switch from AOP offset trimmed values to AOP offset.

USERTRIM

Bit 18: User trimming enable.

TSTREF

Bit 29: OPAMP calibration reference voltage output control (reserved for test).

CALOUT

Bit 30: Operational amplifier calibration output.

OPAMP1_OTR

OPAMP1 offset trimming register in normal mode

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TRIMOFFSETP
rw
TRIMOFFSETN
rw
Toggle fields

TRIMOFFSETN

Bits 0-4: Trim for NMOS differential pairs.

TRIMOFFSETP

Bits 8-12: Trim for PMOS differential pairs.

OPAMP1_HSOTR

OPAMP1 offset trimming register in low-power mode

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
TRIMLPOFFSETP
rw
TRIMLPOFFSETN
rw
Toggle fields

TRIMLPOFFSETN

Bits 0-4: Trim for NMOS differential pairs.

TRIMLPOFFSETP

Bits 8-12: Trim for PMOS differential pairs.

OPAMP2_CSR

OPAMP2 control/status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CALOUT
rw
TSTREF
rw
USERTRIM
rw
PGA_GAIN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PGA_GAIN
rw
CALSEL
rw
CALON
rw
OPAHSM
rw
VM_SEL
rw
FORCE_VP
rw
OPAEN
rw
Toggle fields

OPAEN

Bit 0: Operational amplifier Enable.

FORCE_VP

Bit 1: Force internal reference on VP (reserved for test).

VM_SEL

Bits 5-6: Inverting input selection.

OPAHSM

Bit 8: Operational amplifier high-speed mode.

CALON

Bit 11: Calibration mode enabled.

CALSEL

Bits 12-13: Calibration selection.

PGA_GAIN

Bits 14-17: Operational amplifier Programmable amplifier gain value.

USERTRIM

Bit 18: User trimming enable.

TSTREF

Bit 29: OPAMP calibration reference voltage output control (reserved for test).

CALOUT

Bit 30: Operational amplifier calibration output.

OPAMP2_OTR

OPAMP2 offset trimming register in normal mode

Offset: 0x14, 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
TRIMOFFSETP
rw
TRIMOFFSETN
rw
Toggle fields

TRIMOFFSETN

Bits 0-4: Trim for NMOS differential pairs.

TRIMOFFSETP

Bits 8-12: Trim for PMOS differential pairs.

OPAMP2_HSOTR

OPAMP2 offset trimming register in low-power mode

Offset: 0x18, 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
TRIMLPOFFSETP
rw
TRIMLPOFFSETN
rw
Toggle fields

TRIMLPOFFSETN

Bits 0-4: Trim for NMOS differential pairs.

TRIMLPOFFSETP

Bits 8-12: Trim for PMOS differential pairs.

OTG1_HS_DEVICE

0x40040800: USB 1 on the go high speed

65/535 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 DCFG
0x4 DCTL
0x8 DSTS
0x10 DIEPMSK
0x14 DOEPMSK
0x18 DAINT
0x1c DAINTMSK
0x28 DVBUSDIS
0x2c DVBUSPULSE
0x30 DTHRCTL
0x34 DIEPEMPMSK
0x38 DEACHINT
0x3c DEACHINTMSK
0x44 DIEPEACHMSK1
0x84 DOEPEACHMSK1
0x100 CTL [0]
0x108 INT [0]
0x110 TSIZ [0]
0x114 DMA [0]
0x118 TXFSTS [0]
0x120 CTL [1]
0x128 INT [1]
0x130 TSIZ [1]
0x134 DMA [1]
0x138 TXFSTS [1]
0x140 CTL [2]
0x148 INT [2]
0x150 TSIZ [2]
0x154 DMA [2]
0x158 TXFSTS [2]
0x160 CTL [3]
0x168 INT [3]
0x170 TSIZ [3]
0x174 DMA [3]
0x178 TXFSTS [3]
0x180 CTL [4]
0x188 INT [4]
0x190 TSIZ [4]
0x194 DMA [4]
0x198 TXFSTS [4]
0x1a0 CTL [5]
0x1a8 INT [5]
0x1b0 TSIZ [5]
0x1b4 DMA [5]
0x1b8 TXFSTS [5]
0x1c0 CTL [6]
0x1c8 INT [6]
0x1d0 TSIZ [6]
0x1d4 DMA [6]
0x1d8 TXFSTS [6]
0x1e0 CTL [7]
0x1e8 INT [7]
0x1f0 TSIZ [7]
0x1f4 DMA [7]
0x1f8 TXFSTS [7]
0x200 CTL [8]
0x208 INT [8]
0x210 TSIZ [8]
0x214 DMA [8]
0x218 TXFSTS [8]
0x300 CTL [0]
0x308 INT [0]
0x310 TSIZ [0]
0x314 DMA [0]
0x320 CTL [1]
0x328 INT [1]
0x330 TSIZ [1]
0x334 DMA [1]
0x340 CTL [2]
0x348 INT [2]
0x350 TSIZ [2]
0x354 DMA [2]
0x360 CTL [3]
0x368 INT [3]
0x370 TSIZ [3]
0x374 DMA [3]
0x380 CTL [4]
0x388 INT [4]
0x390 TSIZ [4]
0x394 DMA [4]
0x3a0 CTL [5]
0x3a8 INT [5]
0x3b0 TSIZ [5]
0x3b4 DMA [5]
0x3c0 CTL [6]
0x3c8 INT [6]
0x3d0 TSIZ [6]
0x3d4 DMA [6]
0x3e0 CTL [7]
0x3e8 INT [7]
0x3f0 TSIZ [7]
0x3f4 DMA [7]
0x400 CTL [8]
0x408 INT [8]
0x410 TSIZ [8]
0x414 DMA [8]
Toggle registers

DCFG

OTG_HS device configuration register

Offset: 0x0, size: 32, reset: 0x02200000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PERSCHIVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PFIVL
rw
DAD
rw
NZLSOHSK
rw
DSPD
rw
Toggle fields

DSPD

Bits 0-1: Device speed.

NZLSOHSK

Bit 2: Nonzero-length status OUT handshake.

DAD

Bits 4-10: Device address.

PFIVL

Bits 11-12: Periodic (micro)frame interval.

PERSCHIVL

Bits 24-25: Periodic scheduling interval.

DCTL

OTG_HS device control register

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POPRGDNE
rw
CGONAK
w
SGONAK
w
CGINAK
w
SGINAK
w
TCTL
rw
GONSTS
r
GINSTS
r
SDIS
rw
RWUSIG
rw
Toggle fields

RWUSIG

Bit 0: Remote wakeup signaling.

SDIS

Bit 1: Soft disconnect.

GINSTS

Bit 2: Global IN NAK status.

GONSTS

Bit 3: Global OUT NAK status.

TCTL

Bits 4-6: Test control.

SGINAK

Bit 7: Set global IN NAK.

CGINAK

Bit 8: Clear global IN NAK.

SGONAK

Bit 9: Set global OUT NAK.

CGONAK

Bit 10: Clear global OUT NAK.

POPRGDNE

Bit 11: Power-on programming done.

DSTS

OTG_HS device status register

Offset: 0x8, size: 32, reset: 0x00000010, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FNSOF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FNSOF
r
EERR
r
ENUMSPD
r
SUSPSTS
r
Toggle fields

SUSPSTS

Bit 0: Suspend status.

ENUMSPD

Bits 1-2: Enumerated speed.

EERR

Bit 3: Erratic error.

FNSOF

Bits 8-21: Frame number of the received SOF.

DIEPMSK

OTG_HS device IN endpoint common interrupt mask register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BIM
rw
TXFURM
rw
INEPNEM
rw
INEPNMM
rw
ITTXFEMSK
rw
TOM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

TOM

Bit 3: Timeout condition mask (nonisochronous endpoints).

ITTXFEMSK

Bit 4: IN token received when TxFIFO empty mask.

INEPNMM

Bit 5: IN token received with EP mismatch mask.

INEPNEM

Bit 6: IN endpoint NAK effective mask.

TXFURM

Bit 8: FIFO underrun mask.

BIM

Bit 9: BNA interrupt mask.

DOEPMSK

OTG_HS device OUT endpoint common interrupt mask register

Offset: 0x14, 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
BOIM
rw
OPEM
rw
B2BSTUP
rw
OTEPDM
rw
STUPM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

STUPM

Bit 3: SETUP phase done mask.

OTEPDM

Bit 4: OUT token received when endpoint disabled mask.

B2BSTUP

Bit 6: Back-to-back SETUP packets received mask.

OPEM

Bit 8: OUT packet error mask.

BOIM

Bit 9: BNA interrupt mask.

DAINT

OTG_HS device all endpoints interrupt register

Offset: 0x18, 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
OEPINT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEPINT
r
Toggle fields

IEPINT

Bits 0-15: IN endpoint interrupt bits.

OEPINT

Bits 16-31: OUT endpoint interrupt bits.

DAINTMSK

OTG_HS all endpoints interrupt mask register

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
OEPM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEPM
rw
Toggle fields

IEPM

Bits 0-15: IN EP interrupt mask bits.

OEPM

Bits 16-31: OUT EP interrupt mask bits.

DVBUSDIS

OTG_HS device VBUS discharge time register

Offset: 0x28, size: 32, reset: 0x000017D7, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBUSDT
rw
Toggle fields

VBUSDT

Bits 0-15: Device VBUS discharge time.

DVBUSPULSE

OTG_HS device VBUS pulsing time register

Offset: 0x2c, size: 32, reset: 0x000005B8, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DVBUSP
rw
Toggle fields

DVBUSP

Bits 0-11: Device VBUS pulsing time.

DTHRCTL

OTG_HS Device threshold control register

Offset: 0x30, 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
ARPEN
rw
RXTHRLEN
rw
RXTHREN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTHRLEN
rw
ISOTHREN
rw
NONISOTHREN
rw
Toggle fields

NONISOTHREN

Bit 0: Nonisochronous IN endpoints threshold enable.

ISOTHREN

Bit 1: ISO IN endpoint threshold enable.

TXTHRLEN

Bits 2-10: Transmit threshold length.

RXTHREN

Bit 16: Receive threshold enable.

RXTHRLEN

Bits 17-25: Receive threshold length.

ARPEN

Bit 27: Arbiter parking enable.

DIEPEMPMSK

OTG_HS device IN endpoint FIFO empty interrupt mask 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
INEPTXFEM
rw
Toggle fields

INEPTXFEM

Bits 0-15: IN EP Tx FIFO empty interrupt mask bits.

DEACHINT

OTG_HS device each endpoint interrupt 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
OEP1INT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEP1INT
rw
Toggle fields

IEP1INT

Bit 1: IN endpoint 1interrupt bit.

OEP1INT

Bit 17: OUT endpoint 1 interrupt bit.

DEACHINTMSK

OTG_HS device each endpoint interrupt register mask

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
OEP1INTM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEP1INTM
rw
Toggle fields

IEP1INTM

Bit 1: IN Endpoint 1 interrupt mask bit.

OEP1INTM

Bit 17: OUT Endpoint 1 interrupt mask bit.

DIEPEACHMSK1

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAKM
rw
BNAM
rw
TXFURM
rw
INEPNEM
rw
ITTXFEMSK
rw
TOM
rw
AHBERRM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

AHBERRM

Bit 2: AHB error mask.

TOM

Bit 3: Timeout condition mask (Non-isochronous endpoints).

ITTXFEMSK

Bit 4: IN token received when TxFIFO empty mask.

INEPNEM

Bit 6: IN endpoint NAK effective mask.

TXFURM

Bit 8: FIFO underrun mask.

BNAM

Bit 9: BNA interrupt mask.

NAKM

Bit 13: NAK interrupt mask.

DOEPEACHMSK1

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NYETMSK
rw
NAKMSK
rw
BERRM
rw
BNAM
rw
OUTPKTERRM
rw
B2BSTUPM
rw
OTEPDM
rw
STUPM
rw
AHBERRM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

AHBERRM

Bit 2: AHB error mask.

STUPM

Bit 3: SETUP phase done mask.

OTEPDM

Bit 4: OUT token received when endpoint disabled mask.

B2BSTUPM

Bit 6: Back-to-back SETUP packets received mask.

OUTPKTERRM

Bit 8: Out packet error mask.

BNAM

Bit 9: BNA interrupt mask.

BERRM

Bit 12: Babble error interrupt mask.

NAKMSK

Bit 13: NAK interrupt mask.

NYETMSK

Bit 14: NYET interrupt mask.

CTL [0]

OTG device endpoint-0 control register

Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [0]

OTG device endpoint-0 interrupt register

Offset: 0x108, size: 32, reset: 0x00000080, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [0]

OTG_HS device IN endpoint 0 transfer size register

Offset: 0x110, 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
PKTCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-6: Transfer size.

PKTCNT

Bits 19-20: Packet count.

DMA [0]

OTG_HS device endpoint-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [0]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x118, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [1]

OTG device endpoint-1 control register

Offset: 0x120, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [1]

OTG device endpoint-1 interrupt register

Offset: 0x128, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [1]

OTG_HS device endpoint transfer size register

Offset: 0x130, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [1]

OTG_HS device endpoint-1 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [1]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x138, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [2]

OTG device endpoint-1 control register

Offset: 0x140, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [2]

OTG device endpoint-1 interrupt register

Offset: 0x148, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [2]

OTG_HS device endpoint transfer size register

Offset: 0x150, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [2]

OTG_HS device endpoint-1 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [2]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x158, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [3]

OTG device endpoint-1 control register

Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [3]

OTG device endpoint-1 interrupt register

Offset: 0x168, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [3]

OTG_HS device endpoint transfer size register

Offset: 0x170, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [3]

OTG_HS device endpoint-1 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [3]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x178, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [4]

OTG device endpoint-1 control register

Offset: 0x180, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [4]

OTG device endpoint-1 interrupt register

Offset: 0x188, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [4]

OTG_HS device endpoint transfer size register

Offset: 0x190, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [4]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [4]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x198, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [5]

OTG device endpoint-1 control register

Offset: 0x1a0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [5]

OTG device endpoint-1 interrupt register

Offset: 0x1a8, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [5]

OTG_HS device endpoint transfer size register

Offset: 0x1b0, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [5]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [5]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x1b8, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [6]

OTG device endpoint-1 control register

Offset: 0x1c0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [6]

OTG device endpoint-1 interrupt register

Offset: 0x1c8, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [6]

OTG_HS device endpoint transfer size register

Offset: 0x1d0, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [6]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [6]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x1d8, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [7]

OTG device endpoint-1 control register

Offset: 0x1e0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [7]

OTG device endpoint-1 interrupt register

Offset: 0x1e8, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [7]

OTG_HS device endpoint transfer size register

Offset: 0x1f0, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [7]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [7]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x1f8, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [8]

OTG device endpoint-1 control register

Offset: 0x200, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [8]

OTG device endpoint-1 interrupt register

Offset: 0x208, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [8]

OTG_HS device endpoint transfer size register

Offset: 0x210, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [8]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [8]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x218, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [0]

OTG_HS device control OUT endpoint 0 control register

Offset: 0x300, size: 32, reset: 0x00008000, access: Unspecified

5/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
r
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
r
NAKSTS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
r
MPSIZ
r
Toggle fields

MPSIZ

Bits 0-1: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [0]

OTG_HS device endpoint-0 interrupt register

Offset: 0x308, size: 32, reset: 0x00000080, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [0]

OTG_HS device endpoint-0 transfer size register

Offset: 0x310, 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
STUPCNT
rw
PKTCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-6: Transfer size.

PKTCNT

Bit 19: Packet count.

STUPCNT

Bits 29-30: SETUP packet count.

DMA [0]

OTG_HS device endpoint-0 DMA address register

Offset: 0x314, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [1]

OTG device endpoint-1 control register

Offset: 0x320, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [1]

OTG_HS device endpoint-1 interrupt register

Offset: 0x328, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [1]

OTG_HS device endpoint-1 transfer size register

Offset: 0x330, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [1]

OTG_HS device endpoint-1 DMA address register

Offset: 0x334, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [2]

OTG device endpoint-1 control register

Offset: 0x340, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [2]

OTG_HS device endpoint-1 interrupt register

Offset: 0x348, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [2]

OTG_HS device endpoint-1 transfer size register

Offset: 0x350, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [2]

OTG_HS device endpoint-1 DMA address register

Offset: 0x354, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [3]

OTG device endpoint-1 control register

Offset: 0x360, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [3]

OTG_HS device endpoint-1 interrupt register

Offset: 0x368, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [3]

OTG_HS device endpoint-1 transfer size register

Offset: 0x370, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [3]

OTG_HS device endpoint-1 DMA address register

Offset: 0x374, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [4]

OTG device endpoint-1 control register

Offset: 0x380, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [4]

OTG_HS device endpoint-1 interrupt register

Offset: 0x388, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [4]

OTG_HS device endpoint-1 transfer size register

Offset: 0x390, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [4]

OTG_HS device endpoint-1 DMA address register

Offset: 0x394, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [5]

OTG device endpoint-1 control register

Offset: 0x3a0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [5]

OTG_HS device endpoint-1 interrupt register

Offset: 0x3a8, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [5]

OTG_HS device endpoint-1 transfer size register

Offset: 0x3b0, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [5]

OTG_HS device endpoint-1 DMA address register

Offset: 0x3b4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [6]

OTG device endpoint-1 control register

Offset: 0x3c0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [6]

OTG_HS device endpoint-1 interrupt register

Offset: 0x3c8, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [6]

OTG_HS device endpoint-1 transfer size register

Offset: 0x3d0, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [6]

OTG_HS device endpoint-1 DMA address register

Offset: 0x3d4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [7]

OTG device endpoint-1 control register

Offset: 0x3e0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [7]

OTG_HS device endpoint-1 interrupt register

Offset: 0x3e8, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [7]

OTG_HS device endpoint-1 transfer size register

Offset: 0x3f0, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [7]

OTG_HS device endpoint-1 DMA address register

Offset: 0x3f4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [8]

OTG device endpoint-1 control register

Offset: 0x400, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [8]

OTG_HS device endpoint-1 interrupt register

Offset: 0x408, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [8]

OTG_HS device endpoint-1 transfer size register

Offset: 0x410, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [8]

OTG_HS device endpoint-1 DMA address register

Offset: 0x414, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

OTG1_HS_GLOBAL

0x40040000: USB 1 on the go high speed

48/179 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 GOTGCTL
0x4 GOTGINT
0x8 GAHBCFG
0xc GUSBCFG
0x10 GRSTCTL
0x14 GINTSTS
0x18 GINTMSK
0x1c GRXSTSR_Device
0x1c GRXSTSR_Host
0x20 GRXSTSP_Device
0x20 GRXSTSP_Host
0x24 GRXFSIZ
0x28 DIEPTXF0
0x28 HNPTXFSIZ
0x2c HNPTXSTS
0x38 GCCFG
0x3c CID
0x54 GLPMCFG
0x100 HPTXFSIZ
0x104 DIEPTXF[1]
0x108 DIEPTXF[2]
0x10c DIEPTXF[3]
0x110 DIEPTXF[4]
0x114 DIEPTXF[5]
0x118 DIEPTXF6
0x11c DIEPTXF7
0x120 DIEPTXF8
Toggle registers

GOTGCTL

OTG_HS control and status register

Offset: 0x0, size: 32, reset: 0x00000800, access: Unspecified

7/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CURMOD
r
OTGVER
rw
BSVLD
r
ASVLD
r
DBCT
r
CIDSTS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EHEN
rw
DHNPEN
rw
HSHNPEN
rw
HNPRQ
rw
HNGSCS
r
BVALOVAL
rw
BVALOEN
rw
AVALOVAL
rw
AVALOEN
rw
VBVALOVAL
rw
VBVALOEN
rw
SRQ
rw
SRQSCS
r
Toggle fields

SRQSCS

Bit 0: Session request success.

SRQ

Bit 1: Session request.

VBVALOEN

Bit 2: V_BUS valid override enable.

VBVALOVAL

Bit 3: V_BUS valid override value.

AVALOEN

Bit 4: A-peripheral session valid override enable.

AVALOVAL

Bit 5: A-peripheral session valid override value.

BVALOEN

Bit 6: B-peripheral session valid override enable.

BVALOVAL

Bit 7: B-peripheral session valid override value.

HNGSCS

Bit 8: Host negotiation success.

HNPRQ

Bit 9: HNP request.

HSHNPEN

Bit 10: Host set HNP enable.

DHNPEN

Bit 11: Device HNP enabled.

EHEN

Bit 12: Embedded host enable.

CIDSTS

Bit 16: Connector ID status.

DBCT

Bit 17: Long/short debounce time.

ASVLD

Bit 18: A-session valid.

BSVLD

Bit 19: B-session valid.

OTGVER

Bit 20: OTG version.

CURMOD

Bit 21: Current mode of operation.

GOTGINT

OTG_HS interrupt register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IDCHNG
rw
DBCDNE
rw
ADTOCHG
rw
HNGDET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HNSSCHG
rw
SRSSCHG
rw
SEDET
rw
Toggle fields

SEDET

Bit 2: Session end detected.

SRSSCHG

Bit 8: Session request success status change.

HNSSCHG

Bit 9: Host negotiation success status change.

HNGDET

Bit 17: Host negotiation detected.

ADTOCHG

Bit 18: A-device timeout change.

DBCDNE

Bit 19: Debounce done.

IDCHNG

Bit 20: ID input pin changed.

GAHBCFG

OTG_HS AHB configuration register

Offset: 0x8, 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
PTXFELVL
rw
TXFELVL
rw
DMAEN
rw
HBSTLEN
rw
GINT
rw
Toggle fields

GINT

Bit 0: Global interrupt mask.

HBSTLEN

Bits 1-4: Burst length/type.

DMAEN

Bit 5: DMA enable.

TXFELVL

Bit 7: TxFIFO empty level.

PTXFELVL

Bit 8: Periodic TxFIFO empty level.

GUSBCFG

OTG_HS USB configuration register

Offset: 0xc, size: 32, reset: 0x00000A00, access: Unspecified

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDMOD
rw
FHMOD
rw
ULPIIPD
rw
PTCI
rw
PCCI
rw
TSDPS
rw
ULPIEVBUSI
rw
ULPIEVBUSD
rw
ULPICSM
rw
ULPIAR
rw
ULPIFSLS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PHYLPCS
rw
TRDT
rw
HNPCAP
rw
SRPCAP
rw
PHYSEL
w
TOCAL
rw
Toggle fields

TOCAL

Bits 0-2: FS timeout calibration.

PHYSEL

Bit 6: USB 2.0 high-speed ULPI PHY or USB 1.1 full-speed serial transceiver select.

SRPCAP

Bit 8: SRP-capable.

HNPCAP

Bit 9: HNP-capable.

TRDT

Bits 10-13: USB turnaround time.

PHYLPCS

Bit 15: PHY Low-power clock select.

ULPIFSLS

Bit 17: ULPI FS/LS select.

ULPIAR

Bit 18: ULPI Auto-resume.

ULPICSM

Bit 19: ULPI Clock SuspendM.

ULPIEVBUSD

Bit 20: ULPI External VBUS Drive.

ULPIEVBUSI

Bit 21: ULPI external VBUS indicator.

TSDPS

Bit 22: TermSel DLine pulsing selection.

PCCI

Bit 23: Indicator complement.

PTCI

Bit 24: Indicator pass through.

ULPIIPD

Bit 25: ULPI interface protect disable.

FHMOD

Bit 29: Forced host mode.

FDMOD

Bit 30: Forced peripheral mode.

GRSTCTL

OTG_HS reset register

Offset: 0x10, size: 32, reset: 0x20000000, access: Unspecified

2/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AHBIDL
r
DMAREQ
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFNUM
rw
TXFFLSH
rw
RXFFLSH
rw
FCRST
rw
HSRST
rw
CSRST
rw
Toggle fields

CSRST

Bit 0: Core soft reset.

HSRST

Bit 1: HCLK soft reset.

FCRST

Bit 2: Host frame counter reset.

RXFFLSH

Bit 4: RxFIFO flush.

TXFFLSH

Bit 5: TxFIFO flush.

TXFNUM

Bits 6-10: TxFIFO number.

DMAREQ

Bit 30: DMA request signal enabled for USB OTG HS.

AHBIDL

Bit 31: AHB master idle.

GINTSTS

OTG_HS core interrupt register

Offset: 0x14, size: 32, reset: 0x04000020, access: Unspecified

11/26 fields covered.

Toggle fields

CMOD

Bit 0: Current mode of operation.

MMIS

Bit 1: Mode mismatch interrupt.

OTGINT

Bit 2: OTG interrupt.

SOF

Bit 3: Start of frame.

RXFLVL

Bit 4: RxFIFO nonempty.

NPTXFE

Bit 5: Nonperiodic TxFIFO empty.

GINAKEFF

Bit 6: Global IN nonperiodic NAK effective.

BOUTNAKEFF

Bit 7: Global OUT NAK effective.

ESUSP

Bit 10: Early suspend.

USBSUSP

Bit 11: USB suspend.

USBRST

Bit 12: USB reset.

ENUMDNE

Bit 13: Enumeration done.

ISOODRP

Bit 14: Isochronous OUT packet dropped interrupt.

EOPF

Bit 15: End of periodic frame interrupt.

IEPINT

Bit 18: IN endpoint interrupt.

OEPINT

Bit 19: OUT endpoint interrupt.

IISOIXFR

Bit 20: Incomplete isochronous IN transfer.

PXFR_INCOMPISOOUT

Bit 21: Incomplete periodic transfer.

DATAFSUSP

Bit 22: Data fetch suspended.

HPRTINT

Bit 24: Host port interrupt.

HCINT

Bit 25: Host channels interrupt.

PTXFE

Bit 26: Periodic TxFIFO empty.

CIDSCHG

Bit 28: Connector ID status change.

DISCINT

Bit 29: Disconnect detected interrupt.

SRQINT

Bit 30: Session request/new session detected interrupt.

WKUINT

Bit 31: Resume/remote wakeup detected interrupt.

GINTMSK

OTG_HS interrupt mask register

Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified

1/27 fields covered.

Toggle fields

MMISM

Bit 1: Mode mismatch interrupt mask.

OTGINT

Bit 2: OTG interrupt mask.

SOFM

Bit 3: Start of frame mask.

RXFLVLM

Bit 4: Receive FIFO nonempty mask.

NPTXFEM

Bit 5: Nonperiodic TxFIFO empty mask.

GINAKEFFM

Bit 6: Global nonperiodic IN NAK effective mask.

GONAKEFFM

Bit 7: Global OUT NAK effective mask.

ESUSPM

Bit 10: Early suspend mask.

USBSUSPM

Bit 11: USB suspend mask.

USBRST

Bit 12: USB reset mask.

ENUMDNEM

Bit 13: Enumeration done mask.

ISOODRPM

Bit 14: Isochronous OUT packet dropped interrupt mask.

EOPFM

Bit 15: End of periodic frame interrupt mask.

IEPINT

Bit 18: IN endpoints interrupt mask.

OEPINT

Bit 19: OUT endpoints interrupt mask.

IISOIXFRM

Bit 20: Incomplete isochronous IN transfer mask.

PXFRM_IISOOXFRM

Bit 21: Incomplete periodic transfer mask.

FSUSPM

Bit 22: Data fetch suspended mask.

RSTDE

Bit 23: Reset detected interrupt mask.

PRTIM

Bit 24: Host port interrupt mask.

HCIM

Bit 25: Host channels interrupt mask.

PTXFEM

Bit 26: Periodic TxFIFO empty mask.

LPMINTM

Bit 27: LPM interrupt mask.

CIDSCHGM

Bit 28: Connector ID status change mask.

DISCINT

Bit 29: Disconnect detected interrupt mask.

SRQIM

Bit 30: Session request/new session detected interrupt mask.

WUIM

Bit 31: Resume/remote wakeup detected interrupt mask.

GRXSTSR_Device

OTG_HS Receive status debug read register (peripheral mode mode)

Offset: 0x1c, 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
FRMNUM
r
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
EPNUM
r
Toggle fields

EPNUM

Bits 0-3: Endpoint number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

FRMNUM

Bits 21-24: Frame number.

GRXSTSR_Host

OTG_HS Receive status debug read register (host mode)

Offset: 0x1c, 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
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
CHNUM
r
Toggle fields

CHNUM

Bits 0-3: Channel number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

GRXSTSP_Device

OTG_HS status read and pop register (peripheral mode)

Offset: 0x20, 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
FRMNUM
r
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
EPNUM
r
Toggle fields

EPNUM

Bits 0-3: Endpoint number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

FRMNUM

Bits 21-24: Frame number.

GRXSTSP_Host

OTG_HS status read and pop register (host mode)

Offset: 0x20, 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
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
CHNUM
r
Toggle fields

CHNUM

Bits 0-3: Channel number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

GRXFSIZ

OTG_HS Receive FIFO size register

Offset: 0x24, size: 32, reset: 0x00000200, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXFD
rw
Toggle fields

RXFD

Bits 0-15: RxFIFO depth.

DIEPTXF0

Endpoint 0 transmit FIFO size (peripheral mode)

Offset: 0x28, size: 32, reset: 0x00000200, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TX0FD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TX0FSA
rw
Toggle fields

TX0FSA

Bits 0-15: Endpoint 0 transmit RAM start address.

TX0FD

Bits 16-31: Endpoint 0 TxFIFO depth.

HNPTXFSIZ

OTG_HS nonperiodic transmit FIFO size register (host mode)

Offset: 0x28, size: 32, reset: 0x00000200, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NPTXFSA
rw
Toggle fields

NPTXFSA

Bits 0-15: Nonperiodic transmit RAM start address.

NPTXFD

Bits 16-31: Nonperiodic TxFIFO depth.

HNPTXSTS

OTG_HS nonperiodic transmit FIFO/queue status register

Offset: 0x2c, size: 32, reset: 0x00080200, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NPTXQTOP
r
NPTQXSAV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NPTXFSAV
r
Toggle fields

NPTXFSAV

Bits 0-15: Nonperiodic TxFIFO space available.

NPTQXSAV

Bits 16-23: Nonperiodic transmit request queue space available.

NPTXQTOP

Bits 24-30: Top of the nonperiodic transmit request queue.

GCCFG

OTG_HS general core configuration register

Offset: 0x38, 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
VBDEN
rw
SDEN
rw
PDEN
rw
DCDEN
rw
BCDEN
rw
PWRDWN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PS2DET
rw
SDET
rw
PDET
rw
DCDET
rw
Toggle fields

DCDET

Bit 0: Data contact detection (DCD) status.

PDET

Bit 1: Primary detection (PD) status.

SDET

Bit 2: Secondary detection (SD) status.

PS2DET

Bit 3: DM pull-up detection status.

PWRDWN

Bit 16: Power down.

BCDEN

Bit 17: Battery charging detector (BCD) enable.

DCDEN

Bit 18: Data contact detection (DCD) mode enable.

PDEN

Bit 19: Primary detection (PD) mode enable.

SDEN

Bit 20: Secondary detection (SD) mode enable.

VBDEN

Bit 21: USB VBUS detection enable.

CID

OTG_HS core ID register

Offset: 0x3c, size: 32, reset: 0x00001200, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRODUCT_ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRODUCT_ID
rw
Toggle fields

PRODUCT_ID

Bits 0-31: Product ID field.

GLPMCFG

OTG core LPM configuration register

Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified

6/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ENBESL
rw
LPMRCNTSTS
r
SNDLPM
rw
LPMRCNT
rw
LPMCHIDX
rw
L1RSMOK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SLPSTS
r
LPMRST
r
L1DSEN
rw
BESLTHRS
rw
L1SSEN
rw
REMWAKE
r
BESL
r
LPMACK
rw
LPMEN
rw
Toggle fields

LPMEN

Bit 0: LPM support enable.

LPMACK

Bit 1: LPM token acknowledge enable.

BESL

Bits 2-5: Best effort service latency.

REMWAKE

Bit 6: bRemoteWake value.

L1SSEN

Bit 7: L1 Shallow Sleep enable.

BESLTHRS

Bits 8-11: BESL threshold.

L1DSEN

Bit 12: L1 deep sleep enable.

LPMRST

Bits 13-14: LPM response.

SLPSTS

Bit 15: Port sleep status.

L1RSMOK

Bit 16: Sleep State Resume OK.

LPMCHIDX

Bits 17-20: LPM Channel Index.

LPMRCNT

Bits 21-23: LPM retry count.

SNDLPM

Bit 24: Send LPM transaction.

LPMRCNTSTS

Bits 25-27: LPM retry count status.

ENBESL

Bit 28: Enable best effort service latency.

HPTXFSIZ

OTG_HS Host periodic transmit FIFO size register

Offset: 0x100, size: 32, reset: 0x02000600, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PTXSA
rw
Toggle fields

PTXSA

Bits 0-15: Host periodic TxFIFO start address.

PTXFD

Bits 16-31: Host periodic TxFIFO depth.

DIEPTXF[1]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x104, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[2]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x108, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[3]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x10c, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[4]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x110, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[5]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x114, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF6

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x118, size: 32, reset: 0x02000E00, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF7

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x11c, size: 32, reset: 0x02001000, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF8

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x120, size: 32, reset: 0x02001200, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

OTG1_HS_HOST

0x40040400: USB 1 on the go high speed

10/679 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 HCFG
0x4 HFIR
0x8 HFNUM
0x10 HPTXSTS
0x14 HAINT
0x18 HAINTMSK
0x40 HPRT
0x100 CHAR [0]
0x104 SPLT [0]
0x108 INT [0]
0x10c INTMSK [0]
0x110 TSIZ [0]
0x114 DMA [0]
0x120 CHAR [1]
0x124 SPLT [1]
0x128 INT [1]
0x12c INTMSK [1]
0x130 TSIZ [1]
0x134 DMA [1]
0x140 CHAR [2]
0x144 SPLT [2]
0x148 INT [2]
0x14c INTMSK [2]
0x150 TSIZ [2]
0x154 DMA [2]
0x160 CHAR [3]
0x164 SPLT [3]
0x168 INT [3]
0x16c INTMSK [3]
0x170 TSIZ [3]
0x174 DMA [3]
0x180 CHAR [4]
0x184 SPLT [4]
0x188 INT [4]
0x18c INTMSK [4]
0x190 TSIZ [4]
0x194 DMA [4]
0x1a0 CHAR [5]
0x1a4 SPLT [5]
0x1a8 INT [5]
0x1ac INTMSK [5]
0x1b0 TSIZ [5]
0x1b4 DMA [5]
0x1c0 CHAR [6]
0x1c4 SPLT [6]
0x1c8 INT [6]
0x1cc INTMSK [6]
0x1d0 TSIZ [6]
0x1d4 DMA [6]
0x1e0 CHAR [7]
0x1e4 SPLT [7]
0x1e8 INT [7]
0x1ec INTMSK [7]
0x1f0 TSIZ [7]
0x1f4 DMA [7]
0x200 CHAR [8]
0x204 SPLT [8]
0x208 INT [8]
0x20c INTMSK [8]
0x210 TSIZ [8]
0x214 DMA [8]
0x220 CHAR [9]
0x224 SPLT [9]
0x228 INT [9]
0x22c INTMSK [9]
0x230 TSIZ [9]
0x234 DMA [9]
0x240 CHAR [10]
0x244 SPLT [10]
0x248 INT [10]
0x24c INTMSK [10]
0x250 TSIZ [10]
0x254 DMA [10]
0x260 CHAR [11]
0x264 SPLT [11]
0x268 INT [11]
0x26c INTMSK [11]
0x270 TSIZ [11]
0x274 DMA [11]
0x280 CHAR [12]
0x284 SPLT [12]
0x288 INT [12]
0x28c INTMSK [12]
0x290 TSIZ [12]
0x294 DMA [12]
0x2a0 CHAR [13]
0x2a4 SPLT [13]
0x2a8 INT [13]
0x2ac INTMSK [13]
0x2b0 TSIZ [13]
0x2b4 DMA [13]
0x2c0 CHAR [14]
0x2c4 SPLT [14]
0x2c8 INT [14]
0x2cc INTMSK [14]
0x2d0 TSIZ [14]
0x2d4 DMA [14]
0x2e0 CHAR [15]
0x2e4 SPLT [15]
0x2e8 INT [15]
0x2ec INTMSK [15]
0x2f0 TSIZ [15]
0x2f4 DMA [15]
Toggle registers

HCFG

OTG_HS host configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSLSS
r
FSLSPCS
rw
Toggle fields

FSLSPCS

Bits 0-1: FS/LS PHY clock select.

FSLSS

Bit 2: FS- and LS-only support.

HFIR

OTG_HS Host frame interval register

Offset: 0x4, size: 32, reset: 0x0000EA60, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRIVL
rw
Toggle fields

FRIVL

Bits 0-15: Frame interval.

HFNUM

OTG_HS host frame number/frame time remaining register

Offset: 0x8, size: 32, reset: 0x00003FFF, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FTREM
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRNUM
r
Toggle fields

FRNUM

Bits 0-15: Frame number.

FTREM

Bits 16-31: Frame time remaining.

HPTXSTS

OTG_HS_Host periodic transmit FIFO/queue status register

Offset: 0x10, size: 32, reset: 0x00080100, access: Unspecified

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PTXQTOP
r
PTXQSAV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PTXFSAVL
rw
Toggle fields

PTXFSAVL

Bits 0-15: Periodic transmit data FIFO space available.

PTXQSAV

Bits 16-23: Periodic transmit request queue space available.

PTXQTOP

Bits 24-31: Top of the periodic transmit request queue.

HAINT

OTG_HS Host all channels interrupt 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
HAINT
r
Toggle fields

HAINT

Bits 0-15: Channel interrupts.

HAINTMSK

OTG_HS host all channels interrupt mask 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
HAINTM
rw
Toggle fields

HAINTM

Bits 0-15: Channel interrupt mask.

HPRT

OTG_HS host port control and status register

Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified

4/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PSPD
r
PTCTL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PTCTL
rw
PPWR
rw
PLSTS
r
PRST
rw
PSUSP
rw
PRES
rw
POCCHNG
rw
POCA
r
PENCHNG
rw
PENA
rw
PCDET
rw
PCSTS
r
Toggle fields

PCSTS

Bit 0: Port connect status.

PCDET

Bit 1: Port connect detected.

PENA

Bit 2: Port enable.

PENCHNG

Bit 3: Port enable/disable change.

POCA

Bit 4: Port overcurrent active.

POCCHNG

Bit 5: Port overcurrent change.

PRES

Bit 6: Port resume.

PSUSP

Bit 7: Port suspend.

PRST

Bit 8: Port reset.

PLSTS

Bits 10-11: Port line status.

PPWR

Bit 12: Port power.

PTCTL

Bits 13-16: Port test control.

PSPD

Bits 17-18: Port speed.

CHAR [0]

OTG_HS host channel-0 characteristics register

Offset: 0x100, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [0]

OTG_HS host channel-0 split control register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [0]

OTG_HS host channel-11 interrupt register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [0]

OTG_HS host channel-11 interrupt mask register

Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [0]

OTG_HS host channel-11 transfer size register

Offset: 0x110, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [0]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [1]

OTG_HS host channel-0 characteristics register

Offset: 0x120, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [1]

OTG_HS host channel-0 split control register

Offset: 0x124, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [1]

OTG_HS host channel-11 interrupt register

Offset: 0x128, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [1]

OTG_HS host channel-11 interrupt mask register

Offset: 0x12c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [1]

OTG_HS host channel-11 transfer size register

Offset: 0x130, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [1]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [2]

OTG_HS host channel-0 characteristics register

Offset: 0x140, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [2]

OTG_HS host channel-0 split control register

Offset: 0x144, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [2]

OTG_HS host channel-11 interrupt register

Offset: 0x148, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [2]

OTG_HS host channel-11 interrupt mask register

Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [2]

OTG_HS host channel-11 transfer size register

Offset: 0x150, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [2]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [3]

OTG_HS host channel-0 characteristics register

Offset: 0x160, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [3]

OTG_HS host channel-0 split control register

Offset: 0x164, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [3]

OTG_HS host channel-11 interrupt register

Offset: 0x168, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [3]

OTG_HS host channel-11 interrupt mask register

Offset: 0x16c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [3]

OTG_HS host channel-11 transfer size register

Offset: 0x170, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [3]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [4]

OTG_HS host channel-0 characteristics register

Offset: 0x180, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [4]

OTG_HS host channel-0 split control register

Offset: 0x184, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [4]

OTG_HS host channel-11 interrupt register

Offset: 0x188, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [4]

OTG_HS host channel-11 interrupt mask register

Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [4]

OTG_HS host channel-11 transfer size register

Offset: 0x190, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [4]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [5]

OTG_HS host channel-0 characteristics register

Offset: 0x1a0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [5]

OTG_HS host channel-0 split control register

Offset: 0x1a4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [5]

OTG_HS host channel-11 interrupt register

Offset: 0x1a8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [5]

OTG_HS host channel-11 interrupt mask register

Offset: 0x1ac, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [5]

OTG_HS host channel-11 transfer size register

Offset: 0x1b0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [5]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [6]

OTG_HS host channel-0 characteristics register

Offset: 0x1c0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [6]

OTG_HS host channel-0 split control register

Offset: 0x1c4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [6]

OTG_HS host channel-11 interrupt register

Offset: 0x1c8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [6]

OTG_HS host channel-11 interrupt mask register

Offset: 0x1cc, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [6]

OTG_HS host channel-11 transfer size register

Offset: 0x1d0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [6]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [7]

OTG_HS host channel-0 characteristics register

Offset: 0x1e0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [7]

OTG_HS host channel-0 split control register

Offset: 0x1e4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [7]

OTG_HS host channel-11 interrupt register

Offset: 0x1e8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [7]

OTG_HS host channel-11 interrupt mask register

Offset: 0x1ec, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [7]

OTG_HS host channel-11 transfer size register

Offset: 0x1f0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [7]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [8]

OTG_HS host channel-0 characteristics register

Offset: 0x200, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [8]

OTG_HS host channel-0 split control register

Offset: 0x204, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [8]

OTG_HS host channel-11 interrupt register

Offset: 0x208, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [8]

OTG_HS host channel-11 interrupt mask register

Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [8]

OTG_HS host channel-11 transfer size register

Offset: 0x210, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [8]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [9]

OTG_HS host channel-0 characteristics register

Offset: 0x220, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [9]

OTG_HS host channel-0 split control register

Offset: 0x224, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [9]

OTG_HS host channel-11 interrupt register

Offset: 0x228, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [9]

OTG_HS host channel-11 interrupt mask register

Offset: 0x22c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [9]

OTG_HS host channel-11 transfer size register

Offset: 0x230, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [9]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [10]

OTG_HS host channel-0 characteristics register

Offset: 0x240, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [10]

OTG_HS host channel-0 split control register

Offset: 0x244, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [10]

OTG_HS host channel-11 interrupt register

Offset: 0x248, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [10]

OTG_HS host channel-11 interrupt mask register

Offset: 0x24c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [10]

OTG_HS host channel-11 transfer size register

Offset: 0x250, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [10]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [11]

OTG_HS host channel-0 characteristics register

Offset: 0x260, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [11]

OTG_HS host channel-0 split control register

Offset: 0x264, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [11]

OTG_HS host channel-11 interrupt register

Offset: 0x268, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [11]

OTG_HS host channel-11 interrupt mask register

Offset: 0x26c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [11]

OTG_HS host channel-11 transfer size register

Offset: 0x270, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [11]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [12]

OTG_HS host channel-0 characteristics register

Offset: 0x280, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [12]

OTG_HS host channel-0 split control register

Offset: 0x284, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [12]

OTG_HS host channel-11 interrupt register

Offset: 0x288, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [12]

OTG_HS host channel-11 interrupt mask register

Offset: 0x28c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [12]

OTG_HS host channel-11 transfer size register

Offset: 0x290, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [12]

OTG_HS host channel-0 DMA address register

Offset: 0x294, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [13]

OTG_HS host channel-0 characteristics register

Offset: 0x2a0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [13]

OTG_HS host channel-0 split control register

Offset: 0x2a4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [13]

OTG_HS host channel-11 interrupt register

Offset: 0x2a8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [13]

OTG_HS host channel-11 interrupt mask register

Offset: 0x2ac, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [13]

OTG_HS host channel-11 transfer size register

Offset: 0x2b0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [13]

OTG_HS host channel-0 DMA address register

Offset: 0x2b4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [14]

OTG_HS host channel-0 characteristics register

Offset: 0x2c0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [14]

OTG_HS host channel-0 split control register

Offset: 0x2c4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [14]

OTG_HS host channel-11 interrupt register

Offset: 0x2c8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [14]

OTG_HS host channel-11 interrupt mask register

Offset: 0x2cc, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [14]

OTG_HS host channel-11 transfer size register

Offset: 0x2d0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [14]

OTG_HS host channel-0 DMA address register

Offset: 0x2d4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [15]

OTG_HS host channel-0 characteristics register

Offset: 0x2e0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [15]

OTG_HS host channel-0 split control register

Offset: 0x2e4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [15]

OTG_HS host channel-11 interrupt register

Offset: 0x2e8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [15]

OTG_HS host channel-11 interrupt mask register

Offset: 0x2ec, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [15]

OTG_HS host channel-11 transfer size register

Offset: 0x2f0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [15]

OTG_HS host channel-0 DMA address register

Offset: 0x2f4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

OTG1_HS_PWRCLK

0x40040e00: USB 1 on the go high speed

0/3 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 PCGCR
Toggle registers

PCGCR

Power and clock gating 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
PHYSUSP
rw
GATEHCLK
rw
STPPCLK
rw
Toggle fields

STPPCLK

Bit 0: Stop PHY clock.

GATEHCLK

Bit 1: Gate HCLK.

PHYSUSP

Bit 4: PHY suspended.

OTG2_HS_DEVICE

0x40080800: USB 1 on the go high speed

65/535 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 DCFG
0x4 DCTL
0x8 DSTS
0x10 DIEPMSK
0x14 DOEPMSK
0x18 DAINT
0x1c DAINTMSK
0x28 DVBUSDIS
0x2c DVBUSPULSE
0x30 DTHRCTL
0x34 DIEPEMPMSK
0x38 DEACHINT
0x3c DEACHINTMSK
0x44 DIEPEACHMSK1
0x84 DOEPEACHMSK1
0x100 CTL [0]
0x108 INT [0]
0x110 TSIZ [0]
0x114 DMA [0]
0x118 TXFSTS [0]
0x120 CTL [1]
0x128 INT [1]
0x130 TSIZ [1]
0x134 DMA [1]
0x138 TXFSTS [1]
0x140 CTL [2]
0x148 INT [2]
0x150 TSIZ [2]
0x154 DMA [2]
0x158 TXFSTS [2]
0x160 CTL [3]
0x168 INT [3]
0x170 TSIZ [3]
0x174 DMA [3]
0x178 TXFSTS [3]
0x180 CTL [4]
0x188 INT [4]
0x190 TSIZ [4]
0x194 DMA [4]
0x198 TXFSTS [4]
0x1a0 CTL [5]
0x1a8 INT [5]
0x1b0 TSIZ [5]
0x1b4 DMA [5]
0x1b8 TXFSTS [5]
0x1c0 CTL [6]
0x1c8 INT [6]
0x1d0 TSIZ [6]
0x1d4 DMA [6]
0x1d8 TXFSTS [6]
0x1e0 CTL [7]
0x1e8 INT [7]
0x1f0 TSIZ [7]
0x1f4 DMA [7]
0x1f8 TXFSTS [7]
0x200 CTL [8]
0x208 INT [8]
0x210 TSIZ [8]
0x214 DMA [8]
0x218 TXFSTS [8]
0x300 CTL [0]
0x308 INT [0]
0x310 TSIZ [0]
0x314 DMA [0]
0x320 CTL [1]
0x328 INT [1]
0x330 TSIZ [1]
0x334 DMA [1]
0x340 CTL [2]
0x348 INT [2]
0x350 TSIZ [2]
0x354 DMA [2]
0x360 CTL [3]
0x368 INT [3]
0x370 TSIZ [3]
0x374 DMA [3]
0x380 CTL [4]
0x388 INT [4]
0x390 TSIZ [4]
0x394 DMA [4]
0x3a0 CTL [5]
0x3a8 INT [5]
0x3b0 TSIZ [5]
0x3b4 DMA [5]
0x3c0 CTL [6]
0x3c8 INT [6]
0x3d0 TSIZ [6]
0x3d4 DMA [6]
0x3e0 CTL [7]
0x3e8 INT [7]
0x3f0 TSIZ [7]
0x3f4 DMA [7]
0x400 CTL [8]
0x408 INT [8]
0x410 TSIZ [8]
0x414 DMA [8]
Toggle registers

DCFG

OTG_HS device configuration register

Offset: 0x0, size: 32, reset: 0x02200000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PERSCHIVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PFIVL
rw
DAD
rw
NZLSOHSK
rw
DSPD
rw
Toggle fields

DSPD

Bits 0-1: Device speed.

NZLSOHSK

Bit 2: Nonzero-length status OUT handshake.

DAD

Bits 4-10: Device address.

PFIVL

Bits 11-12: Periodic (micro)frame interval.

PERSCHIVL

Bits 24-25: Periodic scheduling interval.

DCTL

OTG_HS device control register

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
POPRGDNE
rw
CGONAK
w
SGONAK
w
CGINAK
w
SGINAK
w
TCTL
rw
GONSTS
r
GINSTS
r
SDIS
rw
RWUSIG
rw
Toggle fields

RWUSIG

Bit 0: Remote wakeup signaling.

SDIS

Bit 1: Soft disconnect.

GINSTS

Bit 2: Global IN NAK status.

GONSTS

Bit 3: Global OUT NAK status.

TCTL

Bits 4-6: Test control.

SGINAK

Bit 7: Set global IN NAK.

CGINAK

Bit 8: Clear global IN NAK.

SGONAK

Bit 9: Set global OUT NAK.

CGONAK

Bit 10: Clear global OUT NAK.

POPRGDNE

Bit 11: Power-on programming done.

DSTS

OTG_HS device status register

Offset: 0x8, size: 32, reset: 0x00000010, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FNSOF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FNSOF
r
EERR
r
ENUMSPD
r
SUSPSTS
r
Toggle fields

SUSPSTS

Bit 0: Suspend status.

ENUMSPD

Bits 1-2: Enumerated speed.

EERR

Bit 3: Erratic error.

FNSOF

Bits 8-21: Frame number of the received SOF.

DIEPMSK

OTG_HS device IN endpoint common interrupt mask register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BIM
rw
TXFURM
rw
INEPNEM
rw
INEPNMM
rw
ITTXFEMSK
rw
TOM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

TOM

Bit 3: Timeout condition mask (nonisochronous endpoints).

ITTXFEMSK

Bit 4: IN token received when TxFIFO empty mask.

INEPNMM

Bit 5: IN token received with EP mismatch mask.

INEPNEM

Bit 6: IN endpoint NAK effective mask.

TXFURM

Bit 8: FIFO underrun mask.

BIM

Bit 9: BNA interrupt mask.

DOEPMSK

OTG_HS device OUT endpoint common interrupt mask register

Offset: 0x14, 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
BOIM
rw
OPEM
rw
B2BSTUP
rw
OTEPDM
rw
STUPM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

STUPM

Bit 3: SETUP phase done mask.

OTEPDM

Bit 4: OUT token received when endpoint disabled mask.

B2BSTUP

Bit 6: Back-to-back SETUP packets received mask.

OPEM

Bit 8: OUT packet error mask.

BOIM

Bit 9: BNA interrupt mask.

DAINT

OTG_HS device all endpoints interrupt register

Offset: 0x18, 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
OEPINT
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEPINT
r
Toggle fields

IEPINT

Bits 0-15: IN endpoint interrupt bits.

OEPINT

Bits 16-31: OUT endpoint interrupt bits.

DAINTMSK

OTG_HS all endpoints interrupt mask register

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
OEPM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEPM
rw
Toggle fields

IEPM

Bits 0-15: IN EP interrupt mask bits.

OEPM

Bits 16-31: OUT EP interrupt mask bits.

DVBUSDIS

OTG_HS device VBUS discharge time register

Offset: 0x28, size: 32, reset: 0x000017D7, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBUSDT
rw
Toggle fields

VBUSDT

Bits 0-15: Device VBUS discharge time.

DVBUSPULSE

OTG_HS device VBUS pulsing time register

Offset: 0x2c, size: 32, reset: 0x000005B8, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DVBUSP
rw
Toggle fields

DVBUSP

Bits 0-11: Device VBUS pulsing time.

DTHRCTL

OTG_HS Device threshold control register

Offset: 0x30, 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
ARPEN
rw
RXTHRLEN
rw
RXTHREN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXTHRLEN
rw
ISOTHREN
rw
NONISOTHREN
rw
Toggle fields

NONISOTHREN

Bit 0: Nonisochronous IN endpoints threshold enable.

ISOTHREN

Bit 1: ISO IN endpoint threshold enable.

TXTHRLEN

Bits 2-10: Transmit threshold length.

RXTHREN

Bit 16: Receive threshold enable.

RXTHRLEN

Bits 17-25: Receive threshold length.

ARPEN

Bit 27: Arbiter parking enable.

DIEPEMPMSK

OTG_HS device IN endpoint FIFO empty interrupt mask 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
INEPTXFEM
rw
Toggle fields

INEPTXFEM

Bits 0-15: IN EP Tx FIFO empty interrupt mask bits.

DEACHINT

OTG_HS device each endpoint interrupt 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
OEP1INT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEP1INT
rw
Toggle fields

IEP1INT

Bit 1: IN endpoint 1interrupt bit.

OEP1INT

Bit 17: OUT endpoint 1 interrupt bit.

DEACHINTMSK

OTG_HS device each endpoint interrupt register mask

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
OEP1INTM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IEP1INTM
rw
Toggle fields

IEP1INTM

Bit 1: IN Endpoint 1 interrupt mask bit.

OEP1INTM

Bit 17: OUT Endpoint 1 interrupt mask bit.

DIEPEACHMSK1

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAKM
rw
BNAM
rw
TXFURM
rw
INEPNEM
rw
ITTXFEMSK
rw
TOM
rw
AHBERRM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

AHBERRM

Bit 2: AHB error mask.

TOM

Bit 3: Timeout condition mask (Non-isochronous endpoints).

ITTXFEMSK

Bit 4: IN token received when TxFIFO empty mask.

INEPNEM

Bit 6: IN endpoint NAK effective mask.

TXFURM

Bit 8: FIFO underrun mask.

BNAM

Bit 9: BNA interrupt mask.

NAKM

Bit 13: NAK interrupt mask.

DOEPEACHMSK1

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NYETMSK
rw
NAKMSK
rw
BERRM
rw
BNAM
rw
OUTPKTERRM
rw
B2BSTUPM
rw
OTEPDM
rw
STUPM
rw
AHBERRM
rw
EPDM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed interrupt mask.

EPDM

Bit 1: Endpoint disabled interrupt mask.

AHBERRM

Bit 2: AHB error mask.

STUPM

Bit 3: SETUP phase done mask.

OTEPDM

Bit 4: OUT token received when endpoint disabled mask.

B2BSTUPM

Bit 6: Back-to-back SETUP packets received mask.

OUTPKTERRM

Bit 8: Out packet error mask.

BNAM

Bit 9: BNA interrupt mask.

BERRM

Bit 12: Babble error interrupt mask.

NAKMSK

Bit 13: NAK interrupt mask.

NYETMSK

Bit 14: NYET interrupt mask.

CTL [0]

OTG device endpoint-0 control register

Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [0]

OTG device endpoint-0 interrupt register

Offset: 0x108, size: 32, reset: 0x00000080, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [0]

OTG_HS device IN endpoint 0 transfer size register

Offset: 0x110, 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
PKTCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-6: Transfer size.

PKTCNT

Bits 19-20: Packet count.

DMA [0]

OTG_HS device endpoint-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [0]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x118, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [1]

OTG device endpoint-1 control register

Offset: 0x120, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [1]

OTG device endpoint-1 interrupt register

Offset: 0x128, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [1]

OTG_HS device endpoint transfer size register

Offset: 0x130, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [1]

OTG_HS device endpoint-1 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [1]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x138, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [2]

OTG device endpoint-1 control register

Offset: 0x140, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [2]

OTG device endpoint-1 interrupt register

Offset: 0x148, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [2]

OTG_HS device endpoint transfer size register

Offset: 0x150, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [2]

OTG_HS device endpoint-1 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [2]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x158, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [3]

OTG device endpoint-1 control register

Offset: 0x160, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [3]

OTG device endpoint-1 interrupt register

Offset: 0x168, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [3]

OTG_HS device endpoint transfer size register

Offset: 0x170, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [3]

OTG_HS device endpoint-1 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [3]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x178, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [4]

OTG device endpoint-1 control register

Offset: 0x180, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [4]

OTG device endpoint-1 interrupt register

Offset: 0x188, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [4]

OTG_HS device endpoint transfer size register

Offset: 0x190, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [4]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [4]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x198, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [5]

OTG device endpoint-1 control register

Offset: 0x1a0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [5]

OTG device endpoint-1 interrupt register

Offset: 0x1a8, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [5]

OTG_HS device endpoint transfer size register

Offset: 0x1b0, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [5]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [5]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x1b8, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [6]

OTG device endpoint-1 control register

Offset: 0x1c0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [6]

OTG device endpoint-1 interrupt register

Offset: 0x1c8, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [6]

OTG_HS device endpoint transfer size register

Offset: 0x1d0, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [6]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [6]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x1d8, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [7]

OTG device endpoint-1 control register

Offset: 0x1e0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [7]

OTG device endpoint-1 interrupt register

Offset: 0x1e8, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [7]

OTG_HS device endpoint transfer size register

Offset: 0x1f0, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [7]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [7]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x1f8, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [8]

OTG device endpoint-1 control register

Offset: 0x200, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
TXFNUM
rw
STALL
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even/odd frame.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

STALL

Bit 21: STALL handshake.

TXFNUM

Bits 22-25: TxFIFO number.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [8]

OTG device endpoint-1 interrupt register

Offset: 0x208, size: 32, reset: 0x00000000, access: Unspecified

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NAK
rw
BERR
rw
PKTDRPSTS
rw
BNA
rw
TXFIFOUDRN
rw
TXFE
r
INEPNE
rw
ITTXFE
rw
TOC
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

TOC

Bit 3: Timeout condition.

ITTXFE

Bit 4: IN token received when TxFIFO is empty.

INEPNE

Bit 6: IN endpoint NAK effective.

TXFE

Bit 7: Transmit FIFO empty.

TXFIFOUDRN

Bit 8: Transmit Fifo Underrun.

BNA

Bit 9: Buffer not available interrupt.

PKTDRPSTS

Bit 11: Packet dropped status.

BERR

Bit 12: Babble error interrupt.

NAK

Bit 13: NAK interrupt.

TSIZ [8]

OTG_HS device endpoint transfer size register

Offset: 0x210, 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
MCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

MCNT

Bits 29-30: Multi count.

DMA [8]

OTG_HS device endpoint-1 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

TXFSTS [8]

OTG_HS device IN endpoint transmit FIFO status register

Offset: 0x218, 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
INEPTFSAV
r
Toggle fields

INEPTFSAV

Bits 0-15: IN endpoint TxFIFO space avail.

CTL [0]

OTG_HS device control OUT endpoint 0 control register

Offset: 0x300, size: 32, reset: 0x00008000, access: Unspecified

5/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
r
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
r
NAKSTS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
r
MPSIZ
r
Toggle fields

MPSIZ

Bits 0-1: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [0]

OTG_HS device endpoint-0 interrupt register

Offset: 0x308, size: 32, reset: 0x00000080, access: read-write

0/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [0]

OTG_HS device endpoint-0 transfer size register

Offset: 0x310, 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
STUPCNT
rw
PKTCNT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-6: Transfer size.

PKTCNT

Bit 19: Packet count.

STUPCNT

Bits 29-30: SETUP packet count.

DMA [0]

OTG_HS device endpoint-0 DMA address register

Offset: 0x314, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [1]

OTG device endpoint-1 control register

Offset: 0x320, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [1]

OTG_HS device endpoint-1 interrupt register

Offset: 0x328, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [1]

OTG_HS device endpoint-1 transfer size register

Offset: 0x330, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [1]

OTG_HS device endpoint-1 DMA address register

Offset: 0x334, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [2]

OTG device endpoint-1 control register

Offset: 0x340, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [2]

OTG_HS device endpoint-1 interrupt register

Offset: 0x348, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [2]

OTG_HS device endpoint-1 transfer size register

Offset: 0x350, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [2]

OTG_HS device endpoint-1 DMA address register

Offset: 0x354, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [3]

OTG device endpoint-1 control register

Offset: 0x360, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [3]

OTG_HS device endpoint-1 interrupt register

Offset: 0x368, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [3]

OTG_HS device endpoint-1 transfer size register

Offset: 0x370, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [3]

OTG_HS device endpoint-1 DMA address register

Offset: 0x374, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [4]

OTG device endpoint-1 control register

Offset: 0x380, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [4]

OTG_HS device endpoint-1 interrupt register

Offset: 0x388, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [4]

OTG_HS device endpoint-1 transfer size register

Offset: 0x390, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [4]

OTG_HS device endpoint-1 DMA address register

Offset: 0x394, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [5]

OTG device endpoint-1 control register

Offset: 0x3a0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [5]

OTG_HS device endpoint-1 interrupt register

Offset: 0x3a8, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [5]

OTG_HS device endpoint-1 transfer size register

Offset: 0x3b0, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [5]

OTG_HS device endpoint-1 DMA address register

Offset: 0x3b4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [6]

OTG device endpoint-1 control register

Offset: 0x3c0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [6]

OTG_HS device endpoint-1 interrupt register

Offset: 0x3c8, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [6]

OTG_HS device endpoint-1 transfer size register

Offset: 0x3d0, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [6]

OTG_HS device endpoint-1 DMA address register

Offset: 0x3d4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [7]

OTG device endpoint-1 control register

Offset: 0x3e0, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [7]

OTG_HS device endpoint-1 interrupt register

Offset: 0x3e8, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [7]

OTG_HS device endpoint-1 transfer size register

Offset: 0x3f0, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [7]

OTG_HS device endpoint-1 DMA address register

Offset: 0x3f4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CTL [8]

OTG device endpoint-1 control register

Offset: 0x400, size: 32, reset: 0x00000000, access: Unspecified

2/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EPENA
rw
EPDIS
rw
SODDFRM
w
SD0PID_SEVNFRM
w
SNAK
w
CNAK
w
STALL
rw
SNPM
rw
EPTYP
rw
NAKSTS
r
EONUM_DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USBAEP
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

USBAEP

Bit 15: USB active endpoint.

EONUM_DPID

Bit 16: Even odd frame/Endpoint data PID.

NAKSTS

Bit 17: NAK status.

EPTYP

Bits 18-19: Endpoint type.

SNPM

Bit 20: Snoop mode.

STALL

Bit 21: STALL handshake.

CNAK

Bit 26: Clear NAK.

SNAK

Bit 27: Set NAK.

SD0PID_SEVNFRM

Bit 28: Set DATA0 PID/Set even frame.

SODDFRM

Bit 29: Set odd frame.

EPDIS

Bit 30: Endpoint disable.

EPENA

Bit 31: Endpoint enable.

INT [8]

OTG_HS device endpoint-1 interrupt register

Offset: 0x408, 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
NYET
rw
B2BSTUP
rw
OTEPDIS
rw
STUP
rw
EPDISD
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed interrupt.

EPDISD

Bit 1: Endpoint disabled interrupt.

STUP

Bit 3: SETUP phase done.

OTEPDIS

Bit 4: OUT token received when endpoint disabled.

B2BSTUP

Bit 6: Back-to-back SETUP packets received.

NYET

Bit 14: NYET interrupt.

TSIZ [8]

OTG_HS device endpoint-1 transfer size register

Offset: 0x410, 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
RXDPID_STUPCNT
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

RXDPID_STUPCNT

Bits 29-30: Received data PID/SETUP packet count.

DMA [8]

OTG_HS device endpoint-1 DMA address register

Offset: 0x414, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

OTG2_HS_GLOBAL

0x40080000: USB 1 on the go high speed

48/179 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 GOTGCTL
0x4 GOTGINT
0x8 GAHBCFG
0xc GUSBCFG
0x10 GRSTCTL
0x14 GINTSTS
0x18 GINTMSK
0x1c GRXSTSR_Device
0x1c GRXSTSR_Host
0x20 GRXSTSP_Device
0x20 GRXSTSP_Host
0x24 GRXFSIZ
0x28 DIEPTXF0
0x28 HNPTXFSIZ
0x2c HNPTXSTS
0x38 GCCFG
0x3c CID
0x54 GLPMCFG
0x100 HPTXFSIZ
0x104 DIEPTXF[1]
0x108 DIEPTXF[2]
0x10c DIEPTXF[3]
0x110 DIEPTXF[4]
0x114 DIEPTXF[5]
0x118 DIEPTXF6
0x11c DIEPTXF7
0x120 DIEPTXF8
Toggle registers

GOTGCTL

OTG_HS control and status register

Offset: 0x0, size: 32, reset: 0x00000800, access: Unspecified

7/19 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CURMOD
r
OTGVER
rw
BSVLD
r
ASVLD
r
DBCT
r
CIDSTS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EHEN
rw
DHNPEN
rw
HSHNPEN
rw
HNPRQ
rw
HNGSCS
r
BVALOVAL
rw
BVALOEN
rw
AVALOVAL
rw
AVALOEN
rw
VBVALOVAL
rw
VBVALOEN
rw
SRQ
rw
SRQSCS
r
Toggle fields

SRQSCS

Bit 0: Session request success.

SRQ

Bit 1: Session request.

VBVALOEN

Bit 2: V_BUS valid override enable.

VBVALOVAL

Bit 3: V_BUS valid override value.

AVALOEN

Bit 4: A-peripheral session valid override enable.

AVALOVAL

Bit 5: A-peripheral session valid override value.

BVALOEN

Bit 6: B-peripheral session valid override enable.

BVALOVAL

Bit 7: B-peripheral session valid override value.

HNGSCS

Bit 8: Host negotiation success.

HNPRQ

Bit 9: HNP request.

HSHNPEN

Bit 10: Host set HNP enable.

DHNPEN

Bit 11: Device HNP enabled.

EHEN

Bit 12: Embedded host enable.

CIDSTS

Bit 16: Connector ID status.

DBCT

Bit 17: Long/short debounce time.

ASVLD

Bit 18: A-session valid.

BSVLD

Bit 19: B-session valid.

OTGVER

Bit 20: OTG version.

CURMOD

Bit 21: Current mode of operation.

GOTGINT

OTG_HS interrupt register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IDCHNG
rw
DBCDNE
rw
ADTOCHG
rw
HNGDET
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HNSSCHG
rw
SRSSCHG
rw
SEDET
rw
Toggle fields

SEDET

Bit 2: Session end detected.

SRSSCHG

Bit 8: Session request success status change.

HNSSCHG

Bit 9: Host negotiation success status change.

HNGDET

Bit 17: Host negotiation detected.

ADTOCHG

Bit 18: A-device timeout change.

DBCDNE

Bit 19: Debounce done.

IDCHNG

Bit 20: ID input pin changed.

GAHBCFG

OTG_HS AHB configuration register

Offset: 0x8, 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
PTXFELVL
rw
TXFELVL
rw
DMAEN
rw
HBSTLEN
rw
GINT
rw
Toggle fields

GINT

Bit 0: Global interrupt mask.

HBSTLEN

Bits 1-4: Burst length/type.

DMAEN

Bit 5: DMA enable.

TXFELVL

Bit 7: TxFIFO empty level.

PTXFELVL

Bit 8: Periodic TxFIFO empty level.

GUSBCFG

OTG_HS USB configuration register

Offset: 0xc, size: 32, reset: 0x00000A00, access: Unspecified

0/17 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDMOD
rw
FHMOD
rw
ULPIIPD
rw
PTCI
rw
PCCI
rw
TSDPS
rw
ULPIEVBUSI
rw
ULPIEVBUSD
rw
ULPICSM
rw
ULPIAR
rw
ULPIFSLS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PHYLPCS
rw
TRDT
rw
HNPCAP
rw
SRPCAP
rw
PHYSEL
w
TOCAL
rw
Toggle fields

TOCAL

Bits 0-2: FS timeout calibration.

PHYSEL

Bit 6: USB 2.0 high-speed ULPI PHY or USB 1.1 full-speed serial transceiver select.

SRPCAP

Bit 8: SRP-capable.

HNPCAP

Bit 9: HNP-capable.

TRDT

Bits 10-13: USB turnaround time.

PHYLPCS

Bit 15: PHY Low-power clock select.

ULPIFSLS

Bit 17: ULPI FS/LS select.

ULPIAR

Bit 18: ULPI Auto-resume.

ULPICSM

Bit 19: ULPI Clock SuspendM.

ULPIEVBUSD

Bit 20: ULPI External VBUS Drive.

ULPIEVBUSI

Bit 21: ULPI external VBUS indicator.

TSDPS

Bit 22: TermSel DLine pulsing selection.

PCCI

Bit 23: Indicator complement.

PTCI

Bit 24: Indicator pass through.

ULPIIPD

Bit 25: ULPI interface protect disable.

FHMOD

Bit 29: Forced host mode.

FDMOD

Bit 30: Forced peripheral mode.

GRSTCTL

OTG_HS reset register

Offset: 0x10, size: 32, reset: 0x20000000, access: Unspecified

2/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AHBIDL
r
DMAREQ
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXFNUM
rw
TXFFLSH
rw
RXFFLSH
rw
FCRST
rw
HSRST
rw
CSRST
rw
Toggle fields

CSRST

Bit 0: Core soft reset.

HSRST

Bit 1: HCLK soft reset.

FCRST

Bit 2: Host frame counter reset.

RXFFLSH

Bit 4: RxFIFO flush.

TXFFLSH

Bit 5: TxFIFO flush.

TXFNUM

Bits 6-10: TxFIFO number.

DMAREQ

Bit 30: DMA request signal enabled for USB OTG HS.

AHBIDL

Bit 31: AHB master idle.

GINTSTS

OTG_HS core interrupt register

Offset: 0x14, size: 32, reset: 0x04000020, access: Unspecified

11/26 fields covered.

Toggle fields

CMOD

Bit 0: Current mode of operation.

MMIS

Bit 1: Mode mismatch interrupt.

OTGINT

Bit 2: OTG interrupt.

SOF

Bit 3: Start of frame.

RXFLVL

Bit 4: RxFIFO nonempty.

NPTXFE

Bit 5: Nonperiodic TxFIFO empty.

GINAKEFF

Bit 6: Global IN nonperiodic NAK effective.

BOUTNAKEFF

Bit 7: Global OUT NAK effective.

ESUSP

Bit 10: Early suspend.

USBSUSP

Bit 11: USB suspend.

USBRST

Bit 12: USB reset.

ENUMDNE

Bit 13: Enumeration done.

ISOODRP

Bit 14: Isochronous OUT packet dropped interrupt.

EOPF

Bit 15: End of periodic frame interrupt.

IEPINT

Bit 18: IN endpoint interrupt.

OEPINT

Bit 19: OUT endpoint interrupt.

IISOIXFR

Bit 20: Incomplete isochronous IN transfer.

PXFR_INCOMPISOOUT

Bit 21: Incomplete periodic transfer.

DATAFSUSP

Bit 22: Data fetch suspended.

HPRTINT

Bit 24: Host port interrupt.

HCINT

Bit 25: Host channels interrupt.

PTXFE

Bit 26: Periodic TxFIFO empty.

CIDSCHG

Bit 28: Connector ID status change.

DISCINT

Bit 29: Disconnect detected interrupt.

SRQINT

Bit 30: Session request/new session detected interrupt.

WKUINT

Bit 31: Resume/remote wakeup detected interrupt.

GINTMSK

OTG_HS interrupt mask register

Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified

1/27 fields covered.

Toggle fields

MMISM

Bit 1: Mode mismatch interrupt mask.

OTGINT

Bit 2: OTG interrupt mask.

SOFM

Bit 3: Start of frame mask.

RXFLVLM

Bit 4: Receive FIFO nonempty mask.

NPTXFEM

Bit 5: Nonperiodic TxFIFO empty mask.

GINAKEFFM

Bit 6: Global nonperiodic IN NAK effective mask.

GONAKEFFM

Bit 7: Global OUT NAK effective mask.

ESUSPM

Bit 10: Early suspend mask.

USBSUSPM

Bit 11: USB suspend mask.

USBRST

Bit 12: USB reset mask.

ENUMDNEM

Bit 13: Enumeration done mask.

ISOODRPM

Bit 14: Isochronous OUT packet dropped interrupt mask.

EOPFM

Bit 15: End of periodic frame interrupt mask.

IEPINT

Bit 18: IN endpoints interrupt mask.

OEPINT

Bit 19: OUT endpoints interrupt mask.

IISOIXFRM

Bit 20: Incomplete isochronous IN transfer mask.

PXFRM_IISOOXFRM

Bit 21: Incomplete periodic transfer mask.

FSUSPM

Bit 22: Data fetch suspended mask.

RSTDE

Bit 23: Reset detected interrupt mask.

PRTIM

Bit 24: Host port interrupt mask.

HCIM

Bit 25: Host channels interrupt mask.

PTXFEM

Bit 26: Periodic TxFIFO empty mask.

LPMINTM

Bit 27: LPM interrupt mask.

CIDSCHGM

Bit 28: Connector ID status change mask.

DISCINT

Bit 29: Disconnect detected interrupt mask.

SRQIM

Bit 30: Session request/new session detected interrupt mask.

WUIM

Bit 31: Resume/remote wakeup detected interrupt mask.

GRXSTSR_Device

OTG_HS Receive status debug read register (peripheral mode mode)

Offset: 0x1c, 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
FRMNUM
r
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
EPNUM
r
Toggle fields

EPNUM

Bits 0-3: Endpoint number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

FRMNUM

Bits 21-24: Frame number.

GRXSTSR_Host

OTG_HS Receive status debug read register (host mode)

Offset: 0x1c, 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
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
CHNUM
r
Toggle fields

CHNUM

Bits 0-3: Channel number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

GRXSTSP_Device

OTG_HS status read and pop register (peripheral mode)

Offset: 0x20, 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
FRMNUM
r
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
EPNUM
r
Toggle fields

EPNUM

Bits 0-3: Endpoint number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

FRMNUM

Bits 21-24: Frame number.

GRXSTSP_Host

OTG_HS status read and pop register (host mode)

Offset: 0x20, 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
PKTSTS
r
DPID
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DPID
r
BCNT
r
CHNUM
r
Toggle fields

CHNUM

Bits 0-3: Channel number.

BCNT

Bits 4-14: Byte count.

DPID

Bits 15-16: Data PID.

PKTSTS

Bits 17-20: Packet status.

GRXFSIZ

OTG_HS Receive FIFO size register

Offset: 0x24, size: 32, reset: 0x00000200, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXFD
rw
Toggle fields

RXFD

Bits 0-15: RxFIFO depth.

DIEPTXF0

Endpoint 0 transmit FIFO size (peripheral mode)

Offset: 0x28, size: 32, reset: 0x00000200, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TX0FD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TX0FSA
rw
Toggle fields

TX0FSA

Bits 0-15: Endpoint 0 transmit RAM start address.

TX0FD

Bits 16-31: Endpoint 0 TxFIFO depth.

HNPTXFSIZ

OTG_HS nonperiodic transmit FIFO size register (host mode)

Offset: 0x28, size: 32, reset: 0x00000200, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NPTXFSA
rw
Toggle fields

NPTXFSA

Bits 0-15: Nonperiodic transmit RAM start address.

NPTXFD

Bits 16-31: Nonperiodic TxFIFO depth.

HNPTXSTS

OTG_HS nonperiodic transmit FIFO/queue status register

Offset: 0x2c, size: 32, reset: 0x00080200, access: read-only

3/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NPTXQTOP
r
NPTQXSAV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NPTXFSAV
r
Toggle fields

NPTXFSAV

Bits 0-15: Nonperiodic TxFIFO space available.

NPTQXSAV

Bits 16-23: Nonperiodic transmit request queue space available.

NPTXQTOP

Bits 24-30: Top of the nonperiodic transmit request queue.

GCCFG

OTG_HS general core configuration register

Offset: 0x38, 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
VBDEN
rw
SDEN
rw
PDEN
rw
DCDEN
rw
BCDEN
rw
PWRDWN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PS2DET
rw
SDET
rw
PDET
rw
DCDET
rw
Toggle fields

DCDET

Bit 0: Data contact detection (DCD) status.

PDET

Bit 1: Primary detection (PD) status.

SDET

Bit 2: Secondary detection (SD) status.

PS2DET

Bit 3: DM pull-up detection status.

PWRDWN

Bit 16: Power down.

BCDEN

Bit 17: Battery charging detector (BCD) enable.

DCDEN

Bit 18: Data contact detection (DCD) mode enable.

PDEN

Bit 19: Primary detection (PD) mode enable.

SDEN

Bit 20: Secondary detection (SD) mode enable.

VBDEN

Bit 21: USB VBUS detection enable.

CID

OTG_HS core ID register

Offset: 0x3c, size: 32, reset: 0x00001200, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRODUCT_ID
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRODUCT_ID
rw
Toggle fields

PRODUCT_ID

Bits 0-31: Product ID field.

GLPMCFG

OTG core LPM configuration register

Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified

6/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ENBESL
rw
LPMRCNTSTS
r
SNDLPM
rw
LPMRCNT
rw
LPMCHIDX
rw
L1RSMOK
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SLPSTS
r
LPMRST
r
L1DSEN
rw
BESLTHRS
rw
L1SSEN
rw
REMWAKE
r
BESL
r
LPMACK
rw
LPMEN
rw
Toggle fields

LPMEN

Bit 0: LPM support enable.

LPMACK

Bit 1: LPM token acknowledge enable.

BESL

Bits 2-5: Best effort service latency.

REMWAKE

Bit 6: bRemoteWake value.

L1SSEN

Bit 7: L1 Shallow Sleep enable.

BESLTHRS

Bits 8-11: BESL threshold.

L1DSEN

Bit 12: L1 deep sleep enable.

LPMRST

Bits 13-14: LPM response.

SLPSTS

Bit 15: Port sleep status.

L1RSMOK

Bit 16: Sleep State Resume OK.

LPMCHIDX

Bits 17-20: LPM Channel Index.

LPMRCNT

Bits 21-23: LPM retry count.

SNDLPM

Bit 24: Send LPM transaction.

LPMRCNTSTS

Bits 25-27: LPM retry count status.

ENBESL

Bit 28: Enable best effort service latency.

HPTXFSIZ

OTG_HS Host periodic transmit FIFO size register

Offset: 0x100, size: 32, reset: 0x02000600, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PTXSA
rw
Toggle fields

PTXSA

Bits 0-15: Host periodic TxFIFO start address.

PTXFD

Bits 16-31: Host periodic TxFIFO depth.

DIEPTXF[1]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x104, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[2]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x108, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[3]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x10c, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[4]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x110, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF[5]

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x114, size: 32, reset: 0x02000400, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF6

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x118, size: 32, reset: 0x02000E00, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF7

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x11c, size: 32, reset: 0x02001000, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

DIEPTXF8

OTG_HS device IN endpoint transmit FIFO size register

Offset: 0x120, size: 32, reset: 0x02001200, access: read-write

0/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
INEPTXFD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INEPTXSA
rw
Toggle fields

INEPTXSA

Bits 0-15: IN endpoint FIFOx transmit RAM start address.

INEPTXFD

Bits 16-31: IN endpoint TxFIFO depth.

OTG2_HS_HOST

0x40080400: USB 1 on the go high speed

10/679 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 HCFG
0x4 HFIR
0x8 HFNUM
0x10 HPTXSTS
0x14 HAINT
0x18 HAINTMSK
0x40 HPRT
0x100 CHAR [0]
0x104 SPLT [0]
0x108 INT [0]
0x10c INTMSK [0]
0x110 TSIZ [0]
0x114 DMA [0]
0x120 CHAR [1]
0x124 SPLT [1]
0x128 INT [1]
0x12c INTMSK [1]
0x130 TSIZ [1]
0x134 DMA [1]
0x140 CHAR [2]
0x144 SPLT [2]
0x148 INT [2]
0x14c INTMSK [2]
0x150 TSIZ [2]
0x154 DMA [2]
0x160 CHAR [3]
0x164 SPLT [3]
0x168 INT [3]
0x16c INTMSK [3]
0x170 TSIZ [3]
0x174 DMA [3]
0x180 CHAR [4]
0x184 SPLT [4]
0x188 INT [4]
0x18c INTMSK [4]
0x190 TSIZ [4]
0x194 DMA [4]
0x1a0 CHAR [5]
0x1a4 SPLT [5]
0x1a8 INT [5]
0x1ac INTMSK [5]
0x1b0 TSIZ [5]
0x1b4 DMA [5]
0x1c0 CHAR [6]
0x1c4 SPLT [6]
0x1c8 INT [6]
0x1cc INTMSK [6]
0x1d0 TSIZ [6]
0x1d4 DMA [6]
0x1e0 CHAR [7]
0x1e4 SPLT [7]
0x1e8 INT [7]
0x1ec INTMSK [7]
0x1f0 TSIZ [7]
0x1f4 DMA [7]
0x200 CHAR [8]
0x204 SPLT [8]
0x208 INT [8]
0x20c INTMSK [8]
0x210 TSIZ [8]
0x214 DMA [8]
0x220 CHAR [9]
0x224 SPLT [9]
0x228 INT [9]
0x22c INTMSK [9]
0x230 TSIZ [9]
0x234 DMA [9]
0x240 CHAR [10]
0x244 SPLT [10]
0x248 INT [10]
0x24c INTMSK [10]
0x250 TSIZ [10]
0x254 DMA [10]
0x260 CHAR [11]
0x264 SPLT [11]
0x268 INT [11]
0x26c INTMSK [11]
0x270 TSIZ [11]
0x274 DMA [11]
0x280 CHAR [12]
0x284 SPLT [12]
0x288 INT [12]
0x28c INTMSK [12]
0x290 TSIZ [12]
0x294 DMA [12]
0x2a0 CHAR [13]
0x2a4 SPLT [13]
0x2a8 INT [13]
0x2ac INTMSK [13]
0x2b0 TSIZ [13]
0x2b4 DMA [13]
0x2c0 CHAR [14]
0x2c4 SPLT [14]
0x2c8 INT [14]
0x2cc INTMSK [14]
0x2d0 TSIZ [14]
0x2d4 DMA [14]
0x2e0 CHAR [15]
0x2e4 SPLT [15]
0x2e8 INT [15]
0x2ec INTMSK [15]
0x2f0 TSIZ [15]
0x2f4 DMA [15]
Toggle registers

HCFG

OTG_HS host configuration register

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSLSS
r
FSLSPCS
rw
Toggle fields

FSLSPCS

Bits 0-1: FS/LS PHY clock select.

FSLSS

Bit 2: FS- and LS-only support.

HFIR

OTG_HS Host frame interval register

Offset: 0x4, size: 32, reset: 0x0000EA60, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRIVL
rw
Toggle fields

FRIVL

Bits 0-15: Frame interval.

HFNUM

OTG_HS host frame number/frame time remaining register

Offset: 0x8, size: 32, reset: 0x00003FFF, access: read-only

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FTREM
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRNUM
r
Toggle fields

FRNUM

Bits 0-15: Frame number.

FTREM

Bits 16-31: Frame time remaining.

HPTXSTS

OTG_HS_Host periodic transmit FIFO/queue status register

Offset: 0x10, size: 32, reset: 0x00080100, access: Unspecified

2/3 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PTXQTOP
r
PTXQSAV
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PTXFSAVL
rw
Toggle fields

PTXFSAVL

Bits 0-15: Periodic transmit data FIFO space available.

PTXQSAV

Bits 16-23: Periodic transmit request queue space available.

PTXQTOP

Bits 24-31: Top of the periodic transmit request queue.

HAINT

OTG_HS Host all channels interrupt 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
HAINT
r
Toggle fields

HAINT

Bits 0-15: Channel interrupts.

HAINTMSK

OTG_HS host all channels interrupt mask 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
HAINTM
rw
Toggle fields

HAINTM

Bits 0-15: Channel interrupt mask.

HPRT

OTG_HS host port control and status register

Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified

4/13 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PSPD
r
PTCTL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PTCTL
rw
PPWR
rw
PLSTS
r
PRST
rw
PSUSP
rw
PRES
rw
POCCHNG
rw
POCA
r
PENCHNG
rw
PENA
rw
PCDET
rw
PCSTS
r
Toggle fields

PCSTS

Bit 0: Port connect status.

PCDET

Bit 1: Port connect detected.

PENA

Bit 2: Port enable.

PENCHNG

Bit 3: Port enable/disable change.

POCA

Bit 4: Port overcurrent active.

POCCHNG

Bit 5: Port overcurrent change.

PRES

Bit 6: Port resume.

PSUSP

Bit 7: Port suspend.

PRST

Bit 8: Port reset.

PLSTS

Bits 10-11: Port line status.

PPWR

Bit 12: Port power.

PTCTL

Bits 13-16: Port test control.

PSPD

Bits 17-18: Port speed.

CHAR [0]

OTG_HS host channel-0 characteristics register

Offset: 0x100, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [0]

OTG_HS host channel-0 split control register

Offset: 0x104, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [0]

OTG_HS host channel-11 interrupt register

Offset: 0x108, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [0]

OTG_HS host channel-11 interrupt mask register

Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [0]

OTG_HS host channel-11 transfer size register

Offset: 0x110, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [0]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [1]

OTG_HS host channel-0 characteristics register

Offset: 0x120, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [1]

OTG_HS host channel-0 split control register

Offset: 0x124, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [1]

OTG_HS host channel-11 interrupt register

Offset: 0x128, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [1]

OTG_HS host channel-11 interrupt mask register

Offset: 0x12c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [1]

OTG_HS host channel-11 transfer size register

Offset: 0x130, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [1]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [2]

OTG_HS host channel-0 characteristics register

Offset: 0x140, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [2]

OTG_HS host channel-0 split control register

Offset: 0x144, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [2]

OTG_HS host channel-11 interrupt register

Offset: 0x148, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [2]

OTG_HS host channel-11 interrupt mask register

Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [2]

OTG_HS host channel-11 transfer size register

Offset: 0x150, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [2]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [3]

OTG_HS host channel-0 characteristics register

Offset: 0x160, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [3]

OTG_HS host channel-0 split control register

Offset: 0x164, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [3]

OTG_HS host channel-11 interrupt register

Offset: 0x168, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [3]

OTG_HS host channel-11 interrupt mask register

Offset: 0x16c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [3]

OTG_HS host channel-11 transfer size register

Offset: 0x170, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [3]

OTG_HS host channel-0 DMA address 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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [4]

OTG_HS host channel-0 characteristics register

Offset: 0x180, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [4]

OTG_HS host channel-0 split control register

Offset: 0x184, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [4]

OTG_HS host channel-11 interrupt register

Offset: 0x188, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [4]

OTG_HS host channel-11 interrupt mask register

Offset: 0x18c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [4]

OTG_HS host channel-11 transfer size register

Offset: 0x190, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [4]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [5]

OTG_HS host channel-0 characteristics register

Offset: 0x1a0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [5]

OTG_HS host channel-0 split control register

Offset: 0x1a4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [5]

OTG_HS host channel-11 interrupt register

Offset: 0x1a8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [5]

OTG_HS host channel-11 interrupt mask register

Offset: 0x1ac, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [5]

OTG_HS host channel-11 transfer size register

Offset: 0x1b0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [5]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [6]

OTG_HS host channel-0 characteristics register

Offset: 0x1c0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [6]

OTG_HS host channel-0 split control register

Offset: 0x1c4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [6]

OTG_HS host channel-11 interrupt register

Offset: 0x1c8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [6]

OTG_HS host channel-11 interrupt mask register

Offset: 0x1cc, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [6]

OTG_HS host channel-11 transfer size register

Offset: 0x1d0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [6]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [7]

OTG_HS host channel-0 characteristics register

Offset: 0x1e0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [7]

OTG_HS host channel-0 split control register

Offset: 0x1e4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [7]

OTG_HS host channel-11 interrupt register

Offset: 0x1e8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [7]

OTG_HS host channel-11 interrupt mask register

Offset: 0x1ec, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [7]

OTG_HS host channel-11 transfer size register

Offset: 0x1f0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [7]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [8]

OTG_HS host channel-0 characteristics register

Offset: 0x200, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [8]

OTG_HS host channel-0 split control register

Offset: 0x204, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [8]

OTG_HS host channel-11 interrupt register

Offset: 0x208, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [8]

OTG_HS host channel-11 interrupt mask register

Offset: 0x20c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [8]

OTG_HS host channel-11 transfer size register

Offset: 0x210, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [8]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [9]

OTG_HS host channel-0 characteristics register

Offset: 0x220, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [9]

OTG_HS host channel-0 split control register

Offset: 0x224, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [9]

OTG_HS host channel-11 interrupt register

Offset: 0x228, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [9]

OTG_HS host channel-11 interrupt mask register

Offset: 0x22c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [9]

OTG_HS host channel-11 transfer size register

Offset: 0x230, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [9]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [10]

OTG_HS host channel-0 characteristics register

Offset: 0x240, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [10]

OTG_HS host channel-0 split control register

Offset: 0x244, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [10]

OTG_HS host channel-11 interrupt register

Offset: 0x248, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [10]

OTG_HS host channel-11 interrupt mask register

Offset: 0x24c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [10]

OTG_HS host channel-11 transfer size register

Offset: 0x250, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [10]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [11]

OTG_HS host channel-0 characteristics register

Offset: 0x260, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [11]

OTG_HS host channel-0 split control register

Offset: 0x264, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [11]

OTG_HS host channel-11 interrupt register

Offset: 0x268, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [11]

OTG_HS host channel-11 interrupt mask register

Offset: 0x26c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [11]

OTG_HS host channel-11 transfer size register

Offset: 0x270, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [11]

OTG_HS host channel-0 DMA address register

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
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [12]

OTG_HS host channel-0 characteristics register

Offset: 0x280, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [12]

OTG_HS host channel-0 split control register

Offset: 0x284, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [12]

OTG_HS host channel-11 interrupt register

Offset: 0x288, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [12]

OTG_HS host channel-11 interrupt mask register

Offset: 0x28c, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [12]

OTG_HS host channel-11 transfer size register

Offset: 0x290, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [12]

OTG_HS host channel-0 DMA address register

Offset: 0x294, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [13]

OTG_HS host channel-0 characteristics register

Offset: 0x2a0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [13]

OTG_HS host channel-0 split control register

Offset: 0x2a4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [13]

OTG_HS host channel-11 interrupt register

Offset: 0x2a8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [13]

OTG_HS host channel-11 interrupt mask register

Offset: 0x2ac, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [13]

OTG_HS host channel-11 transfer size register

Offset: 0x2b0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [13]

OTG_HS host channel-0 DMA address register

Offset: 0x2b4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [14]

OTG_HS host channel-0 characteristics register

Offset: 0x2c0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [14]

OTG_HS host channel-0 split control register

Offset: 0x2c4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [14]

OTG_HS host channel-11 interrupt register

Offset: 0x2c8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [14]

OTG_HS host channel-11 interrupt mask register

Offset: 0x2cc, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [14]

OTG_HS host channel-11 transfer size register

Offset: 0x2d0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [14]

OTG_HS host channel-0 DMA address register

Offset: 0x2d4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

CHAR [15]

OTG_HS host channel-0 characteristics register

Offset: 0x2e0, 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
CHENA
rw
CHDIS
rw
ODDFRM
rw
DAD
rw
MC
rw
EPTYP
rw
LSDEV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EPDIR
rw
EPNUM
rw
MPSIZ
rw
Toggle fields

MPSIZ

Bits 0-10: Maximum packet size.

EPNUM

Bits 11-14: Endpoint number.

EPDIR

Bit 15: Endpoint direction.

LSDEV

Bit 17: Low-speed device.

EPTYP

Bits 18-19: Endpoint type.

MC

Bits 20-21: Multi Count (MC) / Error Count (EC).

DAD

Bits 22-28: Device address.

ODDFRM

Bit 29: Odd frame.

CHDIS

Bit 30: Channel disable.

CHENA

Bit 31: Channel enable.

SPLT [15]

OTG_HS host channel-0 split control register

Offset: 0x2e4, 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
SPLITEN
rw
COMPLSPLT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XACTPOS
rw
HUBADDR
rw
PRTADDR
rw
Toggle fields

PRTADDR

Bits 0-6: Port address.

HUBADDR

Bits 7-13: Hub address.

XACTPOS

Bits 14-15: XACTPOS.

COMPLSPLT

Bit 16: Do complete split.

SPLITEN

Bit 31: Split enable.

INT [15]

OTG_HS host channel-11 interrupt register

Offset: 0x2e8, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERR
rw
FRMOR
rw
BBERR
rw
TXERR
rw
NYET
rw
ACK
rw
NAK
rw
STALL
rw
AHBERR
rw
CHH
rw
XFRC
rw
Toggle fields

XFRC

Bit 0: Transfer completed.

CHH

Bit 1: Channel halted.

AHBERR

Bit 2: AHB error.

STALL

Bit 3: STALL response received interrupt.

NAK

Bit 4: NAK response received interrupt.

ACK

Bit 5: ACK response received/transmitted interrupt.

NYET

Bit 6: Response received interrupt.

TXERR

Bit 7: Transaction error.

BBERR

Bit 8: Babble error.

FRMOR

Bit 9: Frame overrun.

DTERR

Bit 10: Data toggle error.

INTMSK [15]

OTG_HS host channel-11 interrupt mask register

Offset: 0x2ec, size: 32, reset: 0x00000000, access: read-write

0/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DTERRM
rw
FRMORM
rw
BBERRM
rw
TXERRM
rw
NYET
rw
ACKM
rw
NAKM
rw
STALLM
rw
AHBERR
rw
CHHM
rw
XFRCM
rw
Toggle fields

XFRCM

Bit 0: Transfer completed mask.

CHHM

Bit 1: Channel halted mask.

AHBERR

Bit 2: AHB error.

STALLM

Bit 3: STALL response received interrupt mask.

NAKM

Bit 4: NAK response received interrupt mask.

ACKM

Bit 5: ACK response received/transmitted interrupt mask.

NYET

Bit 6: response received interrupt mask.

TXERRM

Bit 7: Transaction error mask.

BBERRM

Bit 8: Babble error mask.

FRMORM

Bit 9: Frame overrun mask.

DTERRM

Bit 10: Data toggle error mask.

TSIZ [15]

OTG_HS host channel-11 transfer size register

Offset: 0x2f0, 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
DPID
rw
PKTCNT
rw
XFRSIZ
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XFRSIZ
rw
Toggle fields

XFRSIZ

Bits 0-18: Transfer size.

PKTCNT

Bits 19-28: Packet count.

DPID

Bits 29-30: Data PID.

DMA [15]

OTG_HS host channel-0 DMA address register

Offset: 0x2f4, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DMAADDR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DMAADDR
rw
Toggle fields

DMAADDR

Bits 0-31: DMA address.

OTG2_HS_PWRCLK

0x40080e00: USB 1 on the go high speed

0/3 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 PCGCR
Toggle registers

PCGCR

Power and clock gating 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
PHYSUSP
rw
GATEHCLK
rw
STPPCLK
rw
Toggle fields

STPPCLK

Bit 0: Stop PHY clock.

GATEHCLK

Bit 1: Gate HCLK.

PHYSUSP

Bit 4: PHY suspended.

PF

0xe000ed78: Processor features

22/22 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 CLIDR
0x4 CTR
0x8 CCSIDR
Toggle registers

CLIDR

Cache Level ID register

Offset: 0x0, size: 32, reset: 0x09000003, access: read-only

10/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
LoU
r
LoC
r
LoUIS
r
CL7
r
CL6
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CL6
r
CL5
r
CL4
r
CL3
r
CL2
r
CL1
r
Toggle fields

CL1

Bits 0-2: CL1.

CL2

Bits 3-5: CL2.

CL3

Bits 6-8: CL3.

CL4

Bits 9-11: CL4.

CL5

Bits 12-14: CL5.

CL6

Bits 15-17: CL6.

CL7

Bits 18-20: CL7.

LoUIS

Bits 21-23: LoUIS.

LoC

Bits 24-26: LoC.

LoU

Bits 27-29: LoU.

CTR

Cache Type register

Offset: 0x4, size: 32, reset: 0x8303C003, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Format
r
CWG
r
ERG
r
DMinLine
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
_IminLine
r
Toggle fields

_IminLine

Bits 0-3: IminLine.

DMinLine

Bits 16-19: DMinLine.

ERG

Bits 20-23: ERG.

CWG

Bits 24-27: CWG.

Format

Bits 29-31: Format.

CCSIDR

Cache Size ID register

Offset: 0x8, 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
WT
r
WB
r
RA
r
WA
r
NumSets
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NumSets
r
Associativity
r
LineSize
r
Toggle fields

LineSize

Bits 0-2: LineSize.

Associativity

Bits 3-12: Associativity.

NumSets

Bits 13-27: NumSets.

WA

Bit 28: WA.

RA

Bit 29: RA.

WB

Bit 30: WB.

WT

Bit 31: WT.

PWR

0x58024800: PWR

15/66 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 CSR1
0x8 CR2
0xc CR3
0x10 CPUCR
0x18 D3CR
0x20 WKUPCR
0x24 WKUPFR
0x28 WKUPEPR
Toggle registers

CR1

PWR control register 1

Offset: 0x0, size: 32, reset: 0xF000C000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ALS
rw
AVDEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SVOS
rw
FLPS
rw
DBP
rw
PLS
rw
PVDE
rw
LPDS
rw
Toggle fields

LPDS

Bit 0: Low-power Deepsleep with SVOS3 (SVOS4 and SVOS5 always use low-power, regardless of the setting of this bit).

PVDE

Bit 4: Programmable voltage detector enable.

PLS

Bits 5-7: Programmable voltage detector level selection These bits select the voltage threshold detected by the PVD. Note: Refer to Section Electrical characteristics of the product datasheet for more details..

DBP

Bit 8: Disable backup domain write protection In reset state, the RCC_BDCR register, the RTC registers (including the backup registers), BREN and MOEN bits in PWR_CR2 register, are protected against parasitic write access. This bit must be set to enable write access to these registers..

FLPS

Bit 9: Flash low-power mode in DStop mode This bit allows to obtain the best trade-off between low-power consumption and restart time when exiting from DStop mode. When it is set, the Flash memory enters low-power mode when D1 domain is in DStop mode..

SVOS

Bits 14-15: System Stop mode voltage scaling selection These bits control the VCORE voltage level in system Stop mode, to obtain the best trade-off between power consumption and performance..

AVDEN

Bit 16: Peripheral voltage monitor on VDDA enable.

ALS

Bits 17-18: Analog voltage detector level selection These bits select the voltage threshold detected by the AVD..

CSR1

PWR control status register 1

Offset: 0x4, size: 32, reset: 0x00004000, access: read-only

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AVDO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTVOS
r
ACTVOSRDY
r
PVDO
r
Toggle fields

PVDO

Bit 4: Programmable voltage detect output This bit is set and cleared by hardware. It is valid only if the PVD has been enabled by the PVDE bit. Note: since the PVD is disabled in Standby mode, this bit is equal to 0 after Standby or reset until the PVDE bit is set..

ACTVOSRDY

Bit 13: Voltage levels ready bit for currently used VOS and SDLEVEL This bit is set to 1 by hardware when the voltage regulator and the SD converter are both disabled and Bypass mode is selected in PWR control register 3 (PWR_CR3)..

ACTVOS

Bits 14-15: VOS currently applied for VCORE voltage scaling selection. These bits reflect the last VOS value applied to the PMU..

AVDO

Bit 16: Analog voltage detector output on VDDA This bit is set and cleared by hardware. It is valid only if AVD on VDDA is enabled by the AVDEN bit. Note: Since the AVD is disabled in Standby mode, this bit is equal to 0 after Standby or reset until the AVDEN bit is set..

CR2

This register is not reset by wakeup from Standby mode, RESET signal and VDD POR. It is only reset by VSW POR and VSWRST reset. This register shall not be accessed when VSWRST bit in RCC_BDCR register resets the VSW domain.After reset, PWR_CR2 register is write-protected. Prior to modifying its content, the DBP bit in PWR_CR1 register must be set to disable the write protection.

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

5/7 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
MONEN
rw
BREN
rw
Toggle fields

BREN

Bit 0: Backup regulator enable When set, the Backup regulator (used to maintain the backup RAM content in Standby and VBAT modes) is enabled. If BREN is reset, the backup regulator is switched off. The backup RAM can still be used in Run and Stop modes. However, its content will be lost in Standby and VBAT modes. If BREN is set, the application must wait till the Backup Regulator Ready flag (BRRDY) is set to indicate that the data written into the SRAM will be maintained in Standby and VBAT modes..

MONEN

Bit 4: VBAT and temperature monitoring enable When set, the VBAT supply and temperature monitoring is enabled..

BRRDY

Bit 16: Backup regulator ready This bit is set by hardware to indicate that the Backup regulator is ready..

VBATL

Bit 20: VBAT level monitoring versus low threshold.

VBATH

Bit 21: VBAT level monitoring versus high threshold.

TEMPL

Bit 22: Temperature level monitoring versus low threshold.

TEMPH

Bit 23: Temperature level monitoring versus high threshold.

CR3

Reset only by POR only, not reset by wakeup from Standby mode and RESET pad. The lower byte of this register is written once after POR and shall be written before changing VOS level or ck_sys clock frequency. No limitation applies to the upper bytes.Programming data corresponding to an invalid combination of SDLEVEL, SDEXTHP, SDEN, LDOEN and BYPASS bits (see Table9) will be ignored: data will not be written, the written-once mechanism will lock the register and any further write access will be ignored. The default supply configuration will be kept and the ACTVOSRDY bit in PWR control status register 1 (PWR_CSR1) will go on indicating invalid voltage levels. The system shall be power cycled before writing a new value.

Offset: 0xc, size: 32, reset: 0x00000006, access: Unspecified

1/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
USB33RDY
r
USBREGEN
rw
USB33DEN
w
SDEXTRDY
N/A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VBRS
rw
VBE
rw
SDLEVEL
N/A
SDEXTHP
N/A
SDEN
rw
LDOEN
rw
BYPASS
rw
Toggle fields

BYPASS

Bit 0: Power management unit bypass.

LDOEN

Bit 1: Low drop-out regulator enable.

SDEN

Bit 2: SD converter Enable.

SDEXTHP

Bit 3: Step-down converter forced ON and in High Power MR mode.

SDLEVEL

Bits 4-5: Step-down converter voltage output level selection.

VBE

Bit 8: VBAT charging enable.

VBRS

Bit 9: VBAT charging resistor selection.

SDEXTRDY

Bit 16: SMPS step-down converter external supply ready.

USB33DEN

Bit 24: VDD33USB voltage level detector enable..

USBREGEN

Bit 25: USB regulator enable..

USB33RDY

Bit 26: USB supply ready..

CPUCR

This register allows controlling CPU1 power.

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

4/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RUN_D3
rw
CSSF
rw
SBF_D2
r
SBF_D1
r
SBF
r
STOPF
r
PDDS_D3
rw
PDDS_D2
rw
PDDS_D1
rw
Toggle fields

PDDS_D1

Bit 0: D1 domain Power Down Deepsleep selection. This bit allows CPU1 to define the Deepsleep mode for D1 domain..

PDDS_D2

Bit 1: D2 domain Power Down Deepsleep. This bit allows CPU1 to define the Deepsleep mode for D2 domain..

PDDS_D3

Bit 2: System D3 domain Power Down Deepsleep. This bit allows CPU1 to define the Deepsleep mode for System D3 domain..

STOPF

Bit 5: STOP flag This bit is set by hardware and cleared only by any reset or by setting the CPU1 CSSF bit..

SBF

Bit 6: System Standby flag This bit is set by hardware and cleared only by a POR (Power-on Reset) or by setting the CPU1 CSSF bit.

SBF_D1

Bit 7: D1 domain DStandby flag This bit is set by hardware and cleared by any system reset or by setting the CPU1 CSSF bit. Once set, this bit can be cleared only when the D1 domain is no longer in DStandby mode..

SBF_D2

Bit 8: D2 domain DStandby flag This bit is set by hardware and cleared by any system reset or by setting the CPU1 CSSF bit. Once set, this bit can be cleared only when the D2 domain is no longer in DStandby mode..

CSSF

Bit 9: Clear D1 domain CPU1 Standby, Stop and HOLD flags (always read as 0) This bit is cleared to 0 by hardware..

RUN_D3

Bit 11: Keep system D3 domain in Run mode regardless of the CPU sub-systems modes.

D3CR

This register allows controlling D3 domain power.Following reset VOSRDY will be read 1 by software

Offset: 0x18, size: 32, reset: 0x00004000, access: Unspecified

1/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VOS
rw
VOSRDY
r
Toggle fields

VOSRDY

Bit 13: VOS Ready bit for VCORE voltage scaling output selection. This bit is set to 1 by hardware when Bypass mode is selected in PWR control register 3 (PWR_CR3)..

VOS

Bits 14-15: Voltage scaling selection according to performance These bits control the VCORE voltage level and allow to obtains the best trade-off between power consumption and performance: When increasing the performance, the voltage scaling shall be changed before increasing the system frequency. When decreasing performance, the system frequency shall first be decreased before changing the voltage scaling..

WKUPCR

reset only by system reset, not reset by wakeup from Standby mode5 wait states are required when writing this register (when clearing a WKUPF bit in PWR_WKUPFR, the AHB write access will complete after the WKUPF has been cleared).

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
WKUPC
rw
Toggle fields

WKUPC

Bits 0-5: Clear Wakeup pin flag for WKUP. These bits are always read as 0..

WKUPFR

reset only by system reset, not reset by wakeup from Standby mode

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
WKUPF6
rw
WKUPF5
rw
WKUPF4
rw
WKUPF3
rw
WKUPF2
rw
WKUPF1
rw
Toggle fields

WKUPF1

Bit 0: Wakeup pin WKUPF flag. This bit is set by hardware and cleared only by a Reset pin or by setting the WKUPCn+1 bit in the PWR wakeup clear register (PWR_WKUPCR)..

WKUPF2

Bit 1: Wakeup pin WKUPF flag. This bit is set by hardware and cleared only by a Reset pin or by setting the WKUPCn+1 bit in the PWR wakeup clear register (PWR_WKUPCR)..

WKUPF3

Bit 2: Wakeup pin WKUPF flag. This bit is set by hardware and cleared only by a Reset pin or by setting the WKUPCn+1 bit in the PWR wakeup clear register (PWR_WKUPCR)..

WKUPF4

Bit 3: Wakeup pin WKUPF flag. This bit is set by hardware and cleared only by a Reset pin or by setting the WKUPCn+1 bit in the PWR wakeup clear register (PWR_WKUPCR)..

WKUPF5

Bit 4: Wakeup pin WKUPF flag. This bit is set by hardware and cleared only by a Reset pin or by setting the WKUPCn+1 bit in the PWR wakeup clear register (PWR_WKUPCR)..

WKUPF6

Bit 5: Wakeup pin WKUPF flag. This bit is set by hardware and cleared only by a Reset pin or by setting the WKUPCn+1 bit in the PWR wakeup clear register (PWR_WKUPCR)..

WKUPEPR

Reset only by system reset, not reset by wakeup from Standby mode

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

0/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WKUPPUPD6
rw
WKUPPUPD5
rw
WKUPPUPD4
rw
WKUPPUPD3
rw
WKUPPUPD2
rw
WKUPPUPD1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WKUPP6
rw
WKUPP5
rw
WKUPP4
rw
WKUPP3
rw
WKUPP2
rw
WKUPP1
rw
WKUPEN6
rw
WKUPEN5
rw
WKUPEN4
rw
WKUPEN3
rw
WKUPEN2
rw
WKUPEN1
rw
Toggle fields

WKUPEN1

Bit 0: Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge..

WKUPEN2

Bit 1: Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge..

WKUPEN3

Bit 2: Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge..

WKUPEN4

Bit 3: Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge..

WKUPEN5

Bit 4: Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge..

WKUPEN6

Bit 5: Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge..

WKUPP1

Bit 8: Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin..

WKUPP2

Bit 9: Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin..

WKUPP3

Bit 10: Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin..

WKUPP4

Bit 11: Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin..

WKUPP5

Bit 12: Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin..

WKUPP6

Bit 13: Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin..

WKUPPUPD1

Bits 16-17: Wakeup pin pull configuration.

WKUPPUPD2

Bits 18-19: Wakeup pin pull configuration.

WKUPPUPD3

Bits 20-21: Wakeup pin pull configuration.

WKUPPUPD4

Bits 22-23: Wakeup pin pull configuration.

WKUPPUPD5

Bits 24-25: Wakeup pin pull configuration.

WKUPPUPD6

Bits 26-27: Wakeup pin pull configuration for WKUP(truncate(n/2)-7) These bits define the I/O pad pull configuration used when WKUPEN(truncate(n/2)-7) = 1. The associated GPIO port pull configuration shall be set to the same value or to 00. The Wakeup pin pull configuration is kept in Standby mode..

QUADSPI

0x52005000: QUADSPI

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
0x0 CR
0x4 DCR
0x8 SR
0xc FCR
0x10 DLR
0x14 CCR
0x18 AR
0x1c ABR
0x20 DR
0x24 PSMKR
0x28 PSMAR
0x2c PIR
0x30 LPTR
Toggle registers

CR

QUADSPI control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

0/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRESCALER
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
FSEL
rw
DFM
rw
SSHIFT
rw
TCEN
rw
DMAEN
rw
ABORT
rw
EN
rw
Toggle fields

EN

Bit 0: Enable Enable the QUADSPI..

ABORT

Bit 1: Abort request This bit aborts the on-going command sequence. It is automatically reset once the abort is complete. This bit stops the current transfer. In polling mode or memory-mapped mode, this bit also reset the APM bit or the DM bit..

DMAEN

Bit 2: DMA enable In indirect mode, DMA can be used to input or output data via the QUADSPI_DR register. DMA transfers are initiated when the FIFO threshold flag, FTF, is set..

TCEN

Bit 3: Timeout counter enable This bit is valid only when memory-mapped mode (FMODE = 11) is selected. Activating this bit causes the chip select (nCS) to be released (and thus reduces consumption) if there has not been an access after a certain amount of time, where this time is defined by TIMEOUT[15:0] (QUADSPI_LPTR). Enable the timeout counter. By default, the QUADSPI never stops its prefetch operation, keeping the previous read operation active with nCS maintained low, even if no access to the Flash memory occurs for a long time. Since Flash memories tend to consume more when nCS is held low, the application might want to activate the timeout counter (TCEN = 1, QUADSPI_CR[3]) so that nCS is released after a period of TIMEOUT[15:0] (QUADSPI_LPTR) cycles have elapsed without an access since when the FIFO becomes full with prefetch data. This bit can be modified only when BUSY = 0..

SSHIFT

Bit 4: Sample shift By default, the QUADSPI samples data 1/2 of a CLK cycle after the data is driven by the Flash memory. This bit allows the data is to be sampled later in order to account for external signal delays. Firmware must assure that SSHIFT = 0 when in DDR mode (when DDRM = 1). This field can be modified only when BUSY = 0..

DFM

Bit 6: Dual-flash mode This bit activates dual-flash mode, where two external Flash memories are used simultaneously to double throughput and capacity. This bit can be modified only when BUSY = 0..

FSEL

Bit 7: Flash memory selection This bit selects the Flash memory to be addressed in single flash mode (when DFM = 0). This bit can be modified only when BUSY = 0. This bit is ignored when DFM = 1..

FTHRES

Bits 8-12: FIFO threshold level Defines, in indirect mode, the threshold number of bytes in the FIFO that will cause the FIFO threshold flag (FTF, QUADSPI_SR[2]) to be set. In indirect write mode (FMODE = 00): ... In indirect read mode (FMODE = 01): ... If DMAEN = 1, then the DMA controller for the corresponding channel must be disabled before changing the FTHRES value..

TEIE

Bit 16: Transfer error interrupt enable This bit enables the transfer error interrupt..

TCIE

Bit 17: Transfer complete interrupt enable This bit enables the transfer complete interrupt..

FTIE

Bit 18: FIFO threshold interrupt enable This bit enables the FIFO threshold interrupt..

SMIE

Bit 19: Status match interrupt enable This bit enables the status match interrupt..

TOIE

Bit 20: TimeOut interrupt enable This bit enables the TimeOut interrupt..

APMS

Bit 22: Automatic poll mode stop This bit determines if automatic polling is stopped after a match. This bit can be modified only when BUSY = 0..

PMM

Bit 23: Polling match mode This bit indicates which method should be used for determining a match during automatic polling mode. This bit can be modified only when BUSY = 0..

PRESCALER

Bits 24-31: clock prescaler.

DCR

QUADSPI device configuration register

Offset: 0x4, 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
FSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CSHT
rw
CKMODE
rw
Toggle fields

CKMODE

Bit 0: indicates the level that clk takes between command.

CSHT

Bits 8-10: Chip select high time CSHT+1 defines the minimum number of CLK cycles which the chip select (nCS) must remain high between commands issued to the Flash memory. ... This field can be modified only when BUSY = 0..

FSIZE

Bits 16-20: Flash memory size This field defines the size of external memory using the following formula: Number of bytes in Flash memory = 2[FSIZE+1] FSIZE+1 is effectively the number of address bits required to address the Flash memory. The Flash memory capacity can be up to 4GB (addressed using 32 bits) in indirect mode, but the addressable space in memory-mapped mode is limited to 256MB. If DFM = 1, FSIZE indicates the total capacity of the two Flash memories together. This field can be modified only when BUSY = 0..

SR

QUADSPI status register

Offset: 0x8, 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 This bit is set in indirect mode when an invalid address is being accessed in indirect mode. It is cleared by writing 1 to CTEF..

TCF

Bit 1: Transfer complete flag This bit is set in indirect mode when the programmed number of data has been transferred or in any mode when the transfer has been aborted.It is cleared by writing 1 to CTCF..

FTF

Bit 2: FIFO threshold flag In indirect mode, this bit is set when the FIFO threshold has been reached, or if there is any data left in the FIFO after reads from the Flash memory are complete. It is cleared automatically as soon as threshold condition is no longer true. In automatic polling mode this bit is set every time the status register is read, and the bit is cleared when the data register is read..

SMF

Bit 3: Status match flag This bit is set in automatic polling mode when the unmasked received data matches the corresponding bits in the match register (QUADSPI_PSMAR). It is cleared by writing 1 to CSMF..

TOF

Bit 4: Timeout flag This bit is set when timeout occurs. It is cleared by writing 1 to CTOF..

BUSY

Bit 5: Busy This bit is set when an operation is on going. This bit clears automatically when the operation with the Flash memory is finished and the FIFO is empty..

FLEVEL

Bits 8-13: FIFO level This field gives the number of valid bytes which are being held in the FIFO. FLEVEL = 0 when the FIFO is empty, and 16 when it is full. In memory-mapped mode and in automatic status polling mode, FLEVEL is zero..

FCR

QUADSPI flag clear 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
CTOF
rw
CSMF
rw
CTCF
rw
CTEF
rw
Toggle fields

CTEF

Bit 0: Clear transfer error flag Writing 1 clears the TEF flag in the QUADSPI_SR register.

CTCF

Bit 1: Clear transfer complete flag Writing 1 clears the TCF flag in the QUADSPI_SR register.

CSMF

Bit 3: Clear status match flag Writing 1 clears the SMF flag in the QUADSPI_SR register.

CTOF

Bit 4: Clear timeout flag Writing 1 clears the TOF flag in the QUADSPI_SR register.

DLR

QUADSPI data length register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 Number of data to be retrieved (value+1) in indirect and status-polling modes. A value no greater than 3 (indicating 4 bytes) should be used for status-polling mode. All 1s in indirect mode means undefined length, where QUADSPI will continue until the end of memory, as defined by FSIZE. 0x0000_0000: 1 byte is to be transferred 0x0000_0001: 2 bytes are to be transferred 0x0000_0002: 3 bytes are to be transferred 0x0000_0003: 4 bytes are to be transferred ... 0xFFFF_FFFD: 4,294,967,294 (4G-2) bytes are to be transferred 0xFFFF_FFFE: 4,294,967,295 (4G-1) bytes are to be transferred 0xFFFF_FFFF: undefined length -- all bytes until the end of Flash memory (as defined by FSIZE) are to be transferred. Continue reading indefinitely if FSIZE = 0x1F. DL[0] is stuck at 1 in dual-flash mode (DFM = 1) even when 0 is written to this bit, thus assuring that each access transfers an even number of bytes. This field has no effect when in memory-mapped mode (FMODE = 10). This field can be written only when BUSY = 0..

CCR

QUADSPI communication configuration register

Offset: 0x14, 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
DDRM
rw
DHHC
rw
SIOO
rw
FMODE
rw
DMODE
rw
DCYC
rw
ABSIZE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABMODE
rw
ADSIZE
rw
ADMODE
rw
IMODE
rw
INSTRUCTION
rw
Toggle fields

INSTRUCTION

Bits 0-7: Instruction Instruction to be send to the external SPI device. This field can be written only when BUSY = 0..

IMODE

Bits 8-9: Instruction mode This field defines the instruction phase mode of operation: This field can be written only when BUSY = 0..

ADMODE

Bits 10-11: Address mode This field defines the address phase mode of operation: This field can be written only when BUSY = 0..

ADSIZE

Bits 12-13: Address size This bit defines address size: This field can be written only when BUSY = 0..

ABMODE

Bits 14-15: Alternate bytes mode This field defines the alternate-bytes phase mode of operation: This field can be written only when BUSY = 0..

ABSIZE

Bits 16-17: Alternate bytes size This bit defines alternate bytes size: This field can be written only when BUSY = 0..

DCYC

Bits 18-22: Number of dummy cycles This field defines the duration of the dummy phase. In both SDR and DDR modes, it specifies a number of CLK cycles (0-31). This field can be written only when BUSY = 0..

DMODE

Bits 24-25: Data mode This field defines the data phases mode of operation: This field also determines the dummy phase mode of operation. This field can be written only when BUSY = 0..

FMODE

Bits 26-27: Functional mode This field defines the QUADSPI functional mode of operation. If DMAEN = 1 already, then the DMA controller for the corresponding channel must be disabled before changing the FMODE value. This field can be written only when BUSY = 0..

SIOO

Bit 28: Send instruction only once mode See Section15.3.11: Sending the instruction only once on page13. This bit has no effect when IMODE = 00. This field can be written only when BUSY = 0..

DHHC

Bit 30: DDR hold Delay the data output by 1/4 of the QUADSPI output clock cycle in DDR mode: This feature is only active in DDR mode. This field can be written only when BUSY = 0..

DDRM

Bit 31: Double data rate mode This bit sets the DDR mode for the address, alternate byte and data phase: This field can be written only when BUSY = 0..

AR

QUADSPI address register

Offset: 0x18, size: 32, reset: 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: [31 0]: Address Address to be send to the external Flash memory Writes to this field are ignored when BUSY = 0 or when FMODE = 11 (memory-mapped mode). In dual flash mode, ADDRESS[0] is automatically stuck to 0 as the address should always be even.

ABR

QUADSPI alternate bytes registers

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 Optional data to be send to the external SPI device right after the address. This field can be written only when BUSY = 0..

DR

QUADSPI data register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 Data to be sent/received to/from the external SPI device. In indirect write mode, data written to this register is stored on the FIFO before it is sent to the Flash memory during the data phase. If the FIFO is too full, a write operation is stalled until the FIFO has enough space to accept the amount of data being written. In indirect read mode, reading this register gives (via the FIFO) the data which was received from the Flash memory. If the FIFO does not have as many bytes as requested by the read operation and if BUSY=1, the read operation is stalled until enough data is present or until the transfer is complete, whichever happens first. In automatic polling mode, this register contains the last data read from the Flash memory (without masking). Word, halfword, and byte accesses to this register are supported. In indirect write mode, a byte write adds 1 byte to the FIFO, a halfword write 2, and a word write 4. Similarly, in indirect read mode, a byte read removes 1 byte from the FIFO, a halfword read 2, and a word read 4. Accesses in indirect mode must be aligned to the bottom of this register: a byte read must read DATA[7:0] and a halfword read must read DATA[15:0]..

PSMKR

QUADSPI polling status mask 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
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 Mask to be applied to the status bytes received in polling mode. For bit n: This field can be written only when BUSY = 0..

PSMAR

QUADSPI polling status match 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
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 Value to be compared with the masked status register to get a match. This field can be written only when BUSY = 0..

PIR

QUADSPI polling interval register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
INTERVAL
rw
Toggle fields

INTERVAL

Bits 0-15: Polling interval Number of CLK cycles between to read during automatic polling phases. This field can be written only when BUSY = 0..

LPTR

QUADSPI low-power timeout register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMEOUT
rw
Toggle fields

TIMEOUT

Bits 0-15: Timeout period After each access in memory-mapped mode, the QUADSPI prefetches the subsequent bytes and holds these bytes in the FIFO. This field indicates how many CLK cycles the QUADSPI waits after the FIFO becomes full until it raises nCS, putting the Flash memory in a lower-consumption state. This field can be written only when BUSY = 0..

RAMECC1

0x52009000: RAM ECC monitoring

20/59 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 IER
0x20 M1CR
0x24 M1SR
0x28 M1FAR
0x2c M1FDRL
0x30 M1FDRH
0x34 M1FECR
0x40 M2CR
0x44 M2SR
0x48 M2FAR
0x4c M2FDRL
0x50 M2FDRH
0x54 M2FECR
0x60 M3CR
0x64 M3SR
0x68 M3FAR
0x6c M3FDRL
0x70 M3FDRH
0x74 M3FECR
0x80 M4CR
0x84 M4SR
0x88 M4FAR
0x8c M4FDRL
0x90 M4FDRH
0x94 M4FECR
0xa0 M5CR
0xa4 M5SR
0xa8 M5FAR
0xac M5FDRL
0xb0 M5FDRH
0xb4 M5FECR
Toggle registers

IER

RAMECC interrupt enable 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
GECCDEBWIE
rw
GECCDEIE
rw
GECCSEIE
rw
GIE
rw
Toggle fields

GIE

Bit 0: Global interrupt enable.

GECCSEIE

Bit 1: Global ECC single error interrupt enable.

GECCDEIE

Bit 2: Global ECC double error interrupt enable.

GECCDEBWIE

Bit 3: Global ECC double error on byte write interrupt enable.

M1CR

RAMECC monitor 1 configuration register

Offset: 0x20, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M1SR

RAMECC monitor 1 status register

Offset: 0x24, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M1FAR

RAMECC monitor 1 failing address register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M1FDRL

RAMECC monitor 1 failing data low register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M1FDRH

RAMECC monitor 1 failing data high register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M1FECR

RAMECC monitor 1 failing error code 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M2CR

RAMECC monitor 2 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M2SR

RAMECC monitor 2 status 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M2FAR

RAMECC monitor 2 failing address register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M2FDRL

RAMECC monitor 2 failing data low 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M2FDRH

RAMECC monitor 2 failing data high 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M2FECR

RAMECC monitor 2 failing error code register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M3CR

RAMECC monitor 3 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M3SR

RAMECC monitor 3 status register

Offset: 0x64, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M3FAR

RAMECC monitor 3 failing address register

Offset: 0x68, 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
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M3FDRL

RAMECC monitor 3 failing data low register

Offset: 0x6c, 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M3FDRH

RAMECC monitor 3 failing data high register

Offset: 0x70, 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M3FECR

RAMECC monitor 3 failing error code register

Offset: 0x74, 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M4CR

RAMECC monitor 4 configuration register

Offset: 0x80, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M4SR

RAMECC monitor 4 status 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M4FAR

RAMECC monitor 4 failing address register

Offset: 0x88, 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
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M4FDRL

RAMECC monitor 4 failing data low register

Offset: 0x8c, 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M4FDRH

RAMECC monitor 4 failing data high register

Offset: 0x90, 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M4FECR

RAMECC monitor 4 failing error code register

Offset: 0x94, 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M5CR

RAMECC monitor 5 configuration register

Offset: 0xa0, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M5SR

RAMECC monitor 5 status register

Offset: 0xa4, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M5FAR

RAMECC monitor 5 failing address register

Offset: 0xa8, 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
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M5FDRL

RAMECC monitor 5 failing data low register

Offset: 0xac, 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M5FDRH

RAMECC monitor 5 failing data high register

Offset: 0xb0, 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M5FECR

RAMECC monitor 5 failing error code register

Offset: 0xb4, 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

RAMECC2

0x48023000: RAM ECC monitoring

20/59 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 IER
0x20 M1CR
0x24 M1SR
0x28 M1FAR
0x2c M1FDRL
0x30 M1FDRH
0x34 M1FECR
0x40 M2CR
0x44 M2SR
0x48 M2FAR
0x4c M2FDRL
0x50 M2FDRH
0x54 M2FECR
0x60 M3CR
0x64 M3SR
0x68 M3FAR
0x6c M3FDRL
0x70 M3FDRH
0x74 M3FECR
0x80 M4CR
0x84 M4SR
0x88 M4FAR
0x8c M4FDRL
0x90 M4FDRH
0x94 M4FECR
0xa0 M5CR
0xa4 M5SR
0xa8 M5FAR
0xac M5FDRL
0xb0 M5FDRH
0xb4 M5FECR
Toggle registers

IER

RAMECC interrupt enable 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
GECCDEBWIE
rw
GECCDEIE
rw
GECCSEIE
rw
GIE
rw
Toggle fields

GIE

Bit 0: Global interrupt enable.

GECCSEIE

Bit 1: Global ECC single error interrupt enable.

GECCDEIE

Bit 2: Global ECC double error interrupt enable.

GECCDEBWIE

Bit 3: Global ECC double error on byte write interrupt enable.

M1CR

RAMECC monitor 1 configuration register

Offset: 0x20, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M1SR

RAMECC monitor 1 status register

Offset: 0x24, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M1FAR

RAMECC monitor 1 failing address register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M1FDRL

RAMECC monitor 1 failing data low register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M1FDRH

RAMECC monitor 1 failing data high register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M1FECR

RAMECC monitor 1 failing error code 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M2CR

RAMECC monitor 2 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M2SR

RAMECC monitor 2 status 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M2FAR

RAMECC monitor 2 failing address register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M2FDRL

RAMECC monitor 2 failing data low 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M2FDRH

RAMECC monitor 2 failing data high 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M2FECR

RAMECC monitor 2 failing error code register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M3CR

RAMECC monitor 3 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M3SR

RAMECC monitor 3 status register

Offset: 0x64, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M3FAR

RAMECC monitor 3 failing address register

Offset: 0x68, 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
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M3FDRL

RAMECC monitor 3 failing data low register

Offset: 0x6c, 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M3FDRH

RAMECC monitor 3 failing data high register

Offset: 0x70, 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M3FECR

RAMECC monitor 3 failing error code register

Offset: 0x74, 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M4CR

RAMECC monitor 4 configuration register

Offset: 0x80, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M4SR

RAMECC monitor 4 status 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M4FAR

RAMECC monitor 4 failing address register

Offset: 0x88, 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
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M4FDRL

RAMECC monitor 4 failing data low register

Offset: 0x8c, 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M4FDRH

RAMECC monitor 4 failing data high register

Offset: 0x90, 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M4FECR

RAMECC monitor 4 failing error code register

Offset: 0x94, 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M5CR

RAMECC monitor 5 configuration register

Offset: 0xa0, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M5SR

RAMECC monitor 5 status register

Offset: 0xa4, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M5FAR

RAMECC monitor 5 failing address register

Offset: 0xa8, 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
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M5FDRL

RAMECC monitor 5 failing data low register

Offset: 0xac, 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M5FDRH

RAMECC monitor 5 failing data high register

Offset: 0xb0, 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M5FECR

RAMECC monitor 5 failing error code register

Offset: 0xb4, 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

RAMECC3

0x58027000: RAM ECC monitoring

8/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 IER
0x20 M1CR
0x24 M1SR
0x28 M1FAR
0x2c M1FDRL
0x30 M1FDRH
0x34 M1FECR
0x40 M2CR
0x44 M2SR
0x48 M2FAR
0x4c M2FDRL
0x50 M2FDRH
0x54 M2FECR
Toggle registers

IER

RAMECC interrupt enable 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
GECCDEBWIE
rw
GECCDEIE
rw
GECCSEIE
rw
GIE
rw
Toggle fields

GIE

Bit 0: Global interrupt enable.

GECCSEIE

Bit 1: Global ECC single error interrupt enable.

GECCDEIE

Bit 2: Global ECC double error interrupt enable.

GECCDEBWIE

Bit 3: Global ECC double error on byte write interrupt enable.

M1CR

RAMECC monitor 1 configuration register

Offset: 0x20, 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M1SR

RAMECC monitor 1 status register

Offset: 0x24, 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M1FAR

RAMECC monitor 1 failing address register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M1FDRL

RAMECC monitor 1 failing data low register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M1FDRH

RAMECC monitor 1 failing data high register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M1FECR

RAMECC monitor 1 failing error code 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
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

M2CR

RAMECC monitor 2 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
ECCELEN
rw
ECCDEBWIE
rw
ECCDEIE
rw
ECCSEIE
rw
Toggle fields

ECCSEIE

Bit 2: ECC single error interrupt enable.

ECCDEIE

Bit 3: ECC double error interrupt enable.

ECCDEBWIE

Bit 4: ECC double error on byte write interrupt enable.

ECCELEN

Bit 5: ECC error context latching enable.

M2SR

RAMECC monitor 2 status 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
DEBWDF
rw
DEDF
rw
SEDCF
rw
Toggle fields

SEDCF

Bit 0: ECC single error detected flag.

DEDF

Bit 1: ECC double error detected flag.

DEBWDF

Bit 2: ECC double error on byte write flag.

M2FAR

RAMECC monitor 2 failing address register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FADD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FADD
r
Toggle fields

FADD

Bits 0-31: ECC failing address.

M2FDRL

RAMECC monitor 2 failing data low 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
FDATAL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAL
r
Toggle fields

FDATAL

Bits 0-31: ECC failing data low.

M2FDRH

RAMECC monitor 2 failing data high 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
FDATAH
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDATAH
r
Toggle fields

FDATAH

Bits 0-31: ECC failing data high.

M2FECR

RAMECC monitor 2 failing error code register

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FEC
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FEC
r
Toggle fields

FEC

Bits 0-31: ECC failing code.

RCC

0x58024400: Reset and clock control

695/703 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 HSICFGR
0x8 CRRCR
0xc CSICFGR
0x10 CFGR
0x18 D1CFGR
0x1c D2CFGR
0x20 D3CFGR
0x28 PLLCKSELR
0x2c PLLCFGR
0x30 PLL1DIVR
0x34 PLL1FRACR
0x38 PLL2DIVR
0x3c PLL2FRACR
0x40 PLL3DIVR
0x44 PLL3FRACR
0x4c D1CCIPR
0x50 D2CCIP1R
0x54 D2CCIP2R
0x58 D3CCIPR
0x60 CIER
0x64 CIFR
0x68 CICR
0x70 BDCR
0x74 CSR
0x7c AHB3RSTR
0x80 AHB1RSTR
0x84 AHB2RSTR
0x88 AHB4RSTR
0x8c APB3RSTR
0x90 APB1LRSTR
0x94 APB1HRSTR
0x98 APB2RSTR
0x9c APB4RSTR
0xa0 GCR
0xa8 D3AMR
0xd0 RSR
0xd4 AHB3ENR
0xd8 AHB1ENR
0xdc AHB2ENR
0xe0 AHB4ENR
0xe4 APB3ENR
0xe8 APB1LENR
0xec APB1HENR
0xf0 APB2ENR
0xf4 APB4ENR
0xfc AHB3LPENR
0x100 AHB1LPENR
0x104 AHB2LPENR
0x108 AHB4LPENR
0x10c APB3LPENR
0x110 APB1LLPENR
0x114 APB1HLPENR
0x118 APB2LPENR
0x11c APB4LPENR
0x130 C1_RSR
0x134 C1_AHB3ENR
0x138 C1_AHB1ENR
0x13c C1_AHB2ENR
0x140 C1_AHB4ENR
0x144 C1_APB3ENR
0x148 C1_APB1LENR
0x14c C1_APB1HENR
0x150 C1_APB2ENR
0x154 C1_APB4ENR
0x15c C1_AHB3LPENR
0x160 C1_AHB1LPENR
0x164 C1_AHB2LPENR
0x168 C1_AHB4LPENR
0x16c C1_APB3LPENR
0x170 C1_APB1LLPENR
0x174 C1_APB1HLPENR
0x178 C1_APB2LPENR
0x17c C1_APB4LPENR
Toggle registers

CR

clock control register

Offset: 0x0, size: 32, reset: 0x00000083, access: read-write

22/22 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PLL3RDY
rw
PLL3ON
rw
PLL2RDY
rw
PLL2ON
rw
PLL1RDY
rw
PLL1ON
rw
HSECSSON
rw
HSEBYP
rw
HSERDY
rw
HSEON
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D2CKRDY
rw
D1CKRDY
rw
HSI48RDY
rw
HSI48ON
rw
CSIKERON
rw
CSIRDY
rw
CSION
rw
HSIDIVF
rw
HSIDIV
rw
HSIRDY
rw
HSIKERON
rw
HSION
rw
Toggle fields

HSION

Bit 0: Internal high-speed clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSIKERON

Bit 1: High Speed Internal clock enable in Stop mode.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSIRDY

Bit 2: HSI clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

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 7: CSI clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

CSIRDY

Bit 8: CSI clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

CSIKERON

Bit 9: CSI clock enable in Stop mode.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSI48ON

Bit 12: RC48 clock enable.

Allowed values:
0: Off: Clock Off
1: On: Clock On

HSI48RDY

Bit 13: RC48 clock ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

D1CKRDY

Bit 14: D1 domain clocks ready flag.

Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready

D2CKRDY

Bit 15: D2 domain clocks 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

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 configuration register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSITRIM
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HSICAL
rw
Toggle fields

HSICAL

Bits 0-11: HSI clock calibration.

HSITRIM

Bits 24-30: HSI clock trimming.

Allowed values: 0x0-0x7f

CRRCR

RCC Clock Recovery RC 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
HSI48CAL
r
Toggle fields

HSI48CAL

Bits 0-9: Internal RC 48 MHz clock calibration.

CSICFGR

RCC CSI configuration register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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-9: CSI clock calibration.

CSITRIM

Bits 24-29: CSI clock trimming.

Allowed values: 0x0-0x3f

CFGR

RCC Clock Configuration Register

Offset: 0x10, 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
MCO2
rw
MCO2PRE
rw
MCO1
rw
MCO1PRE
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TIMPRE
rw
HRTIMSEL
rw
RTCPRE
rw
STOPKERWUCK
rw
STOPWUCK
rw
SWS
rw
SW
rw
Toggle fields

SW

Bits 0-2: System 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-5: 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 wake up 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 wake up 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

HRTIMSEL

Bit 14: High Resolution Timer clock prescaler selection.

Allowed values:
0: TIMY_KER: The HRTIM prescaler clock source is the same as other timers (rcc_timy_ker_ck)
1: C_CK: The HRTIM prescaler clock source is the CPU clock (c_ck)

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

MCO1

Bits 22-24: Micro-controller clock output 1.

Allowed values:
0: HSI: HSI selected for micro-controller clock output
1: LSE: LSE selected for micro-controller clock output
2: HSE: HSE selected for micro-controller clock output
3: PLL1_Q: pll1_q selected for micro-controller clock output
4: HSI48: HSI48 selected for micro-controller clock output

MCO2PRE

Bits 25-28: MCO2 prescaler.

Allowed values: 0x0-0xf

MCO2

Bits 29-31: Micro-controller clock output 2.

Allowed values:
0: SYSCLK: System clock selected for micro-controller clock output
1: PLL2_P: pll2_p selected for micro-controller clock output
2: HSE: HSE selected for micro-controller clock output
3: PLL1_P: pll1_p selected for micro-controller clock output
4: CSI: CSI selected for micro-controller clock output
5: LSI: LSI selected for micro-controller clock output

D1CFGR

RCC Domain 1 Clock Configuration Register

Offset: 0x18, 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
D1CPRE
rw
D1PPRE
rw
HPRE
rw
Toggle fields

HPRE

Bits 0-3: D1 domain AHB prescaler.

Allowed values:
0: Div1: sys_ck not divided
8: Div2: sys_ck divided by 2
9: Div4: sys_ck divided by 4
10: Div8: sys_ck divided by 8
11: Div16: sys_ck divided by 16
12: Div64: sys_ck divided by 64
13: Div128: sys_ck divided by 128
14: Div256: sys_ck divided by 256
15: Div512: sys_ck divided by 512

D1PPRE

Bits 4-6: D1 domain APB3 prescaler.

Allowed values:
0: Div1: rcc_hclk not divided
4: Div2: rcc_hclk divided by 2
5: Div4: rcc_hclk divided by 4
6: Div8: rcc_hclk divided by 8
7: Div16: rcc_hclk divided by 16

D1CPRE

Bits 8-11: D1 domain Core prescaler.

Allowed values:
0: Div1: sys_ck not divided
8: Div2: sys_ck divided by 2
9: Div4: sys_ck divided by 4
10: Div8: sys_ck divided by 8
11: Div16: sys_ck divided by 16
12: Div64: sys_ck divided by 64
13: Div128: sys_ck divided by 128
14: Div256: sys_ck divided by 256
15: Div512: sys_ck divided by 512

D2CFGR

RCC Domain 2 Clock Configuration 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
D2PPRE2
rw
D2PPRE1
rw
Toggle fields

D2PPRE1

Bits 4-6: D2 domain APB1 prescaler.

Allowed values:
0: Div1: rcc_hclk not divided
4: Div2: rcc_hclk divided by 2
5: Div4: rcc_hclk divided by 4
6: Div8: rcc_hclk divided by 8
7: Div16: rcc_hclk divided by 16

D2PPRE2

Bits 8-10: D2 domain APB2 prescaler.

Allowed values:
0: Div1: rcc_hclk not divided
4: Div2: rcc_hclk divided by 2
5: Div4: rcc_hclk divided by 4
6: Div8: rcc_hclk divided by 8
7: Div16: rcc_hclk divided by 16

D3CFGR

RCC Domain 3 Clock Configuration Register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D3PPRE
rw
Toggle fields

D3PPRE

Bits 4-6: D3 domain APB4 prescaler.

Allowed values:
0: Div1: rcc_hclk not divided
4: Div2: rcc_hclk divided by 2
5: Div4: rcc_hclk divided by 4
6: Div8: rcc_hclk divided by 8
7: Div16: rcc_hclk divided by 16

PLLCKSELR

RCC PLLs Clock Source Selection Register

Offset: 0x28, size: 32, reset: 0x02020200, access: read-write

4/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIVM3
rw
DIVM2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIVM2
rw
DIVM1
rw
PLLSRC
rw
Toggle fields

PLLSRC

Bits 0-1: DIVMx and PLLs clock source selection.

Allowed values:
0: HSI: HSI selected as PLL clock
1: CSI: CSI selected as PLL clock
2: HSE: HSE selected as PLL clock
3: None: No clock sent to DIVMx dividers and PLLs

DIVM1

Bits 4-9: Prescaler for PLL1.

Allowed values: 0x0-0x3f

DIVM2

Bits 12-17: Prescaler for PLL2.

Allowed values: 0x0-0x3f

DIVM3

Bits 20-25: Prescaler for PLL3.

Allowed values: 0x0-0x3f

PLLCFGR

RCC PLLs Configuration Register

Offset: 0x2c, size: 32, reset: 0x01FF0000, access: read-write

18/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DIVR3EN
rw
DIVQ3EN
rw
DIVP3EN
rw
DIVR2EN
rw
DIVQ2EN
rw
DIVP2EN
rw
DIVR1EN
rw
DIVQ1EN
rw
DIVP1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PLL3RGE
rw
PLL3VCOSEL
rw
PLL3FRACEN
rw
PLL2RGE
rw
PLL2VCOSEL
rw
PLL2FRACEN
rw
PLL1RGE
rw
PLL1VCOSEL
rw
PLL1FRACEN
rw
Toggle fields

PLL1FRACEN

Bit 0: PLL1 fractional latch enable.

Allowed values:
0: Reset: Reset latch to tranfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to tranfer FRACN to the Sigma-Delta modulator

PLL1VCOSEL

Bit 1: PLL1 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

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

PLL2FRACEN

Bit 4: PLL2 fractional latch enable.

Allowed values:
0: Reset: Reset latch to tranfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to tranfer 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

PLL2RGE

Bits 6-7: 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

PLL3FRACEN

Bit 8: PLL3 fractional latch enable.

Allowed values:
0: Reset: Reset latch to tranfer FRACN to the Sigma-Delta modulator
1: Set: Set latch to tranfer FRACN to the Sigma-Delta modulator

PLL3VCOSEL

Bit 9: PLL3 VCO selection.

Allowed values:
0: WideVCO: VCO frequency range 192 to 836 MHz
1: MediumVCO: VCO frequency range 150 to 420 MHz

PLL3RGE

Bits 10-11: 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

DIVP1EN

Bit 16: PLL1 DIVP divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVQ1EN

Bit 17: PLL1 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVR1EN

Bit 18: PLL1 DIVR divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVP2EN

Bit 19: PLL2 DIVP divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVQ2EN

Bit 20: PLL2 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVR2EN

Bit 21: PLL2 DIVR divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVP3EN

Bit 22: PLL3 DIVP divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVQ3EN

Bit 23: PLL3 DIVQ divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

DIVR3EN

Bit 24: PLL3 DIVR divider output enable.

Allowed values:
0: Disabled: Clock ouput is disabled
1: Enabled: Clock output is enabled

PLL1DIVR

RCC PLL1 Dividers Configuration Register

Offset: 0x30, 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
DIVR1
rw
DIVQ1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIVP1
rw
DIVN1
rw
Toggle fields

DIVN1

Bits 0-8: Multiplication factor for PLL1 VCO.

Allowed values: 0x3-0x1ff

DIVP1

Bits 9-15: PLL1 DIVP division factor.

Allowed values:
0: Div1: pll_p_ck = vco_ck
1: Div2: pll_p_ck = vco_ck / 2
3: Div4: pll_p_ck = vco_ck / 4
5: Div6: pll_p_ck = vco_ck / 6
7: Div8: pll_p_ck = vco_ck / 8
9: Div10: pll_p_ck = vco_ck / 10
11: Div12: pll_p_ck = vco_ck / 12
13: Div14: pll_p_ck = vco_ck / 14
15: Div16: pll_p_ck = vco_ck / 16
17: Div18: pll_p_ck = vco_ck / 18
19: Div20: pll_p_ck = vco_ck / 20
21: Div22: pll_p_ck = vco_ck / 22
23: Div24: pll_p_ck = vco_ck / 24
25: Div26: pll_p_ck = vco_ck / 26
27: Div28: pll_p_ck = vco_ck / 28
29: Div30: pll_p_ck = vco_ck / 30
31: Div32: pll_p_ck = vco_ck / 32
33: Div34: pll_p_ck = vco_ck / 34
35: Div36: pll_p_ck = vco_ck / 36
37: Div38: pll_p_ck = vco_ck / 38
39: Div40: pll_p_ck = vco_ck / 40
41: Div42: pll_p_ck = vco_ck / 42
43: Div44: pll_p_ck = vco_ck / 44
45: Div46: pll_p_ck = vco_ck / 46
47: Div48: pll_p_ck = vco_ck / 48
49: Div50: pll_p_ck = vco_ck / 50
51: Div52: pll_p_ck = vco_ck / 52
53: Div54: pll_p_ck = vco_ck / 54
55: Div56: pll_p_ck = vco_ck / 56
57: Div58: pll_p_ck = vco_ck / 58
59: Div60: pll_p_ck = vco_ck / 60
61: Div62: pll_p_ck = vco_ck / 62
63: Div64: pll_p_ck = vco_ck / 64
65: Div66: pll_p_ck = vco_ck / 66
67: Div68: pll_p_ck = vco_ck / 68
69: Div70: pll_p_ck = vco_ck / 70
71: Div72: pll_p_ck = vco_ck / 72
73: Div74: pll_p_ck = vco_ck / 74
75: Div76: pll_p_ck = vco_ck / 76
77: Div78: pll_p_ck = vco_ck / 78
79: Div80: pll_p_ck = vco_ck / 80
81: Div82: pll_p_ck = vco_ck / 82
83: Div84: pll_p_ck = vco_ck / 84
85: Div86: pll_p_ck = vco_ck / 86
87: Div88: pll_p_ck = vco_ck / 88
89: Div90: pll_p_ck = vco_ck / 90
91: Div92: pll_p_ck = vco_ck / 92
93: Div94: pll_p_ck = vco_ck / 94
95: Div96: pll_p_ck = vco_ck / 96
97: Div98: pll_p_ck = vco_ck / 98
99: Div100: pll_p_ck = vco_ck / 100
101: Div102: pll_p_ck = vco_ck / 102
103: Div104: pll_p_ck = vco_ck / 104
105: Div106: pll_p_ck = vco_ck / 106
107: Div108: pll_p_ck = vco_ck / 108
109: Div110: pll_p_ck = vco_ck / 110
111: Div112: pll_p_ck = vco_ck / 112
113: Div114: pll_p_ck = vco_ck / 114
115: Div116: pll_p_ck = vco_ck / 116
117: Div118: pll_p_ck = vco_ck / 118
119: Div120: pll_p_ck = vco_ck / 120
121: Div122: pll_p_ck = vco_ck / 122
123: Div124: pll_p_ck = vco_ck / 124
125: Div126: pll_p_ck = vco_ck / 126
127: Div128: pll_p_ck = vco_ck / 128

DIVQ1

Bits 16-22: PLL1 DIVQ division factor.

Allowed values: 0x0-0x7f

DIVR1

Bits 24-30: PLL1 DIVR division factor.

Allowed values: 0x0-0x7f

PLL1FRACR

RCC PLL1 Fractional Divider Register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FRACN1
rw
Toggle fields

FRACN1

Bits 3-15: Fractional part of the multiplication factor for PLL1 VCO.

Allowed values: 0x0-0x1fff

PLL2DIVR

RCC PLL2 Dividers Configuration Register

Offset: 0x38, 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
DIVR2
rw
DIVQ2
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIVP2
rw
DIVN2
rw
Toggle fields

DIVN2

Bits 0-8: Multiplication factor for PLL1 VCO.

Allowed values: 0x3-0x1ff

DIVP2

Bits 9-15: PLL1 DIVP division factor.

Allowed values: 0x0-0x7f

DIVQ2

Bits 16-22: PLL1 DIVQ division factor.

Allowed values: 0x0-0x7f

DIVR2

Bits 24-30: PLL1 DIVR division factor.

Allowed values: 0x0-0x7f

PLL2FRACR

RCC PLL2 Fractional Divider Register

Offset: 0x3c, 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
FRACN2
rw
Toggle fields

FRACN2

Bits 3-15: Fractional part of the multiplication factor for PLL VCO.

Allowed values: 0x0-0x1fff

PLL3DIVR

RCC PLL3 Dividers Configuration Register

Offset: 0x40, 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
DIVR3
rw
DIVQ3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DIVP3
rw
DIVN3
rw
Toggle fields

DIVN3

Bits 0-8: Multiplication factor for PLL1 VCO.

Allowed values: 0x3-0x1ff

DIVP3

Bits 9-15: PLL DIVP division factor.

Allowed values: 0x0-0x7f

DIVQ3

Bits 16-22: PLL DIVQ division factor.

Allowed values: 0x0-0x7f

DIVR3

Bits 24-30: PLL DIVR division factor.

Allowed values: 0x0-0x7f

PLL3FRACR

RCC PLL3 Fractional Divider 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
FRACN3
rw
Toggle fields

FRACN3

Bits 3-15: Fractional part of the multiplication factor for PLL3 VCO.

Allowed values: 0x0-0x1fff

D1CCIPR

RCC Domain 1 Kernel Clock Configuration Register

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

4/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CKPERSEL
rw
SDMMCSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DSISEL
rw
QSPISEL
rw
FMCSEL
rw
Toggle fields

FMCSEL

Bits 0-1: FMC kernel clock source selection.

Allowed values:
0: RCC_HCLK3: rcc_hclk3 selected as peripheral clock
1: PLL1_Q: pll1_q selected as peripheral clock
2: PLL2_R: pll2_r selected as peripheral clock
3: PER: PER selected as peripheral clock

QSPISEL

Bits 4-5: QUADSPI kernel clock source selection.

Allowed values:
0: RCC_HCLK3: rcc_hclk3 selected as peripheral clock
1: PLL1_Q: pll1_q selected as peripheral clock
2: PLL2_R: pll2_r selected as peripheral clock
3: PER: PER selected as peripheral clock

DSISEL

Bit 8: kernel clock source selection.

SDMMCSEL

Bit 16: SDMMC kernel clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_R: pll2_r selected as peripheral clock

CKPERSEL

Bits 28-29: per_ck clock source selection.

Allowed values:
0: HSI: HSI selected as peripheral clock
1: CSI: CSI selected as peripheral clock
2: HSE: HSE selected as peripheral clock

D2CCIP1R

RCC Domain 2 Kernel Clock Configuration Register

Offset: 0x50, 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
SWPSEL
rw
FDCANSEL
rw
DFSDM1SEL
rw
SPDIFSEL
rw
SPI45SEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI123SEL
rw
SAI23SEL
rw
SAI1SEL
rw
Toggle fields

SAI1SEL

Bits 0-2: SAI1 and DFSDM1 kernel Aclk clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_P: pll3_p selected as peripheral clock
3: I2S_CKIN: I2S_CKIN selected as peripheral clock
4: PER: PER selected as peripheral clock

SAI23SEL

Bits 6-8: SAI2 and SAI3 kernel clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_P: pll3_p selected as peripheral clock
3: I2S_CKIN: I2S_CKIN selected as peripheral clock
4: PER: PER selected as peripheral clock

SPI123SEL

Bits 12-14: SPI/I2S1,2 and 3 kernel clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_P: pll3_p selected as peripheral clock
3: I2S_CKIN: I2S_CKIN selected as peripheral clock
4: PER: PER selected as peripheral clock

SPI45SEL

Bits 16-18: SPI4 and 5 kernel clock source selection.

Allowed values:
0: APB: APB clock selected as peripheral clock
1: PLL2_Q: pll2_q selected as peripheral clock
2: PLL3_Q: pll3_q selected as peripheral clock
3: HSI_KER: hsi_ker selected as peripheral clock
4: CSI_KER: csi_ker selected as peripheral clock
5: HSE: HSE selected as peripheral clock

SPDIFSEL

Bits 20-21: SPDIFRX kernel clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_R: pll2_r selected as peripheral clock
2: PLL3_R: pll3_r selected as peripheral clock
3: HSI_KER: hsi_ker selected as peripheral clock

DFSDM1SEL

Bit 24: DFSDM1 kernel Clk clock source selection.

Allowed values:
0: RCC_PCLK2: rcc_pclk2 selected as peripheral clock
1: SYS: System clock selected as peripheral clock

FDCANSEL

Bits 28-29: FDCAN kernel clock source selection.

Allowed values:
0: HSE: HSE selected as peripheral clock
1: PLL1_Q: pll1_q selected as peripheral clock
2: PLL2_Q: pll2_q selected as peripheral clock

SWPSEL

Bit 31: SWPMI kernel clock source selection.

Allowed values:
0: PCLK: pclk selected as peripheral clock
1: HSI_KER: hsi_ker selected as peripheral clock

D2CCIP2R

RCC Domain 2 Kernel Clock Configuration Register

Offset: 0x54, 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
LPTIM1SEL
rw
CECSEL
rw
USBSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
I2C123SEL
rw
RNGSEL
rw
USART16SEL
rw
USART234578SEL
rw
Toggle fields

USART234578SEL

Bits 0-2: USART2/3, UART4,5, 7/8 (APB1) kernel clock source selection.

Allowed values:
0: RCC_PCLK1: rcc_pclk1 selected as peripheral clock
1: PLL2_Q: pll2_q selected as peripheral clock
2: PLL3_Q: pll3_q selected as peripheral clock
3: HSI_KER: hsi_ker selected as peripheral clock
4: CSI_KER: csi_ker selected as peripheral clock
5: LSE: LSE selected as peripheral clock

USART16SEL

Bits 3-5: USART1 and 6 kernel clock source selection.

Allowed values:
0: RCC_PCLK2: rcc_pclk2 selected as peripheral clock
1: PLL2_Q: pll2_q selected as peripheral clock
2: PLL3_Q: pll3_q selected as peripheral clock
3: HSI_KER: hsi_ker selected as peripheral clock
4: CSI_KER: csi_ker selected as peripheral clock
5: LSE: LSE selected as peripheral clock

RNGSEL

Bits 8-9: RNG kernel clock source selection.

Allowed values:
0: HSI48: HSI48 selected as peripheral clock
1: PLL1_Q: pll1_q selected as peripheral clock
2: LSE: LSE selected as peripheral clock
3: LSI: LSI selected as peripheral clock

I2C123SEL

Bits 12-13: I2C1,2,3 kernel clock source selection.

Allowed values:
0: RCC_PCLK1: rcc_pclk1 selected as peripheral clock
1: PLL3_R: pll3_r selected as peripheral clock
2: HSI_KER: hsi_ker selected as peripheral clock
3: CSI_KER: csi_ker selected as peripheral clock

USBSEL

Bits 20-21: USBOTG 1 and 2 kernel clock source selection.

Allowed values:
0: DISABLE: Disable the kernel clock
1: PLL1_Q: pll1_q selected as peripheral clock
2: PLL3_Q: pll3_q selected as peripheral clock
3: HSI48: HSI48 selected as peripheral clock

CECSEL

Bits 22-23: HDMI-CEC kernel clock source selection.

Allowed values:
0: LSE: LSE selected as peripheral clock
1: LSI: LSI selected as peripheral clock
2: CSI_KER: csi_ker selected as peripheral clock

LPTIM1SEL

Bits 28-30: LPTIM1 kernel clock source selection.

Allowed values:
0: RCC_PCLK1: rcc_pclk1 selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_R: pll3_r selected as peripheral clock
3: LSE: LSE selected as peripheral clock
4: LSI: LSI selected as peripheral clock
5: PER: PER selected as peripheral clock

D3CCIPR

RCC Domain 3 Kernel Clock Configuration Register

Offset: 0x58, 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
SPI6SEL
rw
SAI4BSEL
rw
SAI4ASEL
rw
ADCSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPTIM345SEL
rw
LPTIM2SEL
rw
I2C4SEL
rw
LPUART1SEL
rw
Toggle fields

LPUART1SEL

Bits 0-2: LPUART1 kernel clock source selection.

Allowed values:
0: RCC_PCLK_D3: rcc_pclk_d3 selected as peripheral clock
1: PLL2_Q: pll2_q selected as peripheral clock
2: PLL3_Q: pll3_q selected as peripheral clock
3: HSI_KER: hsi_ker selected as peripheral clock
4: CSI_KER: csi_ker selected as peripheral clock
5: LSE: LSE selected as peripheral clock

I2C4SEL

Bits 8-9: I2C4 kernel clock source selection.

Allowed values:
0: RCC_PCLK4: rcc_pclk4 selected as peripheral clock
1: PLL3_R: pll3_r selected as peripheral clock
2: HSI_KER: hsi_ker selected as peripheral clock
3: CSI_KER: csi_ker selected as peripheral clock

LPTIM2SEL

Bits 10-12: LPTIM2 kernel clock source selection.

Allowed values:
0: RCC_PCLK4: rcc_pclk4 selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_R: pll3_r selected as peripheral clock
3: LSE: LSE selected as peripheral clock
4: LSI: LSI selected as peripheral clock
5: PER: PER selected as peripheral clock

LPTIM345SEL

Bits 13-15: LPTIM3,4,5 kernel clock source selection.

Allowed values:
0: RCC_PCLK4: rcc_pclk4 selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_R: pll3_r selected as peripheral clock
3: LSE: LSE selected as peripheral clock
4: LSI: LSI selected as peripheral clock
5: PER: PER selected as peripheral clock

ADCSEL

Bits 16-17: SAR ADC kernel clock source selection.

Allowed values:
0: PLL2_P: pll2_p selected as peripheral clock
1: PLL3_R: pll3_r selected as peripheral clock
2: PER: PER selected as peripheral clock

SAI4ASEL

Bits 21-23: Sub-Block A of SAI4 kernel clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_P: pll3_p selected as peripheral clock
3: I2S_CKIN: i2s_ckin selected as peripheral clock
4: PER: PER selected as peripheral clock

SAI4BSEL

Bits 24-26: Sub-Block B of SAI4 kernel clock source selection.

Allowed values:
0: PLL1_Q: pll1_q selected as peripheral clock
1: PLL2_P: pll2_p selected as peripheral clock
2: PLL3_P: pll3_p selected as peripheral clock
3: I2S_CKIN: i2s_ckin selected as peripheral clock
4: PER: PER selected as peripheral clock

SPI6SEL

Bits 28-30: SPI6 kernel clock source selection.

Allowed values:
0: RCC_PCLK4: rcc_pclk4 selected as peripheral clock
1: PLL2_Q: pll2_q selected as peripheral clock
2: PLL3_Q: pll3_q selected as peripheral clock
3: HSI_KER: hsi_ker selected as peripheral clock
4: CSI_KER: csi_ker selected as peripheral clock
5: HSE: HSE selected as peripheral clock

CIER

RCC Clock Source Interrupt Enable Register

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

10/10 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

HSIRDYIE

Bit 2: HSI ready Interrupt Enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSERDYIE

Bit 3: HSE ready Interrupt Enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CSIRDYIE

Bit 4: CSI ready Interrupt Enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

HSI48RDYIE

Bit 5: RC48 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

LSECSSIE

Bit 9: LSE clock security system Interrupt Enable.

Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled

CIFR

RCC Clock Source Interrupt Flag Register

Offset: 0x64, size: 32, reset: 0x00000000, access: read-only

11/11 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

HSIRDYF

Bit 2: HSI ready Interrupt Flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

HSERDYF

Bit 3: HSE ready Interrupt Flag.

Allowed values:
0: NotInterrupted: No clock ready interrupt
1: Interrupted: Clock ready interrupt

CSIRDY

Bit 4: CSI ready Interrupt Flag.

HSI48RDYF

Bit 5: RC48 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

LSECSSF

Bit 9: LSE clock security system Interrupt Flag.

HSECSSF

Bit 10: HSE clock security system Interrupt Flag.

CICR

RCC Clock Source Interrupt Clear Register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

10/11 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

HSIRDYC

Bit 2: HSI ready Interrupt Clear.

Allowed values:
1: Clear: Clear interrupt flag

HSERDYC

Bit 3: HSE ready Interrupt Clear.

Allowed values:
1: Clear: Clear interrupt flag

HSE_ready_Interrupt_Clear

Bit 4: CSI ready Interrupt Clear.

HSI48RDYC

Bit 5: RC48 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

LSECSSC

Bit 9: LSE clock security system 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

BDCR

RCC Backup Domain Control Register

Offset: 0x70, 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
BDRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RTCEN
rw
RTCSEL
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

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

BDRST

Bit 16: VSwitch domain software reset.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Resets the entire VSW domain

CSR

RCC Clock Control and Status Register

Offset: 0x74, 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
LSIRDY
rw
LSION
rw
Toggle fields

LSION

Bit 0: LSI oscillator enable.

Allowed values:
0: Off: LSI oscillator Off
1: On: LSI oscillator On

LSIRDY

Bit 1: LSI oscillator ready.

Allowed values:
0: NotReady: LSI oscillator not ready
1: Ready: LSI oscillator ready

AHB3RSTR

RCC AHB3 Reset Register

Offset: 0x7c, 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
CPURST
rw
SDMMC1RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
QSPIRST
rw
FMCRST
rw
JPGDECRST
rw
DMA2DRST
rw
MDMARST
rw
Toggle fields

MDMARST

Bit 0: MDMA block reset.

Allowed values:
1: Reset: Reset the selected module

DMA2DRST

Bit 4: DMA2D block reset.

Allowed values:
1: Reset: Reset the selected module

JPGDECRST

Bit 5: JPGDEC block reset.

Allowed values:
1: Reset: Reset the selected module

FMCRST

Bit 12: FMC block reset.

Allowed values:
1: Reset: Reset the selected module

QSPIRST

Bit 14: QUADSPI and QUADSPI delay block reset.

Allowed values:
1: Reset: Reset the selected module

SDMMC1RST

Bit 16: SDMMC1 and SDMMC1 delay block reset.

Allowed values:
1: Reset: Reset the selected module

CPURST

Bit 31: CPU reset.

Allowed values:
1: Reset: Reset the selected module

AHB1RSTR

RCC AHB1 Peripheral Reset Register

Offset: 0x80, 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
USB2OTGRST
rw
USB1OTGRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETH1MACRST
rw
ARTRST
rw
ADC12RST
rw
DMA2RST
rw
DMA1RST
rw
Toggle fields

DMA1RST

Bit 0: DMA1 block reset.

Allowed values:
1: Reset: Reset the selected module

DMA2RST

Bit 1: DMA2 block reset.

Allowed values:
1: Reset: Reset the selected module

ADC12RST

Bit 5: ADC1&2 block reset.

Allowed values:
1: Reset: Reset the selected module

ARTRST

Bit 14: ART block reset.

Allowed values:
1: Reset: Reset the selected module

ETH1MACRST

Bit 15: ETH1MAC block reset.

Allowed values:
1: Reset: Reset the selected module

USB1OTGRST

Bit 25: USB1OTG block reset.

Allowed values:
1: Reset: Reset the selected module

USB2OTGRST

Bit 27: USB2OTG block reset.

Allowed values:
1: Reset: Reset the selected module

AHB2RSTR

RCC AHB2 Peripheral Reset Register

Offset: 0x84, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC2RST
rw
RNGRST
rw
HASHRST
rw
CRYPTRST
rw
CAMITFRST
rw
Toggle fields

CAMITFRST

Bit 0: CAMITF block reset.

Allowed values:
1: Reset: Reset the selected module

CRYPTRST

Bit 4: Cryptography block reset.

Allowed values:
1: Reset: Reset the selected module

HASHRST

Bit 5: Hash block reset.

Allowed values:
1: Reset: Reset the selected module

RNGRST

Bit 6: Random Number Generator block reset.

Allowed values:
1: Reset: Reset the selected module

SDMMC2RST

Bit 9: SDMMC2 and SDMMC2 Delay block reset.

Allowed values:
1: Reset: Reset the selected module

AHB4RSTR

RCC AHB4 Peripheral Reset Register

Offset: 0x88, size: 32, reset: 0x00000000, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HSEMRST
rw
ADC3RST
rw
BDMARST
rw
CRCRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIOKRST
rw
GPIOJRST
rw
GPIOIRST
rw
GPIOHRST
rw
GPIOGRST
rw
GPIOFRST
rw
GPIOERST
rw
GPIODRST
rw
GPIOCRST
rw
GPIOBRST
rw
GPIOARST
rw
Toggle fields

GPIOARST

Bit 0: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOBRST

Bit 1: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOCRST

Bit 2: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIODRST

Bit 3: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOERST

Bit 4: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOFRST

Bit 5: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOGRST

Bit 6: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOHRST

Bit 7: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOIRST

Bit 8: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOJRST

Bit 9: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

GPIOKRST

Bit 10: GPIO block reset.

Allowed values:
1: Reset: Reset the selected module

CRCRST

Bit 19: CRC block reset.

Allowed values:
1: Reset: Reset the selected module

BDMARST

Bit 21: BDMA block reset.

Allowed values:
1: Reset: Reset the selected module

ADC3RST

Bit 24: ADC3 block reset.

Allowed values:
1: Reset: Reset the selected module

HSEMRST

Bit 25: HSEM block reset.

Allowed values:
1: Reset: Reset the selected module

APB3RSTR

RCC APB3 Peripheral Reset Register

Offset: 0x8c, 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
DSIRST
rw
LTDCRST
rw
Toggle fields

LTDCRST

Bit 3: LTDC block reset.

Allowed values:
1: Reset: Reset the selected module

DSIRST

Bit 4: DSI block reset.

Allowed values:
1: Reset: Reset the selected module

APB1LRSTR

RCC APB1 Peripheral Reset Register

Offset: 0x90, size: 32, reset: 0x00000000, access: read-write

24/24 fields covered.

Toggle fields

TIM2RST

Bit 0: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM3RST

Bit 1: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM4RST

Bit 2: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM5RST

Bit 3: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM6RST

Bit 4: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM7RST

Bit 5: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM12RST

Bit 6: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM13RST

Bit 7: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

TIM14RST

Bit 8: TIM block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM1RST

Bit 9: TIM 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

SPDIFRXRST

Bit 16: SPDIFRX 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

I2C3RST

Bit 23: I2C3 block reset.

Allowed values:
1: Reset: Reset the selected module

CECRST

Bit 27: HDMI-CEC block reset.

Allowed values:
1: Reset: Reset the selected module

DAC12RST

Bit 29: DAC1 and 2 Blocks 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 Reset Register

Offset: 0x94, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANRST
rw
MDIOSRST
rw
OPAMPRST
rw
SWPRST
rw
CRSRST
rw
Toggle fields

CRSRST

Bit 1: Clock Recovery System reset.

Allowed values:
1: Reset: Reset the selected module

SWPRST

Bit 2: SWPMI block reset.

Allowed values:
1: Reset: Reset the selected module

OPAMPRST

Bit 4: OPAMP block reset.

Allowed values:
1: Reset: Reset the selected module

MDIOSRST

Bit 5: MDIOS block reset.

Allowed values:
1: Reset: Reset the selected module

FDCANRST

Bit 8: FDCAN block reset.

Allowed values:
1: Reset: Reset the selected module

APB2RSTR

RCC APB2 Peripheral Reset Register

Offset: 0x98, size: 32, reset: 0x00000000, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HRTIMRST
rw
DFSDM1RST
rw
SAI3RST
rw
SAI2RST
rw
SAI1RST
rw
SPI5RST
rw
TIM17RST
rw
TIM16RST
rw
TIM15RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4RST
rw
SPI1RST
rw
USART6RST
rw
USART1RST
rw
TIM8RST
rw
TIM1RST
rw
Toggle fields

TIM1RST

Bit 0: TIM1 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM8RST

Bit 1: TIM8 block reset.

Allowed values:
1: Reset: Reset the selected module

USART1RST

Bit 4: USART1 block reset.

Allowed values:
1: Reset: Reset the selected module

USART6RST

Bit 5: USART6 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI1RST

Bit 12: SPI1 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI4RST

Bit 13: SPI4 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM15RST

Bit 16: TIM15 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM16RST

Bit 17: TIM16 block reset.

Allowed values:
1: Reset: Reset the selected module

TIM17RST

Bit 18: TIM17 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI5RST

Bit 20: SPI5 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI1RST

Bit 22: SAI1 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI2RST

Bit 23: SAI2 block reset.

Allowed values:
1: Reset: Reset the selected module

SAI3RST

Bit 24: SAI3 block reset.

Allowed values:
1: Reset: Reset the selected module

DFSDM1RST

Bit 28: DFSDM1 block reset.

Allowed values:
1: Reset: Reset the selected module

HRTIMRST

Bit 29: HRTIM block reset.

Allowed values:
1: Reset: Reset the selected module

APB4RSTR

RCC APB4 Peripheral Reset Register

Offset: 0x9c, 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
SAI4RST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VREFRST
rw
COMP12RST
rw
LPTIM5RST
rw
LPTIM4RST
rw
LPTIM3RST
rw
LPTIM2RST
rw
I2C4RST
rw
SPI6RST
rw
LPUART1RST
rw
SYSCFGRST
rw
Toggle fields

SYSCFGRST

Bit 1: SYSCFG block reset.

Allowed values:
1: Reset: Reset the selected module

LPUART1RST

Bit 3: LPUART1 block reset.

Allowed values:
1: Reset: Reset the selected module

SPI6RST

Bit 5: SPI6 block reset.

Allowed values:
1: Reset: Reset the selected module

I2C4RST

Bit 7: I2C4 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM2RST

Bit 9: LPTIM2 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM3RST

Bit 10: LPTIM3 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM4RST

Bit 11: LPTIM4 block reset.

Allowed values:
1: Reset: Reset the selected module

LPTIM5RST

Bit 12: LPTIM5 block reset.

Allowed values:
1: Reset: Reset the selected module

COMP12RST

Bit 14: COMP12 Blocks Reset.

Allowed values:
1: Reset: Reset the selected module

VREFRST

Bit 15: VREF block reset.

Allowed values:
1: Reset: Reset the selected module

SAI4RST

Bit 21: SAI4 block reset.

Allowed values:
1: Reset: Reset the selected module

GCR

RCC Global Control Register

Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write

1/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOT_C2
rw
BOOT_C1
rw
WW2RSC
rw
WW1RSC
rw
Toggle fields

WW1RSC

Bit 0: WWDG1 reset scope control.

Allowed values:
0: Clear: Clear WWDG1 scope control
1: Set: Set WWDG1 scope control

WW2RSC

Bit 1: WWDG2 reset scope control.

BOOT_C1

Bit 2: Force allow CPU1 to boot.

BOOT_C2

Bit 3: Force allow CPU2 to boot.

D3AMR

RCC D3 Autonomous mode Register

Offset: 0xa8, 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
SRAM4AMEN
rw
BKPSRAMAMEN
rw
ADC3AMEN
rw
SAI4AMEN
rw
CRCAMEN
rw
RTCAMEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VREFAMEN
rw
COMP12AMEN
rw
LPTIM5AMEN
rw
LPTIM4AMEN
rw
LPTIM3AMEN
rw
LPTIM2AMEN
rw
I2C4AMEN
rw
SPI6AMEN
rw
LPUART1AMEN
rw
BDMAAMEN
rw
Toggle fields

BDMAAMEN

Bit 0: BDMA and DMAMUX Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

LPUART1AMEN

Bit 3: LPUART1 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

SPI6AMEN

Bit 5: SPI6 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

I2C4AMEN

Bit 7: I2C4 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

LPTIM2AMEN

Bit 9: LPTIM2 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

LPTIM3AMEN

Bit 10: LPTIM3 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

LPTIM4AMEN

Bit 11: LPTIM4 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

LPTIM5AMEN

Bit 12: LPTIM5 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

COMP12AMEN

Bit 14: COMP12 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

VREFAMEN

Bit 15: VREF Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

RTCAMEN

Bit 16: RTC Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

CRCAMEN

Bit 19: CRC Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

SAI4AMEN

Bit 21: SAI4 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

ADC3AMEN

Bit 24: ADC3 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

BKPSRAMAMEN

Bit 28: Backup RAM Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

SRAM4AMEN

Bit 29: SRAM4 Autonomous mode enable.

Allowed values:
0: Disabled: Clock disabled in autonomous mode
1: Enabled: Clock enabled in autonomous mode

RSR

RCC Reset Status Register

Offset: 0xd0, 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
LPWRRSTF
rw
WWDG1RSTF
rw
IWDG1RSTF
rw
SFTRSTF
rw
PORRSTF
rw
PINRSTF
rw
BORRSTF
rw
D2RSTF
rw
D1RSTF
rw
CPURSTF
rw
RMVF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

RMVF

Bit 16: Remove reset flag.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Reset the reset status flags

CPURSTF

Bit 17: CPU reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

D1RSTF

Bit 19: D1 domain power switch reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

D2RSTF

Bit 20: D2 domain power switch reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

BORRSTF

Bit 21: BOR reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

PINRSTF

Bit 22: Pin reset flag (NRST).

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

PORRSTF

Bit 23: POR/PDR reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

SFTRSTF

Bit 24: System reset from CPU reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

IWDG1RSTF

Bit 26: Independent Watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

WWDG1RSTF

Bit 28: Window Watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

LPWRRSTF

Bit 30: Reset due to illegal D1 DStandby or CPU CStop flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

AHB3ENR

RCC AHB3 Clock Register

Offset: 0xd4, 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
AXISRAMEN
rw
ITCM1EN
rw
DTCM2EN
rw
DTCM1EN
rw
SDMMC1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
QSPIEN
rw
FMCEN
rw
JPGDECEN
rw
DMA2DEN
rw
MDMAEN
rw
Toggle fields

MDMAEN

Bit 0: MDMA Peripheral Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DMA2DEN

Bit 4: DMA2D Peripheral Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

JPGDECEN

Bit 5: JPGDEC Peripheral Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FMCEN

Bit 12: FMC Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

QSPIEN

Bit 14: QUADSPI and QUADSPI Delay Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SDMMC1EN

Bit 16: SDMMC1 and SDMMC1 Delay Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DTCM1EN

Bit 28: D1 DTCM1 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DTCM2EN

Bit 29: D1 DTCM2 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ITCM1EN

Bit 30: D1 ITCM block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AXISRAMEN

Bit 31: AXISRAM block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB1ENR

RCC AHB1 Clock 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
USB2ULPIEN
rw
USB2OTGEN
rw
USB1ULPIEN
rw
USB1OTGEN
rw
ETH1RXEN
rw
ETH1TXEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETH1MACEN
rw
ARTEN
rw
ADC12EN
rw
DMA2EN
rw
DMA1EN
rw
Toggle fields

DMA1EN

Bit 0: DMA1 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DMA2EN

Bit 1: DMA2 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ADC12EN

Bit 5: ADC1/2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ARTEN

Bit 14: ART Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETH1MACEN

Bit 15: Ethernet MAC bus interface Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETH1TXEN

Bit 16: Ethernet Transmission Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETH1RXEN

Bit 17: Ethernet Reception Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB1OTGEN

Bit 25: USB1OTG Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB1ULPIEN

Bit 26: USB_PHY1 Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB2OTGEN

Bit 27: USB2OTG Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB2ULPIEN

Bit 28: USB_PHY2 Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB2ENR

RCC AHB2 Clock 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
SRAM3EN
rw
SRAM2EN
rw
SRAM1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC2EN
rw
RNGEN
rw
HASHEN
rw
CRYPTEN
rw
DCMIEN
rw
Toggle fields

DCMIEN

Bit 0: DCMI peripheral clock.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRYPTEN

Bit 4: CRYPT peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HASHEN

Bit 5: HASH peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RNGEN

Bit 6: RNG peripheral clocks enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SDMMC2EN

Bit 9: SDMMC2 and SDMMC2 delay clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM1EN

Bit 29: SRAM1 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM2EN

Bit 30: SRAM2 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM3EN

Bit 31: SRAM3 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB4ENR

RCC AHB4 Clock Register

Offset: 0xe0, 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
BKPRAMEN
rw
HSEMEN
rw
ADC3EN
rw
BDMAEN
rw
CRCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIOKEN
rw
GPIOJEN
rw
GPIOIEN
rw
GPIOHEN
rw
GPIOGEN
rw
GPIOFEN
rw
GPIOEEN
rw
GPIODEN
rw
GPIOCEN
rw
GPIOBEN
rw
GPIOAEN
rw
Toggle fields

GPIOAEN

Bit 0: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOBEN

Bit 1: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOCEN

Bit 2: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIODEN

Bit 3: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOEEN

Bit 4: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOFEN

Bit 5: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOGEN

Bit 6: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOHEN

Bit 7: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOIEN

Bit 8: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOJEN

Bit 9: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOKEN

Bit 10: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRCEN

Bit 19: CRC peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

BDMAEN

Bit 21: BDMA and DMAMUX2 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ADC3EN

Bit 24: ADC3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HSEMEN

Bit 25: HSEM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

BKPRAMEN

Bit 28: Backup RAM Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB3ENR

RCC APB3 Clock Register

Offset: 0xe4, 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
WWDG1EN
rw
DSIEN
rw
LTDCEN
rw
Toggle fields

LTDCEN

Bit 3: LTDC peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DSIEN

Bit 4: DSI Peripheral clocks enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

WWDG1EN

Bit 6: WWDG1 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB1LENR

RCC APB1 Clock Register

Offset: 0xe8, size: 32, reset: 0x00000000, access: read-write

25/25 fields covered.

Toggle fields

TIM2EN

Bit 0: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM3EN

Bit 1: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM4EN

Bit 2: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM5EN

Bit 3: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM6EN

Bit 4: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM7EN

Bit 5: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM12EN

Bit 6: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM13EN

Bit 7: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM14EN

Bit 8: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM1EN

Bit 9: LPTIM1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

WWDG2EN

Bit 11: WWDG2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI2EN

Bit 14: SPI2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI3EN

Bit 15: SPI3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPDIFRXEN

Bit 16: SPDIFRX Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART2EN

Bit 17: USART2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART3EN

Bit 18: USART3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART4EN

Bit 19: UART4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART5EN

Bit 20: UART5 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C1EN

Bit 21: I2C1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C2EN

Bit 22: I2C2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C3EN

Bit 23: I2C3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CECEN

Bit 27: HDMI-CEC peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DAC12EN

Bit 29: DAC1&2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART7EN

Bit 30: UART7 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART8EN

Bit 31: UART8 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB1HENR

RCC APB1 Clock Register

Offset: 0xec, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANEN
rw
MDIOSEN
rw
OPAMPEN
rw
SWPEN
rw
CRSEN
rw
Toggle fields

CRSEN

Bit 1: Clock Recovery System peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SWPEN

Bit 2: SWPMI Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

OPAMPEN

Bit 4: OPAMP peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

MDIOSEN

Bit 5: MDIOS peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FDCANEN

Bit 8: FDCAN Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB2ENR

RCC APB2 Clock Register

Offset: 0xf0, size: 32, reset: 0x00000000, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HRTIMEN
rw
DFSDM1EN
rw
SAI3EN
rw
SAI2EN
rw
SAI1EN
rw
SPI5EN
rw
TIM17EN
rw
TIM16EN
rw
TIM15EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4EN
rw
SPI1EN
rw
USART6EN
rw
USART1EN
rw
TIM8EN
rw
TIM1EN
rw
Toggle fields

TIM1EN

Bit 0: TIM1 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM8EN

Bit 1: TIM8 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART1EN

Bit 4: USART1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART6EN

Bit 5: USART6 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI1EN

Bit 12: SPI1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI4EN

Bit 13: SPI4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM15EN

Bit 16: TIM15 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM16EN

Bit 17: TIM16 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM17EN

Bit 18: TIM17 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI5EN

Bit 20: SPI5 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI1EN

Bit 22: SAI1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI2EN

Bit 23: SAI2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI3EN

Bit 24: SAI3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DFSDM1EN

Bit 28: DFSDM1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HRTIMEN

Bit 29: HRTIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

APB4ENR

RCC APB4 Clock Register

Offset: 0xf4, 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
SAI4EN
rw
RTCAPBEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VREFEN
rw
COMP12EN
rw
LPTIM5EN
rw
LPTIM4EN
rw
LPTIM3EN
rw
LPTIM2EN
rw
I2C4EN
rw
SPI6EN
rw
LPUART1EN
rw
SYSCFGEN
rw
Toggle fields

SYSCFGEN

Bit 1: SYSCFG peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPUART1EN

Bit 3: LPUART1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI6EN

Bit 5: SPI6 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C4EN

Bit 7: I2C4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM2EN

Bit 9: LPTIM2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM3EN

Bit 10: LPTIM3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM4EN

Bit 11: LPTIM4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM5EN

Bit 12: LPTIM5 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

COMP12EN

Bit 14: COMP1/2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

VREFEN

Bit 15: VREF peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RTCAPBEN

Bit 16: RTC APB Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI4EN

Bit 21: SAI4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

AHB3LPENR

RCC AHB3 Sleep Clock Register

Offset: 0xfc, 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
AXISRAMLPEN
rw
ITCMLPEN
rw
DTCM2LPEN
rw
D1DTCM1LPEN
rw
SDMMC1LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
QSPILPEN
rw
FMCLPEN
rw
FLITFLPEN
rw
JPGDECLPEN
rw
DMA2DLPEN
rw
MDMALPEN
rw
Toggle fields

MDMALPEN

Bit 0: MDMA Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DMA2DLPEN

Bit 4: DMA2D Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

JPGDECLPEN

Bit 5: JPGDEC Clock Enable During CSleep 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: FLITF Clock Enable During CSleep 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 12: FMC Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

QSPILPEN

Bit 14: QUADSPI and QUADSPI Delay Clock Enable During CSleep 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 16: SDMMC1 and SDMMC1 Delay Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

D1DTCM1LPEN

Bit 28: D1DTCM1 Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DTCM2LPEN

Bit 29: D1 DTCM2 Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ITCMLPEN

Bit 30: D1ITCM Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AXISRAMLPEN

Bit 31: AXISRAM Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AHB1LPENR

RCC AHB1 Sleep Clock Register

Offset: 0x100, 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
USB2ULPILPEN
rw
USB2OTGLPEN
rw
USB1ULPILPEN
rw
USB1OTGLPEN
rw
ETH1RXLPEN
rw
ETH1TXLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETH1MACLPEN
rw
ARTLPEN
rw
ADC12LPEN
rw
DMA2LPEN
rw
DMA1LPEN
rw
Toggle fields

DMA1LPEN

Bit 0: DMA1 Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DMA2LPEN

Bit 1: DMA2 Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ADC12LPEN

Bit 5: ADC1/2 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ARTLPEN

Bit 14: ART Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETH1MACLPEN

Bit 15: Ethernet MAC bus interface Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETH1TXLPEN

Bit 16: Ethernet Transmission Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETH1RXLPEN

Bit 17: Ethernet Reception Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB1OTGLPEN

Bit 25: USB1OTG peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB1ULPILPEN

Bit 26: USB_PHY1 clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB2OTGLPEN

Bit 27: USB2OTG peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB2ULPILPEN

Bit 28: USB_PHY2 clocks enable during CSleep 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: 0x104, 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
SRAM3LPEN
rw
SRAM2LPEN
rw
SRAM1LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC2LPEN
rw
RNGLPEN
rw
HASHLPEN
rw
CRYPTLPEN
rw
DCMILPEN
rw
Toggle fields

DCMILPEN

Bit 0: DCMI peripheral clock enable during csleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CRYPTLPEN

Bit 4: CRYPT peripheral clock enable during CSleep 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 5: HASH peripheral clock enable during CSleep 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 6: RNG peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SDMMC2LPEN

Bit 9: SDMMC2 and SDMMC2 Delay Clock Enable During CSleep 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 29: SRAM1 Clock Enable During CSleep 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 CSleep 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 CSleep 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: 0x108, 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
SRAM4LPEN
rw
BKPRAMLPEN
rw
ADC3LPEN
rw
BDMALPEN
rw
CRCLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIOKLPEN
rw
GPIOJLPEN
rw
GPIOILPEN
rw
GPIOHLPEN
rw
GPIOGLPEN
rw
GPIOFLPEN
rw
GPIOELPEN
rw
GPIODLPEN
rw
GPIOCLPEN
rw
GPIOBLPEN
rw
GPIOALPEN
rw
Toggle fields

GPIOALPEN

Bit 0: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOJLPEN

Bit 9: GPIO peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOKLPEN

Bit 10: GPIO peripheral clock enable during CSleep 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 19: CRC peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

BDMALPEN

Bit 21: BDMA Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ADC3LPEN

Bit 24: ADC3 Peripheral Clocks Enable During CSleep 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: Backup RAM Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM4LPEN

Bit 29: SRAM4 Clock Enable During CSleep 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: 0x10c, 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
WWDG1LPEN
rw
DSILPEN
rw
LTDCLPEN
rw
Toggle fields

LTDCLPEN

Bit 3: LTDC peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DSILPEN

Bit 4: DSI Peripheral Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

WWDG1LPEN

Bit 6: WWDG1 Clock Enable During CSleep 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 Low Sleep Clock Register

Offset: 0x110, size: 32, reset: 0x00000000, access: read-write

25/25 fields covered.

Toggle fields

TIM2LPEN

Bit 0: TIM2 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM13LPEN

Bit 7: TIM13 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM14LPEN

Bit 8: TIM14 peripheral clock enable during CSleep 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 9: LPTIM1 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

WWDG2LPEN

Bit 11: WWDG2 peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPDIFRXLPEN

Bit 16: SPDIFRX Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 23: I2C3 Peripheral Clocks Enable During CSleep 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 27: HDMI-CEC Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DAC12LPEN

Bit 29: DAC1/2 peripheral clock enable during CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 High Sleep Clock Register

Offset: 0x114, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANLPEN
rw
MDIOSLPEN
rw
OPAMPLPEN
rw
SWPLPEN
rw
CRSLPEN
rw
Toggle fields

CRSLPEN

Bit 1: Clock Recovery System peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SWPLPEN

Bit 2: SWPMI Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

OPAMPLPEN

Bit 4: OPAMP peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

MDIOSLPEN

Bit 5: MDIOS peripheral clock enable during CSleep 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 8: FDCAN Peripheral Clocks Enable During CSleep 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: 0x118, size: 32, reset: 0x00000000, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HRTIMLPEN
rw
DFSDM1LPEN
rw
SAI3LPEN
rw
SAI2LPEN
rw
SAI1LPEN
rw
SPI5LPEN
rw
TIM17LPEN
rw
TIM16LPEN
rw
TIM15LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4LPEN
rw
SPI1LPEN
rw
USART6LPEN
rw
USART1LPEN
rw
TIM8LPEN
rw
TIM1LPEN
rw
Toggle fields

TIM1LPEN

Bit 0: TIM1 peripheral clock enable during CSleep 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 1: TIM8 peripheral clock enable during CSleep 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 4: USART1 Peripheral Clocks Enable During CSleep 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 5: USART6 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 13: SPI4 Peripheral Clocks Enable During CSleep 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 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM16LPEN

Bit 17: TIM16 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM17LPEN

Bit 18: TIM17 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI5LPEN

Bit 20: SPI5 Peripheral Clocks Enable During CSleep 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 22: SAI1 Peripheral Clocks Enable During CSleep 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 23: SAI2 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI3LPEN

Bit 24: SAI3 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DFSDM1LPEN

Bit 28: DFSDM1 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

HRTIMLPEN

Bit 29: HRTIM peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

APB4LPENR

RCC APB4 Sleep Clock Register

Offset: 0x11c, 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
SAI4LPEN
rw
RTCAPBLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VREFLPEN
rw
COMP12LPEN
rw
LPTIM5LPEN
rw
LPTIM4LPEN
rw
LPTIM3LPEN
rw
LPTIM2LPEN
rw
I2C4LPEN
rw
SPI6LPEN
rw
LPUART1LPEN
rw
SYSCFGLPEN
rw
Toggle fields

SYSCFGLPEN

Bit 1: SYSCFG peripheral clock enable during CSleep 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 3: LPUART1 Peripheral Clocks Enable During CSleep 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 5: SPI6 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C4LPEN

Bit 7: I2C4 Peripheral Clocks Enable During CSleep 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 9: LPTIM2 Peripheral Clocks Enable During CSleep 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 10: LPTIM3 Peripheral Clocks Enable During CSleep 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 11: LPTIM4 Peripheral Clocks Enable During CSleep 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 12: LPTIM5 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

COMP12LPEN

Bit 14: COMP1/2 peripheral clock enable during CSleep 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 15: VREF peripheral clock enable during CSleep 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 16: RTC APB Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI4LPEN

Bit 21: SAI4 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_RSR

RCC Reset Status Register

Offset: 0x130, 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
LPWRRSTF
rw
WWDG1RSTF
rw
IWDG1RSTF
rw
SFTRSTF
rw
PORRSTF
rw
PINRSTF
rw
BORRSTF
rw
D2RSTF
rw
D1RSTF
rw
CPURSTF
rw
RMVF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

RMVF

Bit 16: Remove reset flag.

Allowed values:
0: NotActivated: Reset not activated
1: Reset: Reset the reset status flags

CPURSTF

Bit 17: CPU reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

D1RSTF

Bit 19: D1 domain power switch reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

D2RSTF

Bit 20: D2 domain power switch reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

BORRSTF

Bit 21: BOR reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

PINRSTF

Bit 22: Pin reset flag (NRST).

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

PORRSTF

Bit 23: POR/PDR reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

SFTRSTF

Bit 24: System reset from CPU reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

IWDG1RSTF

Bit 26: Independent Watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

WWDG1RSTF

Bit 28: Window Watchdog reset flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

LPWRRSTF

Bit 30: Reset due to illegal D1 DStandby or CPU CStop flag.

Allowed values:
0: NoResetOccurred: No reset occurred for block
1: ResetOccurred: Reset occurred for block

C1_AHB3ENR

RCC AHB3 Clock Register

Offset: 0x134, 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
SDMMC1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
QSPIEN
rw
FMCEN
rw
JPGDECEN
rw
DMA2DEN
rw
MDMAEN
rw
Toggle fields

MDMAEN

Bit 0: MDMA Peripheral Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DMA2DEN

Bit 4: DMA2D Peripheral Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

JPGDECEN

Bit 5: JPGDEC Peripheral Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FMCEN

Bit 12: FMC Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

QSPIEN

Bit 14: QUADSPI and QUADSPI Delay Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SDMMC1EN

Bit 16: SDMMC1 and SDMMC1 Delay Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_AHB1ENR

RCC AHB1 Clock Register

Offset: 0x138, 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
USB2ULPIEN
rw
USB2OTGEN
rw
USB1ULPIEN
rw
USB1OTGEN
rw
ETH1RXEN
rw
ETH1TXEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETH1MACEN
rw
ARTEN
rw
ADC12EN
rw
DMA2EN
rw
DMA1EN
rw
Toggle fields

DMA1EN

Bit 0: DMA1 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DMA2EN

Bit 1: DMA2 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ADC12EN

Bit 5: ADC1/2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ARTEN

Bit 14: ART Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETH1MACEN

Bit 15: Ethernet MAC bus interface Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETH1TXEN

Bit 16: Ethernet Transmission Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ETH1RXEN

Bit 17: Ethernet Reception Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB1OTGEN

Bit 25: USB1OTG Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB1ULPIEN

Bit 26: USB_PHY1 Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB2OTGEN

Bit 27: USB2OTG Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USB2ULPIEN

Bit 28: USB_PHY2 Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_AHB2ENR

RCC AHB2 Clock Register

Offset: 0x13c, 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
SRAM3EN
rw
SRAM2EN
rw
SRAM1EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC2EN
rw
RNGEN
rw
HASHEN
rw
CRYPTEN
rw
DCMIEN
rw
Toggle fields

DCMIEN

Bit 0: DCMI peripheral clock.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRYPTEN

Bit 4: CRYPT peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HASHEN

Bit 5: HASH peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RNGEN

Bit 6: RNG peripheral clocks enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SDMMC2EN

Bit 9: SDMMC2 and SDMMC2 delay clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM1EN

Bit 29: SRAM1 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM2EN

Bit 30: SRAM2 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SRAM3EN

Bit 31: SRAM3 block enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_AHB4ENR

RCC AHB4 Clock Register

Offset: 0x140, 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
BKPRAMEN
rw
HSEMEN
rw
ADC3EN
rw
BDMAEN
rw
CRCEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIOKEN
rw
GPIOJEN
rw
GPIOIEN
rw
GPIOHEN
rw
GPIOGEN
rw
GPIOFEN
rw
GPIOEEN
rw
GPIODEN
rw
GPIOCEN
rw
GPIOBEN
rw
GPIOAEN
rw
Toggle fields

GPIOAEN

Bit 0: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOBEN

Bit 1: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOCEN

Bit 2: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIODEN

Bit 3: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOEEN

Bit 4: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOFEN

Bit 5: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOGEN

Bit 6: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOHEN

Bit 7: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOIEN

Bit 8: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOJEN

Bit 9: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

GPIOKEN

Bit 10: 0GPIO peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CRCEN

Bit 19: CRC peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

BDMAEN

Bit 21: BDMA and DMAMUX2 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

ADC3EN

Bit 24: ADC3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HSEMEN

Bit 25: HSEM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

BKPRAMEN

Bit 28: Backup RAM Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_APB3ENR

RCC APB3 Clock Register

Offset: 0x144, 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
WWDG1EN
rw
DSIEN
rw
LTDCEN
rw
Toggle fields

LTDCEN

Bit 3: LTDC peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DSIEN

Bit 4: DSI Peripheral clocks enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

WWDG1EN

Bit 6: WWDG1 Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_APB1LENR

RCC APB1 Clock Register

Offset: 0x148, size: 32, reset: 0x00000000, access: read-write

25/25 fields covered.

Toggle fields

TIM2EN

Bit 0: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM3EN

Bit 1: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM4EN

Bit 2: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM5EN

Bit 3: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM6EN

Bit 4: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM7EN

Bit 5: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM12EN

Bit 6: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM13EN

Bit 7: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM14EN

Bit 8: TIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM1EN

Bit 9: LPTIM1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

WWDG2EN

Bit 11: WWDG2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI2EN

Bit 14: SPI2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI3EN

Bit 15: SPI3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPDIFRXEN

Bit 16: SPDIFRX Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART2EN

Bit 17: USART2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART3EN

Bit 18: USART3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART4EN

Bit 19: UART4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART5EN

Bit 20: UART5 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C1EN

Bit 21: I2C1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C2EN

Bit 22: I2C2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C3EN

Bit 23: I2C3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

CECEN

Bit 27: HDMI-CEC peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DAC12EN

Bit 29: DAC1&2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART7EN

Bit 30: UART7 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

UART8EN

Bit 31: UART8 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_APB1HENR

RCC APB1 Clock Register

Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANEN
rw
MDIOSEN
rw
OPAMPEN
rw
SWPEN
rw
CRSEN
rw
Toggle fields

CRSEN

Bit 1: Clock Recovery System peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SWPEN

Bit 2: SWPMI Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

OPAMPEN

Bit 4: OPAMP peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

MDIOSEN

Bit 5: MDIOS peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

FDCANEN

Bit 8: FDCAN Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_APB2ENR

RCC APB2 Clock Register

Offset: 0x150, size: 32, reset: 0x00000000, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HRTIMEN
rw
DFSDM1EN
rw
SAI3EN
rw
SAI2EN
rw
SAI1EN
rw
SPI5EN
rw
TIM17EN
rw
TIM16EN
rw
TIM15EN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4EN
rw
SPI1EN
rw
USART6EN
rw
USART1EN
rw
TIM8EN
rw
TIM1EN
rw
Toggle fields

TIM1EN

Bit 0: TIM1 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM8EN

Bit 1: TIM8 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART1EN

Bit 4: USART1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

USART6EN

Bit 5: USART6 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI1EN

Bit 12: SPI1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI4EN

Bit 13: SPI4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM15EN

Bit 16: TIM15 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM16EN

Bit 17: TIM16 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

TIM17EN

Bit 18: TIM17 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI5EN

Bit 20: SPI5 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI1EN

Bit 22: SAI1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI2EN

Bit 23: SAI2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI3EN

Bit 24: SAI3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

DFSDM1EN

Bit 28: DFSDM1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

HRTIMEN

Bit 29: HRTIM peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_APB4ENR

RCC APB4 Clock Register

Offset: 0x154, 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
SAI4EN
rw
RTCAPBEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VREFEN
rw
COMP12EN
rw
LPTIM5EN
rw
LPTIM4EN
rw
LPTIM3EN
rw
LPTIM2EN
rw
I2C4EN
rw
SPI6EN
rw
LPUART1EN
rw
SYSCFGEN
rw
Toggle fields

SYSCFGEN

Bit 1: SYSCFG peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPUART1EN

Bit 3: LPUART1 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SPI6EN

Bit 5: SPI6 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

I2C4EN

Bit 7: I2C4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM2EN

Bit 9: LPTIM2 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM3EN

Bit 10: LPTIM3 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM4EN

Bit 11: LPTIM4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

LPTIM5EN

Bit 12: LPTIM5 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

COMP12EN

Bit 14: COMP1/2 peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

VREFEN

Bit 15: VREF peripheral clock enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

RTCAPBEN

Bit 16: RTC APB Clock Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

SAI4EN

Bit 21: SAI4 Peripheral Clocks Enable.

Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled

C1_AHB3LPENR

RCC AHB3 Sleep Clock Register

Offset: 0x15c, size: 32, reset: 0x00000000, access: read-write

10/11 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
AXISRAMLPEN
rw
ITCMLPEN
rw
DTCM2LPEN
rw
D1DTCM1LPEN
rw
SDMMC1LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
QSPILPEN
rw
FMCLPEN
rw
FLASHPREN
rw
JPGDECLPEN
rw
DMA2DLPEN
rw
MDMALPEN
rw
Toggle fields

MDMALPEN

Bit 0: MDMA Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DMA2DLPEN

Bit 4: DMA2D Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

JPGDECLPEN

Bit 5: JPGDEC Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

FLASHPREN

Bit 8: Flash interface clock enable during csleep mode.

FMCLPEN

Bit 12: FMC Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

QSPILPEN

Bit 14: QUADSPI and QUADSPI Delay Clock Enable During CSleep 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 16: SDMMC1 and SDMMC1 Delay Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

D1DTCM1LPEN

Bit 28: D1DTCM1 Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DTCM2LPEN

Bit 29: D1 DTCM2 Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ITCMLPEN

Bit 30: D1ITCM Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

AXISRAMLPEN

Bit 31: AXISRAM Block Clock Enable During CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_AHB1LPENR

RCC AHB1 Sleep Clock Register

Offset: 0x160, 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
USB2ULPILPEN
rw
USB2OTGLPEN
rw
USB1ULPILPEN
rw
USB1OTGLPEN
rw
ETH1RXLPEN
rw
ETH1TXLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETH1MACLPEN
rw
ARTLPEN
rw
ADC12LPEN
rw
DMA2LPEN
rw
DMA1LPEN
rw
Toggle fields

DMA1LPEN

Bit 0: DMA1 Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DMA2LPEN

Bit 1: DMA2 Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ADC12LPEN

Bit 5: ADC1/2 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ARTLPEN

Bit 14: ART Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETH1MACLPEN

Bit 15: Ethernet MAC bus interface Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETH1TXLPEN

Bit 16: Ethernet Transmission Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ETH1RXLPEN

Bit 17: Ethernet Reception Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB1OTGLPEN

Bit 25: USB1OTG peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB1ULPILPEN

Bit 26: USB_PHY1 clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB2OTGLPEN

Bit 27: USB2OTG peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

USB2ULPILPEN

Bit 28: USB_PHY2 clocks enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_AHB2LPENR

RCC AHB2 Sleep Clock Register

Offset: 0x164, 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
SRAM3LPEN
rw
SRAM2LPEN
rw
SRAM1LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDMMC2LPEN
rw
RNGLPEN
rw
HASHLPEN
rw
CRYPTLPEN
rw
DCMILPEN
rw
Toggle fields

DCMILPEN

Bit 0: DCMI peripheral clock enable during csleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

CRYPTLPEN

Bit 4: CRYPT peripheral clock enable during CSleep 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 5: HASH peripheral clock enable during CSleep 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 6: RNG peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SDMMC2LPEN

Bit 9: SDMMC2 and SDMMC2 Delay Clock Enable During CSleep 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 29: SRAM1 Clock Enable During CSleep 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 CSleep 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 CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_AHB4LPENR

RCC AHB4 Sleep Clock Register

Offset: 0x168, 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
SRAM4LPEN
rw
BKPRAMLPEN
rw
ADC3LPEN
rw
BDMALPEN
rw
CRCLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIOKLPEN
rw
GPIOJLPEN
rw
GPIOILPEN
rw
GPIOHLPEN
rw
GPIOGLPEN
rw
GPIOFLPEN
rw
GPIOELPEN
rw
GPIODLPEN
rw
GPIOCLPEN
rw
GPIOBLPEN
rw
GPIOALPEN
rw
Toggle fields

GPIOALPEN

Bit 0: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep 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: GPIO peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOJLPEN

Bit 9: GPIO peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

GPIOKLPEN

Bit 10: GPIO peripheral clock enable during CSleep 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 19: CRC peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

BDMALPEN

Bit 21: BDMA Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

ADC3LPEN

Bit 24: ADC3 Peripheral Clocks Enable During CSleep 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: Backup RAM Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SRAM4LPEN

Bit 29: SRAM4 Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_APB3LPENR

RCC APB3 Sleep Clock Register

Offset: 0x16c, 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
WWDG1LPEN
rw
DSILPEN
rw
LTDCLPEN
rw
Toggle fields

LTDCLPEN

Bit 3: LTDC peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DSILPEN

Bit 4: DSI Peripheral Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

WWDG1LPEN

Bit 6: WWDG1 Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_APB1LLPENR

RCC APB1 Low Sleep Clock Register

Offset: 0x170, size: 32, reset: 0x00000000, access: read-write

25/25 fields covered.

Toggle fields

TIM2LPEN

Bit 0: TIM2 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep 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 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM13LPEN

Bit 7: TIM13 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM14LPEN

Bit 8: TIM14 peripheral clock enable during CSleep 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 9: LPTIM1 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

WWDG2LPEN

Bit 11: WWDG2 peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPDIFRXLPEN

Bit 16: SPDIFRX Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 23: I2C3 Peripheral Clocks Enable During CSleep 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 27: HDMI-CEC Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DAC12LPEN

Bit 29: DAC1/2 peripheral clock enable during CSleep 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 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_APB1HLPENR

RCC APB1 High Sleep Clock Register

Offset: 0x174, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FDCANLPEN
rw
MDIOSLPEN
rw
OPAMPLPEN
rw
SWPLPEN
rw
CRSLPEN
rw
Toggle fields

CRSLPEN

Bit 1: Clock Recovery System peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SWPLPEN

Bit 2: SWPMI Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

OPAMPLPEN

Bit 4: OPAMP peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

MDIOSLPEN

Bit 5: MDIOS peripheral clock enable during CSleep 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 8: FDCAN Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_APB2LPENR

RCC APB2 Sleep Clock Register

Offset: 0x178, size: 32, reset: 0x00000000, access: read-write

15/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
HRTIMLPEN
rw
DFSDM1LPEN
rw
SAI3LPEN
rw
SAI2LPEN
rw
SAI1LPEN
rw
SPI5LPEN
rw
TIM17LPEN
rw
TIM16LPEN
rw
TIM15LPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPI4LPEN
rw
SPI1LPEN
rw
USART6LPEN
rw
USART1LPEN
rw
TIM8LPEN
rw
TIM1LPEN
rw
Toggle fields

TIM1LPEN

Bit 0: TIM1 peripheral clock enable during CSleep 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 1: TIM8 peripheral clock enable during CSleep 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 4: USART1 Peripheral Clocks Enable During CSleep 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 5: USART6 Peripheral Clocks Enable During CSleep 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 Peripheral Clocks Enable During CSleep 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 13: SPI4 Peripheral Clocks Enable During CSleep 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 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM16LPEN

Bit 17: TIM16 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

TIM17LPEN

Bit 18: TIM17 peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SPI5LPEN

Bit 20: SPI5 Peripheral Clocks Enable During CSleep 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 22: SAI1 Peripheral Clocks Enable During CSleep 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 23: SAI2 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI3LPEN

Bit 24: SAI3 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

DFSDM1LPEN

Bit 28: DFSDM1 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

HRTIMLPEN

Bit 29: HRTIM peripheral clock enable during CSleep mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

C1_APB4LPENR

RCC APB4 Sleep Clock Register

Offset: 0x17c, 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
SAI4LPEN
rw
RTCAPBLPEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VREFLPEN
rw
COMP12LPEN
rw
LPTIM5LPEN
rw
LPTIM4LPEN
rw
LPTIM3LPEN
rw
LPTIM2LPEN
rw
I2C4LPEN
rw
SPI6LPEN
rw
LPUART1LPEN
rw
SYSCFGLPEN
rw
Toggle fields

SYSCFGLPEN

Bit 1: SYSCFG peripheral clock enable during CSleep 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 3: LPUART1 Peripheral Clocks Enable During CSleep 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 5: SPI6 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

I2C4LPEN

Bit 7: I2C4 Peripheral Clocks Enable During CSleep 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 9: LPTIM2 Peripheral Clocks Enable During CSleep 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 10: LPTIM3 Peripheral Clocks Enable During CSleep 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 11: LPTIM4 Peripheral Clocks Enable During CSleep 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 12: LPTIM5 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

COMP12LPEN

Bit 14: COMP1/2 peripheral clock enable during CSleep 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 15: VREF peripheral clock enable during CSleep 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 16: RTC APB Clock Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

SAI4LPEN

Bit 21: SAI4 Peripheral Clocks Enable During CSleep Mode.

Allowed values:
0: Disabled: The selected clock is disabled during csleep mode
1: Enabled: The selected clock is enabled during csleep mode

RNG

0x48021800: RNG

7/9 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
Toggle registers

CR

RNG control register

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

3/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CED
rw
IE
rw
RNGEN
rw
Toggle fields

RNGEN

Bit 2: Random number generator enable.

Allowed values:
0: Disabled: Random number generator is disabled
1: Enabled: Random number generator is enabled

IE

Bit 3: Interrupt enable.

Allowed values:
0: Disabled: RNG interrupt is disabled
1: Enabled: RNG interrupt is enabled

CED

Bit 5: Clock error detection Note: The clock error detection can be used only when ck_rc48 or ck_pll1_q (ck_pll1_q = 48MHz) source is selected otherwise, CED bit must be equal to 1. The clock error detection cannot be enabled nor disabled on the fly when RNG peripheral is enabled, to enable or disable CED the RNG must be disabled..

Allowed values:
0: Enabled: Clock error detection is enabled
1: Disabled: Clock error detection is disabled

SR

RNG status register

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

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 Note: If IE=1 in RNG_CR, an interrupt is generated when DRDY=1. It can rise when the peripheral is disabled. When the output buffer becomes empty (after reading RNG_DR), this bit returns to 0 until a new random value is generated..

CECS

Bit 1: Clock error current status Note: This bit is meaningless if CED (Clock error detection) bit in RNG_CR is equal to 1..

SECS

Bit 2: Seed error current status ** More than 64 consecutive bits at the same value (0 or 1) ** More than 32 consecutive alternances of 0 and 1 (0101010101...01).

CEIS

Bit 5: Clock error interrupt status This bit is set at the same time as CECS. It is cleared by writing it to 0. An interrupt is pending if IE = 1 in the RNG_CR register. Note: This bit is meaningless if CED (Clock error detection) bit in RNG_CR is equal to 1..

SEIS

Bit 6: Seed error interrupt status This bit is set at the same time as SECS. It is cleared by writing it to 0. ** More than 64 consecutive bits at the same value (0 or 1) ** More than 32 consecutive alternances of 0 and 1 (0101010101...01) An interrupt is pending if IE = 1 in the RNG_CR register..

DR

The RNG_DR register is a read-only register that delivers a 32-bit random value when read. The content of this register is valid when DRDY= 1, even if RNGEN=0.

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 32-bit random data which are valid when DRDY=1..

RTC

0x58004000: RTC

9/166 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 CR
0xc ISR
0x10 PRER
0x14 WUTR
0x1c ALRM[A]R
0x20 ALRM[B]R
0x24 WPR
0x28 SSR
0x2c SHIFTR
0x30 TSTR
0x34 TSDR
0x38 TSSSR
0x3c CALR
0x40 TAMPCR
0x44 ALRM[A]SSR
0x48 ALRM[B]SSR
0x4c OR
0x50 BKP[0]R
0x54 BKP[1]R
0x58 BKP[2]R
0x5c BKP[3]R
0x60 BKP[4]R
0x64 BKP[5]R
0x68 BKP[6]R
0x6c BKP[7]R
0x70 BKP[8]R
0x74 BKP[9]R
0x78 BKP[10]R
0x7c BKP[11]R
0x80 BKP[12]R
0x84 BKP[13]R
0x88 BKP[14]R
0x8c BKP[15]R
0x90 BKP[16]R
0x94 BKP[17]R
0x98 BKP[18]R
0x9c BKP[19]R
0xa0 BKP[20]R
0xa4 BKP[21]R
0xa8 BKP[22]R
0xac BKP[23]R
0xb0 BKP[24]R
0xb4 BKP[25]R
0xb8 BKP[26]R
0xbc BKP[27]R
0xc0 BKP[28]R
0xc4 BKP[29]R
0xc8 BKP[30]R
0xcc BKP[31]R
Toggle registers

TR

The RTC_TR is the calendar time shadow register. This register must be written in initialization mode only. Refer to Calendar initialization and configuration on page9 and Reading the calendar on page10.This register is write protected. The write access procedure is described in RTC register write protection on page9.

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
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.

ST

Bits 4-6: Second tens in BCD format.

MNU

Bits 8-11: Minute units in BCD format.

MNT

Bits 12-14: Minute tens in BCD format.

HU

Bits 16-19: Hour units in BCD format.

HT

Bits 20-21: Hour tens in BCD format.

PM

Bit 22: AM/PM notation.

DR

The RTC_DR is the calendar date shadow register. This register must be written in initialization mode only. Refer to Calendar initialization and configuration on page9 and Reading the calendar on page10.This register is write protected. The write access procedure is described in RTC register write protection on page9.

Offset: 0x4, size: 32, reset: 0x00002101, access: read-write

0/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.

DT

Bits 4-5: Date tens in BCD format.

MU

Bits 8-11: Month units in BCD format.

MT

Bit 12: Month tens in BCD format.

WDU

Bits 13-15: Week day units.

YU

Bits 16-19: Year units in BCD format.

YT

Bits 20-23: Year tens in BCD format.

CR

RTC control register

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

0/21 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ITSE
rw
COE
rw
OSEL
rw
POL
rw
COSEL
rw
BKP
rw
SUB1H
w
ADD1H
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSIE
rw
WUTIE
rw
ALRBIE
rw
ALRAIE
rw
TSE
rw
WUTE
rw
ALRBE
rw
ALRAE
rw
FMT
rw
BYPSHAD
rw
REFCKON
rw
TSEDGE
rw
WUCKSEL
rw
Toggle fields

WUCKSEL

Bits 0-2: Wakeup clock selection.

TSEDGE

Bit 3: Time-stamp event active edge TSE must be reset when TSEDGE is changed to avoid unwanted TSF setting..

REFCKON

Bit 4: RTC_REFIN reference clock detection enable (50 or 60Hz) Note: PREDIV_S must be 0x00FF..

BYPSHAD

Bit 5: Bypass the shadow registers Note: If the frequency of the APB clock is less than seven times the frequency of RTCCLK, BYPSHAD must be set to 1..

FMT

Bit 6: Hour format.

ALRAE

Bit 8: Alarm A enable.

ALRBE

Bit 9: Alarm B enable.

WUTE

Bit 10: Wakeup timer enable.

TSE

Bit 11: timestamp enable.

ALRAIE

Bit 12: Alarm A interrupt enable.

ALRBIE

Bit 13: Alarm B interrupt enable.

WUTIE

Bit 14: Wakeup timer interrupt enable.

TSIE

Bit 15: Time-stamp interrupt enable.

ADD1H

Bit 16: Add 1 hour (summer time change) When this bit is set outside initialization mode, 1 hour is added to the calendar time. This bit is always read as 0..

SUB1H

Bit 17: Subtract 1 hour (winter time change) When this bit is set outside initialization mode, 1 hour is subtracted to the calendar time if the current hour is not 0. This bit is always read as 0. Setting this bit has no effect when current hour is 0..

BKP

Bit 18: Backup This bit can be written by the user to memorize whether the daylight saving time change has been performed or not..

COSEL

Bit 19: Calibration output selection When COE=1, this bit selects which signal is output on RTC_CALIB. These frequencies are valid for RTCCLK at 32.768 kHz and prescalers at their default values (PREDIV_A=127 and PREDIV_S=255). Refer to Section24.3.15: Calibration clock output.

POL

Bit 20: Output polarity This bit is used to configure the polarity of RTC_ALARM output.

OSEL

Bits 21-22: Output selection These bits are used to select the flag to be routed to RTC_ALARM output.

COE

Bit 23: Calibration output enable This bit enables the RTC_CALIB output.

ITSE

Bit 24: timestamp on internal event enable.

ISR

This register is write protected (except for RTC_ISR[13:8] bits). The write access procedure is described in RTC register write protection on page9.

Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified

7/18 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ITSF
rw
RECALPF
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TAMP3F
rw
TAMP2F
rw
TAMP1F
rw
TSOVF
rw
TSF
rw
WUTF
rw
ALRBF
rw
ALRAF
rw
INIT
rw
INITF
r
RSF
rw
INITS
r
SHPF
r
WUTWF
r
ALRBWF
r
ALRAWF
r
Toggle fields

ALRAWF

Bit 0: Alarm A write flag This bit is set by hardware when Alarm A values can be changed, after the ALRAE bit has been set to 0 in RTC_CR. It is cleared by hardware in initialization mode..

ALRBWF

Bit 1: Alarm B write flag This bit is set by hardware when Alarm B values can be changed, after the ALRBE bit has been set to 0 in RTC_CR. It is cleared by hardware in initialization mode..

WUTWF

Bit 2: Wakeup timer write flag This bit is set by hardware up to 2 RTCCLK cycles after the WUTE bit has been set to 0 in RTC_CR, and is cleared up to 2 RTCCLK cycles after the WUTE bit has been set to 1. The wakeup timer values can be changed when WUTE bit is cleared and WUTWF is set..

SHPF

Bit 3: Shift operation pending This flag is set by hardware as soon as a shift operation is initiated by a write to the RTC_SHIFTR register. It is cleared by hardware when the corresponding shift operation has been executed. Writing to the SHPF bit has no effect..

INITS

Bit 4: Initialization status flag This bit is set by hardware when the calendar year field is different from 0 (Backup domain reset state)..

RSF

Bit 5: Registers synchronization flag This bit is set by hardware each time the calendar registers are copied into the shadow registers (RTC_SSRx, RTC_TRx and RTC_DRx). This bit is cleared by hardware in initialization mode, while a shift operation is pending (SHPF=1), or when in bypass shadow register mode (BYPSHAD=1). This bit can also be cleared by software. It is cleared either by software or by hardware in initialization mode..

INITF

Bit 6: Initialization flag When this bit is set to 1, the RTC is in initialization state, and the time, date and prescaler registers can be updated..

INIT

Bit 7: Initialization mode.

ALRAF

Bit 8: Alarm A flag This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm A register (RTC_ALRMAR). This flag is cleared by software by writing 0..

ALRBF

Bit 9: Alarm B flag This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm B register (RTC_ALRMBR). This flag is cleared by software by writing 0..

WUTF

Bit 10: Wakeup timer flag This flag is set by hardware when the wakeup auto-reload counter reaches 0. This flag is cleared by software by writing 0. This flag must be cleared by software at least 1.5 RTCCLK periods before WUTF is set to 1 again..

TSF

Bit 11: Time-stamp flag This flag is set by hardware when a time-stamp event occurs. This flag is cleared by software by writing 0..

TSOVF

Bit 12: Time-stamp overflow flag This flag is set by hardware when a time-stamp event occurs while TSF is already set. This flag is cleared by software by writing 0. It is recommended to check and then clear TSOVF only after clearing the TSF bit. Otherwise, an overflow might not be noticed if a time-stamp event occurs immediately before the TSF bit is cleared..

TAMP1F

Bit 13: RTC_TAMP1 detection flag This flag is set by hardware when a tamper detection event is detected on the RTC_TAMP1 input. It is cleared by software writing 0.

TAMP2F

Bit 14: RTC_TAMP2 detection flag This flag is set by hardware when a tamper detection event is detected on the RTC_TAMP2 input. It is cleared by software writing 0.

TAMP3F

Bit 15: RTC_TAMP3 detection flag This flag is set by hardware when a tamper detection event is detected on the RTC_TAMP3 input. It is cleared by software writing 0.

RECALPF

Bit 16: Recalibration pending Flag 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. Refer to Re-calibration on-the-fly..

ITSF

Bit 17: Internal tTime-stamp flag.

PRER

This register must be written in initialization mode only. The initialization must be performed in two separate write accesses. Refer to Calendar initialization and configuration on page9.This register is write protected. The write access procedure is described in RTC register write protection on page9.

Offset: 0x10, size: 32, reset: 0x007F00FF, access: read-write

0/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 This is the synchronous division factor: ck_spre frequency = ck_apre frequency/(PREDIV_S+1).

PREDIV_A

Bits 16-22: Asynchronous prescaler factor This is the asynchronous division factor: ck_apre frequency = RTCCLK frequency/(PREDIV_A+1).

WUTR

This register can be written only when WUTWF is set to 1 in RTC_ISR.This register is write protected. The write access procedure is described in RTC register write protection on page9.

Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WUT
rw
Toggle fields

WUT

Bits 0-15: Wakeup auto-reload value bits When the wakeup timer is enabled (WUTE set to 1), the WUTF flag is set every (WUT[15:0] + 1) ck_wut cycles. The ck_wut period is selected through WUCKSEL[2:0] bits of the RTC_CR register When WUCKSEL[2] = 1, the wakeup timer becomes 17-bits and WUCKSEL[1] effectively becomes WUT[16] the most-significant bit to be reloaded into the timer. The first assertion of WUTF occurs (WUT+1) ck_wut cycles after WUTE is set. Setting WUT[15:0] to 0x0000 with WUCKSEL[2:0] =011 (RTCCLK/2) is forbidden..

ALRM[A]R

Alarm A register

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MSK4
rw
WDSEL
rw
DT
rw
DU
rw
MSK3
rw
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSK2
rw
MNT
rw
MNU
rw
MSK1
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

ST

Bits 4-6: Second tens in BCD format.

MSK1

Bit 7: Alarm seconds mask.

MNU

Bits 8-11: Minute units in BCD format.

MNT

Bits 12-14: Minute tens in BCD format.

MSK2

Bit 15: Alarm minutes mask.

HU

Bits 16-19: Hour units in BCD format.

HT

Bits 20-21: Hour tens in BCD format.

PM

Bit 22: AM/PM notation.

MSK3

Bit 23: Alarm hours mask.

DU

Bits 24-27: Date units or day in BCD format.

DT

Bits 28-29: Date tens in BCD format.

WDSEL

Bit 30: Week day selection.

MSK4

Bit 31: Alarm date mask.

ALRM[B]R

Alarm B register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MSK4
rw
WDSEL
rw
DT
rw
DU
rw
MSK3
rw
PM
rw
HT
rw
HU
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSK2
rw
MNT
rw
MNU
rw
MSK1
rw
ST
rw
SU
rw
Toggle fields

SU

Bits 0-3: Second units in BCD format.

ST

Bits 4-6: Second tens in BCD format.

MSK1

Bit 7: Alarm seconds mask.

MNU

Bits 8-11: Minute units in BCD format.

MNT

Bits 12-14: Minute tens in BCD format.

MSK2

Bit 15: Alarm minutes mask.

HU

Bits 16-19: Hour units in BCD format.

HT

Bits 20-21: Hour tens in BCD format.

PM

Bit 22: AM/PM notation.

MSK3

Bit 23: Alarm hours mask.

DU

Bits 24-27: Date units or day in BCD format.

DT

Bits 28-29: Date tens in BCD format.

WDSEL

Bit 30: Week day selection.

MSK4

Bit 31: Alarm date mask.

WPR

RTC write protection register

Offset: 0x24, size: 32, reset: 0x00000000, access: write-only

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
KEY
w
Toggle fields

KEY

Bits 0-7: Write protection key This byte is written by software. Reading this byte always returns 0x00. Refer to RTC register write protection for a description of how to unlock RTC register write protection..

SSR

RTC sub second register

Offset: 0x28, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
r
Toggle fields

SS

Bits 0-15: Sub second value SS[15:0] is the value in the synchronous prescaler counter. The fraction of a second is given by the formula below: Second fraction = (PREDIV_S - SS) / (PREDIV_S + 1) Note: SS can be larger than PREDIV_S only after a shift operation. In that case, the correct time/date is one second less than as indicated by RTC_TR/RTC_DR..

SHIFTR

This register is write protected. The write access procedure is described in RTC register write protection on page9.

Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only

0/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 These bits are write only and is always read as zero. Writing to this bit has no effect when a shift operation is pending (when SHPF=1, in RTC_ISR). The value which is written to SUBFS is added to the synchronous prescaler counter. Since this counter counts down, this operation effectively subtracts from (delays) the clock by: Delay (seconds) = SUBFS / (PREDIV_S + 1) A fraction of a second can effectively be added to the clock (advancing the clock) when the ADD1S function is used in conjunction with SUBFS, effectively advancing the clock by: Advance (seconds) = (1 - (SUBFS / (PREDIV_S + 1))). Note: Writing to SUBFS causes RSF to be cleared. Software can then wait until RSF=1 to be sure that the shadow registers have been updated with the shifted time..

ADD1S

Bit 31: Add one second This bit is write only and is always read as zero. Writing to this bit has no effect when a shift operation is pending (when SHPF=1, in RTC_ISR). This function is intended to be used with SUBFS (see description below) in order to effectively add a fraction of a second to the clock in an atomic operation..

TSTR

The content of this register is valid only when TSF is set to 1 in RTC_ISR. It is cleared when TSF bit is reset.

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

ST

Bits 4-6: Second tens in BCD format.

MNU

Bits 8-11: Minute units in BCD format.

MNT

Bits 12-14: Minute tens in BCD format.

HU

Bits 16-19: Hour units in BCD format.

HT

Bits 20-21: Hour tens in BCD format.

PM

Bit 22: AM/PM notation.

TSDR

The content of this register is valid only when TSF is set to 1 in RTC_ISR. It is cleared when TSF bit is reset.

Offset: 0x34, size: 32, reset: 0x00002101, access: read-write

0/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.

DT

Bits 4-5: Date tens in BCD format.

MU

Bits 8-11: Month units in BCD format.

MT

Bit 12: Month tens in BCD format.

WDU

Bits 13-15: Week day units.

YU

Bits 16-19: Year units in BCD format.

YT

Bits 20-23: Year tens in BCD format.

TSSSR

The content of this register is valid only when RTC_ISR/TSF is set. It is cleared when the RTC_ISR/TSF bit is reset.

Offset: 0x38, size: 32, reset: 0x00000000, access: read-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SS
r
Toggle fields

SS

Bits 0-15: Sub second value SS[15:0] is the value in the synchronous prescaler counter. The fraction of a second is given by the formula below: Second fraction = (PREDIV_S - SS) / (PREDIV_S + 1) Note: SS can be larger than PREDIV_S only after a shift operation. In that case, the correct time/date is one second less than as indicated by RTC_TR/RTC_DR..

CALR

This register is write protected. The write access procedure is described in RTC register write protection on page9.

Offset: 0x3c, 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
CALP
rw
CALW8
rw
CALW16
rw
CALM
rw
Toggle fields

CALM

Bits 0-8: Calibration minus The frequency of the calendar is reduced by masking CALM out of 220 RTCCLK pulses (32 seconds if the input frequency is 32768 Hz). This decreases the frequency of the calendar with a resolution of 0.9537 ppm. To increase the frequency of the calendar, this feature should be used in conjunction with CALP. See Section24.3.12: RTC smooth digital calibration on page13..

CALW16

Bit 13: Use a 16-second calibration cycle period 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. Note: CALM[0] is stuck at 0 when CALW16= 1. Refer to Section24.3.12: RTC smooth digital calibration..

CALW8

Bit 14: Use an 8-second calibration cycle period When CALW8 is set to 1, the 8-second calibration cycle period is selected. Note: CALM[1:0] are stuck at 00; when CALW8= 1. Refer to Section24.3.12: RTC smooth digital calibration..

CALP

Bit 15: Increase frequency of RTC by 488.5 ppm This feature is intended to be used in conjunction with CALM, which lowers the frequency of the calendar with a fine resolution. if the input frequency is 32768 Hz, the number of RTCCLK pulses added during a 32-second window is calculated as follows: (512 * CALP) - CALM. Refer to Section24.3.12: RTC smooth digital calibration..

TAMPCR

RTC tamper and alternate function configuration register

Offset: 0x40, size: 32, reset: 0x00000000, access: read-write

0/21 fields covered.

Toggle fields

TAMP1E

Bit 0: RTC_TAMP1 input detection enable.

TAMP1TRG

Bit 1: Active level for RTC_TAMP1 input If TAMPFLT != 00 if TAMPFLT = 00:.

TAMPIE

Bit 2: Tamper interrupt enable.

TAMP2E

Bit 3: RTC_TAMP2 input detection enable.

TAMP2TRG

Bit 4: Active level for RTC_TAMP2 input if TAMPFLT != 00: if TAMPFLT = 00:.

TAMP3E

Bit 5: RTC_TAMP3 detection enable.

TAMP3TRG

Bit 6: Active level for RTC_TAMP3 input if TAMPFLT != 00: if TAMPFLT = 00:.

TAMPTS

Bit 7: Activate timestamp on tamper detection event TAMPTS is valid even if TSE=0 in the RTC_CR register..

TAMPFREQ

Bits 8-10: Tamper sampling frequency Determines the frequency at which each of the RTC_TAMPx inputs are sampled..

TAMPFLT

Bits 11-12: RTC_TAMPx filter count These bits determines the number of consecutive samples at the specified level (TAMP*TRG) needed to activate a Tamper event. TAMPFLT is valid for each of the RTC_TAMPx inputs..

TAMPPRCH

Bits 13-14: RTC_TAMPx precharge duration These bit determines the duration of time during which the pull-up/is activated before each sample. TAMPPRCH is valid for each of the RTC_TAMPx inputs..

TAMPPUDIS

Bit 15: RTC_TAMPx pull-up disable This bit determines if each of the RTC_TAMPx pins are pre-charged before each sample..

TAMP1IE

Bit 16: Tamper 1 interrupt enable.

TAMP1NOERASE

Bit 17: Tamper 1 no erase.

TAMP1MF

Bit 18: Tamper 1 mask flag.

TAMP2IE

Bit 19: Tamper 2 interrupt enable.

TAMP2NOERASE

Bit 20: Tamper 2 no erase.

TAMP2MF

Bit 21: Tamper 2 mask flag.

TAMP3IE

Bit 22: Tamper 3 interrupt enable.

TAMP3NOERASE

Bit 23: Tamper 3 no erase.

TAMP3MF

Bit 24: Tamper 3 mask flag.

ALRM[A]SSR

Alarm A sub-second 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
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: Sub seconds value This value is compared with the contents of the synchronous prescaler counter to determine if Alarm A is to be activated. Only bits 0 up MASKSS-1 are compared..

MASKSS

Bits 24-27: Mask the most-significant bits starting at this bit ... The overflow bits of the synchronous counter (bits 15) is never compared. This bit can be different from 0 only after a shift operation..

ALRM[B]SSR

Alarm B sub-second 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
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: Sub seconds value This value is compared with the contents of the synchronous prescaler counter to determine if Alarm A is to be activated. Only bits 0 up MASKSS-1 are compared..

MASKSS

Bits 24-27: Mask the most-significant bits starting at this bit ... The overflow bits of the synchronous counter (bits 15) is never compared. This bit can be different from 0 only after a shift operation..

OR

RTC option register

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
RTC_OUT_RMP
rw
RTC_ALARM_TYPE
rw
Toggle fields

RTC_ALARM_TYPE

Bit 0: RTC_ALARM output type on PC13.

RTC_OUT_RMP

Bit 1: RTC_OUT remap.

BKP[0]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[1]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[2]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[3]R

RTC backup registers

Offset: 0x5c, size: 32, reset: 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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[4]R

RTC backup registers

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[5]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[6]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[7]R

RTC backup registers

Offset: 0x6c, size: 32, reset: 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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[8]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[9]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[10]R

RTC backup registers

Offset: 0x78, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[11]R

RTC backup registers

Offset: 0x7c, size: 32, reset: 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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[12]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[13]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[14]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[15]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[16]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[17]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[18]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[19]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[20]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[21]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[22]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[23]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[24]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[25]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[26]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[27]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[28]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[29]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[30]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

BKP[31]R

RTC backup registers

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
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. They are powered-on by VBAT when VDD is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode. This register is reset on a tamper detection event, as long as TAMPxF=1. or when the Flash readout protection is disabled..

SAI1

0x40015800: SAI

84/122 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 GCR
0x4 CR1 [A]
0x8 CR2 [A]
0xc FRCR [A]
0x10 SLOTR [A]
0x14 IM [A]
0x18 SR [A]
0x1c CLRFR [A]
0x20 DR [A]
0x24 CR1 [B]
0x28 CR2 [B]
0x2c FRCR [B]
0x30 SLOTR [B]
0x34 IM [B]
0x38 SR [B]
0x3c CLRFR [B]
0x40 DR [B]
0x44 PDMCR
0x48 PDMDLY
Toggle registers

GCR

Global configuration 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
SYNCOUT
rw
SYNCIN
rw
Toggle fields

SYNCIN

Bits 0-1: Synchronization inputs.

SYNCOUT

Bits 4-5: Synchronization outputs These bits are set and cleared by software..

CR1 [A]

Configuration register 1

Offset: 0x4, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [A]

Configuration register 2

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [A]

Interrupt mask register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [A]

Status register

Offset: 0x18, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [A]

Clear flag register

Offset: 0x1c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [A]

Data register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

CR1 [B]

Configuration register 1

Offset: 0x24, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [B]

Configuration register 2

Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x2c, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [B]

Interrupt mask register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [B]

Status register

Offset: 0x38, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [B]

Clear flag register

Offset: 0x3c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [B]

Data 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
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

PDMCR

PDM control register

Offset: 0x44, 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
CKEN4
rw
CKEN3
rw
CKEN2
rw
CKEN1
rw
MICNBR
rw
PDMEN
rw
Toggle fields

PDMEN

Bit 0: PDM enable.

MICNBR

Bits 4-5: Number of microphones.

CKEN1

Bit 8: Clock enable of bitstream clock number 1.

CKEN2

Bit 9: Clock enable of bitstream clock number 2.

CKEN3

Bit 10: Clock enable of bitstream clock number 3.

CKEN4

Bit 11: Clock enable of bitstream clock number 4.

PDMDLY

PDM delay register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DLYM[4]R
rw
DLYM[4]L
rw
DLYM[3]R
rw
DLYM[3]L
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYM[2]R
rw
DLYM[2]L
rw
DLYM[1]R
rw
DLYM[1]L
rw
Toggle fields

DLYM[1]L

Bits 0-2: Delay line adjust for first microphone of pair 1.

DLYM[1]R

Bits 4-6: Delay line adjust for second microphone of pair 1.

DLYM[2]L

Bits 8-10: Delay line adjust for first microphone of pair 2.

DLYM[2]R

Bits 12-14: Delay line adjust for second microphone of pair 2.

DLYM[3]L

Bits 16-18: Delay line adjust for first microphone of pair 3.

DLYM[3]R

Bits 20-22: Delay line adjust for second microphone of pair 3.

DLYM[4]L

Bits 24-26: Delay line adjust for first microphone of pair 4.

DLYM[4]R

Bits 28-30: Delay line adjust for second microphone of pair 4.

SAI2

0x40015c00: SAI

84/122 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 GCR
0x4 CR1 [A]
0x8 CR2 [A]
0xc FRCR [A]
0x10 SLOTR [A]
0x14 IM [A]
0x18 SR [A]
0x1c CLRFR [A]
0x20 DR [A]
0x24 CR1 [B]
0x28 CR2 [B]
0x2c FRCR [B]
0x30 SLOTR [B]
0x34 IM [B]
0x38 SR [B]
0x3c CLRFR [B]
0x40 DR [B]
0x44 PDMCR
0x48 PDMDLY
Toggle registers

GCR

Global configuration 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
SYNCOUT
rw
SYNCIN
rw
Toggle fields

SYNCIN

Bits 0-1: Synchronization inputs.

SYNCOUT

Bits 4-5: Synchronization outputs These bits are set and cleared by software..

CR1 [A]

Configuration register 1

Offset: 0x4, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [A]

Configuration register 2

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [A]

Interrupt mask register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [A]

Status register

Offset: 0x18, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [A]

Clear flag register

Offset: 0x1c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [A]

Data register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

CR1 [B]

Configuration register 1

Offset: 0x24, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [B]

Configuration register 2

Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x2c, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [B]

Interrupt mask register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [B]

Status register

Offset: 0x38, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [B]

Clear flag register

Offset: 0x3c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [B]

Data 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
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

PDMCR

PDM control register

Offset: 0x44, 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
CKEN4
rw
CKEN3
rw
CKEN2
rw
CKEN1
rw
MICNBR
rw
PDMEN
rw
Toggle fields

PDMEN

Bit 0: PDM enable.

MICNBR

Bits 4-5: Number of microphones.

CKEN1

Bit 8: Clock enable of bitstream clock number 1.

CKEN2

Bit 9: Clock enable of bitstream clock number 2.

CKEN3

Bit 10: Clock enable of bitstream clock number 3.

CKEN4

Bit 11: Clock enable of bitstream clock number 4.

PDMDLY

PDM delay register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DLYM[4]R
rw
DLYM[4]L
rw
DLYM[3]R
rw
DLYM[3]L
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYM[2]R
rw
DLYM[2]L
rw
DLYM[1]R
rw
DLYM[1]L
rw
Toggle fields

DLYM[1]L

Bits 0-2: Delay line adjust for first microphone of pair 1.

DLYM[1]R

Bits 4-6: Delay line adjust for second microphone of pair 1.

DLYM[2]L

Bits 8-10: Delay line adjust for first microphone of pair 2.

DLYM[2]R

Bits 12-14: Delay line adjust for second microphone of pair 2.

DLYM[3]L

Bits 16-18: Delay line adjust for first microphone of pair 3.

DLYM[3]R

Bits 20-22: Delay line adjust for second microphone of pair 3.

DLYM[4]L

Bits 24-26: Delay line adjust for first microphone of pair 4.

DLYM[4]R

Bits 28-30: Delay line adjust for second microphone of pair 4.

SAI3

0x40016000: SAI

84/122 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 GCR
0x4 CR1 [A]
0x8 CR2 [A]
0xc FRCR [A]
0x10 SLOTR [A]
0x14 IM [A]
0x18 SR [A]
0x1c CLRFR [A]
0x20 DR [A]
0x24 CR1 [B]
0x28 CR2 [B]
0x2c FRCR [B]
0x30 SLOTR [B]
0x34 IM [B]
0x38 SR [B]
0x3c CLRFR [B]
0x40 DR [B]
0x44 PDMCR
0x48 PDMDLY
Toggle registers

GCR

Global configuration 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
SYNCOUT
rw
SYNCIN
rw
Toggle fields

SYNCIN

Bits 0-1: Synchronization inputs.

SYNCOUT

Bits 4-5: Synchronization outputs These bits are set and cleared by software..

CR1 [A]

Configuration register 1

Offset: 0x4, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [A]

Configuration register 2

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [A]

Interrupt mask register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [A]

Status register

Offset: 0x18, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [A]

Clear flag register

Offset: 0x1c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [A]

Data register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

CR1 [B]

Configuration register 1

Offset: 0x24, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [B]

Configuration register 2

Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x2c, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [B]

Interrupt mask register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [B]

Status register

Offset: 0x38, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [B]

Clear flag register

Offset: 0x3c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [B]

Data 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
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

PDMCR

PDM control register

Offset: 0x44, 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
CKEN4
rw
CKEN3
rw
CKEN2
rw
CKEN1
rw
MICNBR
rw
PDMEN
rw
Toggle fields

PDMEN

Bit 0: PDM enable.

MICNBR

Bits 4-5: Number of microphones.

CKEN1

Bit 8: Clock enable of bitstream clock number 1.

CKEN2

Bit 9: Clock enable of bitstream clock number 2.

CKEN3

Bit 10: Clock enable of bitstream clock number 3.

CKEN4

Bit 11: Clock enable of bitstream clock number 4.

PDMDLY

PDM delay register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DLYM[4]R
rw
DLYM[4]L
rw
DLYM[3]R
rw
DLYM[3]L
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYM[2]R
rw
DLYM[2]L
rw
DLYM[1]R
rw
DLYM[1]L
rw
Toggle fields

DLYM[1]L

Bits 0-2: Delay line adjust for first microphone of pair 1.

DLYM[1]R

Bits 4-6: Delay line adjust for second microphone of pair 1.

DLYM[2]L

Bits 8-10: Delay line adjust for first microphone of pair 2.

DLYM[2]R

Bits 12-14: Delay line adjust for second microphone of pair 2.

DLYM[3]L

Bits 16-18: Delay line adjust for first microphone of pair 3.

DLYM[3]R

Bits 20-22: Delay line adjust for second microphone of pair 3.

DLYM[4]L

Bits 24-26: Delay line adjust for first microphone of pair 4.

DLYM[4]R

Bits 28-30: Delay line adjust for second microphone of pair 4.

SAI4

0x58005400: SAI

84/122 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 GCR
0x4 CR1 [A]
0x8 CR2 [A]
0xc FRCR [A]
0x10 SLOTR [A]
0x14 IM [A]
0x18 SR [A]
0x1c CLRFR [A]
0x20 DR [A]
0x24 CR1 [B]
0x28 CR2 [B]
0x2c FRCR [B]
0x30 SLOTR [B]
0x34 IM [B]
0x38 SR [B]
0x3c CLRFR [B]
0x40 DR [B]
0x44 PDMCR
0x48 PDMDLY
Toggle registers

GCR

Global configuration 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
SYNCOUT
rw
SYNCIN
rw
Toggle fields

SYNCIN

Bits 0-1: Synchronization inputs.

SYNCOUT

Bits 4-5: Synchronization outputs These bits are set and cleared by software..

CR1 [A]

Configuration register 1

Offset: 0x4, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [A]

Configuration register 2

Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [A]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [A]

Interrupt mask register 2

Offset: 0x14, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [A]

Status register

Offset: 0x18, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [A]

Clear flag register

Offset: 0x1c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [A]

Data register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

CR1 [B]

Configuration register 1

Offset: 0x24, size: 32, reset: 0x00000040, access: read-write

11/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MCKEN
rw
OSR
rw
MCKDIV
rw
NODIV
rw
DMAEN
rw
SAIEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OUTDRIV
rw
MONO
rw
SYNCEN
rw
CKSTR
rw
LSBFIRST
rw
DS
rw
PRTCFG
rw
MODE
rw
Toggle fields

MODE

Bits 0-1: SAIx audio block mode immediately.

Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver

PRTCFG

Bits 2-3: Protocol configuration. These bits are set and cleared by software. These bits have to be configured when the audio block is disabled..

Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol

DS

Bits 5-7: Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled..

Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits

LSBFIRST

Bit 8: Least significant bit first. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in AC97 audio protocol since AC97 data are always transferred with the MSB first. This bit has no meaning in SPDIF audio protocol since in SPDIF data are always transferred with LSB first..

Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first

CKSTR

Bit 9: Clock strobing edge. This bit is set and cleared by software. It must be configured when the audio block is disabled. This bit has no meaning in SPDIF audio protocol..

Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK

SYNCEN

Bits 10-11: Synchronization enable. These bits are set and cleared by software. They must be configured when the audio sub-block is disabled. Note: The audio sub-block should be configured as asynchronous when SPDIF mode is enabled..

Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode

MONO

Bit 12: Mono mode. This bit is set and cleared by software. It is meaningful only when the number of slots is equal to 2. When the mono mode is selected, slot 0 data are duplicated on slot 1 when the audio block operates as a transmitter. In reception mode, the slot1 is discarded and only the data received from slot 0 are stored. Refer to Section: Mono/stereo mode for more details..

Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode

OUTDRIV

Bit 13: Output drive. This bit is set and cleared by software. Note: This bit has to be set before enabling the audio block and after the audio block configuration..

Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit

SAIEN

Bit 16: Audio block enable where x is A or B. This bit is set by software. To switch off the audio block, the application software must program this bit to 0 and poll the bit till it reads back 0, meaning that the block is completely disabled. Before setting this bit to 1, check that it is set to 0, otherwise the enable command will not be taken into account. This bit allows to control the state of SAIx audio block. If it is disabled when an audio frame transfer is ongoing, the ongoing transfer completes and the cell is fully disabled at the end of this audio frame transfer. Note: When SAIx block is configured in master mode, the clock must be present on the input of SAIx before setting SAIXEN bit..

Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled

DMAEN

Bit 17: DMA enable. This bit is set and cleared by software. Note: Since the audio block defaults to operate as a transmitter after reset, the MODE[1:0] bits must be configured before setting DMAEN to avoid a DMA request in receiver mode..

Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled

NODIV

Bit 19: No fixed divider between MCLK and FS.

Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.

MCKDIV

Bits 20-25: Master clock divider. These bits are set and cleared by software. These bits are meaningless when the audio block operates in slave mode. They have to be configured when the audio block is disabled. Others: the master clock frequency is calculated accordingly to the following formula:.

OSR

Bit 26: Oversampling ratio for master clock.

MCKEN

Bit 27: Master clock generation enable.

CR2 [B]

Configuration register 2

Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified

6/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMP
rw
CPL
rw
MUTECNT
rw
MUTEVAL
rw
MUTE
rw
TRIS
rw
FFLUSH
w
FTH
rw
Toggle fields

FTH

Bits 0-2: FIFO threshold. This bit is set and cleared by software..

Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full

FFLUSH

Bit 3: FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled..

Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared

TRIS

Bit 4: Tristate management on data line. This bit is set and cleared by software. It is meaningful only if the audio block is configured as a transmitter. This bit is not used when the audio block is configured in SPDIF mode. It should be configured when SAI is disabled. Refer to Section: Output data line management on an inactive slot for more details..

MUTE

Bit 5: Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled

MUTEVAL

Bit 6: Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks..

Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode

MUTECNT

Bits 7-12: Mute counter. These bits are set and cleared by software. They are used only in reception mode. The value set in these bits is compared to the number of consecutive mute frames detected in reception. When the number of mute frames is equal to this value, the flag MUTEDET will be set and an interrupt will be generated if bit MUTEDETIE is set. Refer to Section: Mute mode for more details..

CPL

Bit 13: Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm..

Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation

COMP

Bits 14-15: Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected..

Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm

FRCR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x2c, size: 32, reset: 0x00000007, access: Unspecified

2/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FSOFF
rw
FSPOL
rw
FSDEF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FSALL
rw
FRL
rw
Toggle fields

FRL

Bits 0-7: Frame length. These bits are set and cleared by software. They define the audio frame length expressed in number of SCK clock cycles: the number of bits in the frame is equal to FRL[7:0] + 1. The minimum number of bits to transfer in an audio frame must be equal to 8, otherwise the audio block will behaves in an unexpected way. This is the case when the data size is 8 bits and only one slot 0 is defined in NBSLOT[4:0] of SAI_xSLOTR register (NBSLOT[3:0] = 0000). In master mode, if the master clock (available on MCLK_x pin) is used, the frame length should be aligned with a number equal to a power of 2, ranging from 8 to 256. When the master clock is not used (NODIV = 1), it is recommended to program the frame length to an value ranging from 8 to 256. These bits are meaningless and are not used in AC97 or SPDIF audio block configuration..

FSALL

Bits 8-14: Frame synchronization active level length. These bits are set and cleared by software. They specify the length in number of bit clock (SCK) + 1 (FSALL[6:0] + 1) of the active level of the FS signal in the audio frame These bits are meaningless and are not used in AC97 or SPDIF audio block configuration. They must be configured when the audio block is disabled..

FSDEF

Bit 16: Frame synchronization definition. This bit is set and cleared by software. When the bit is set, the number of slots defined in the SAI_xSLOTR register has to be even. It means that half of this number of slots will be dedicated to the left channel and the other slots for the right channel (e.g: this bit has to be set for I2S or MSB/LSB-justified protocols...). This bit is meaningless and is not used in AC97 or SPDIF audio block configuration. It must be configured when the audio block is disabled..

FSPOL

Bit 17: Frame synchronization polarity. This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)

FSOFF

Bit 18: Frame synchronization offset. This bit is set and cleared by software. It is meaningless and is not used in AC97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled..

Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0

SLOTR [B]

This register has no meaning in AC97 and SPDIF audio protocol

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

2/4 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
SLOTEN
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NBSLOT
rw
SLOTSZ
rw
FBOFF
rw
Toggle fields

FBOFF

Bits 0-4: First bit offset These bits are set and cleared by software. The value set in this bitfield defines the position of the first data transfer bit in the slot. It represents an offset value. In transmission mode, the bits outside the data field are forced to 0. In reception mode, the extra received bits are discarded. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTSZ

Bits 6-7: Slot size This bits is set and cleared by software. The slot size must be higher or equal to the data size. If this condition is not respected, the behavior of the SAI will be undetermined. Refer to Section: Output data line management on an inactive slot for information on how to drive SD line. These bits must be set when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit

NBSLOT

Bits 8-11: Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

SLOTEN

Bits 16-31: Slot enable. These bits are set and cleared by software. Each SLOTEN bit corresponds to a slot position from 0 to 15 (maximum 16 slots). The slot must be enabled when the audio block is disabled. They are ignored in AC97 or SPDIF mode..

Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot

IM [B]

Interrupt mask register 2

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

7/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDETIE
rw
AFSDETIE
rw
CNRDYIE
rw
FREQIE
rw
WCKCFGIE
rw
MUTEDETIE
rw
OVRUDRIE
rw
Toggle fields

OVRUDRIE

Bit 0: Overrun/underrun interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the OVRUDR bit in the SAI_xSR register is set..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

MUTEDETIE

Bit 1: Mute detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the MUTEDET bit in the SAI_xSR register is set. This bit has a meaning only if the audio block is configured in receiver mode..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

WCKCFGIE

Bit 2: Wrong clock configuration interrupt enable. This bit is set and cleared by software. This bit is taken into account only if the audio block is configured as a master (MODE[1] = 0) and NODIV = 0. It generates an interrupt if the WCKCFG flag in the SAI_xSR register is set. Note: This bit is used only in TDM mode and is meaningless in other modes..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

FREQIE

Bit 3: FIFO request interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt is generated if the FREQ bit in the SAI_xSR register is set. Since the audio block defaults to operate as a transmitter after reset, the MODE bit must be configured before setting FREQIE to avoid a parasitic interruption in receiver mode,.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

CNRDYIE

Bit 4: Codec not ready interrupt enable (AC97). This bit is set and cleared by software. When the interrupt is enabled, the audio block detects in the slot 0 (tag0) of the AC97 frame if the Codec connected to this line is ready or not. If it is not ready, the CNRDY flag in the SAI_xSR register is set and an interruption i generated. This bit has a meaning only if the AC97 mode is selected through PRTCFG[1:0] bits and the audio block is operates as a receiver..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

AFSDETIE

Bit 5: Anticipated frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the AFSDET bit in the SAI_xSR register is set. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

LFSDETIE

Bit 6: Late frame synchronization detection interrupt enable. This bit is set and cleared by software. When this bit is set, an interrupt will be generated if the LFSDET bit is set in the SAI_xSR register. This bit is meaningless in AC97, SPDIF mode or when the audio block operates as a master..

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled

SR [B]

Status register

Offset: 0x38, size: 32, reset: 0x00000008, access: read-only

8/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FLVL
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LFSDET
r
AFSDET
r
CNRDY
r
FREQ
r
WCKCFG
r
MUTEDET
r
OVRUDR
r
Toggle fields

OVRUDR

Bit 0: Overrun / underrun. This bit is read only. The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively. It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register. This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection

MUTEDET

Bit 1: Mute detection. This bit is read only. This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register). It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register..

Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame

WCKCFG

Bit 2: Wrong clock configuration flag. This bit is read only. This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0. It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register. This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register..

Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification

FREQ

Bit 3: FIFO request. This bit is read only. The request depends on the audio block configuration: If the block is configured in transmission mode, the FIFO request is related to a write request operation in the SAI_xDR. If the block configured in reception, the FIFO request related to a read request operation from the SAI_xDR. This flag can generate an interrupt if FREQIE bit is set in SAI_xIM register..

Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR

CNRDY

Bit 4: Codec not ready. This bit is read only. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register and configured in receiver mode. It can generate an interrupt if CNRDYIE bit is set in SAI_xIM register. This flag is cleared when the software sets CCNRDY bit in SAI_xCLRFR register..

Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready

AFSDET

Bit 5: Anticipated frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97or SPDIF mode. It can generate an interrupt if AFSDETIE bit is set in SAI_xIM register. This flag is cleared when the software sets CAFSDET bit in SAI_xCLRFR register..

Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected

LFSDET

Bit 6: Late frame synchronization detection. This bit is read only. This flag can be set only if the audio block is configured in slave mode. It is not used in AC97 or SPDIF mode. It can generate an interrupt if LFSDETIE bit is set in the SAI_xIM register. This flag is cleared when the software sets bit CLFSDET in SAI_xCLRFR register.

Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time

FLVL

Bits 16-18: FIFO level threshold. This bit is read only. The FIFO level threshold flag is managed only by hardware and its setting depends on SAI block configuration (transmitter or receiver mode). If the SAI block is configured as transmitter: If SAI block is configured as receiver:.

Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full

CLRFR [B]

Clear flag register

Offset: 0x3c, size: 32, 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
CLFSDET
w
CAFSDET
w
CCNRDY
w
CWCKCFG
w
CMUTEDET
w
COVRUDR
w
Toggle fields

COVRUDR

Bit 0: Clear overrun / underrun. This bit is write only. Programming this bit to 1 clears the OVRUDR flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the OVRUDR flag

CMUTEDET

Bit 1: Mute detection flag. This bit is write only. Programming this bit to 1 clears the MUTEDET flag in the SAI_xSR register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the MUTEDET flag

CWCKCFG

Bit 2: Clear wrong clock configuration flag. This bit is write only. Programming this bit to 1 clears the WCKCFG flag in the SAI_xSR register. This bit is used only when the audio block is set as master (MODE[1] = 0) and NODIV = 0 in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the WCKCFG flag

CCNRDY

Bit 4: Clear Codec not ready flag. This bit is write only. Programming this bit to 1 clears the CNRDY flag in the SAI_xSR register. This bit is used only when the AC97 audio protocol is selected in the SAI_xCR1 register. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the CNRDY flag

CAFSDET

Bit 5: Clear anticipated frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the AFSDET flag in the SAI_xSR register. It is not used in AC97or SPDIF mode. Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the AFSDET flag

CLFSDET

Bit 6: Clear late frame synchronization detection flag. This bit is write only. Programming this bit to 1 clears the LFSDET flag in the SAI_xSR register. This bit is not used in AC97or SPDIF mode Reading this bit always returns the value 0..

Allowed values:
1: Clear: Clears the LFSDET flag

DR [B]

Data 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
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 A write to this register loads the FIFO provided the FIFO is not full. A read from this register empties the FIFO if the FIFO is not empty..

PDMCR

PDM control register

Offset: 0x44, 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
CKEN4
rw
CKEN3
rw
CKEN2
rw
CKEN1
rw
MICNBR
rw
PDMEN
rw
Toggle fields

PDMEN

Bit 0: PDM enable.

MICNBR

Bits 4-5: Number of microphones.

CKEN1

Bit 8: Clock enable of bitstream clock number 1.

CKEN2

Bit 9: Clock enable of bitstream clock number 2.

CKEN3

Bit 10: Clock enable of bitstream clock number 3.

CKEN4

Bit 11: Clock enable of bitstream clock number 4.

PDMDLY

PDM delay register

Offset: 0x48, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
DLYM[4]R
rw
DLYM[4]L
rw
DLYM[3]R
rw
DLYM[3]L
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DLYM[2]R
rw
DLYM[2]L
rw
DLYM[1]R
rw
DLYM[1]L
rw
Toggle fields

DLYM[1]L

Bits 0-2: Delay line adjust for first microphone of pair 1.

DLYM[1]R

Bits 4-6: Delay line adjust for second microphone of pair 1.

DLYM[2]L

Bits 8-10: Delay line adjust for first microphone of pair 2.

DLYM[2]R

Bits 12-14: Delay line adjust for second microphone of pair 2.

DLYM[3]L

Bits 16-18: Delay line adjust for first microphone of pair 3.

DLYM[3]R

Bits 20-22: Delay line adjust for second microphone of pair 3.

DLYM[4]L

Bits 24-26: Delay line adjust for first microphone of pair 4.

DLYM[4]R

Bits 28-30: Delay line adjust for second microphone of pair 4.

SCB

0xe000ed00: System control block

5/77 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 CPUID
0x4 ICSR
0x8 VTOR
0xc AIRCR
0x10 SCR
0x14 CCR
0x18 SHPR1
0x1c SHPR2
0x20 SHPR3
0x24 SHCSR
0x28 CFSR_UFSR_BFSR_MMFSR
0x2c HFSR
0x34 MMFAR
0x38 BFAR
Toggle registers

CPUID

CPUID base register

Offset: 0x0, size: 32, reset: 0x410FC241, access: read-only

5/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Implementer
r
Variant
r
Constant
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PartNo
r
Revision
r
Toggle fields

Revision

Bits 0-3: Revision number.

PartNo

Bits 4-15: Part number of the processor.

Constant

Bits 16-19: Reads as 0xF.

Variant

Bits 20-23: Variant number.

Implementer

Bits 24-31: Implementer code.

ICSR

Interrupt control and state register

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
NMIPENDSET
rw
PENDSVSET
rw
PENDSVCLR
rw
PENDSTSET
rw
PENDSTCLR
rw
ISRPENDING
rw
VECTPENDING
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VECTPENDING
rw
RETTOBASE
rw
VECTACTIVE
rw
Toggle fields

VECTACTIVE

Bits 0-8: Active vector.

RETTOBASE

Bit 11: Return to base level.

VECTPENDING

Bits 12-18: Pending vector.

ISRPENDING

Bit 22: Interrupt pending flag.

PENDSTCLR

Bit 25: SysTick exception clear-pending bit.

PENDSTSET

Bit 26: SysTick exception set-pending bit.

PENDSVCLR

Bit 27: PendSV clear-pending bit.

PENDSVSET

Bit 28: PendSV set-pending bit.

NMIPENDSET

Bit 31: NMI set-pending bit..

VTOR

Vector table offset 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
TBLOFF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TBLOFF
rw
Toggle fields

TBLOFF

Bits 9-29: Vector table base offset field.

AIRCR

Application interrupt and reset control register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

0/6 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
VECTKEYSTAT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ENDIANESS
rw
PRIGROUP
rw
SYSRESETREQ
rw
VECTCLRACTIVE
rw
VECTRESET
rw
Toggle fields

VECTRESET

Bit 0: VECTRESET.

VECTCLRACTIVE

Bit 1: VECTCLRACTIVE.

SYSRESETREQ

Bit 2: SYSRESETREQ.

PRIGROUP

Bits 8-10: PRIGROUP.

ENDIANESS

Bit 15: ENDIANESS.

VECTKEYSTAT

Bits 16-31: Register key.

SCR

System control register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SEVEONPEND
rw
SLEEPDEEP
rw
SLEEPONEXIT
rw
Toggle fields

SLEEPONEXIT

Bit 1: SLEEPONEXIT.

SLEEPDEEP

Bit 2: SLEEPDEEP.

SEVEONPEND

Bit 4: Send Event on Pending bit.

CCR

Configuration and control register

Offset: 0x14, 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
BP
rw
IC
rw
DC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
STKALIGN
rw
BFHFNMIGN
rw
DIV_0_TRP
rw
UNALIGN__TRP
rw
USERSETMPEND
rw
NONBASETHRDENA
rw
Toggle fields

NONBASETHRDENA

Bit 0: Configures how the processor enters Thread mode.

USERSETMPEND

Bit 1: USERSETMPEND.

UNALIGN__TRP

Bit 3: UNALIGN_ TRP.

DIV_0_TRP

Bit 4: DIV_0_TRP.

BFHFNMIGN

Bit 8: BFHFNMIGN.

STKALIGN

Bit 9: STKALIGN.

DC

Bit 16: DC.

IC

Bit 17: IC.

BP

Bit 18: BP.

SHPR1

System handler priority registers

Offset: 0x18, 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
PRI_6
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PRI_5
rw
PRI_4
rw
Toggle fields

PRI_4

Bits 0-7: Priority of system handler 4.

PRI_5

Bits 8-15: Priority of system handler 5.

PRI_6

Bits 16-23: Priority of system handler 6.

SHPR2

System handler priority registers

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PRI_11
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PRI_11

Bits 24-31: Priority of system handler 11.

SHPR3

System handler priority registers

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
PRI_15
rw
PRI_14
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Toggle fields

PRI_14

Bits 16-23: Priority of system handler 14.

PRI_15

Bits 24-31: Priority of system handler 15.

SHCSR

System handler control and state register

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

0/14 fields covered.

Toggle fields

MEMFAULTACT

Bit 0: Memory management fault exception active bit.

BUSFAULTACT

Bit 1: Bus fault exception active bit.

USGFAULTACT

Bit 3: Usage fault exception active bit.

SVCALLACT

Bit 7: SVC call active bit.

MONITORACT

Bit 8: Debug monitor active bit.

PENDSVACT

Bit 10: PendSV exception active bit.

SYSTICKACT

Bit 11: SysTick exception active bit.

USGFAULTPENDED

Bit 12: Usage fault exception pending bit.

MEMFAULTPENDED

Bit 13: Memory management fault exception pending bit.

BUSFAULTPENDED

Bit 14: Bus fault exception pending bit.

SVCALLPENDED

Bit 15: SVC call pending bit.

MEMFAULTENA

Bit 16: Memory management fault enable bit.

BUSFAULTENA

Bit 17: Bus fault enable bit.

USGFAULTENA

Bit 18: Usage fault enable bit.

CFSR_UFSR_BFSR_MMFSR

Configurable fault status register

Offset: 0x28, 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
DIVBYZERO
rw
UNALIGNED
rw
NOCP
rw
INVPC
rw
INVSTATE
rw
UNDEFINSTR
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BFARVALID
rw
LSPERR
rw
STKERR
rw
UNSTKERR
rw
IMPRECISERR
rw
PRECISERR
rw
IBUSERR
rw
MMARVALID
rw
MLSPERR
rw
MSTKERR
rw
MUNSTKERR
rw
DACCVIOL
rw
IACCVIOL
rw
Toggle fields

IACCVIOL

Bit 0: IACCVIOL.

DACCVIOL

Bit 1: DACCVIOL.

MUNSTKERR

Bit 3: MUNSTKERR.

MSTKERR

Bit 4: MSTKERR.

MLSPERR

Bit 5: MLSPERR.

MMARVALID

Bit 7: MMARVALID.

IBUSERR

Bit 8: Instruction bus error.

PRECISERR

Bit 9: Precise data bus error.

IMPRECISERR

Bit 10: Imprecise data bus error.

UNSTKERR

Bit 11: Bus fault on unstacking for a return from exception.

STKERR

Bit 12: Bus fault on stacking for exception entry.

LSPERR

Bit 13: Bus fault on floating-point lazy state preservation.

BFARVALID

Bit 15: Bus Fault Address Register (BFAR) valid flag.

UNDEFINSTR

Bit 16: Undefined instruction usage fault.

INVSTATE

Bit 17: Invalid state usage fault.

INVPC

Bit 18: Invalid PC load usage fault.

NOCP

Bit 19: No coprocessor usage fault..

UNALIGNED

Bit 24: Unaligned access usage fault.

DIVBYZERO

Bit 25: Divide by zero usage fault.

HFSR

Hard fault status register

Offset: 0x2c, 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
DEBUG_VT
rw
FORCED
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
VECTTBL
rw
Toggle fields

VECTTBL

Bit 1: Vector table hard fault.

FORCED

Bit 30: Forced hard fault.

DEBUG_VT

Bit 31: Reserved for Debug use.

MMFAR

Memory management fault address register

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
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: Memory management fault address.

BFAR

Bus fault address register

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: Bus fault address.

SCB_ACTRL

0xe000e008: System control block ACTLR

0/4 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 ACTRL
Toggle registers

ACTRL

Auxiliary 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
DISITMATBFLUSH
rw
DISRAMODE
rw
FPEXCODIS
rw
DISFOLD
rw
Toggle fields

DISFOLD

Bit 2: DISFOLD.

FPEXCODIS

Bit 10: FPEXCODIS.

DISRAMODE

Bit 11: DISRAMODE.

DISITMATBFLUSH

Bit 12: DISITMATBFLUSH.

SDMMC1

0x52007000: SDMMC1

35/122 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 IDMABASE0R
0x5c IDMABASE1R
0x80 FIFOR
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. These bits can only be written when the SDMMC is not in the power-on state (PWRCTRL?11). These bits are used to define the functional state of the SDMMC signals: Any further write will be ignored, PWRCTRL value will keep 11..

VSWITCH

Bit 2: Voltage switch sequence start. This bit is used to start the timing critical section of the voltage switch sequence:.

VSWITCHEN

Bit 3: Voltage switch procedure enable. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). This bit is used to stop the SDMMC_CK after the voltage switch command response:.

DIRPOL

Bit 4: Data and command direction signals polarity selection. This bit can only be written when the SDMMC is in the power-off state (PWRCTRL = 00)..

CLKCR

The SDMMC_CLKCR register controls the SDMMC_CK output clock, the SDMMC_RX_CLK receive clock, and the bus width.

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 This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). This field defines the divide factor between the input clock (SDMMCCLK) and the output clock (SDMMC_CK): SDMMC_CK frequency = SDMMCCLK / [2 * CLKDIV]. 0xx: etc.. xxx: etc...

PWRSAV

Bit 12: Power saving configuration bit This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0) For power saving, the SDMMC_CK clock output can be disabled when the bus is idle by setting PWRSAV:.

WIDBUS

Bits 14-15: Wide bus mode enable bit This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0).

NEGEDGE

Bit 16: SDMMC_CK dephasing selection bit for data and Command. This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). When clock division = 1 (CLKDIV = 0), this bit has no effect. Data and Command change on SDMMC_CK falling edge. When clock division &gt;1 (CLKDIV &gt; 0) &amp; DDR = 0: - SDMMC_CK edge occurs on SDMMCCLK rising edge. When clock division >1 (CLKDIV > 0) & DDR = 1: - Data changed on the SDMMCCLK falling edge succeeding a SDMMC_CK edge. - SDMMC_CK edge occurs on SDMMCCLK rising edge. - Data changed on the SDMMC_CK falling edge succeeding a SDMMC_CK edge. - SDMMC_CK edge occurs on SDMMCCLK rising edge..

HWFC_EN

Bit 17: Hardware flow control enable This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0) When Hardware flow control is enabled, the meaning of the TXFIFOE and RXFIFOF flags change, please see SDMMC status register definition in Section56.8.11..

DDR

Bit 18: Data rate signaling selection This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0) DDR rate shall only be selected with 4-bit or 8-bit wide bus mode. (WIDBUS &gt; 00). DDR = 1 has no effect when WIDBUS = 00 (1-bit wide bus). DDR rate shall only be selected with clock division &gt;1. (CLKDIV &gt; 0).

BUSSPEED

Bit 19: Bus speed mode selection between DS, HS, SDR12, SDR25 and SDR50, DDR50, SDR104. This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0).

SELCLKRX

Bits 20-21: Receive clock selection. These bits can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0).

ARGR

The SDMMC_ARGR register contains a 32-bit command argument, which is sent to a card as part of a command message.

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. These bits can only be written by firmware when CPSM is disabled (CPSMEN = 0). Command argument sent to a card as part of a command message. If a command contains an argument, it must be loaded into this register before writing a command to the command register..

CMDR

The SDMMC_CMDR register contains the command index and command type bits. The command index is sent to a card as part of a command message. The command type bits control the command path state machine (CPSM).

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. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). The command index is sent to the card as part of a command message..

CMDTRANS

Bit 6: The CPSM treats the command as a data transfer command, stops the interrupt period, and signals DataEnable to the DPSM This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). If this bit is set, the CPSM issues an end of interrupt period and issues DataEnable signal to the DPSM when the command is sent..

CMDSTOP

Bit 7: The CPSM treats the command as a Stop Transmission command and signals Abort to the DPSM. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). If this bit is set, the CPSM issues the Abort signal to the DPSM when the command is sent..

WAITRESP

Bits 8-9: Wait for response bits. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). They are used to configure whether the CPSM is to wait for a response, and if yes, which kind of response..

WAITINT

Bit 10: CPSM waits for interrupt request. If this bit is set, the CPSM disables command timeout and waits for an card interrupt request (Response). If this bit is cleared in the CPSM Wait state, will cause the abort of the interrupt mode..

WAITPEND

Bit 11: CPSM Waits for end of data transfer (CmdPend internal signal) from DPSM. This bit when set, the CPSM waits for the end of data transfer trigger before it starts sending a command. WAITPEND is only taken into account when DTMODE = MMC stream data transfer, WIDBUS = 1-bit wide bus mode, DPSMACT = 1 and DTDIR = from host to card..

CPSMEN

Bit 12: Command path state machine (CPSM) Enable bit This bit is written 1 by firmware, and cleared by hardware when the CPSM enters the Idle state. If this bit is set, the CPSM is enabled. When DTEN = 1, no command will be transfered nor boot procedure will be started. CPSMEN is cleared to 0..

DTHOLD

Bit 13: Hold new data block transmission and reception in the DPSM. If this bit is set, the DPSM will not move from the Wait_S state to the Send state or from the Wait_R state to the Receive state..

BOOTMODE

Bit 14: Select the boot mode procedure to be used. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0).

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. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). CMDSUSPEND = 1 and CMDTRANS = 0 Suspend command, start interrupt period when response bit BS=0. CMDSUSPEND = 1 and CMDTRANS = 1 Resume command with data, end interrupt period when response bit DF=1..

RESPCMDR

SDMMC command response register

Offset: 0x10, size: 32, reset: 0xA3C5DD01, 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

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS1
r
Toggle fields

CARDSTATUS1

Bits 0-31: see Table 432.

RESP2R

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS2
r
Toggle fields

CARDSTATUS2

Bits 0-31: see Table404..

RESP3R

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS3
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS3
r
Toggle fields

CARDSTATUS3

Bits 0-31: see Table404..

RESP4R

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS4
r
Toggle fields

CARDSTATUS4

Bits 0-31: see Table404..

DTIMER

The SDMMC_DTIMER register contains the data timeout period, in card bus clock periods. A counter loads the value from the SDMMC_DTIMER register, and starts decrementing when the data path state machine (DPSM) enters the Wait_R or Busy state. If the timer reaches 0 while the DPSM is in either of these states, the timeout status flag is set.

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 This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). Data and R1b busy timeout period expressed in card bus clock periods..

DLENR

The SDMMC_DLENR register contains the number of data bytes to be transferred. The value is loaded into the data counter when data transfer starts.

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 This register can only be written by firmware when DPSM is inactive (DPSMACT = 0). Number of data bytes to be transferred. When DDR = 1 DATALENGTH is truncated to a multiple of 2. (The last odd byte is not transfered) When DATALENGTH = 0 no data will be transfered, when requested by a CPSMEN and CMDTRANS = 1 also no command will be transfered. DTEN and CPSMEN are cleared to 0..

DCTRL

The SDMMC_DCTRL register control the data path state machine (DPSM).

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 This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). This bit is cleared by Hardware when data transfer completes. This bit shall only be used to transfer data when no associated data transfer command is used, i.e. shall not be used with SD or eMMC cards..

DTDIR

Bit 1: Data transfer direction selection This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

DTMODE

Bits 2-3: Data transfer mode selection. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

DBLOCKSIZE

Bits 4-7: Data block size This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). Define the data block length when the block data transfer mode is selected: When DATALENGTH is not a multiple of DBLOCKSIZE, the transfered data is truncated at a multiple of DBLOCKSIZE. (Any remain data will not be transfered.) When DDR = 1, DBLOCKSIZE = 0000 shall not be used. (No data will be transfered).

RWSTART

Bit 8: Read wait start. If this bit is set, read wait operation starts..

RWSTOP

Bit 9: Read wait stop This bit is written by firmware and auto cleared by hardware when the DPSM moves from the READ_WAIT state to the WAIT_R or IDLE state..

RWMOD

Bit 10: Read wait mode. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

SDIOEN

Bit 11: SD I/O interrupt enable functions This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). If this bit is set, the DPSM enables the SD I/O card specific interrupt operation..

BOOTACKEN

Bit 12: Enable the reception of the boot acknowledgment. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

FIFORST

Bit 13: FIFO reset, will flush any remaining data. This bit can only be written by firmware when IDMAEN= 0 and DPSM is active (DPSMACT = 1). This bit will only take effect when a transfer error or transfer hold occurs..

DCNTR

The SDMMC_DCNTR register loads the value from the data length register (see SDMMC_DLENR) when the DPSM moves from the Idle state to the Wait_R or Wait_S state. As data is transferred, the counter decrements the value until it reaches 0. The DPSM then moves to the Idle state and when there has been no error, the data status end flag (DATAEND) is set.

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 When read, the number of remaining data bytes to be transferred is returned. Write has no effect..

STAR

The SDMMC_STAR register is a read-only register. It contains two types of flag:Static flags (bits [29,21,11:0]): these bits remain asserted until they are cleared by writing to the SDMMC interrupt Clear register (see SDMMC_ICR)Dynamic flags (bits [20:12]): these bits change state depending on the state of the underlying logic (for example, FIFO full and empty flags are asserted and de-asserted as data while written to the FIFO)

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

29/29 fields covered.

Toggle fields

CCRCFAIL

Bit 0: Command response received (CRC check failed). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DCRCFAIL

Bit 1: Data block sent/received (CRC check failed). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CTIMEOUT

Bit 2: Command response timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR. The Command Timeout period has a fixed value of 64 SDMMC_CK clock periods..

DTIMEOUT

Bit 3: Data timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

TXUNDERR

Bit 4: Transmit FIFO underrun error or IDMA read transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

RXOVERR

Bit 5: Received FIFO overrun error or IDMA write transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CMDREND

Bit 6: Command response received (CRC check passed, or no CRC). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CMDSENT

Bit 7: Command sent (no response required). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DATAEND

Bit 8: Data transfer ended correctly. (data counter, DATACOUNT is zero and no errors occur). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DHOLD

Bit 9: Data transfer Hold. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DBCKEND

Bit 10: Data block sent/received. (CRC check passed) and DPSM moves to the READWAIT state. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DABORT

Bit 11: Data transfer aborted by CMD12. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DPSMACT

Bit 12: Data path state machine active, i.e. not in Idle state. This is a hardware status flag only, does not generate an interrupt..

CPSMACT

Bit 13: Command path state machine active, i.e. not in Idle state. This is a hardware status flag only, does not generate an interrupt..

TXFIFOHE

Bit 14: Transmit FIFO half empty At least half the number of words can be written into the FIFO. This bit is cleared when the FIFO becomes half+1 full..

RXFIFOHF

Bit 15: Receive FIFO half full There are at least half the number of words in the FIFO. This bit is cleared when the FIFO becomes half+1 empty..

TXFIFOF

Bit 16: Transmit FIFO full This is a hardware status flag only, does not generate an interrupt. This bit is cleared when one FIFO location becomes empty..

RXFIFOF

Bit 17: Receive FIFO full This bit is cleared when one FIFO location becomes empty..

TXFIFOE

Bit 18: Transmit FIFO empty This bit is cleared when one FIFO location becomes full..

RXFIFOE

Bit 19: Receive FIFO empty This is a hardware status flag only, does not generate an interrupt. This bit is cleared when one FIFO location becomes full..

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. This bit is reset to not busy when the SDMMCD0 line changes from busy to not busy. This bit does not signal busy due to data transfer. This is a hardware status flag only, it does not generate an interrupt..

BUSYD0END

Bit 21: end of SDMMC_D0 Busy following a CMD response detected. This indicates only end of busy following a CMD response. This bit does not signal busy due to data transfer. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

SDIOIT

Bit 22: SDIO interrupt received. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

ACKFAIL

Bit 23: Boot acknowledgment received (boot acknowledgment check fail). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

ACKTIMEOUT

Bit 24: Boot acknowledgment timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

VSWEND

Bit 25: Voltage switch critical timing section completion. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CKSTOP

Bit 26: SDMMC_CK stopped in Voltage switch procedure. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

IDMATE

Bit 27: IDMA transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

IDMABTC

Bit 28: IDMA buffer transfer complete. interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

ICR

The SDMMC_ICR register is a write-only register. Writing a bit with 1 clears the corresponding bit in the SDMMC_STAR status register.

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

CCRCFAILC

Bit 0: CCRCFAIL flag clear bit Set by software to clear the CCRCFAIL flag..

DCRCFAILC

Bit 1: DCRCFAIL flag clear bit Set by software to clear the DCRCFAIL flag..

CTIMEOUTC

Bit 2: CTIMEOUT flag clear bit Set by software to clear the CTIMEOUT flag..

DTIMEOUTC

Bit 3: DTIMEOUT flag clear bit Set by software to clear the DTIMEOUT flag..

TXUNDERRC

Bit 4: TXUNDERR flag clear bit Set by software to clear TXUNDERR flag..

RXOVERRC

Bit 5: RXOVERR flag clear bit Set by software to clear the RXOVERR flag..

CMDRENDC

Bit 6: CMDREND flag clear bit Set by software to clear the CMDREND flag..

CMDSENTC

Bit 7: CMDSENT flag clear bit Set by software to clear the CMDSENT flag..

DATAENDC

Bit 8: DATAEND flag clear bit Set by software to clear the DATAEND flag..

DHOLDC

Bit 9: DHOLD flag clear bit Set by software to clear the DHOLD flag..

DBCKENDC

Bit 10: DBCKEND flag clear bit Set by software to clear the DBCKEND flag..

DABORTC

Bit 11: DABORT flag clear bit Set by software to clear the DABORT flag..

BUSYD0ENDC

Bit 21: BUSYD0END flag clear bit Set by software to clear the BUSYD0END flag..

SDIOITC

Bit 22: SDIOIT flag clear bit Set by software to clear the SDIOIT flag..

ACKFAILC

Bit 23: ACKFAIL flag clear bit Set by software to clear the ACKFAIL flag..

ACKTIMEOUTC

Bit 24: ACKTIMEOUT flag clear bit Set by software to clear the ACKTIMEOUT flag..

VSWENDC

Bit 25: VSWEND flag clear bit Set by software to clear the VSWEND flag..

CKSTOPC

Bit 26: CKSTOP flag clear bit Set by software to clear the CKSTOP flag..

IDMATEC

Bit 27: IDMA transfer error clear bit Set by software to clear the IDMATE flag..

IDMABTCC

Bit 28: IDMA buffer transfer complete clear bit Set by software to clear the IDMABTC flag..

MASKR

The interrupt mask register determines which status flags generate an interrupt request by setting the corresponding bit to 1.

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/23 fields covered.

Toggle fields

CCRCFAILIE

Bit 0: Command CRC fail interrupt enable Set and cleared by software to enable/disable interrupt caused by command CRC failure..

DCRCFAILIE

Bit 1: Data CRC fail interrupt enable Set and cleared by software to enable/disable interrupt caused by data CRC failure..

CTIMEOUTIE

Bit 2: Command timeout interrupt enable Set and cleared by software to enable/disable interrupt caused by command timeout..

DTIMEOUTIE

Bit 3: Data timeout interrupt enable Set and cleared by software to enable/disable interrupt caused by data timeout..

TXUNDERRIE

Bit 4: Tx FIFO underrun error interrupt enable Set and cleared by software to enable/disable interrupt caused by Tx FIFO underrun error..

RXOVERRIE

Bit 5: Rx FIFO overrun error interrupt enable Set and cleared by software to enable/disable interrupt caused by Rx FIFO overrun error..

CMDRENDIE

Bit 6: Command response received interrupt enable Set and cleared by software to enable/disable interrupt caused by receiving command response..

CMDSENTIE

Bit 7: Command sent interrupt enable Set and cleared by software to enable/disable interrupt caused by sending command..

DATAENDIE

Bit 8: Data end interrupt enable Set and cleared by software to enable/disable interrupt caused by data end..

DHOLDIE

Bit 9: Data hold interrupt enable Set and cleared by software to enable/disable the interrupt generated when sending new data is hold in the DPSM Wait_S state..

DBCKENDIE

Bit 10: Data block end interrupt enable Set and cleared by software to enable/disable interrupt caused by data block end..

DABORTIE

Bit 11: Data transfer aborted interrupt enable Set and cleared by software to enable/disable interrupt caused by a data transfer being aborted..

TXFIFOHEIE

Bit 14: Tx FIFO half empty interrupt enable Set and cleared by software to enable/disable interrupt caused by Tx FIFO half empty..

RXFIFOHFIE

Bit 15: Rx FIFO half full interrupt enable Set and cleared by software to enable/disable interrupt caused by Rx FIFO half full..

RXFIFOFIE

Bit 17: Rx FIFO full interrupt enable Set and cleared by software to enable/disable interrupt caused by Rx FIFO full..

TXFIFOEIE

Bit 18: Tx FIFO empty interrupt enable Set and cleared by software to enable/disable interrupt caused by Tx FIFO empty..

BUSYD0ENDIE

Bit 21: BUSYD0END interrupt enable Set and cleared by software to enable/disable the interrupt generated when SDMMC_D0 signal changes from busy to NOT busy following a CMD response..

SDIOITIE

Bit 22: SDIO mode interrupt received interrupt enable Set and cleared by software to enable/disable the interrupt generated when receiving the SDIO mode interrupt..

ACKFAILIE

Bit 23: Acknowledgment Fail interrupt enable Set and cleared by software to enable/disable interrupt caused by acknowledgment Fail..

ACKTIMEOUTIE

Bit 24: Acknowledgment timeout interrupt enable Set and cleared by software to enable/disable interrupt caused by acknowledgment timeout..

VSWENDIE

Bit 25: Voltage switch critical timing section completion interrupt enable Set and cleared by software to enable/disable the interrupt generated when voltage switch critical timing section completion..

CKSTOPIE

Bit 26: Voltage Switch clock stopped interrupt enable Set and cleared by software to enable/disable interrupt caused by Voltage Switch clock stopped..

IDMABTCIE

Bit 28: IDMA buffer transfer complete interrupt enable Set and cleared by software to enable/disable the interrupt generated when the IDMA has transferred all data belonging to a memory buffer..

ACKTIMER

The SDMMC_ACKTIMER register contains the acknowledgment timeout period, in SDMMC_CK bus clock periods. A counter loads the value from the SDMMC_ACKTIMER register, and starts decrementing when the data path state machine (DPSM) enters the Wait_Ack state. If the timer reaches 0 while the DPSM is in this states, the acknowledgment timeout status flag is set.

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 This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). Boot acknowledgment timeout period expressed in card bus clock periods..

IDMACTRLR

The receive and transmit FIFOs can be read or written as 32-bit wide registers. The FIFOs contain 32 entries on 32 sequential addresses. This allows the CPU to use its load and store multiple operands to read from/write to the FIFO.

Offset: 0x50, 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
IDMABACT
rw
IDMABMODE
rw
IDMAEN
rw
Toggle fields

IDMAEN

Bit 0: IDMA enable This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

IDMABMODE

Bit 1: Buffer mode selection. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

IDMABACT

Bit 2: Double buffer mode active buffer indication This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). When IDMA is enabled this bit is toggled by hardware..

IDMABSIZER

The SDMMC_IDMABSIZER register contains the buffers size when in double buffer configuration.

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
IDMABNDT
rw
Toggle fields

IDMABNDT

Bits 5-12: Number of transfers per buffer. This 8-bit value shall be multiplied by 8 to get the size of the buffer in 32-bit words and by 32 to get the size of the buffer in bytes. Example: IDMABNDT = 0x01: buffer size = 8 words = 32 bytes. These bits can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

IDMABASE0R

The SDMMC_IDMABASE0R register contains the memory buffer base address in single buffer configuration and the buffer 0 base address in double buffer configuration.

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
IDMABASE0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABASE0
rw
Toggle fields

IDMABASE0

Bits 0-31: Buffer 0 memory base address bits [31:2], shall be word aligned (bit [1:0] are always 0 and read only). This register can be written by firmware when DPSM is inactive (DPSMACT = 0), and can dynamically be written by firmware when DPSM active (DPSMACT = 1) and memory buffer 0 is inactive (IDMABACT = 1)..

IDMABASE1R

The SDMMC_IDMABASE1R register contains the double buffer configuration second buffer memory base address.

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IDMABASE1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABASE1
rw
Toggle fields

IDMABASE1

Bits 0-31: Buffer 1 memory base address, shall be word aligned (bit [1:0] are always 0 and read only). This register can be written by firmware when DPSM is inactive (DPSMACT = 0), and can dynamically be written by firmware when DPSM active (DPSMACT = 1) and memory buffer 1 is inactive (IDMABACT = 0)..

FIFOR

The receive and transmit FIFOs can be only read or written as word (32-bit) wide registers. The FIFOs contain 16 entries on sequential addresses. This allows the CPU to use its load and store multiple operands to read from/write to the FIFO.When accessing SDMMC_FIFOR with half word or byte access an AHB bus fault is generated.

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 This register can only be read or written by firmware when the DPSM is active (DPSMACT=1). The FIFO data occupies 16 entries of 32-bit words..

SDMMC2

0x48022400: SDMMC1

35/122 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 IDMABASE0R
0x5c IDMABASE1R
0x80 FIFOR
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. These bits can only be written when the SDMMC is not in the power-on state (PWRCTRL?11). These bits are used to define the functional state of the SDMMC signals: Any further write will be ignored, PWRCTRL value will keep 11..

VSWITCH

Bit 2: Voltage switch sequence start. This bit is used to start the timing critical section of the voltage switch sequence:.

VSWITCHEN

Bit 3: Voltage switch procedure enable. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). This bit is used to stop the SDMMC_CK after the voltage switch command response:.

DIRPOL

Bit 4: Data and command direction signals polarity selection. This bit can only be written when the SDMMC is in the power-off state (PWRCTRL = 00)..

CLKCR

The SDMMC_CLKCR register controls the SDMMC_CK output clock, the SDMMC_RX_CLK receive clock, and the bus width.

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 This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). This field defines the divide factor between the input clock (SDMMCCLK) and the output clock (SDMMC_CK): SDMMC_CK frequency = SDMMCCLK / [2 * CLKDIV]. 0xx: etc.. xxx: etc...

PWRSAV

Bit 12: Power saving configuration bit This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0) For power saving, the SDMMC_CK clock output can be disabled when the bus is idle by setting PWRSAV:.

WIDBUS

Bits 14-15: Wide bus mode enable bit This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0).

NEGEDGE

Bit 16: SDMMC_CK dephasing selection bit for data and Command. This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). When clock division = 1 (CLKDIV = 0), this bit has no effect. Data and Command change on SDMMC_CK falling edge. When clock division &gt;1 (CLKDIV &gt; 0) &amp; DDR = 0: - SDMMC_CK edge occurs on SDMMCCLK rising edge. When clock division >1 (CLKDIV > 0) & DDR = 1: - Data changed on the SDMMCCLK falling edge succeeding a SDMMC_CK edge. - SDMMC_CK edge occurs on SDMMCCLK rising edge. - Data changed on the SDMMC_CK falling edge succeeding a SDMMC_CK edge. - SDMMC_CK edge occurs on SDMMCCLK rising edge..

HWFC_EN

Bit 17: Hardware flow control enable This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0) When Hardware flow control is enabled, the meaning of the TXFIFOE and RXFIFOF flags change, please see SDMMC status register definition in Section56.8.11..

DDR

Bit 18: Data rate signaling selection This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0) DDR rate shall only be selected with 4-bit or 8-bit wide bus mode. (WIDBUS &gt; 00). DDR = 1 has no effect when WIDBUS = 00 (1-bit wide bus). DDR rate shall only be selected with clock division &gt;1. (CLKDIV &gt; 0).

BUSSPEED

Bit 19: Bus speed mode selection between DS, HS, SDR12, SDR25 and SDR50, DDR50, SDR104. This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0).

SELCLKRX

Bits 20-21: Receive clock selection. These bits can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0).

ARGR

The SDMMC_ARGR register contains a 32-bit command argument, which is sent to a card as part of a command message.

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. These bits can only be written by firmware when CPSM is disabled (CPSMEN = 0). Command argument sent to a card as part of a command message. If a command contains an argument, it must be loaded into this register before writing a command to the command register..

CMDR

The SDMMC_CMDR register contains the command index and command type bits. The command index is sent to a card as part of a command message. The command type bits control the command path state machine (CPSM).

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. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). The command index is sent to the card as part of a command message..

CMDTRANS

Bit 6: The CPSM treats the command as a data transfer command, stops the interrupt period, and signals DataEnable to the DPSM This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). If this bit is set, the CPSM issues an end of interrupt period and issues DataEnable signal to the DPSM when the command is sent..

CMDSTOP

Bit 7: The CPSM treats the command as a Stop Transmission command and signals Abort to the DPSM. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). If this bit is set, the CPSM issues the Abort signal to the DPSM when the command is sent..

WAITRESP

Bits 8-9: Wait for response bits. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). They are used to configure whether the CPSM is to wait for a response, and if yes, which kind of response..

WAITINT

Bit 10: CPSM waits for interrupt request. If this bit is set, the CPSM disables command timeout and waits for an card interrupt request (Response). If this bit is cleared in the CPSM Wait state, will cause the abort of the interrupt mode..

WAITPEND

Bit 11: CPSM Waits for end of data transfer (CmdPend internal signal) from DPSM. This bit when set, the CPSM waits for the end of data transfer trigger before it starts sending a command. WAITPEND is only taken into account when DTMODE = MMC stream data transfer, WIDBUS = 1-bit wide bus mode, DPSMACT = 1 and DTDIR = from host to card..

CPSMEN

Bit 12: Command path state machine (CPSM) Enable bit This bit is written 1 by firmware, and cleared by hardware when the CPSM enters the Idle state. If this bit is set, the CPSM is enabled. When DTEN = 1, no command will be transfered nor boot procedure will be started. CPSMEN is cleared to 0..

DTHOLD

Bit 13: Hold new data block transmission and reception in the DPSM. If this bit is set, the DPSM will not move from the Wait_S state to the Send state or from the Wait_R state to the Receive state..

BOOTMODE

Bit 14: Select the boot mode procedure to be used. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0).

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. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). CMDSUSPEND = 1 and CMDTRANS = 0 Suspend command, start interrupt period when response bit BS=0. CMDSUSPEND = 1 and CMDTRANS = 1 Resume command with data, end interrupt period when response bit DF=1..

RESPCMDR

SDMMC command response register

Offset: 0x10, size: 32, reset: 0xA3C5DD01, 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

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS1
r
Toggle fields

CARDSTATUS1

Bits 0-31: see Table 432.

RESP2R

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS2
r
Toggle fields

CARDSTATUS2

Bits 0-31: see Table404..

RESP3R

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS3
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS3
r
Toggle fields

CARDSTATUS3

Bits 0-31: see Table404..

RESP4R

The SDMMC_RESP1/2/3/4R registers contain the status of a card, which is part of the received response.

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
CARDSTATUS4
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CARDSTATUS4
r
Toggle fields

CARDSTATUS4

Bits 0-31: see Table404..

DTIMER

The SDMMC_DTIMER register contains the data timeout period, in card bus clock periods. A counter loads the value from the SDMMC_DTIMER register, and starts decrementing when the data path state machine (DPSM) enters the Wait_R or Busy state. If the timer reaches 0 while the DPSM is in either of these states, the timeout status flag is set.

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 This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). Data and R1b busy timeout period expressed in card bus clock periods..

DLENR

The SDMMC_DLENR register contains the number of data bytes to be transferred. The value is loaded into the data counter when data transfer starts.

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 This register can only be written by firmware when DPSM is inactive (DPSMACT = 0). Number of data bytes to be transferred. When DDR = 1 DATALENGTH is truncated to a multiple of 2. (The last odd byte is not transfered) When DATALENGTH = 0 no data will be transfered, when requested by a CPSMEN and CMDTRANS = 1 also no command will be transfered. DTEN and CPSMEN are cleared to 0..

DCTRL

The SDMMC_DCTRL register control the data path state machine (DPSM).

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 This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). This bit is cleared by Hardware when data transfer completes. This bit shall only be used to transfer data when no associated data transfer command is used, i.e. shall not be used with SD or eMMC cards..

DTDIR

Bit 1: Data transfer direction selection This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

DTMODE

Bits 2-3: Data transfer mode selection. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

DBLOCKSIZE

Bits 4-7: Data block size This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). Define the data block length when the block data transfer mode is selected: When DATALENGTH is not a multiple of DBLOCKSIZE, the transfered data is truncated at a multiple of DBLOCKSIZE. (Any remain data will not be transfered.) When DDR = 1, DBLOCKSIZE = 0000 shall not be used. (No data will be transfered).

RWSTART

Bit 8: Read wait start. If this bit is set, read wait operation starts..

RWSTOP

Bit 9: Read wait stop This bit is written by firmware and auto cleared by hardware when the DPSM moves from the READ_WAIT state to the WAIT_R or IDLE state..

RWMOD

Bit 10: Read wait mode. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

SDIOEN

Bit 11: SD I/O interrupt enable functions This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). If this bit is set, the DPSM enables the SD I/O card specific interrupt operation..

BOOTACKEN

Bit 12: Enable the reception of the boot acknowledgment. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

FIFORST

Bit 13: FIFO reset, will flush any remaining data. This bit can only be written by firmware when IDMAEN= 0 and DPSM is active (DPSMACT = 1). This bit will only take effect when a transfer error or transfer hold occurs..

DCNTR

The SDMMC_DCNTR register loads the value from the data length register (see SDMMC_DLENR) when the DPSM moves from the Idle state to the Wait_R or Wait_S state. As data is transferred, the counter decrements the value until it reaches 0. The DPSM then moves to the Idle state and when there has been no error, the data status end flag (DATAEND) is set.

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 When read, the number of remaining data bytes to be transferred is returned. Write has no effect..

STAR

The SDMMC_STAR register is a read-only register. It contains two types of flag:Static flags (bits [29,21,11:0]): these bits remain asserted until they are cleared by writing to the SDMMC interrupt Clear register (see SDMMC_ICR)Dynamic flags (bits [20:12]): these bits change state depending on the state of the underlying logic (for example, FIFO full and empty flags are asserted and de-asserted as data while written to the FIFO)

Offset: 0x34, size: 32, reset: 0x00000000, access: read-only

29/29 fields covered.

Toggle fields

CCRCFAIL

Bit 0: Command response received (CRC check failed). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DCRCFAIL

Bit 1: Data block sent/received (CRC check failed). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CTIMEOUT

Bit 2: Command response timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR. The Command Timeout period has a fixed value of 64 SDMMC_CK clock periods..

DTIMEOUT

Bit 3: Data timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

TXUNDERR

Bit 4: Transmit FIFO underrun error or IDMA read transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

RXOVERR

Bit 5: Received FIFO overrun error or IDMA write transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CMDREND

Bit 6: Command response received (CRC check passed, or no CRC). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CMDSENT

Bit 7: Command sent (no response required). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DATAEND

Bit 8: Data transfer ended correctly. (data counter, DATACOUNT is zero and no errors occur). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DHOLD

Bit 9: Data transfer Hold. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DBCKEND

Bit 10: Data block sent/received. (CRC check passed) and DPSM moves to the READWAIT state. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DABORT

Bit 11: Data transfer aborted by CMD12. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

DPSMACT

Bit 12: Data path state machine active, i.e. not in Idle state. This is a hardware status flag only, does not generate an interrupt..

CPSMACT

Bit 13: Command path state machine active, i.e. not in Idle state. This is a hardware status flag only, does not generate an interrupt..

TXFIFOHE

Bit 14: Transmit FIFO half empty At least half the number of words can be written into the FIFO. This bit is cleared when the FIFO becomes half+1 full..

RXFIFOHF

Bit 15: Receive FIFO half full There are at least half the number of words in the FIFO. This bit is cleared when the FIFO becomes half+1 empty..

TXFIFOF

Bit 16: Transmit FIFO full This is a hardware status flag only, does not generate an interrupt. This bit is cleared when one FIFO location becomes empty..

RXFIFOF

Bit 17: Receive FIFO full This bit is cleared when one FIFO location becomes empty..

TXFIFOE

Bit 18: Transmit FIFO empty This bit is cleared when one FIFO location becomes full..

RXFIFOE

Bit 19: Receive FIFO empty This is a hardware status flag only, does not generate an interrupt. This bit is cleared when one FIFO location becomes full..

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. This bit is reset to not busy when the SDMMCD0 line changes from busy to not busy. This bit does not signal busy due to data transfer. This is a hardware status flag only, it does not generate an interrupt..

BUSYD0END

Bit 21: end of SDMMC_D0 Busy following a CMD response detected. This indicates only end of busy following a CMD response. This bit does not signal busy due to data transfer. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

SDIOIT

Bit 22: SDIO interrupt received. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

ACKFAIL

Bit 23: Boot acknowledgment received (boot acknowledgment check fail). Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

ACKTIMEOUT

Bit 24: Boot acknowledgment timeout. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

VSWEND

Bit 25: Voltage switch critical timing section completion. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

CKSTOP

Bit 26: SDMMC_CK stopped in Voltage switch procedure. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

IDMATE

Bit 27: IDMA transfer error. Interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

IDMABTC

Bit 28: IDMA buffer transfer complete. interrupt flag is cleared by writing corresponding interrupt clear bit in SDMMC_ICR..

ICR

The SDMMC_ICR register is a write-only register. Writing a bit with 1 clears the corresponding bit in the SDMMC_STAR status register.

Offset: 0x38, size: 32, reset: 0x00000000, access: read-write

0/20 fields covered.

Toggle fields

CCRCFAILC

Bit 0: CCRCFAIL flag clear bit Set by software to clear the CCRCFAIL flag..

DCRCFAILC

Bit 1: DCRCFAIL flag clear bit Set by software to clear the DCRCFAIL flag..

CTIMEOUTC

Bit 2: CTIMEOUT flag clear bit Set by software to clear the CTIMEOUT flag..

DTIMEOUTC

Bit 3: DTIMEOUT flag clear bit Set by software to clear the DTIMEOUT flag..

TXUNDERRC

Bit 4: TXUNDERR flag clear bit Set by software to clear TXUNDERR flag..

RXOVERRC

Bit 5: RXOVERR flag clear bit Set by software to clear the RXOVERR flag..

CMDRENDC

Bit 6: CMDREND flag clear bit Set by software to clear the CMDREND flag..

CMDSENTC

Bit 7: CMDSENT flag clear bit Set by software to clear the CMDSENT flag..

DATAENDC

Bit 8: DATAEND flag clear bit Set by software to clear the DATAEND flag..

DHOLDC

Bit 9: DHOLD flag clear bit Set by software to clear the DHOLD flag..

DBCKENDC

Bit 10: DBCKEND flag clear bit Set by software to clear the DBCKEND flag..

DABORTC

Bit 11: DABORT flag clear bit Set by software to clear the DABORT flag..

BUSYD0ENDC

Bit 21: BUSYD0END flag clear bit Set by software to clear the BUSYD0END flag..

SDIOITC

Bit 22: SDIOIT flag clear bit Set by software to clear the SDIOIT flag..

ACKFAILC

Bit 23: ACKFAIL flag clear bit Set by software to clear the ACKFAIL flag..

ACKTIMEOUTC

Bit 24: ACKTIMEOUT flag clear bit Set by software to clear the ACKTIMEOUT flag..

VSWENDC

Bit 25: VSWEND flag clear bit Set by software to clear the VSWEND flag..

CKSTOPC

Bit 26: CKSTOP flag clear bit Set by software to clear the CKSTOP flag..

IDMATEC

Bit 27: IDMA transfer error clear bit Set by software to clear the IDMATE flag..

IDMABTCC

Bit 28: IDMA buffer transfer complete clear bit Set by software to clear the IDMABTC flag..

MASKR

The interrupt mask register determines which status flags generate an interrupt request by setting the corresponding bit to 1.

Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write

0/23 fields covered.

Toggle fields

CCRCFAILIE

Bit 0: Command CRC fail interrupt enable Set and cleared by software to enable/disable interrupt caused by command CRC failure..

DCRCFAILIE

Bit 1: Data CRC fail interrupt enable Set and cleared by software to enable/disable interrupt caused by data CRC failure..

CTIMEOUTIE

Bit 2: Command timeout interrupt enable Set and cleared by software to enable/disable interrupt caused by command timeout..

DTIMEOUTIE

Bit 3: Data timeout interrupt enable Set and cleared by software to enable/disable interrupt caused by data timeout..

TXUNDERRIE

Bit 4: Tx FIFO underrun error interrupt enable Set and cleared by software to enable/disable interrupt caused by Tx FIFO underrun error..

RXOVERRIE

Bit 5: Rx FIFO overrun error interrupt enable Set and cleared by software to enable/disable interrupt caused by Rx FIFO overrun error..

CMDRENDIE

Bit 6: Command response received interrupt enable Set and cleared by software to enable/disable interrupt caused by receiving command response..

CMDSENTIE

Bit 7: Command sent interrupt enable Set and cleared by software to enable/disable interrupt caused by sending command..

DATAENDIE

Bit 8: Data end interrupt enable Set and cleared by software to enable/disable interrupt caused by data end..

DHOLDIE

Bit 9: Data hold interrupt enable Set and cleared by software to enable/disable the interrupt generated when sending new data is hold in the DPSM Wait_S state..

DBCKENDIE

Bit 10: Data block end interrupt enable Set and cleared by software to enable/disable interrupt caused by data block end..

DABORTIE

Bit 11: Data transfer aborted interrupt enable Set and cleared by software to enable/disable interrupt caused by a data transfer being aborted..

TXFIFOHEIE

Bit 14: Tx FIFO half empty interrupt enable Set and cleared by software to enable/disable interrupt caused by Tx FIFO half empty..

RXFIFOHFIE

Bit 15: Rx FIFO half full interrupt enable Set and cleared by software to enable/disable interrupt caused by Rx FIFO half full..

RXFIFOFIE

Bit 17: Rx FIFO full interrupt enable Set and cleared by software to enable/disable interrupt caused by Rx FIFO full..

TXFIFOEIE

Bit 18: Tx FIFO empty interrupt enable Set and cleared by software to enable/disable interrupt caused by Tx FIFO empty..

BUSYD0ENDIE

Bit 21: BUSYD0END interrupt enable Set and cleared by software to enable/disable the interrupt generated when SDMMC_D0 signal changes from busy to NOT busy following a CMD response..

SDIOITIE

Bit 22: SDIO mode interrupt received interrupt enable Set and cleared by software to enable/disable the interrupt generated when receiving the SDIO mode interrupt..

ACKFAILIE

Bit 23: Acknowledgment Fail interrupt enable Set and cleared by software to enable/disable interrupt caused by acknowledgment Fail..

ACKTIMEOUTIE

Bit 24: Acknowledgment timeout interrupt enable Set and cleared by software to enable/disable interrupt caused by acknowledgment timeout..

VSWENDIE

Bit 25: Voltage switch critical timing section completion interrupt enable Set and cleared by software to enable/disable the interrupt generated when voltage switch critical timing section completion..

CKSTOPIE

Bit 26: Voltage Switch clock stopped interrupt enable Set and cleared by software to enable/disable interrupt caused by Voltage Switch clock stopped..

IDMABTCIE

Bit 28: IDMA buffer transfer complete interrupt enable Set and cleared by software to enable/disable the interrupt generated when the IDMA has transferred all data belonging to a memory buffer..

ACKTIMER

The SDMMC_ACKTIMER register contains the acknowledgment timeout period, in SDMMC_CK bus clock periods. A counter loads the value from the SDMMC_ACKTIMER register, and starts decrementing when the data path state machine (DPSM) enters the Wait_Ack state. If the timer reaches 0 while the DPSM is in this states, the acknowledgment timeout status flag is set.

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 This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). Boot acknowledgment timeout period expressed in card bus clock periods..

IDMACTRLR

The receive and transmit FIFOs can be read or written as 32-bit wide registers. The FIFOs contain 32 entries on 32 sequential addresses. This allows the CPU to use its load and store multiple operands to read from/write to the FIFO.

Offset: 0x50, 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
IDMABACT
rw
IDMABMODE
rw
IDMAEN
rw
Toggle fields

IDMAEN

Bit 0: IDMA enable This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

IDMABMODE

Bit 1: Buffer mode selection. This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

IDMABACT

Bit 2: Double buffer mode active buffer indication This bit can only be written by firmware when DPSM is inactive (DPSMACT = 0). When IDMA is enabled this bit is toggled by hardware..

IDMABSIZER

The SDMMC_IDMABSIZER register contains the buffers size when in double buffer configuration.

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
IDMABNDT
rw
Toggle fields

IDMABNDT

Bits 5-12: Number of transfers per buffer. This 8-bit value shall be multiplied by 8 to get the size of the buffer in 32-bit words and by 32 to get the size of the buffer in bytes. Example: IDMABNDT = 0x01: buffer size = 8 words = 32 bytes. These bits can only be written by firmware when DPSM is inactive (DPSMACT = 0)..

IDMABASE0R

The SDMMC_IDMABASE0R register contains the memory buffer base address in single buffer configuration and the buffer 0 base address in double buffer configuration.

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
IDMABASE0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABASE0
rw
Toggle fields

IDMABASE0

Bits 0-31: Buffer 0 memory base address bits [31:2], shall be word aligned (bit [1:0] are always 0 and read only). This register can be written by firmware when DPSM is inactive (DPSMACT = 0), and can dynamically be written by firmware when DPSM active (DPSMACT = 1) and memory buffer 0 is inactive (IDMABACT = 1)..

IDMABASE1R

The SDMMC_IDMABASE1R register contains the double buffer configuration second buffer memory base address.

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
IDMABASE1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IDMABASE1
rw
Toggle fields

IDMABASE1

Bits 0-31: Buffer 1 memory base address, shall be word aligned (bit [1:0] are always 0 and read only). This register can be written by firmware when DPSM is inactive (DPSMACT = 0), and can dynamically be written by firmware when DPSM active (DPSMACT = 1) and memory buffer 1 is inactive (IDMABACT = 0)..

FIFOR

The receive and transmit FIFOs can be only read or written as word (32-bit) wide registers. The FIFOs contain 16 entries on sequential addresses. This allows the CPU to use its load and store multiple operands to read from/write to the FIFO.When accessing SDMMC_FIFOR with half word or byte access an AHB bus fault is generated.

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 This register can only be read or written by firmware when the DPSM is active (DPSMACT=1). The FIFO data occupies 16 entries of 32-bit words..

SPDIFRX

0x40004000: Receiver Interface

33/59 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 IMR
0x8 SR
0xc IFCR
0x10 DR_00
0x10 DR_01
0x10 DR_10
0x14 CSR
0x18 DIR
0x3f4 VERR
0x3f8 IDR
0x3fc SIDR
Toggle registers

CR

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
CKSBKPEN
rw
CKSEN
rw
INSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WFA
rw
NBTR
rw
CHSEL
rw
CBDMAEN
rw
PTMSK
rw
CUMSK
rw
VMSK
rw
PMSK
rw
DRFMT
rw
RXSTEO
rw
RXDMAEN
rw
SPDIFRXEN
rw
Toggle fields

SPDIFRXEN

Bits 0-1: Peripheral Block Enable.

RXDMAEN

Bit 2: Receiver DMA ENable for data flow.

RXSTEO

Bit 3: STerEO Mode.

DRFMT

Bits 4-5: RX Data format.

PMSK

Bit 6: Mask Parity error bit.

VMSK

Bit 7: Mask of Validity bit.

CUMSK

Bit 8: Mask of channel status and user bits.

PTMSK

Bit 9: Mask of Preamble Type bits.

CBDMAEN

Bit 10: Control Buffer DMA ENable for control flow.

CHSEL

Bit 11: Channel Selection.

NBTR

Bits 12-13: Maximum allowed re-tries during synchronization phase.

WFA

Bit 14: Wait For Activity.

INSEL

Bits 16-18: input selection.

CKSEN

Bit 20: Symbol Clock Enable.

CKSBKPEN

Bit 21: Backup Symbol Clock Enable.

IMR

Interrupt mask register

Offset: 0x4, 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
IFEIE
rw
SYNCDIE
rw
SBLKIE
rw
OVRIE
rw
PERRIE
rw
CSRNEIE
rw
RXNEIE
rw
Toggle fields

RXNEIE

Bit 0: RXNE interrupt enable.

CSRNEIE

Bit 1: Control Buffer Ready Interrupt Enable.

PERRIE

Bit 2: Parity error interrupt enable.

OVRIE

Bit 3: Overrun error Interrupt Enable.

SBLKIE

Bit 4: Synchronization Block Detected Interrupt Enable.

SYNCDIE

Bit 5: Synchronization Done.

IFEIE

Bit 6: Serial Interface Error Interrupt Enable.

SR

Status register

Offset: 0x8, 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
WIDTH5
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TERR
r
SERR
r
FERR
r
SYNCD
r
SBD
r
OVR
r
PERR
r
CSRNE
r
RXNE
r
Toggle fields

RXNE

Bit 0: Read data register not empty.

CSRNE

Bit 1: Control Buffer register is not empty.

PERR

Bit 2: Parity error.

OVR

Bit 3: Overrun error.

SBD

Bit 4: Synchronization Block Detected.

SYNCD

Bit 5: Synchronization Done.

FERR

Bit 6: Framing error.

SERR

Bit 7: Synchronization error.

TERR

Bit 8: Time-out error.

WIDTH5

Bits 16-30: Duration of 5 symbols counted with SPDIF_CLK.

IFCR

Interrupt Flag Clear register

Offset: 0xc, 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
SYNCDCF
w
SBDCF
w
OVRCF
w
PERRCF
w
Toggle fields

PERRCF

Bit 2: Clears the Parity error flag.

OVRCF

Bit 3: Clears the Overrun error flag.

SBDCF

Bit 4: Clears the Synchronization Block Detected flag.

SYNCDCF

Bit 5: Clears the Synchronization Done flag.

DR_00

Data input register

Offset: 0x10, 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
PT
r
C
r
U
r
V
r
PE
r
DR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DR
r
Toggle fields

DR

Bits 0-23: Parity Error bit.

PE

Bit 24: Parity Error bit.

V

Bit 25: Validity bit.

U

Bit 26: User bit.

C

Bit 27: Channel Status bit.

PT

Bits 28-29: Preamble Type.

DR_01

Data input register

Offset: 0x10, 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
DR
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DR
r
PT
r
C
r
U
r
V
r
PE
r
Toggle fields

PE

Bit 0: Parity Error bit.

V

Bit 1: Validity bit.

U

Bit 2: User bit.

C

Bit 3: Channel Status bit.

PT

Bits 4-5: Preamble Type.

DR

Bits 8-31: Data value.

DR_10

Data input register

Offset: 0x10, 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
DRNL2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
DRNL1
r
Toggle fields

DRNL1

Bits 0-15: Data value.

DRNL2

Bits 16-31: Data value.

CSR

Channel Status register

Offset: 0x14, 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
SOB
r
CS
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
USR
r
Toggle fields

USR

Bits 0-15: User data information.

CS

Bits 16-23: Channel A status information.

SOB

Bit 24: Start Of Block.

DIR

Debug Information register

Offset: 0x18, 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
TLO
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
THI
r
Toggle fields

THI

Bits 0-12: Threshold HIGH.

TLO

Bits 16-28: Threshold LOW.

VERR

SPDIFRX version register

Offset: 0x3f4, 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.

IDR

SPDIFRX identification register

Offset: 0x3f8, size: 32, reset: 0x00130041, 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: SPDIFRX identifier.

SIDR

SPDIFRX size identification register

Offset: 0x3fc, 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: Serial peripheral interface

88/90 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
0x30 RXDR
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

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 SUSP 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 IOs.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSER
rw
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

TSER

Bits 16-31: Number of data transfer extension to be reload into TSIZE just when a previous.

Allowed values: 0x0-0xffff

CFG1

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
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
UDRDET
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: Number of bits in at single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: 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

Bits 9-10: 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
2: RepeatTransmitted: Slave repeats last transmitted data frame

UDRDET

Bits 11-12: Detection of underrun condition at slave transmitter.

Allowed values:
0: StartOfFrame: Underrun is detected at begin of data frame
1: EndOfFrame: Underrun is detected at end of last data frame
2: StartOfSlaveSelect: Underrun is detected at begin of active SS signal

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.

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

CFG2

configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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
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

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

Interrupt Enable Register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSERFIE
rw
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 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

TSERFIE

Bit 10: Additional number of transactions reload interrupt enable.

Allowed values:
0: Masked: TSER loaded interrupt masked
1: NotMasked: TSER loaded interrupt not masked

SR

Status Register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

16/16 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
TSERF
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 at slave transmission mode.

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

TSERF

Bit 10: Additional number of SPI data to be transacted was reload.

Allowed values:
0: NotLoaded: Additional number of SPI data to be transacted not yet loaded
1: Loaded: Additional number of SPI data to be transacted was reloaded

SUSP

Bit 11: SUSPend.

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

Interrupt/Status Flags Clear Register

Offset: 0x18, 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
SUSPC
w
TSERFC
w
MODFC
w
TIFREC
w
CRCEC
w
OVRC
w
UDRC
w
TXTFC
w
EOTC
w
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

TSERFC

Bit 10: TSERFC flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: SUSPend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

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

RXDR

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.

CRCPOLY

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

Transmitter CRC Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
rw
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

Receiver CRC 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
RXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
rw
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

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

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: I2S 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: Word select inversion.

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: Fixed channel length in SLAVE.

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: I2S 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: Serial peripheral interface

88/90 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
0x30 RXDR
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

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 SUSP 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 IOs.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSER
rw
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

TSER

Bits 16-31: Number of data transfer extension to be reload into TSIZE just when a previous.

Allowed values: 0x0-0xffff

CFG1

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
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
UDRDET
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: Number of bits in at single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: 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

Bits 9-10: 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
2: RepeatTransmitted: Slave repeats last transmitted data frame

UDRDET

Bits 11-12: Detection of underrun condition at slave transmitter.

Allowed values:
0: StartOfFrame: Underrun is detected at begin of data frame
1: EndOfFrame: Underrun is detected at end of last data frame
2: StartOfSlaveSelect: Underrun is detected at begin of active SS signal

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.

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

CFG2

configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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
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

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

Interrupt Enable Register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSERFIE
rw
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 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

TSERFIE

Bit 10: Additional number of transactions reload interrupt enable.

Allowed values:
0: Masked: TSER loaded interrupt masked
1: NotMasked: TSER loaded interrupt not masked

SR

Status Register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

16/16 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
TSERF
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 at slave transmission mode.

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

TSERF

Bit 10: Additional number of SPI data to be transacted was reload.

Allowed values:
0: NotLoaded: Additional number of SPI data to be transacted not yet loaded
1: Loaded: Additional number of SPI data to be transacted was reloaded

SUSP

Bit 11: SUSPend.

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

Interrupt/Status Flags Clear Register

Offset: 0x18, 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
SUSPC
w
TSERFC
w
MODFC
w
TIFREC
w
CRCEC
w
OVRC
w
UDRC
w
TXTFC
w
EOTC
w
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

TSERFC

Bit 10: TSERFC flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: SUSPend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

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

RXDR

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.

CRCPOLY

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

Transmitter CRC Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
rw
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

Receiver CRC 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
RXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
rw
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

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

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: I2S 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: Word select inversion.

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: Fixed channel length in SLAVE.

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: I2S 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: Serial peripheral interface

88/90 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
0x30 RXDR
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

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 SUSP 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 IOs.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSER
rw
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

TSER

Bits 16-31: Number of data transfer extension to be reload into TSIZE just when a previous.

Allowed values: 0x0-0xffff

CFG1

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
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
UDRDET
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: Number of bits in at single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: 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

Bits 9-10: 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
2: RepeatTransmitted: Slave repeats last transmitted data frame

UDRDET

Bits 11-12: Detection of underrun condition at slave transmitter.

Allowed values:
0: StartOfFrame: Underrun is detected at begin of data frame
1: EndOfFrame: Underrun is detected at end of last data frame
2: StartOfSlaveSelect: Underrun is detected at begin of active SS signal

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.

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

CFG2

configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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
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

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

Interrupt Enable Register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSERFIE
rw
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 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

TSERFIE

Bit 10: Additional number of transactions reload interrupt enable.

Allowed values:
0: Masked: TSER loaded interrupt masked
1: NotMasked: TSER loaded interrupt not masked

SR

Status Register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

16/16 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
TSERF
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 at slave transmission mode.

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

TSERF

Bit 10: Additional number of SPI data to be transacted was reload.

Allowed values:
0: NotLoaded: Additional number of SPI data to be transacted not yet loaded
1: Loaded: Additional number of SPI data to be transacted was reloaded

SUSP

Bit 11: SUSPend.

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

Interrupt/Status Flags Clear Register

Offset: 0x18, 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
SUSPC
w
TSERFC
w
MODFC
w
TIFREC
w
CRCEC
w
OVRC
w
UDRC
w
TXTFC
w
EOTC
w
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

TSERFC

Bit 10: TSERFC flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: SUSPend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

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

RXDR

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.

CRCPOLY

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

Transmitter CRC Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
rw
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

Receiver CRC 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
RXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
rw
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

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

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: I2S 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: Word select inversion.

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: Fixed channel length in SLAVE.

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: I2S 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

0x40013400: Serial peripheral interface

88/90 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
0x30 RXDR
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

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 SUSP 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 IOs.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSER
rw
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

TSER

Bits 16-31: Number of data transfer extension to be reload into TSIZE just when a previous.

Allowed values: 0x0-0xffff

CFG1

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
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
UDRDET
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: Number of bits in at single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: 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

Bits 9-10: 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
2: RepeatTransmitted: Slave repeats last transmitted data frame

UDRDET

Bits 11-12: Detection of underrun condition at slave transmitter.

Allowed values:
0: StartOfFrame: Underrun is detected at begin of data frame
1: EndOfFrame: Underrun is detected at end of last data frame
2: StartOfSlaveSelect: Underrun is detected at begin of active SS signal

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.

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

CFG2

configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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
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

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

Interrupt Enable Register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSERFIE
rw
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 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

TSERFIE

Bit 10: Additional number of transactions reload interrupt enable.

Allowed values:
0: Masked: TSER loaded interrupt masked
1: NotMasked: TSER loaded interrupt not masked

SR

Status Register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

16/16 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
TSERF
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 at slave transmission mode.

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

TSERF

Bit 10: Additional number of SPI data to be transacted was reload.

Allowed values:
0: NotLoaded: Additional number of SPI data to be transacted not yet loaded
1: Loaded: Additional number of SPI data to be transacted was reloaded

SUSP

Bit 11: SUSPend.

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

Interrupt/Status Flags Clear Register

Offset: 0x18, 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
SUSPC
w
TSERFC
w
MODFC
w
TIFREC
w
CRCEC
w
OVRC
w
UDRC
w
TXTFC
w
EOTC
w
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

TSERFC

Bit 10: TSERFC flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: SUSPend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

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

RXDR

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.

CRCPOLY

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

Transmitter CRC Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
rw
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

Receiver CRC 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
RXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
rw
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

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

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: I2S 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: Word select inversion.

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: Fixed channel length in SLAVE.

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: I2S 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

SPI5

0x40015000: Serial peripheral interface

88/90 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
0x30 RXDR
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

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 SUSP 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 IOs.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSER
rw
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

TSER

Bits 16-31: Number of data transfer extension to be reload into TSIZE just when a previous.

Allowed values: 0x0-0xffff

CFG1

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
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
UDRDET
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: Number of bits in at single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: 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

Bits 9-10: 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
2: RepeatTransmitted: Slave repeats last transmitted data frame

UDRDET

Bits 11-12: Detection of underrun condition at slave transmitter.

Allowed values:
0: StartOfFrame: Underrun is detected at begin of data frame
1: EndOfFrame: Underrun is detected at end of last data frame
2: StartOfSlaveSelect: Underrun is detected at begin of active SS signal

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.

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

CFG2

configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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
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

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

Interrupt Enable Register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSERFIE
rw
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 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

TSERFIE

Bit 10: Additional number of transactions reload interrupt enable.

Allowed values:
0: Masked: TSER loaded interrupt masked
1: NotMasked: TSER loaded interrupt not masked

SR

Status Register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

16/16 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
TSERF
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 at slave transmission mode.

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

TSERF

Bit 10: Additional number of SPI data to be transacted was reload.

Allowed values:
0: NotLoaded: Additional number of SPI data to be transacted not yet loaded
1: Loaded: Additional number of SPI data to be transacted was reloaded

SUSP

Bit 11: SUSPend.

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

Interrupt/Status Flags Clear Register

Offset: 0x18, 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
SUSPC
w
TSERFC
w
MODFC
w
TIFREC
w
CRCEC
w
OVRC
w
UDRC
w
TXTFC
w
EOTC
w
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

TSERFC

Bit 10: TSERFC flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: SUSPend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

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

RXDR

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.

CRCPOLY

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

Transmitter CRC Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
rw
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

Receiver CRC 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
RXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
rw
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

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

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: I2S 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: Word select inversion.

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: Fixed channel length in SLAVE.

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: I2S 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

SPI6

0x58001400: Serial peripheral interface

88/90 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
0x30 RXDR
0x40 CRCPOLY
0x44 TXCRC
0x48 RXCRC
0x4c UDRDR
0x50 I2SCFGR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified

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 SUSP 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 IOs.

Allowed values:
0: Unlocked: IO configuration unlocked
1: Locked: IO configuration locked

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TSER
rw
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

TSER

Bits 16-31: Number of data transfer extension to be reload into TSIZE just when a previous.

Allowed values: 0x0-0xffff

CFG1

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
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
UDRDET
rw
UDRCFG
rw
FTHLV
rw
DSIZE
rw
Toggle fields

DSIZE

Bits 0-4: Number of bits in at single SPI data frame.

Allowed values: 0x0-0x1f

FTHLV

Bits 5-8: 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

Bits 9-10: 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
2: RepeatTransmitted: Slave repeats last transmitted data frame

UDRDET

Bits 11-12: Detection of underrun condition at slave transmitter.

Allowed values:
0: StartOfFrame: Underrun is detected at begin of data frame
1: EndOfFrame: Underrun is detected at end of last data frame
2: StartOfSlaveSelect: Underrun is detected at begin of active SS signal

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.

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

CFG2

configuration register 2

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

14/14 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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
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

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

Interrupt Enable Register

Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified

11/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSERFIE
rw
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 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

TSERFIE

Bit 10: Additional number of transactions reload interrupt enable.

Allowed values:
0: Masked: TSER loaded interrupt masked
1: NotMasked: TSER loaded interrupt not masked

SR

Status Register

Offset: 0x14, size: 32, reset: 0x00001002, access: read-only

16/16 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
TSERF
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 at slave transmission mode.

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

TSERF

Bit 10: Additional number of SPI data to be transacted was reload.

Allowed values:
0: NotLoaded: Additional number of SPI data to be transacted not yet loaded
1: Loaded: Additional number of SPI data to be transacted was reloaded

SUSP

Bit 11: SUSPend.

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

Interrupt/Status Flags Clear Register

Offset: 0x18, 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
SUSPC
w
TSERFC
w
MODFC
w
TIFREC
w
CRCEC
w
OVRC
w
UDRC
w
TXTFC
w
EOTC
w
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

TSERFC

Bit 10: TSERFC flag clear.

Allowed values:
1: Clear: Clear interrupt flag

SUSPC

Bit 11: SUSPend flag clear.

Allowed values:
1: Clear: Clear interrupt flag

TXDR

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

RXDR

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.

CRCPOLY

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

Transmitter CRC Register

Offset: 0x44, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TXCRC
rw
Toggle fields

TXCRC

Bits 0-31: CRC register for transmitter.

RXCRC

Receiver CRC 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
RXCRC
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RXCRC
rw
Toggle fields

RXCRC

Bits 0-31: CRC register for receiver.

UDRDR

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

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: I2S 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: Word select inversion.

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: Fixed channel length in SLAVE.

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: I2S 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

STK

0xe000e010: SysTick timer

0/9 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 RVR
0x8 CVR
0xc CALIB
Toggle registers

CSR

SysTick control and status register

Offset: 0x0, 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
COUNTFLAG
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CLKSOURCE
rw
TICKINT
rw
ENABLE
rw
Toggle fields

ENABLE

Bit 0: Counter enable.

TICKINT

Bit 1: SysTick exception request enable.

CLKSOURCE

Bit 2: Clock source selection.

COUNTFLAG

Bit 16: COUNTFLAG.

RVR

SysTick reload value 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
RELOAD
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RELOAD
rw
Toggle fields

RELOAD

Bits 0-23: RELOAD value.

CVR

SysTick current value 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
CURRENT
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CURRENT
rw
Toggle fields

CURRENT

Bits 0-23: Current counter value.

CALIB

SysTick calibration value register

Offset: 0xc, 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
NOREF
rw
SKEW
rw
TENMS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TENMS
rw
Toggle fields

TENMS

Bits 0-23: Calibration value.

SKEW

Bit 30: SKEW flag: Indicates whether the TENMS value is exact.

NOREF

Bit 31: NOREF flag. Reads as zero.

SWPMI

0x40008800: Single Wire Protocol Master Interface

14/44 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 BRR
0xc ISR
0x10 ICR
0x14 IER
0x18 RFL
0x1c TDR
0x20 RDR
0x24 OR
Toggle registers

CR

SWPMI Configuration/Control 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
SWPTEN
rw
DEACT
rw
SWPACT
rw
LPBK
rw
TXMODE
rw
RXMODE
rw
TXDMA
rw
RXDMA
rw
Toggle fields

RXDMA

Bit 0: Reception DMA enable.

TXDMA

Bit 1: Transmission DMA enable.

RXMODE

Bit 2: Reception buffering mode.

TXMODE

Bit 3: Transmission buffering mode.

LPBK

Bit 4: Loopback mode enable.

SWPACT

Bit 5: Single wire protocol master interface activate.

DEACT

Bit 10: Single wire protocol master interface deactivate.

SWPTEN

Bit 11: Single wire protocol master transceiver enable.

BRR

SWPMI Bitrate register

Offset: 0x4, 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
BR
rw
Toggle fields

BR

Bits 0-7: Bitrate prescaler.

ISR

SWPMI Interrupt and Status register

Offset: 0xc, size: 32, reset: 0x000002C2, access: read-only

12/12 fields covered.

Toggle fields

RXBFF

Bit 0: Receive buffer full flag.

TXBEF

Bit 1: Transmit buffer empty flag.

RXBERF

Bit 2: Receive CRC error flag.

RXOVRF

Bit 3: Receive overrun error flag.

TXUNRF

Bit 4: Transmit underrun error flag.

RXNE

Bit 5: Receive data register not empty.

TXE

Bit 6: Transmit data register empty.

TCF

Bit 7: Transfer complete flag.

SRF

Bit 8: Slave resume flag.

SUSP

Bit 9: SUSPEND flag.

DEACTF

Bit 10: DEACTIVATED flag.

RDYF

Bit 11: transceiver ready flag.

ICR

SWPMI Interrupt Flag Clear register

Offset: 0x10, size: 32, reset: 0x00000000, access: write-only

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CRDYF
w
CSRF
w
CTCF
w
CTXUNRF
w
CRXOVRF
w
CRXBERF
w
CTXBEF
w
CRXBFF
w
Toggle fields

CRXBFF

Bit 0: Clear receive buffer full flag.

CTXBEF

Bit 1: Clear transmit buffer empty flag.

CRXBERF

Bit 2: Clear receive CRC error flag.

CRXOVRF

Bit 3: Clear receive overrun error flag.

CTXUNRF

Bit 4: Clear transmit underrun error flag.

CTCF

Bit 7: Clear transfer complete flag.

CSRF

Bit 8: Clear slave resume flag.

CRDYF

Bit 11: Clear transceiver ready flag.

IER

SWPMI Interrupt Enable register

Offset: 0x14, 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
RDYIE
rw
SRIE
rw
TCIE
rw
TIE
rw
RIE
rw
TXUNRIE
rw
RXOVRIE
rw
RXBERIE
rw
TXBEIE
rw
RXBFIE
rw
Toggle fields

RXBFIE

Bit 0: Receive buffer full interrupt enable.

TXBEIE

Bit 1: Transmit buffer empty interrupt enable.

RXBERIE

Bit 2: Receive CRC error interrupt enable.

RXOVRIE

Bit 3: Receive overrun error interrupt enable.

TXUNRIE

Bit 4: Transmit underrun error interrupt enable.

RIE

Bit 5: Receive interrupt enable.

TIE

Bit 6: Transmit interrupt enable.

TCIE

Bit 7: Transmit complete interrupt enable.

SRIE

Bit 8: Slave resume interrupt enable.

RDYIE

Bit 11: Transceiver ready interrupt enable.

RFL

SWPMI Receive Frame Length register

Offset: 0x18, 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
RFL
r
Toggle fields

RFL

Bits 0-4: Receive frame length.

TDR

SWPMI Transmit data register

Offset: 0x1c, 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
TD
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TD
w
Toggle fields

TD

Bits 0-31: Transmit data.

RDR

SWPMI Receive data 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
RD
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RD
r
Toggle fields

RD

Bits 0-31: received data.

OR

SWPMI Option register

Offset: 0x24, 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
SWP_CLASS
rw
SWP_TBYP
rw
Toggle fields

SWP_TBYP

Bit 0: SWP transceiver bypass.

SWP_CLASS

Bit 1: SWP class selection.

SYSCFG

0x58000400: System configuration controller

30/88 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
0x4 PMCR
0x8 EXTICR1
0xc EXTICR2
0x10 EXTICR3
0x14 EXTICR4
0x18 CFGR
0x20 CCCSR
0x24 CCVR
0x28 CCCR
0x2c PWRCR
0x124 PKGR
0x300 UR0
0x304 UR1
0x308 UR2
0x30c UR3
0x310 UR4
0x314 UR5
0x318 UR6
0x31c UR7
0x320 UR8
0x324 UR9
0x328 UR10
0x32c UR11
0x330 UR12
0x334 UR13
0x338 UR14
0x33c UR15
0x340 UR16
0x344 UR17
Toggle registers

PMCR

peripheral mode configuration register

Offset: 0x4, 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
PC3SO
rw
PC2SO
rw
PA1SO
rw
PA0SO
rw
EPIS
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BOOSTVDDSEL
rw
BOOSTE
rw
PB9FMP
rw
PB8FMP
rw
PB7FMP
rw
PB6FMP
rw
I2C4FMP
rw
I2C3FMP
rw
I2C2FMP
rw
I2C1FMP
rw
Toggle fields

I2C1FMP

Bit 0: I2C1 Fm+.

I2C2FMP

Bit 1: I2C2 Fm+.

I2C3FMP

Bit 2: I2C3 Fm+.

I2C4FMP

Bit 3: I2C4 Fm+.

PB6FMP

Bit 4: PB(6) Fm+.

PB7FMP

Bit 5: PB(7) Fast Mode Plus.

PB8FMP

Bit 6: PB(8) Fast Mode Plus.

PB9FMP

Bit 7: PB(9) Fm+.

BOOSTE

Bit 8: Booster Enable.

BOOSTVDDSEL

Bit 9: Analog switch supply voltage selection.

EPIS

Bits 21-23: Ethernet PHY Interface Selection.

PA0SO

Bit 24: PA0 Switch Open.

PA1SO

Bit 25: PA1 Switch Open.

PC2SO

Bit 26: PC2 Switch Open.

PC3SO

Bit 27: PC3 Switch Open.

EXTICR1

external interrupt configuration register 1

Offset: 0x8, 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
EXTI3
rw
EXTI2
rw
EXTI1
rw
EXTI0
rw
Toggle fields

EXTI0

Bits 0-3: EXTI x configuration (x = 0 to 3).

EXTI1

Bits 4-7: EXTI x configuration (x = 0 to 3).

EXTI2

Bits 8-11: EXTI x configuration (x = 0 to 3).

EXTI3

Bits 12-15: EXTI x configuration (x = 0 to 3).

EXTICR2

external interrupt configuration register 2

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
EXTI7
rw
EXTI6
rw
EXTI5
rw
EXTI4
rw
Toggle fields

EXTI4

Bits 0-3: EXTI x configuration (x = 4 to 7).

EXTI5

Bits 4-7: EXTI x configuration (x = 4 to 7).

EXTI6

Bits 8-11: EXTI x configuration (x = 4 to 7).

EXTI7

Bits 12-15: EXTI x configuration (x = 4 to 7).

EXTICR3

external interrupt configuration register 3

Offset: 0x10, 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
EXTI11
rw
EXTI10
rw
EXTI9
rw
EXTI8
rw
Toggle fields

EXTI8

Bits 0-3: EXTI x configuration (x = 8 to 11).

EXTI9

Bits 4-7: EXTI x configuration (x = 8 to 11).

EXTI10

Bits 8-11: EXTI10.

EXTI11

Bits 12-15: EXTI x configuration (x = 8 to 11).

EXTICR4

external interrupt configuration register 4

Offset: 0x14, 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
EXTI15
rw
EXTI14
rw
EXTI13
rw
EXTI12
rw
Toggle fields

EXTI12

Bits 0-3: EXTI x configuration (x = 12 to 15).

EXTI13

Bits 4-7: EXTI x configuration (x = 12 to 15).

EXTI14

Bits 8-11: EXTI x configuration (x = 12 to 15).

EXTI15

Bits 12-15: EXTI x configuration (x = 12 to 15).

CFGR

configuration register

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AXISRAML
rw
ITCML
rw
DTCML
rw
SRAM1L
rw
SRAM2L
rw
SRAM3L
rw
SRAM4L
rw
BKRAML
rw
CM7L
rw
FLASHL
rw
PVDL
rw
CM4L
rw
Toggle fields

CM4L

Bit 0: CM4L.

PVDL

Bit 2: PVDL.

FLASHL

Bit 3: FLASHL.

CM7L

Bit 6: CM7L.

BKRAML

Bit 7: BKRAML.

SRAM4L

Bit 9: SRAM4L.

SRAM3L

Bit 10: SRAM3L.

SRAM2L

Bit 11: SRAM2L.

SRAM1L

Bit 12: SRAM1L.

DTCML

Bit 13: DTCML.

ITCML

Bit 14: ITCML.

AXISRAML

Bit 15: AXISRAML.

CCCSR

compensation cell control/status 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
HSLV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
READY
rw
CS
rw
EN
rw
Toggle fields

EN

Bit 0: enable.

CS

Bit 1: Code selection.

READY

Bit 8: Compensation cell ready flag.

HSLV

Bit 16: High-speed at low-voltage.

CCVR

SYSCFG compensation cell value register

Offset: 0x24, 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
PCV
r
NCV
r
Toggle fields

NCV

Bits 0-3: NMOS compensation value.

PCV

Bits 4-7: PMOS compensation value.

CCCR

SYSCFG compensation cell code register

Offset: 0x28, 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
PCC
rw
NCC
rw
Toggle fields

NCC

Bits 0-3: NMOS compensation code.

PCC

Bits 4-7: PMOS compensation code.

PWRCR

SYSCFG power control 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
ODEN
rw
Toggle fields

ODEN

Bit 0: Overdrive enable.

Allowed values:
0: Disabled: Overdrive mode disabled
1: Enabled: Overdrive mode enabled (the LDO generates VOS0 for VCORE)

PKGR

SYSCFG package register

Offset: 0x124, 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
PKG
r
Toggle fields

PKG

Bits 0-3: Package.

UR0

SYSCFG user register 0

Offset: 0x300, 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
RDP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BKS
r
Toggle fields

BKS

Bit 0: Bank Swap.

RDP

Bits 16-23: Readout protection.

UR1

SYSCFG user register 1

Offset: 0x304, 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
BCM7
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCM4
rw
Toggle fields

BCM4

Bit 0: Boot Cortex-M4.

BCM7

Bit 16: Boot Cortex-M7.

UR2

SYSCFG user register 2

Offset: 0x308, size: 32, reset: 0x00000000, access: Unspecified

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
BCM7_ADD0
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BORH
r
Toggle fields

BORH

Bits 0-1: BOR_LVL Brownout Reset Threshold Level.

BCM7_ADD0

Bits 16-31: Cortex-M7 Boot Address 0.

UR3

SYSCFG user register 3

Offset: 0x30c, 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
BCM7_ADD1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCM4_ADD1
rw
Toggle fields

BCM4_ADD1

Bits 0-15: Cortex-M4 Boot Address 0.

BCM7_ADD1

Bits 16-31: Cortex-M7 Boot Address 1.

UR4

SYSCFG user register 4

Offset: 0x310, size: 32, reset: 0x00000000, access: Unspecified

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
MEPAD_1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BCM4_ADD1
rw
Toggle fields

BCM4_ADD1

Bits 0-15: Mass Erase Protected Area Disabled for bank 1.

MEPAD_1

Bit 16: Boot Cortex-M4 Address 1.

UR5

SYSCFG user register 5

Offset: 0x314, 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
WRPS_1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MESAD_1
r
Toggle fields

MESAD_1

Bit 0: Mass erase secured area disabled for bank 1.

WRPS_1

Bits 16-23: Write protection for flash bank 1.

UR6

SYSCFG user register 6

Offset: 0x318, 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
PA_END_1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA_BEG_1
r
Toggle fields

PA_BEG_1

Bits 0-11: Protected area start address for bank 1.

PA_END_1

Bits 16-27: Protected area end address for bank 1.

UR7

SYSCFG user register 7

Offset: 0x31c, 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
SA_END_1
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA_BEG_1
r
Toggle fields

SA_BEG_1

Bits 0-11: Secured area start address for bank 1.

SA_END_1

Bits 16-27: Secured area end address for bank 1.

UR8

SYSCFG user register 8

Offset: 0x320, 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
MESAD_2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MEPAD_2
r
Toggle fields

MEPAD_2

Bit 0: Mass erase protected area disabled for bank 2.

MESAD_2

Bit 16: Mass erase secured area disabled for bank 2.

UR9

SYSCFG user register 9

Offset: 0x324, 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
PA_BEG_2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRPS_2
r
Toggle fields

WRPS_2

Bits 0-7: Write protection for flash bank 2.

PA_BEG_2

Bits 16-27: Protected area start address for bank 2.

UR10

SYSCFG user register 10

Offset: 0x328, 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
SA_BEG_2
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA_END_2
r
Toggle fields

PA_END_2

Bits 0-11: Protected area end address for bank 2.

SA_BEG_2

Bits 16-27: Secured area start address for bank 2.

UR11

SYSCFG user register 11

Offset: 0x32c, 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
IWDG1M
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SA_END_2
r
Toggle fields

SA_END_2

Bits 0-11: Secured area end address for bank 2.

IWDG1M

Bit 16: Independent Watchdog 1 mode.

UR12

SYSCFG user register 12

Offset: 0x330, 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
SECURE
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IWDG2M
r
Toggle fields

IWDG2M

Bit 0: Independent Watchdog 2 mode.

SECURE

Bit 16: Secure mode.

UR13

SYSCFG user register 13

Offset: 0x334, 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
D1SBRST
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDRS
r
Toggle fields

SDRS

Bits 0-1: Secured DTCM RAM Size.

D1SBRST

Bit 16: D1 Standby reset.

UR14

SYSCFG user register 14

Offset: 0x338, 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
D2SBRST
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D1STPRST
rw
Toggle fields

D1STPRST

Bit 0: D1 Stop Reset.

D2SBRST

Bit 16: D2 Standby Reset.

UR15

SYSCFG user register 15

Offset: 0x33c, size: 32, reset: 0x00000000, access: Unspecified

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FZIWDGSTB
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D2STPRST
rw
Toggle fields

D2STPRST

Bit 0: D2 Stop Reset.

FZIWDGSTB

Bit 16: Freeze independent watchdog in Standby mode.

UR16

SYSCFG user register 16

Offset: 0x340, 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
PKP
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FZIWDGSTP
r
Toggle fields

FZIWDGSTP

Bit 0: Freeze independent watchdog in Stop mode.

PKP

Bit 16: Private key programmed.

UR17

SYSCFG user register 17

Offset: 0x344, 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
IO_HSLV
r
Toggle fields

IO_HSLV

Bit 0: I/O high speed / low voltage.

TIM1

0x40010000: Advanced-timers

106/186 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x30 RCR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x44 BDTR
0x48 DCR
0x4c DMAR
0x54 CCMR3_Output
0x58 CCR5
0x5c CRR6
0x60 AF1
0x64 AF2
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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]
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.

CCUS

Bit 2: Capture/compare control update selection.

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: Master mode selection.

Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output

TI1S

Bit 7: TI1 selection.

Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input

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[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.

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.

TS

Bits 4-6: Trigger selection.

Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)

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 - bit 3.

TS_4_3

Bits 20-21: Trigger selection - bit 4:3.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

12/15 fields covered.

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.

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.

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.

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

12/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC6IF
rw
CC5IF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBIF
rw
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
B2IF
rw
BIF
rw
TIF
rw
COMIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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:
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:
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:
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:
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.

B2IF

Bit 8: Break 2 interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

Allowed values:
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:
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:
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:
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.

CC5IF

Bit 16: Compare 5 interrupt flag.

Allowed values:
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:
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.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

6/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.

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.

B2G

Bit 8: Break 2 generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

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

capture/compare mode register 2 (input mode)

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
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

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: 0x0-0x3

IC[3]F

Bits 4-7: Input capture 3 filter.

Allowed values: 0x0-0xf

CC[4]S

Bits 8-9: Capture/Compare 4 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[4]PSC

Bits 10-11: Input capture 4 prescaler.

Allowed values: 0x0-0x3

IC[4]F

Bits 12-15: Input capture 4 filter.

Allowed values: 0x0-0xf

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

7/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC4M_4
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: CC3 channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CC3 channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

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)

OC4M_4

Bit 24: Output Compare 4 mode - bit 3.

CCER

capture/compare enable register

Offset: 0x20, 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
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]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.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NE

Bit 6: Capture/Compare 2 complementary output enable.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NE

Bit 10: Capture/Compare 3 complementary output enable.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CC[5]E

Bit 16: Capture/Compare 5 output enable.

CC[5]P

Bit 17: Capture/Compare 5 output Polarity.

CC[6]E

Bit 20: Capture/Compare 6 output enable.

CC[6]P

Bit 21: Capture/Compare 6 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

RCR

repetition counter register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter value.

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[2]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[3]

capture/compare register

Offset: 0x3c, 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[4]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

BDTR

break and dead-time register

Offset: 0x44, 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
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: Disabled: 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: Disabled: 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 disabled

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 disabled

BK2P

Bit 25: Break 2 polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

DCR

DMA control register

Offset: 0x48, 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
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

DMAR

DMA address for full transfer

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

CCMR3_Output

capture/compare mode register 3 (output mode)

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

4/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[6]M_3
rw
OC[5]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[6]CE
rw
OC[6]M
rw
OC[6]PE
rw
OC[6]FE
rw
OC[5]CE
rw
OC[5]M
rw
OC[5]PE
rw
OC[5]FE
rw
Toggle fields

OC[5]FE

Bit 2: Output compare 5 fast enable.

OC[5]PE

Bit 3: Output compare 5 preload enable.

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.

OC[6]FE

Bit 10: Output compare 6 fast enable.

OC[6]PE

Bit 11: Output compare 6 preload enable.

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.

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)

CCR5

capture/compare register

Offset: 0x58, 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
GC5C3
rw
GC5C2
rw
GC5C1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

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.

CRR6

capture/compare register 6

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR6
rw
Toggle fields

CCR6

Bits 0-15: Capture/Compare 6 value.

AF1

TIM1 alternate function option register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKDF1BK0E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: BRK BKIN input enable.

BKCMP1E

Bit 1: BRK COMP1 enable.

BKCMP2E

Bit 2: BRK COMP2 enable.

BKDF1BK0E

Bit 8: BRK dfsdm1_break[0] enable.

BKINP

Bit 9: BRK BKIN input polarity.

BKCMP1P

Bit 10: BRK COMP1 input polarity.

BKCMP2P

Bit 11: BRK COMP2 input polarity.

ETRSEL

Bits 14-17: ETR source selection.

AF2

TIM1 Alternate function odfsdm1_breakster 2

Offset: 0x64, 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
BK2CMP2P
rw
BK2CMP1P
rw
BK2INP
rw
BK2DF1BK1E
rw
BK2CMP2E
rw
BK2CMP1E
rw
BK2INE
rw
Toggle fields

BK2INE

Bit 0: BRK2 BKIN input enable.

BK2CMP1E

Bit 1: BRK2 COMP1 enable.

BK2CMP2E

Bit 2: BRK2 COMP2 enable.

BK2DF1BK1E

Bit 8: BRK2 dfsdm1_break[1] enable.

BK2INP

Bit 9: BRK2 BKIN2 input polarity.

BK2CMP1P

Bit 10: BRK2 COMP1 input polarit.

BK2CMP2P

Bit 11: BRK2 COMP2 input polarity.

TISEL

TIM1 timer input 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
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 TI1[0] to TI1[15] input.

TI2SEL

Bits 8-11: selects TI2[0] to TI2[15] input.

TI3SEL

Bits 16-19: selects TI3[0] to TI3[15] input.

TI4SEL

Bits 24-27: selects TI4[0] to TI4[15] input.

TIM12

0x40001800: General purpose timers

30/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 CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

6/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CMS

Bits 5-6: Center-aligned mode selection.

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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

Bit 3: Capture/compare DMA selection.

MMS

Bits 4-6: Master mode selection.

TI1S

Bit 7: TI1 selection.

SMCR

slave mode 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
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

TS

Bits 4-6: Trigger selection.

MSM

Bit 7: Master/Slave mode.

ETF

Bits 8-11: External trigger filter.

ETPS

Bits 12-13: External trigger prescaler.

ECE

Bit 14: External clock enable.

ETP

Bit 15: External trigger polarity.

SMS_3

Bit 16: Slave mode selection - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/12 fields covered.

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.

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

TIE

Bit 6: Trigger interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

TDE

Bit 14: Trigger DMA request enable.

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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.

CC[2]IF

Bit 2: Capture/compare 2 interrupt flag.

CC[3]IF

Bit 3: Capture/compare 3 interrupt flag.

CC[4]IF

Bit 4: Capture/compare 4 interrupt flag.

TIF

Bit 6: Trigger interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

CC[2]OF

Bit 10: Capture/Compare 2 overcapture flag.

CC[3]OF

Bit 11: Capture/Compare 3 overcapture flag.

CC[4]OF

Bit 12: Capture/Compare 4 overcapture flag.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/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.

CC[2]G

Bit 2: Capture/compare 2 generation.

CC[3]G

Bit 3: Capture/compare 3 generation.

CC[4]G

Bit 4: Capture/compare 4 generation.

TG

Bit 6: Trigger generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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)

CCMR2_Input

capture/compare mode register 2 (input mode)

Offset: 0x1c, 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
IC[4]F
rw
IC[4]PSC
rw
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

IC[3]PSC

Bits 2-3: Input capture 3 prescaler.

IC[3]F

Bits 4-7: Input capture 3 filter.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

IC[4]PSC

Bits 10-11: Input capture 4 prescaler.

IC[4]F

Bits 12-15: Input capture 4 filter.

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

4/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[4]M_3
rw
OC[3]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[4]CE
rw
OC[4]M
rw
OC[4]PE
rw
OC[4]FE
rw
CC[4]S
rw
OC[3]CE
rw
OC[3]M
rw
OC[3]PE
rw
OC[3]FE
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

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 / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved

OC[3]CE

Bit 7: Output compare 3 clear enable.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

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 / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved

OC[4]CE

Bit 15: Output compare 4 clear enable.

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

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

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
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

CCR[2]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

DCR

DMA control 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
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM13

0x40001c00: General purpose timers

25/109 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

6/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CMS

Bits 5-6: Center-aligned mode selection.

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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

Bit 3: Capture/compare DMA selection.

MMS

Bits 4-6: Master mode selection.

TI1S

Bit 7: TI1 selection.

SMCR

slave mode 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
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

TS

Bits 4-6: Trigger selection.

MSM

Bit 7: Master/Slave mode.

ETF

Bits 8-11: External trigger filter.

ETPS

Bits 12-13: External trigger prescaler.

ECE

Bit 14: External clock enable.

ETP

Bit 15: External trigger polarity.

SMS_3

Bit 16: Slave mode selection - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/12 fields covered.

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.

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

TIE

Bit 6: Trigger interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

TDE

Bit 14: Trigger DMA request enable.

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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.

CC[2]IF

Bit 2: Capture/compare 2 interrupt flag.

CC[3]IF

Bit 3: Capture/compare 3 interrupt flag.

CC[4]IF

Bit 4: Capture/compare 4 interrupt flag.

TIF

Bit 6: Trigger interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

CC[2]OF

Bit 10: Capture/Compare 2 overcapture flag.

CC[3]OF

Bit 11: Capture/Compare 3 overcapture flag.

CC[4]OF

Bit 12: Capture/Compare 4 overcapture flag.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/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.

CC[2]G

Bit 2: Capture/compare 2 generation.

CC[3]G

Bit 3: Capture/compare 3 generation.

CC[4]G

Bit 4: Capture/compare 4 generation.

TG

Bit 6: Trigger generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[1]CE

Bit 7: Output compare 1 clear enable.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[2]CE

Bit 15: Output compare 2 clear enable.

OC[1]M_3

Bit 16: Output compare 1 mode, bit 3.

OC[2]M_3

Bit 24: Output compare 2 mode, bit 3.

CCMR2_Input

capture/compare mode register 2 (input mode)

Offset: 0x1c, 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
IC[4]F
rw
IC[4]PSC
rw
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

IC[3]PSC

Bits 2-3: Input capture 3 prescaler.

IC[3]F

Bits 4-7: Input capture 3 filter.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

IC[4]PSC

Bits 10-11: Input capture 4 prescaler.

IC[4]F

Bits 12-15: Input capture 4 filter.

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

2/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.

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[3]CE

Bit 7: Output compare 3 clear enable.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[4]CE

Bit 15: Output compare 4 clear enable.

OC[3]M_3

Bit 16: Output compare 3 mode, bit 3.

OC[4]M_3

Bit 24: Output compare 4 mode, bit 3.

CCER

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

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
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

DCR

DMA control 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
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM14

0x40002000: General purpose timers

25/109 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

6/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CMS

Bits 5-6: Center-aligned mode selection.

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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1S
rw
MMS
rw
CCDS
rw
Toggle fields

CCDS

Bit 3: Capture/compare DMA selection.

MMS

Bits 4-6: Master mode selection.

TI1S

Bit 7: TI1 selection.

SMCR

slave mode 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
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

TS

Bits 4-6: Trigger selection.

MSM

Bit 7: Master/Slave mode.

ETF

Bits 8-11: External trigger filter.

ETPS

Bits 12-13: External trigger prescaler.

ECE

Bit 14: External clock enable.

ETP

Bit 15: External trigger polarity.

SMS_3

Bit 16: Slave mode selection - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/12 fields covered.

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.

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

CC[3]IE

Bit 3: Capture/Compare 3 interrupt enable.

CC[4]IE

Bit 4: Capture/Compare 4 interrupt enable.

TIE

Bit 6: Trigger interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

CC[3]DE

Bit 11: Capture/Compare 3 DMA request enable.

CC[4]DE

Bit 12: Capture/Compare 4 DMA request enable.

TDE

Bit 14: Trigger DMA request enable.

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/10 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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.

CC[2]IF

Bit 2: Capture/compare 2 interrupt flag.

CC[3]IF

Bit 3: Capture/compare 3 interrupt flag.

CC[4]IF

Bit 4: Capture/compare 4 interrupt flag.

TIF

Bit 6: Trigger interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

CC[2]OF

Bit 10: Capture/Compare 2 overcapture flag.

CC[3]OF

Bit 11: Capture/Compare 3 overcapture flag.

CC[4]OF

Bit 12: Capture/Compare 4 overcapture flag.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/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.

CC[2]G

Bit 2: Capture/compare 2 generation.

CC[3]G

Bit 3: Capture/compare 3 generation.

CC[4]G

Bit 4: Capture/compare 4 generation.

TG

Bit 6: Trigger generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

6/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[1]CE

Bit 7: Output compare 1 clear enable.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[2]CE

Bit 15: Output compare 2 clear enable.

OC[1]M_3

Bit 16: Output compare 1 mode, bit 3.

OC[2]M_3

Bit 24: Output compare 2 mode, bit 3.

CCMR2_Input

capture/compare mode register 2 (input mode)

Offset: 0x1c, 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
IC[4]F
rw
IC[4]PSC
rw
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

Bits 0-1: Capture/Compare 3 selection.

IC[3]PSC

Bits 2-3: Input capture 3 prescaler.

IC[3]F

Bits 4-7: Input capture 3 filter.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

IC[4]PSC

Bits 10-11: Input capture 4 prescaler.

IC[4]F

Bits 12-15: Input capture 4 filter.

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

2/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.

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[3]CE

Bit 7: Output compare 3 clear enable.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[4]CE

Bit 15: Output compare 4 clear enable.

OC[3]M_3

Bit 16: Output compare 3 mode, bit 3.

OC[4]M_3

Bit 24: Output compare 4 mode, bit 3.

CCER

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

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
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

DCR

DMA control 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
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM15

0x40014000: General purpose timers

27/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 CR1
0x4 CR2
0x8 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x30 RCR
0x34 CCR[1]
0x38 CCR[2]
0x44 BDTR
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

6/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

0/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS2
rw
OIS1N
rw
OIS1
rw
TI1S
rw
MMS
rw
CCDS
rw
CCUS
rw
CCPC
rw
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: TI1 selection.

OIS1

Bit 8: Output Idle state 1.

OIS1N

Bit 9: Output Idle state 1.

OIS2

Bit 10: Output Idle state 2.

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

0/5 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSM
rw
TS_2_0
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

TS_2_0

Bits 4-6: Trigger selection.

MSM

Bit 7: Master/Slave mode.

SMS_3

Bit 16: Slave mode selection bit 3.

TS_4_3

Bits 20-21: Trigger selection - bit 4:3.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/11 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TDE
rw
COMDE
rw
CC[2]DE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
TIE
rw
COMIE
rw
CC[2]IE
rw
CC[1]IE
rw
UIE
rw
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.

CC[2]IE

Bit 2: Capture/Compare 2 interrupt enable.

COMIE

Bit 5: COM interrupt enable.

TIE

Bit 6: Trigger interrupt enable.

BIE

Bit 7: Break interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

CC[2]DE

Bit 10: Capture/Compare 2 DMA request enable.

COMDE

Bit 13: COM DMA request enable.

TDE

Bit 14: Trigger DMA request enable.

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/8 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[2]OF
rw
CC[1]OF
rw
BIF
rw
TIF
rw
COMIF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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.

CC[2]IF

Bit 2: Capture/compare 2 interrupt flag.

COMIF

Bit 5: COM interrupt flag.

TIF

Bit 6: Trigger interrupt flag.

BIF

Bit 7: Break interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

CC[2]OF

Bit 10: Capture/Compare 2 overcapture flag.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BG
w
TG
w
COMG
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.

CC[2]G

Bit 2: Capture/compare 2 generation.

COMG

Bit 5: Capture/Compare control update generation.

TG

Bit 6: Trigger generation.

BG

Bit 7: Break generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[2]M_3
rw
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[2]M
rw
OC[2]PE
rw
OC[2]FE
rw
CC[2]S
rw
OC[1]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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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[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

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[2]NP
rw
CC[2]P
rw
CC[2]E
rw
CC[1]NP
rw
CC[1]NE
rw
CC[1]P
rw
CC[1]E
rw
Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

RCR

repetition counter register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter value.

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

CCR[2]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

BDTR

break and dead-time register

Offset: 0x44, 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
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.

DCR

DMA control 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
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM15 alternate fdfsdm1_breakon register 1

Offset: 0x60, 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
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKDF1BK0E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: BRK BKIN input enable.

BKCMP1E

Bit 1: BRK COMP1 enable.

BKCMP2E

Bit 2: BRK COMP2 enable.

BKDF1BK0E

Bit 8: BRK dfsdm1_break[0] enable.

BKINP

Bit 9: BRK BKIN input polarity.

BKCMP1P

Bit 10: BRK COMP1 input polarity.

BKCMP2P

Bit 11: BRK COMP2 input polarity.

TISEL

TIM15 input selection register

Offset: 0x68, 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 TI1[0] to TI1[15] input.

TI2SEL

Bits 8-11: selects TI2[0] to TI2[15] input.

TIM16

0x40014400: General-purpose-timers

28/66 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
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x30 RCR
0x34 CCR[1]
0x44 BDTR
0x48 DCR
0x4c DMAR
0x60 TIM16_AF1
0x68 TIM16_TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

6/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

5/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OIS1N
rw
OIS1
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: Default: Capture/compare are updated only by setting the COMG bit
1: WithRisingEdge: Capture/compare 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

OIS1

Bit 8: Output Idle state 1.

Allowed values:
0: Reset: OC1=0 (after a dead-time if OC1N is implemented) when MOE=0
1: Set: OC1=1 (after a dead-time if OC1N is implemented) when MOE=0

OIS1N

Bit 9: Output Idle state 1.

Allowed values:
0: Reset: OC1N=0 after a dead-time when MOE=0
1: Set: OC1N=1 after a dead-time when MOE=0

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, 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
COMDE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
COMIE
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: CC1 interrupt disabled
1: Enabled: CC1 interrupt enabled

COMIE

Bit 5: COM interrupt enable.

Allowed values:
0: Disabled: COM interrupt disabled
1: Enabled: COM 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.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

Allowed values:
0: Disabled: CC1 DMA request disabled
1: Enabled: CC1 DMA request enabled

COMDE

Bit 13: COM DMA request enable.

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[1]OF
rw
BIF
rw
COMIF
rw
CC[1]IF
rw
UIF
rw
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.

COMIF

Bit 5: COM interrupt flag.

BIF

Bit 7: Break interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BG
w
COMG
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.

COMG

Bit 5: Capture/Compare control update generation.

BG

Bit 7: Break generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

2/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CCMR1_Output

capture/compare mode register (output mode)

Offset: 0x18, 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
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[1]M_3

Bit 16: Output compare 1 mode, bit 3.

CCER

capture/compare enable register

Offset: 0x20, 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
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.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

RCR

repetition counter register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter value.

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

BDTR

break and dead-time register

Offset: 0x44, 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
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.

DCR

DMA control 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
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

TIM16_AF1

TIM16 alternate function register 1

Offset: 0x60, 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
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKDFBK1E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: BRK BKIN input enable.

BKCMP1E

Bit 1: BRK COMP1 enable.

BKCMP2E

Bit 2: BRK COMP2 enable.

BKDFBK1E

Bit 8: BRK dfsdm1_break[1] enable.

BKINP

Bit 9: BRK BKIN input polarity.

BKCMP1P

Bit 10: BRK COMP1 input polarity.

BKCMP2P

Bit 11: BRK COMP2 input polarity.

TIM16_TISEL

TIM16 input selection register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: selects TI1[0] to TI1[15] input.

TIM17

0x40014800: General-purpose-timers

19/66 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
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x30 RCR
0x34 CCR[1]
0x44 BDTR
0x48 DCR
0x4c DMAR
0x60 TIM17_AF1
0x68 TIM17_TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

6/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control 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
OIS1N
rw
OIS1
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.

OIS1

Bit 8: Output Idle state 1.

OIS1N

Bit 9: Output Idle state 1.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

1/7 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
COMDE
rw
CC[1]DE
rw
UDE
rw
BIE
rw
COMIE
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.

COMIE

Bit 5: COM interrupt enable.

BIE

Bit 7: Break interrupt enable.

UDE

Bit 8: Update DMA request enable.

CC[1]DE

Bit 9: Capture/Compare 1 DMA request enable.

COMDE

Bit 13: COM DMA request enable.

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/5 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CC[1]OF
rw
BIF
rw
COMIF
rw
CC[1]IF
rw
UIF
rw
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.

COMIF

Bit 5: COM interrupt flag.

BIF

Bit 7: Break interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/4 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BG
w
COMG
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.

COMG

Bit 5: Capture/Compare control update generation.

BG

Bit 7: Break generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

2/3 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CCMR1_Output

capture/compare mode register (output mode)

Offset: 0x18, 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
OC[1]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[1]M
rw
OC[1]PE
rw
OC[1]FE
rw
CC[1]S
rw
Toggle fields

CC[1]S

Bits 0-1: Capture/Compare 1 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1

OC[1]M_3

Bit 16: Output compare 1 mode, bit 3.

CCER

capture/compare enable register

Offset: 0x20, 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
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.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

RCR

repetition counter register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter value.

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare 1 value.

Allowed values: 0x0-0xffff

BDTR

break and dead-time register

Offset: 0x44, 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
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.

DCR

DMA control 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
DBL
rw
DBA
rw
Toggle fields

DBA

Bits 0-4: DMA base address.

DBL

Bits 8-12: DMA burst length.

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

TIM17_AF1

TIM17 alternate function register 1

Offset: 0x60, 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
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKDFBK1E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: BRK BKIN input enable.

BKCMP1E

Bit 1: BRK COMP1 enable.

BKCMP2E

Bit 2: BRK COMP2 enable.

BKDFBK1E

Bit 8: BRK dfsdm1_break[1] enable.

BKINP

Bit 9: BRK BKIN input polarity.

BKCMP1P

Bit 10: BRK COMP1 input polarity.

BKCMP2P

Bit 11: BRK COMP2 input polarity.

TIM17_TISEL

TIM17 input selection register

Offset: 0x68, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TI1SEL
rw
Toggle fields

TI1SEL

Bits 0-3: selects TI1[0] to TI1[15] input.

TIM2

0x40000000: General purpose timers

81/112 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, 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
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: Master mode selection.

Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output

TI1S

Bit 7: TI1 selection.

Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.

TS

Bits 4-6: Trigger selection.

Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)

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 - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

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

SR

status 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
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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:
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:
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:
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:
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:
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:
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:
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:
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set

EGR

event generation register

Offset: 0x14, size: 32, 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

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

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

capture/compare mode register 2 (input mode)

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
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

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: 0x0-0x3

IC[3]F

Bits 4-7: Input capture 3 filter.

Allowed values: 0x0-0xf

CC[4]S

Bits 8-9: Capture/Compare 4 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[4]PSC

Bits 10-11: Input capture 4 prescaler.

Allowed values: 0x0-0x3

IC[4]F

Bits 12-15: Input capture 4 filter.

Allowed values: 0x0-0xf

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

8/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: CC3 channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CC3 channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

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

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: low counter value.

Allowed values: 0x0-0xffffffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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

DCR

DMA control register

Offset: 0x48, 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
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

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM3

0x40000400: General purpose timers

81/112 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, 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
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: Master mode selection.

Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output

TI1S

Bit 7: TI1 selection.

Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.

TS

Bits 4-6: Trigger selection.

Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)

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 - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

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

SR

status 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
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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:
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:
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:
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:
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:
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:
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:
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:
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set

EGR

event generation register

Offset: 0x14, size: 32, 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

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

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

capture/compare mode register 2 (input mode)

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
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

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: 0x0-0x3

IC[3]F

Bits 4-7: Input capture 3 filter.

Allowed values: 0x0-0xf

CC[4]S

Bits 8-9: Capture/Compare 4 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[4]PSC

Bits 10-11: Input capture 4 prescaler.

Allowed values: 0x0-0x3

IC[4]F

Bits 12-15: Input capture 4 filter.

Allowed values: 0x0-0xf

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

8/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: CC3 channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CC3 channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

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

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

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
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[2]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[3]

capture/compare register

Offset: 0x3c, 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[4]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

DCR

DMA control register

Offset: 0x48, 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
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

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM4

0x40000800: General purpose timers

81/112 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, 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
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: Master mode selection.

Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output

TI1S

Bit 7: TI1 selection.

Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.

TS

Bits 4-6: Trigger selection.

Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)

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 - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

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

SR

status 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
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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:
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:
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:
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:
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:
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:
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:
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:
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set

EGR

event generation register

Offset: 0x14, size: 32, 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

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

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

capture/compare mode register 2 (input mode)

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
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

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: 0x0-0x3

IC[3]F

Bits 4-7: Input capture 3 filter.

Allowed values: 0x0-0xf

CC[4]S

Bits 8-9: Capture/Compare 4 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[4]PSC

Bits 10-11: Input capture 4 prescaler.

Allowed values: 0x0-0x3

IC[4]F

Bits 12-15: Input capture 4 filter.

Allowed values: 0x0-0xf

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

8/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: CC3 channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CC3 channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

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

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

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
CNT
rw
Toggle fields

CNT

Bits 0-15: Counter value.

Allowed values: 0x0-0xffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[2]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[3]

capture/compare register

Offset: 0x3c, 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[4]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

DCR

DMA control register

Offset: 0x48, 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
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

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM5

0x40000c00: General purpose timers

81/112 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x48 DCR
0x4c DMAR
0x60 AF1
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, 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
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: Master mode selection.

Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output

TI1S

Bit 7: TI1 selection.

Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.

TS

Bits 4-6: Trigger selection.

Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)

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 - bit 3.

TS_4_3

Bits 20-21: Trigger selection.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

12/12 fields covered.

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

SR

status 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
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
TIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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:
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:
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:
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:
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:
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:
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:
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:
1: Overcapture: The counter value has been captured in TIMx_CCRx register while CCxIF flag was already set

EGR

event generation register

Offset: 0x14, size: 32, 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

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

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

capture/compare mode register 2 (input mode)

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
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

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: 0x0-0x3

IC[3]F

Bits 4-7: Input capture 3 filter.

Allowed values: 0x0-0xf

CC[4]S

Bits 8-9: Capture/Compare 4 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[4]PSC

Bits 10-11: Input capture 4 prescaler.

Allowed values: 0x0-0x3

IC[4]F

Bits 12-15: Input capture 4 filter.

Allowed values: 0x0-0xf

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

8/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: CC3 channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CC3 channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

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

capture/compare enable register

Offset: 0x20, size: 32, reset: 0x00000000, access: read-write

0/12 fields covered.

Toggle fields

CC[1]E

Bit 0: Capture/Compare 1 output enable.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: low counter value.

Allowed values: 0x0-0xffffffff

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload register

Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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

DCR

DMA control register

Offset: 0x48, 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
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

DMAR

DMA address for full transfer

Offset: 0x4c, 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
DMAB
rw
Toggle fields

DMAB

Bits 0-15: DMA register for burst accesses.

AF1

TIM alternate function option register 1

Offset: 0x60, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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 source selection.

TISEL

TIM timer input 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
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: TI1[0] to TI1[15] input selection.

TI2SEL

Bits 8-11: TI2[0] to TI2[15] input selection.

TI3SEL

Bits 16-19: TI3[0] to TI3[15] input selection.

TI4SEL

Bits 24-27: TI4[0] to TI4[15] input selection.

TIM6

0x40001000: Basic timers

13/15 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
0xc DIER
0x10 SR
0x14 EGR
0x24 CNT
0x28 PSC
0x2c ARR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

5/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

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
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

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UIF
rw
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: Low counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF Copy.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Low Auto-reload value.

Allowed values: 0x0-0xffff

TIM7

0x40001400: Basic timers

13/15 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
0xc DIER
0x10 SR
0x14 EGR
0x24 CNT
0x28 PSC
0x2c ARR
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

5/6 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

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
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

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

2/2 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UIF
rw
Toggle fields

UIF

Bit 0: Update interrupt flag.

Allowed values:
0: NoUpdateOccurred: No update occurred
1: UpdatePending: Update interrupt pending

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: read-write

1/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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: Low counter value.

Allowed values: 0x0-0xffff

UIFCPY

Bit 31: UIF Copy.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Low Auto-reload value.

Allowed values: 0x0-0xffff

TIM8

0x40010400: Advanced-timers

106/186 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 SMCR
0xc DIER
0x10 SR
0x14 EGR
0x18 CCMR1_Input
0x18 CCMR1_Output
0x1c CCMR2_Input
0x1c CCMR2_Output
0x20 CCER
0x24 CNT
0x28 PSC
0x2c ARR
0x30 RCR
0x34 CCR[1]
0x38 CCR[2]
0x3c CCR[3]
0x40 CCR[4]
0x44 BDTR
0x48 DCR
0x4c DMAR
0x54 CCMR3_Output
0x58 CCR5
0x5c CRR6
0x60 AF1
0x64 AF2
0x68 TISEL
Toggle registers

CR1

control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

8/9 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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.

CR2

control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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]
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.

CCUS

Bit 2: Capture/compare control update selection.

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: Master mode selection.

Allowed values:
0: Reset: The UG bit from the TIMx_EGR register is used as trigger output
1: Enable: The counter enable signal, CNT_EN, is used as trigger output
2: Update: The update event is selected as trigger output
3: ComparePulse: The trigger output send a positive pulse when the CC1IF flag it to be set, as soon as a capture or a compare match occurred
4: CompareOC1: OC1REF signal is used as trigger output
5: CompareOC2: OC2REF signal is used as trigger output
6: CompareOC3: OC3REF signal is used as trigger output
7: CompareOC4: OC4REF signal is used as trigger output

TI1S

Bit 7: TI1 selection.

Allowed values:
0: Normal: The TIMx_CH1 pin is connected to TI1 input
1: XOR: The TIMx_CH1, CH2, CH3 pins are connected to TI1 input

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[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.

SMCR

slave mode control register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

7/9 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TS_4_3
rw
SMS_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETP
rw
ECE
rw
ETPS
rw
ETF
rw
MSM
rw
TS
rw
SMS
rw
Toggle fields

SMS

Bits 0-2: Slave mode selection.

Allowed values:
0: Disabled: Slave mode disabled - if CEN = ‘1 then the prescaler is clocked directly by the internal clock.
1: Encoder_Mode_1: Encoder mode 1 - Counter counts up/down on TI2FP1 edge depending on TI1FP2 level.
2: Encoder_Mode_2: Encoder mode 2 - Counter counts up/down on TI1FP2 edge depending on TI2FP1 level.
3: Encoder_Mode_3: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges depending on the level of the other input.
4: Reset_Mode: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter and generates an update of the registers.
5: Gated_Mode: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of the counter are controlled.
6: Trigger_Mode: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not reset). Only the start of the counter is controlled.
7: Ext_Clock_Mode: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.

TS

Bits 4-6: Trigger selection.

Allowed values:
0: ITR0: Internal Trigger 0 (ITR0)
1: ITR1: Internal Trigger 1 (ITR1)
2: ITR2: Internal Trigger 2 (ITR2)
4: TI1F_ED: TI1 Edge Detector (TI1F_ED)
5: TI1FP1: Filtered Timer Input 1 (TI1FP1)
6: TI2FP2: Filtered Timer Input 2 (TI2FP2)
7: ETRF: External Trigger input (ETRF)

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 - bit 3.

TS_4_3

Bits 20-21: Trigger selection - bit 4:3.

DIER

DMA/Interrupt enable register

Offset: 0xc, size: 32, reset: 0x00000000, access: read-write

12/15 fields covered.

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.

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.

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.

TDE

Bit 14: Trigger DMA request enable.

Allowed values:
0: Disabled: Trigger DMA request disabled
1: Enabled: Trigger DMA request enabled

SR

status register

Offset: 0x10, size: 32, reset: 0x00000000, access: read-write

12/16 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CC6IF
rw
CC5IF
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SBIF
rw
CC[4]OF
rw
CC[3]OF
rw
CC[2]OF
rw
CC[1]OF
rw
B2IF
rw
BIF
rw
TIF
rw
COMIF
rw
CC[4]IF
rw
CC[3]IF
rw
CC[2]IF
rw
CC[1]IF
rw
UIF
rw
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:
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:
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:
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:
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.

B2IF

Bit 8: Break 2 interrupt flag.

CC[1]OF

Bit 9: Capture/Compare 1 overcapture flag.

Allowed values:
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:
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:
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:
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.

CC5IF

Bit 16: Compare 5 interrupt flag.

Allowed values:
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:
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.

EGR

event generation register

Offset: 0x14, size: 32, reset: 0x00000000, access: write-only

6/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.

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.

B2G

Bit 8: Break 2 generation.

CCMR1_Input

capture/compare mode register 1 (input mode)

Offset: 0x18, size: 32, 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
IC[2]F
rw
IC[2]PSC
rw
CC[2]S
rw
IC[1]F
rw
IC[1]PSC
rw
CC[1]S
rw
Toggle fields

CC[1]S

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.

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

CC[2]S

Bits 8-9: Capture/Compare 2 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[2]PSC

Bits 10-11: Input capture 2 prescaler.

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

capture/compare mode register 1 (output mode)

Offset: 0x18, size: 32, reset: 0x00000000, access: read-write

8/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: CC1 channel is configured as output

OC[1]FE

Bit 2: Output compare 1 fast enable.

OC[1]PE

Bit 3: Output compare 1 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

CC[2]S

Bits 8-9: Capture/Compare 2 selection.

Allowed values:
0: Output: CC1 channel is configured as output

OC[2]FE

Bit 10: Output compare 2 fast enable.

OC[2]PE

Bit 11: Output compare 2 preload enable.

Allowed values:
0: Disabled: Preload register on CCR1 disabled. New values written to CCR1 are taken into account immediately
1: Enabled: Preload register on CCR1 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.

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

capture/compare mode register 2 (input mode)

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
CC[4]S
rw
IC[3]F
rw
IC[3]PSC
rw
CC[3]S
rw
Toggle fields

CC[3]S

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: 0x0-0x3

IC[3]F

Bits 4-7: Input capture 3 filter.

Allowed values: 0x0-0xf

CC[4]S

Bits 8-9: Capture/Compare 4 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[4]PSC

Bits 10-11: Input capture 4 prescaler.

Allowed values: 0x0-0x3

IC[4]F

Bits 12-15: Input capture 4 filter.

Allowed values: 0x0-0xf

CCMR2_Output

capture/compare mode register 2 (output mode)

Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write

7/12 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC4M_4
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: CC3 channel is configured as output

OC[3]FE

Bit 2: Output compare 3 fast enable.

OC[3]PE

Bit 3: Output compare 3 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

CC[4]S

Bits 8-9: Capture/Compare 4 selection.

Allowed values:
0: Output: CC3 channel is configured as output

OC[4]FE

Bit 10: Output compare 4 fast enable.

OC[4]PE

Bit 11: Output compare 4 preload enable.

Allowed values:
0: Disabled: Preload register on CCR3 disabled. New values written to CCR3 are taken into account immediately
1: Enabled: Preload register on CCR3 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.

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)

OC4M_4

Bit 24: Output Compare 4 mode - bit 3.

CCER

capture/compare enable register

Offset: 0x20, 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
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]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.

CC[1]P

Bit 1: Capture/Compare 1 output Polarity.

CC[1]NE

Bit 2: Capture/Compare 1 complementary output enable.

CC[1]NP

Bit 3: Capture/Compare 1 output Polarity.

CC[2]E

Bit 4: Capture/Compare 2 output enable.

CC[2]P

Bit 5: Capture/Compare 2 output Polarity.

CC[2]NE

Bit 6: Capture/Compare 2 complementary output enable.

CC[2]NP

Bit 7: Capture/Compare 2 output Polarity.

CC[3]E

Bit 8: Capture/Compare 3 output enable.

CC[3]P

Bit 9: Capture/Compare 3 output Polarity.

CC[3]NE

Bit 10: Capture/Compare 3 complementary output enable.

CC[3]NP

Bit 11: Capture/Compare 3 output Polarity.

CC[4]E

Bit 12: Capture/Compare 4 output enable.

CC[4]P

Bit 13: Capture/Compare 4 output Polarity.

CC[4]NP

Bit 15: Capture/Compare 4 output Polarity.

CC[5]E

Bit 16: Capture/Compare 5 output enable.

CC[5]P

Bit 17: Capture/Compare 5 output Polarity.

CC[6]E

Bit 20: Capture/Compare 6 output enable.

CC[6]P

Bit 21: Capture/Compare 6 output Polarity.

CNT

counter

Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified

2/2 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

PSC

prescaler

Offset: 0x28, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSC
rw
Toggle fields

PSC

Bits 0-15: Prescaler value.

Allowed values: 0x0-0xffff

ARR

auto-reload 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
ARR
rw
Toggle fields

ARR

Bits 0-15: Auto-reload value.

Allowed values: 0x0-0xffff

RCR

repetition counter register

Offset: 0x30, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
REP
rw
Toggle fields

REP

Bits 0-7: Repetition counter value.

CCR[1]

capture/compare register

Offset: 0x34, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[2]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[3]

capture/compare register

Offset: 0x3c, 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

CCR[4]

capture/compare 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
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

Allowed values: 0x0-0xffff

BDTR

break and dead-time register

Offset: 0x44, 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
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: Disabled: 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: Disabled: 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 disabled

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 disabled

BK2P

Bit 25: Break 2 polarity.

Allowed values:
0: ActiveLow: Break input BRKx is active low
1: ActiveHigh: Break input BRKx is active high

DCR

DMA control register

Offset: 0x48, 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
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

DMAR

DMA address for full transfer

Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
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.

CCMR3_Output

capture/compare mode register 3 (output mode)

Offset: 0x54, size: 32, reset: 0x00000000, access: read-write

4/10 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OC[6]M_3
rw
OC[5]M_3
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OC[6]CE
rw
OC[6]M
rw
OC[6]PE
rw
OC[6]FE
rw
OC[5]CE
rw
OC[5]M
rw
OC[5]PE
rw
OC[5]FE
rw
Toggle fields

OC[5]FE

Bit 2: Output compare 5 fast enable.

OC[5]PE

Bit 3: Output compare 5 preload enable.

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.

OC[6]FE

Bit 10: Output compare 6 fast enable.

OC[6]PE

Bit 11: Output compare 6 preload enable.

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.

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)

CCR5

capture/compare register

Offset: 0x58, 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
GC5C3
rw
GC5C2
rw
GC5C1
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR
rw
Toggle fields

CCR

Bits 0-15: Capture/Compare value.

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.

CRR6

capture/compare register 6

Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write

0/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCR6
rw
Toggle fields

CCR6

Bits 0-15: Capture/Compare 6 value.

AF1

TIM1 alternate function option register 1

Offset: 0x60, 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
ETRSEL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ETRSEL
rw
BKCMP2P
rw
BKCMP1P
rw
BKINP
rw
BKDF1BK0E
rw
BKCMP2E
rw
BKCMP1E
rw
BKINE
rw
Toggle fields

BKINE

Bit 0: BRK BKIN input enable.

BKCMP1E

Bit 1: BRK COMP1 enable.

BKCMP2E

Bit 2: BRK COMP2 enable.

BKDF1BK0E

Bit 8: BRK dfsdm1_break[0] enable.

BKINP

Bit 9: BRK BKIN input polarity.

BKCMP1P

Bit 10: BRK COMP1 input polarity.

BKCMP2P

Bit 11: BRK COMP2 input polarity.

ETRSEL

Bits 14-17: ETR source selection.

AF2

TIM1 Alternate function odfsdm1_breakster 2

Offset: 0x64, 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
BK2CMP2P
rw
BK2CMP1P
rw
BK2INP
rw
BK2DF1BK1E
rw
BK2CMP2E
rw
BK2CMP1E
rw
BK2INE
rw
Toggle fields

BK2INE

Bit 0: BRK2 BKIN input enable.

BK2CMP1E

Bit 1: BRK2 COMP1 enable.

BK2CMP2E

Bit 2: BRK2 COMP2 enable.

BK2DF1BK1E

Bit 8: BRK2 dfsdm1_break[1] enable.

BK2INP

Bit 9: BRK2 BKIN2 input polarity.

BK2CMP1P

Bit 10: BRK2 COMP1 input polarit.

BK2CMP2P

Bit 11: BRK2 COMP2 input polarity.

TISEL

TIM1 timer input 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
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 TI1[0] to TI1[15] input.

TI2SEL

Bits 8-11: selects TI2[0] to TI2[15] input.

TI3SEL

Bits 16-19: selects TI3[0] to TI3[15] input.

TI4SEL

Bits 24-27: selects TI4[0] to TI4[15] input.

UART4

0x40004c00: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

UART5

0x40005000: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

UART7

0x40007800: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

UART8

0x40007c00: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

USART1

0x40011000: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

USART2

0x40004400: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

USART3

0x40004800: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

USART6

0x40011400: Universal synchronous asynchronous receiver transmitter

110/124 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 BRR
0x10 GTPR
0x14 RTOR
0x18 RQR
0x1c ISR
0x20 ICR
0x24 RDR
0x28 TDR
0x2c PRESC
Toggle registers

CR1

Control register 1

Offset: 0x0, size: 32, reset: 0x00000000, access: read-write

21/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 Stop mode.

Allowed values:
0: Disabled: USART not able to wake up the MCU from Stop mode
1: Enabled: USART able to wake up the MCU from Stop mode

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: RXNE interrupt enable.

Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register

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: 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 wakeup 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 de-assertion 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.

TXFEIE

Bit 30: TXFIFO empty interrupt enable.

RXFFIE

Bit 31: RXFIFO Full interrupt enable.

CR2

Control register 2

Offset: 0x4, size: 32, reset: 0x00000000, access: read-write

18/20 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
ADD
rw
RTOEN
rw
ABRMOD
rw
ABREN
rw
MSBFIRST
rw
DATAINV
rw
TXINV
rw
RXINV
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SWAP
rw
LINEN
rw
STOP
rw
CLKEN
rw
CPOL
rw
CPHA
rw
LBCL
rw
LBDIE
rw
LBDL
rw
ADDM7
rw
DIS_NSS
rw
SLVEN
rw
Toggle fields

SLVEN

Bit 0: Synchronous Slave mode enable.

DIS_NSS

Bit 3: When the DSI_NSS bit is set, the NSS pin input 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

Control register 3

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

19/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: Ir mode enable.

Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled

IRLP

Bit 2: Ir 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: Wakeup from Stop mode interrupt flag selection.

Allowed values:
0: Address: WUF active on address match
2: Start: WuF active on Start bit detection
3: RXNE: WUF active on RXNE

WUFIE

Bit 22: Wakeup from Stop mode interrupt enable.

Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated whenever WUF=1 in the ISR register

TXFTIE

Bit 23: TXFIFO threshold interrupt enable.

TCBGTIE

Bit 24: Transmission Complete before guard time, interrupt enable.

RXFTCFG

Bits 25-27: Receive FIFO threshold configuration.

RXFTIE

Bit 28: RXFIFO threshold interrupt enable.

TXFTCFG

Bits 29-31: TXFIFO threshold configuration.

BRR

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: DIV_Mantissa.

Allowed values: 0x0-0xffff

GTPR

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

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

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

Interrupt & status register

Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only

28/28 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
TXFT
r
RXFT
r
TCBGT
r
RXFF
r
TXFE
r
REACK
r
TEACK
r
WUF
r
RWU
r
SBKF
r
CMF
r
BUSY
r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ABRF
r
ABRE
r
UDR
r
EOBF
r
RTOF
r
CTS
r
CTSIF
r
LBDF
r
TXE
r
TC
r
RXNE
r
IDLE
r
ORE
r
NF
r
FE
r
PE
r
Toggle fields

PE

Bit 0: PE.

FE

Bit 1: FE.

NF

Bit 2: NF.

ORE

Bit 3: ORE.

IDLE

Bit 4: IDLE.

RXNE

Bit 5: RXNE.

TC

Bit 6: TC.

TXE

Bit 7: TXE.

LBDF

Bit 8: LBDF.

CTSIF

Bit 9: CTSIF.

CTS

Bit 10: CTS.

RTOF

Bit 11: RTOF.

EOBF

Bit 12: EOBF.

UDR

Bit 13: SPI slave underrun error flag.

ABRE

Bit 14: ABRE.

ABRF

Bit 15: ABRF.

BUSY

Bit 16: BUSY.

CMF

Bit 17: CMF.

SBKF

Bit 18: SBKF.

RWU

Bit 19: RWU.

WUF

Bit 20: WUF.

TEACK

Bit 21: TEACK.

REACK

Bit 22: REACK.

TXFE

Bit 23: TXFIFO Empty.

RXFF

Bit 24: RXFIFO Full.

TCBGT

Bit 25: Transmission complete before guard time flag.

RXFT

Bit 26: RXFIFO threshold flag.

TXFT

Bit 27: TXFIFO threshold flag.

ICR

Interrupt flag clear register

Offset: 0x20, size: 32, reset: 0x00000000, access: write-only

12/15 fields covered.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WUCF
w
CMCF
w
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
UDRCF
w
EOBCF
w
RTOCF
w
CTSCF
w
LBDCF
w
TCBGTC
w
TCCF
w
TXFECF
w
IDLECF
w
ORECF
w
NCF
w
FECF
w
PECF
w
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

NCF

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.

TCCF

Bit 6: Transmission complete clear flag.

Allowed values:
1: Clear: Clears the TC flag in the ISR register

TCBGTC

Bit 7: Transmission complete before Guard time clear flag.

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.

CMCF

Bit 17: Character match clear flag.

Allowed values:
1: Clear: Clears the CMF flag in the ISR register

WUCF

Bit 20: Wakeup from Stop mode clear flag.

Allowed values:
1: Clear: Clears the WUF flag in the ISR register

RDR

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

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

0/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.

VREFBUF

0x58003c00: VREFBUF

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: Unspecified

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 This bit is used to enable the voltage reference buffer mode..

HIZ

Bit 1: High impedance mode This bit controls the analog switch to connect or not the VREF+ pin. Refer to Table196: VREF buffer modes for the mode descriptions depending on ENVR bit configuration..

VRR

Bit 3: Voltage reference buffer ready.

VRS

Bits 4-6: Voltage reference scale These bits select the value generated by the voltage reference buffer. Other: Reserved.

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 These bits are automatically initialized after reset with the trimming value stored in the Flash memory during the production test. Writing into these bits allows to tune the internal reference buffer voltage..

WWDG1

0x50003000: WWDG

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 CR
0x4 CFR
0x8 SR
Toggle registers

CR

Control register

Offset: 0x0, size: 32, 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) These bits contain the value of the watchdog counter. It is decremented every (4096 x 2WDGTB[1:0]) PCLK cycles. A reset is produced when it is decremented from 0x40 to 0x3F (T6 becomes cleared)..

Allowed values: 0x0-0x7f

WDGA

Bit 7: Activation bit This bit is set by software and only cleared by hardware after a reset. When WDGA=1, the watchdog can generate a reset..

Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled

CFR

Configuration register

Offset: 0x4, size: 32, 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 These bits contain the window value to be compared to the downcounter..

Allowed values: 0x0-0x7f

EWI

Bit 9: Early wakeup interrupt When set, an interrupt occurs whenever the counter reaches the value 0x40. This interrupt is only cleared by hardware after a reset..

Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40

WDGTB

Bits 11-13: Timer base The time base of the prescaler can be modified as follows:.

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

Status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EWIF
rw
Toggle fields

EWIF

Bit 0: Early wakeup interrupt flag This bit is set by hardware when the counter has reached the value 0x40. It must be cleared by software by writing 0. A write of 1 has no effect. This bit is also set if the interrupt is not enabled..

Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered

WWDG2

0x40002c00: WWDG

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 CR
0x4 CFR
0x8 SR
Toggle registers

CR

Control register

Offset: 0x0, size: 32, 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) These bits contain the value of the watchdog counter. It is decremented every (4096 x 2WDGTB[1:0]) PCLK cycles. A reset is produced when it is decremented from 0x40 to 0x3F (T6 becomes cleared)..

Allowed values: 0x0-0x7f

WDGA

Bit 7: Activation bit This bit is set by software and only cleared by hardware after a reset. When WDGA=1, the watchdog can generate a reset..

Allowed values:
0: Disabled: Watchdog disabled
1: Enabled: Watchdog enabled

CFR

Configuration register

Offset: 0x4, size: 32, 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 These bits contain the window value to be compared to the downcounter..

Allowed values: 0x0-0x7f

EWI

Bit 9: Early wakeup interrupt When set, an interrupt occurs whenever the counter reaches the value 0x40. This interrupt is only cleared by hardware after a reset..

Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40

WDGTB

Bits 11-13: Timer base The time base of the prescaler can be modified as follows:.

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

Status register

Offset: 0x8, size: 32, reset: 0x00000000, access: read-write

1/1 fields covered.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EWIF
rw
Toggle fields

EWIF

Bit 0: Early wakeup interrupt flag This bit is set by hardware when the counter has reached the value 0x40. It must be cleared by software by writing 0. A write of 1 has no effect. This bit is also set if the interrupt is not enabled..

Allowed values:
0: Finished: The EWI Interrupt Service Routine has been serviced
1: Pending: The EWI Interrupt Service Routine has been triggered