0x50000000: Analog-to-Digital Converter
186/197 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IER | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CFGR2 | ||||||||||||||||||||||||||||||||
0x14 | SMPR1 | ||||||||||||||||||||||||||||||||
0x18 | SMPR2 | ||||||||||||||||||||||||||||||||
0x20 | TR1 | ||||||||||||||||||||||||||||||||
0x24 | TR2 | ||||||||||||||||||||||||||||||||
0x28 | TR3 | ||||||||||||||||||||||||||||||||
0x30 | SQR1 | ||||||||||||||||||||||||||||||||
0x34 | SQR2 | ||||||||||||||||||||||||||||||||
0x38 | SQR3 | ||||||||||||||||||||||||||||||||
0x3c | SQR4 | ||||||||||||||||||||||||||||||||
0x40 | DR | ||||||||||||||||||||||||||||||||
0x4c | JSQR | ||||||||||||||||||||||||||||||||
0x60 | OFR[1] | ||||||||||||||||||||||||||||||||
0x64 | OFR[2] | ||||||||||||||||||||||||||||||||
0x68 | OFR[3] | ||||||||||||||||||||||||||||||||
0x6c | OFR[4] | ||||||||||||||||||||||||||||||||
0x80 | JDR[1] | ||||||||||||||||||||||||||||||||
0x84 | JDR[2] | ||||||||||||||||||||||||||||||||
0x88 | JDR[3] | ||||||||||||||||||||||||||||||||
0x8c | JDR[4] | ||||||||||||||||||||||||||||||||
0xa0 | AWD2CR | ||||||||||||||||||||||||||||||||
0xa4 | AWD3CR | ||||||||||||||||||||||||||||||||
0xb0 | DIFSEL | ||||||||||||||||||||||||||||||||
0xb4 | CALFACT | ||||||||||||||||||||||||||||||||
0xc0 | GCOMP |
interrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF
rw |
AWD[3]
rw |
AWD[2]
rw |
AWD[1]
rw |
JEOS
rw |
JEOC
rw |
OVR
rw |
EOS
rw |
EOC
rw |
EOSMP
rw |
ADRDY
rw |
Bit 0: ADC ready.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: End of regular sequence flag.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: Injected channel end of conversion flag.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: Injected channel end of sequence flag.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: Analog watchdog 1 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: Analog watchdog 2 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: Analog watchdog 3 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: Injected context queue overflow.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVFIE
rw |
AWD[3]IE
rw |
AWD[2]IE
rw |
AWD[1]IE
rw |
JEOSIE
rw |
JEOCIE
rw |
OVRIE
rw |
EOSIE
rw |
EOCIE
rw |
EOSMPIE
rw |
ADRDYIE
rw |
Bit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable for regular conversions.
Allowed values:
0: Disabled: End of regular conversion sampling phase interrupt disabled
1: Enabled: End of regular conversion sampling phase interrupt enabled
Bit 2: End of regular conversion interrupt enable.
Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled
Bit 3: End of regular sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 5: End of injected conversion interrupt enable.
Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled
Bit 6: End of injected sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled
Bit 7: Analog watchdog 1 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 8: Analog watchdog 2 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 9: Analog watchdog 3 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 10: Injected context queue overflow interrupt enable.
Allowed values:
0: Disabled: Injected context queue overflow interrupt disabled
1: Enabled: Injected context queue overflow interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x20000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADCAL
rw |
ADCALDIF
rw |
DEEPPWD
rw |
ADVREGEN
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JADSTP
rw |
ADSTP
rw |
JADSTART
rw |
ADSTART
rw |
ADDIS
rw |
ADEN
rw |
Bit 0: ADC enable control.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start of regular conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 3: ADC start of injected conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop of regular conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 5: ADC stop of injected conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 28: ADC voltage regulator enable.
Allowed values:
0: Disabled: ADC voltage regulator disabled
1: Enabled: ADC voltage regulator enabled
Bit 29: Deep-power-down enable.
Allowed values:
0: Disabled: ADC not in Deep-power down
1: Enabled: ADC in Deep-power-down (default reset state)
Bit 30: Differential mode for calibration.
Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode
Bit 31: ADC calibration.
Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
18/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQDIS
rw |
AWD1CH
rw |
JAUTO
rw |
JAWD1EN
rw |
AWD1EN
rw |
AWD1SGL
rw |
JQM
rw |
JDISCEN
rw |
DISCNUM
rw |
DISCEN
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALIGN
rw |
AUTDLY
rw |
CONT
rw |
OVRMOD
rw |
EXTEN
rw |
EXTSEL
rw |
RES
rw |
DMACFG
rw |
DMAEN
rw |
Bit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 1: Direct memory access configuration.
Allowed values:
0: OneShot: DMA One Shot Mode selected
1: Circular: DMA circular mode selected
Bits 3-4: Data resolution.
Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit
Bits 5-9: External trigger selection for regular group.
Allowed values:
0: TIM1_CC1: Timer 1 CC1 event
1: TIM1_CC2: Timer 1 CC2 event
2: TIM1_CC3: Timer 1 CC3 event
3: TIM2_CC2: Timer 2 CC2 event
4: TIM3_TRGO: Timer 3 TRGO event
6: EXTI11: EXTI line 11
7: HRTIM_ADCTRG1: HRTIM_ADCTRG1 event
8: HRTIM_ADCTRG3: HRTIM_ADCTRG3 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
Bits 10-11: External trigger enable and polarity selection for regular channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun mode.
Allowed values:
0: Preserve: Preserve DR register when an overrun is detected
1: Overwrite: Overwrite DR register when an overrun is detected
Bit 13: Single / continuous conversion mode for regular conversions.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Delayed conversion mode.
Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on
Bit 15: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bit 16: Discontinuous mode for regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bits 17-19: Discontinuous mode channel count.
Allowed values: 0x0-0x7
Bit 20: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bit 21: JSQR queue mode.
Allowed values:
0: Mode0: JSQR Mode 0: Queue maintains the last written configuration into JSQR
1: Mode1: JSQR Mode 1: An empty queue disables software and hardware triggers of the injected sequence
Bit 22: Enable the watchdog 1 on a single channel or on all channels.
Allowed values:
0: All: Analog watchdog 1 enabled on all channels
1: Single: Analog watchdog 1 enabled on single channel selected in AWD1CH
Bit 23: Analog watchdog 1 enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels
Bit 24: Analog watchdog 1 enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels
Bit 25: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bits 26-30: Analog watchdog 1 channel selection.
Bit 31: Injected Queue disable.
Allowed values:
0: Enabled: Injected Queue enabled
1: Disabled: Injected Queue disabled
configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPTRIG
rw |
BULB
rw |
SWTRIG
rw |
GCOMP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ROVSM
rw |
TROVS
rw |
OVSS
rw |
OVSR
rw |
JOVSE
rw |
ROVSE
rw |
Bit 0: Regular Oversampling Enable.
Allowed values:
0: Disabled: Regular oversampling disabled
1: Enabled: Regular oversampling enabled
Bit 1: Injected Oversampling Enable.
Allowed values:
0: Disabled: Injected oversampling disabled
1: Enabled: Injected oversampling enabled
Bits 2-4: Oversampling ratio.
Allowed values:
0: OS2: Oversampling ratio of 2
1: OS4: Oversampling ratio of 4
2: OS8: Oversampling ratio of 8
3: OS16: Oversampling ratio of 16
4: OS32: Oversampling ratio of 32
5: OS64: Oversampling ratio of 64
6: OS128: Oversampling ratio of 128
7: OS256: Oversampling ratio of 256
Bits 5-8: Oversampling shift.
Allowed values:
0: NoShift: No right shift applied to oversampling result
1: Shift1: Shift oversampling result right by 1 bit
2: Shift2: Shift oversampling result right by 2 bits
3: Shift3: Shift oversampling result right by 3 bits
4: Shift4: Shift oversampling result right by 4 bits
5: Shift5: Shift oversampling result right by 5 bits
6: Shift6: Shift oversampling result right by 6 bits
7: Shift7: Shift oversampling result right by 7 bits
8: Shift8: Shift oversampling result right by 8 bits
Bit 9: Triggered Regular Oversampling.
Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger
Bit 10: Regular Oversampling mode.
Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence
Bit 16: Gain compensation mode.
Allowed values:
0: Disabled: Regular ADC operating mode
1: Enabled: Gain compensation enabled and applies to all channels
Bit 25: Software trigger bit for sampling time control trigger mode.
Allowed values:
0: Disabled: End sampling period and start conversion
1: Enabled: Start sampling period
Bit 26: Bulb sampling mode.
Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. Immediately start sampling after last conversion finishes.
Bit 27: Sampling time control trigger mode.
Allowed values:
0: Disabled: Sampling time control trigger mode disabled
1: Enabled: Sampling time control trigger mode enabled
sample time register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPPLUS
rw |
SMP[9]
rw |
SMP[8]
rw |
SMP[7]
rw |
SMP[6]
rw |
SMP[5]
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP[5]
rw |
SMP[4]
rw |
SMP[3]
rw |
SMP[2]
rw |
SMP[1]
rw |
SMP[0]
rw |
Bits 0-2: Channel 0 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bit 31: Addition of one clock cycle to the sampling time.
Allowed values:
0: KeepCycles: The sampling time remains set to 2.5 ADC clock cycles remains
1: Add1Cycle: 2.5 ADC clock cycle sampling time becomes 3.5 ADC clock cycles for the ADC_SMPR1 and ADC_SMPR2 registers
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMP[18]
rw |
SMP[17]
rw |
SMP[16]
rw |
SMP[15]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP[15]
rw |
SMP[14]
rw |
SMP[13]
rw |
SMP[12]
rw |
SMP[11]
rw |
SMP[10]
rw |
Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 18 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
watchdog threshold register 1
Offset: 0x20, size: 32, reset: 0x0FFF0000, access: read-write
2/3 fields covered.
watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
regular sequence register 1
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[4]
rw |
SQ[3]
rw |
SQ[2]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[2]
rw |
SQ[1]
rw |
L
rw |
Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
Bits 6-10: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[9]
rw |
SQ[8]
rw |
SQ[7]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[7]
rw |
SQ[6]
rw |
SQ[5]
rw |
Bits 0-4: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 6-10: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[14]
rw |
SQ[13]
rw |
SQ[12]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[12]
rw |
SQ[11]
rw |
SQ[10]
rw |
Bits 0-4: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 6-10: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
regular Data Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
injected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSQ[4]
rw |
JSQ[3]
rw |
JSQ[2]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JSQ[2]
rw |
JSQ[1]
rw |
JEXTEN
rw |
JEXTSEL
rw |
JL
rw |
Bits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
Bits 2-6: External Trigger Selection for injected group.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event
Bits 7-8: External Trigger Enable and Polarity Selection for injected channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bits 9-13: 1 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 15-19: 2 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 21-25: 3 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 27-31: 4 conversion in injected sequence.
Allowed values: 0x0-0x13
offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 3
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 4
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
injected data register 1
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 2
Offset: 0x84, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 3
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 4
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
Analog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD2CH[18]
rw |
AWD2CH[17]
rw |
AWD2CH[16]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD2CH[15]
rw |
AWD2CH[14]
rw |
AWD2CH[13]
rw |
AWD2CH[12]
rw |
AWD2CH[11]
rw |
AWD2CH[10]
rw |
AWD2CH[9]
rw |
AWD2CH[8]
rw |
AWD2CH[7]
rw |
AWD2CH[6]
rw |
AWD2CH[5]
rw |
AWD2CH[4]
rw |
AWD2CH[3]
rw |
AWD2CH[2]
rw |
AWD2CH[1]
rw |
AWD2CH[0]
rw |
Bit 0: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Analog Watchdog 3 Configuration Register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD3CH[18]
rw |
AWD3CH[17]
rw |
AWD3CH[16]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD3CH[15]
rw |
AWD3CH[14]
rw |
AWD3CH[13]
rw |
AWD3CH[12]
rw |
AWD3CH[11]
rw |
AWD3CH[10]
rw |
AWD3CH[9]
rw |
AWD3CH[8]
rw |
AWD3CH[7]
rw |
AWD3CH[6]
rw |
AWD3CH[5]
rw |
AWD3CH[4]
rw |
AWD3CH[3]
rw |
AWD3CH[2]
rw |
AWD3CH[1]
rw |
AWD3CH[0]
rw |
Bit 0: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Differential Mode Selection Register 2
Offset: 0xb0, size: 32, reset: 0x00000000, access: Unspecified
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFSEL[18]
N/A |
DIFSEL[17]
N/A |
DIFSEL[16]
N/A |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIFSEL[15]
N/A |
DIFSEL[14]
N/A |
DIFSEL[13]
N/A |
DIFSEL[12]
N/A |
DIFSEL[11]
N/A |
DIFSEL[10]
N/A |
DIFSEL[9]
N/A |
DIFSEL[8]
N/A |
DIFSEL[7]
N/A |
DIFSEL[6]
N/A |
DIFSEL[5]
N/A |
DIFSEL[4]
N/A |
DIFSEL[3]
N/A |
DIFSEL[2]
N/A |
DIFSEL[1]
N/A |
DIFSEL[0]
N/A |
Bit 0: Differential mode for channel 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 1: Differential mode for channel 1.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 2: Differential mode for channel 2.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 3: Differential mode for channel 3.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 4: Differential mode for channel 4.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 5: Differential mode for channel 5.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 6: Differential mode for channel 6.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 7: Differential mode for channel 7.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 8: Differential mode for channel 8.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 9: Differential mode for channel 9.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 10: Differential mode for channel 10.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 11: Differential mode for channel 11.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 12: Differential mode for channel 12.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 13: Differential mode for channel 13.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 14: Differential mode for channel 14.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 15: Differential mode for channel 15.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 16: Differential mode for channel 16.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 17: Differential mode for channel 17.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 18: Differential mode for channel 18.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Calibration Factors
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Gain compensation Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GCOMPCOEFF
rw |
0x50000300: Analog-to-Digital Converter
30/33 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x8 | CCR | ||||||||||||||||||||||||||||||||
0xc | CDR |
ADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF_SLV
r |
AWD3_SLV
r |
AWD2_SLV
r |
AWD1_SLV
r |
JEOS_SLV
r |
JEOC_SLV
r |
OVR_SLV
r |
EOS_SLV
r |
EOC_SLV
r |
EOSMP_SLV
r |
ADRDY_SLV
r |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JQOVF_MST
r |
AWD3_MST
r |
AWD2_MST
r |
AWD1_MST
r |
JEOS_MST
r |
JEOC_MST
r |
OVR_MST
r |
EOS_MST
r |
EOC_MST
r |
EOSMP_MST
r |
ADDRDY_MST
r |
Bit 0: ADDRDY_MST.
Bit 1: EOSMP_MST.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: EOC_MST.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: EOS_MST.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: OVR_MST.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: JEOC_MST.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: JEOS_MST.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: AWD1_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: AWD2_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: AWD3_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: JQOVF_MST.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
Bit 16: ADRDY_SLV.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 17: EOSMP_SLV.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 18: End of regular conversion of the slave ADC.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 19: End of regular sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 20: Overrun flag of the slave ADC.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 21: End of injected conversion flag of the slave ADC.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 22: End of injected sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 23: Analog watchdog 1 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 24: Analog watchdog 2 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 25: Analog watchdog 3 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 26: Injected Context Queue Overflow flag of the slave ADC.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
ADC common control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VBATSEL
rw |
VSENSESEL
rw |
VREFEN
rw |
PRESC
rw |
CKMODE
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MDMA
rw |
DMACFG
rw |
DELAY
rw |
DUAL
rw |
Bits 0-4: Dual ADC mode selection.
Allowed values:
0: Independent: Independent mode
1: DualRJ: Dual, combined regular simultaneous + injected simultaneous mode
2: DualRA: Dual, combined regular simultaneous + alternate trigger mode
3: DualIJ: Dual, combined interleaved mode + injected simultaneous mode
5: DualJ: Dual, injected simultaneous mode only
6: DualR: Dual, regular simultaneous mode only
7: DualI: Dual, interleaved mode only
9: DualA: Dual, alternate trigger mode only
Bits 8-11: Delay between 2 sampling phases.
Allowed values: 0x0-0xf
Bit 13: DMA configuration (for multi-ADC mode).
Bits 14-15: Direct memory access mode for multi ADC mode.
Bits 16-17: ADC clock mode.
Allowed values:
0: Asynchronous: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
1: SyncDiv1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
2: SyncDiv2: Use AHB clock rcc_hclk3 divided by 2
3: SyncDiv4: Use AHB clock rcc_hclk3 divided by 4
Bits 18-21: ADC prescaler.
Bit 22: VREFINT enable.
Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled
Bit 23: VTS selection.
Allowed values:
0: Disabled: Temperature sensor channel disabled
1: Enabled: Temperature sensor channel enabled
Bit 24: VBAT selection.
Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled
0x50000100: Analog-to-Digital Converter
186/197 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IER | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CFGR2 | ||||||||||||||||||||||||||||||||
0x14 | SMPR1 | ||||||||||||||||||||||||||||||||
0x18 | SMPR2 | ||||||||||||||||||||||||||||||||
0x20 | TR1 | ||||||||||||||||||||||||||||||||
0x24 | TR2 | ||||||||||||||||||||||||||||||||
0x28 | TR3 | ||||||||||||||||||||||||||||||||
0x30 | SQR1 | ||||||||||||||||||||||||||||||||
0x34 | SQR2 | ||||||||||||||||||||||||||||||||
0x38 | SQR3 | ||||||||||||||||||||||||||||||||
0x3c | SQR4 | ||||||||||||||||||||||||||||||||
0x40 | DR | ||||||||||||||||||||||||||||||||
0x4c | JSQR | ||||||||||||||||||||||||||||||||
0x60 | OFR[1] | ||||||||||||||||||||||||||||||||
0x64 | OFR[2] | ||||||||||||||||||||||||||||||||
0x68 | OFR[3] | ||||||||||||||||||||||||||||||||
0x6c | OFR[4] | ||||||||||||||||||||||||||||||||
0x80 | JDR[1] | ||||||||||||||||||||||||||||||||
0x84 | JDR[2] | ||||||||||||||||||||||||||||||||
0x88 | JDR[3] | ||||||||||||||||||||||||||||||||
0x8c | JDR[4] | ||||||||||||||||||||||||||||||||
0xa0 | AWD2CR | ||||||||||||||||||||||||||||||||
0xa4 | AWD3CR | ||||||||||||||||||||||||||||||||
0xb0 | DIFSEL | ||||||||||||||||||||||||||||||||
0xb4 | CALFACT | ||||||||||||||||||||||||||||||||
0xc0 | GCOMP |
interrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF
rw |
AWD[3]
rw |
AWD[2]
rw |
AWD[1]
rw |
JEOS
rw |
JEOC
rw |
OVR
rw |
EOS
rw |
EOC
rw |
EOSMP
rw |
ADRDY
rw |
Bit 0: ADC ready.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: End of regular sequence flag.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: Injected channel end of conversion flag.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: Injected channel end of sequence flag.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: Analog watchdog 1 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: Analog watchdog 2 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: Analog watchdog 3 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: Injected context queue overflow.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVFIE
rw |
AWD[3]IE
rw |
AWD[2]IE
rw |
AWD[1]IE
rw |
JEOSIE
rw |
JEOCIE
rw |
OVRIE
rw |
EOSIE
rw |
EOCIE
rw |
EOSMPIE
rw |
ADRDYIE
rw |
Bit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable for regular conversions.
Allowed values:
0: Disabled: End of regular conversion sampling phase interrupt disabled
1: Enabled: End of regular conversion sampling phase interrupt enabled
Bit 2: End of regular conversion interrupt enable.
Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled
Bit 3: End of regular sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 5: End of injected conversion interrupt enable.
Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled
Bit 6: End of injected sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled
Bit 7: Analog watchdog 1 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 8: Analog watchdog 2 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 9: Analog watchdog 3 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 10: Injected context queue overflow interrupt enable.
Allowed values:
0: Disabled: Injected context queue overflow interrupt disabled
1: Enabled: Injected context queue overflow interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x20000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADCAL
rw |
ADCALDIF
rw |
DEEPPWD
rw |
ADVREGEN
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JADSTP
rw |
ADSTP
rw |
JADSTART
rw |
ADSTART
rw |
ADDIS
rw |
ADEN
rw |
Bit 0: ADC enable control.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start of regular conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 3: ADC start of injected conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop of regular conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 5: ADC stop of injected conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 28: ADC voltage regulator enable.
Allowed values:
0: Disabled: ADC voltage regulator disabled
1: Enabled: ADC voltage regulator enabled
Bit 29: Deep-power-down enable.
Allowed values:
0: Disabled: ADC not in Deep-power down
1: Enabled: ADC in Deep-power-down (default reset state)
Bit 30: Differential mode for calibration.
Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode
Bit 31: ADC calibration.
Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
18/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQDIS
rw |
AWD1CH
rw |
JAUTO
rw |
JAWD1EN
rw |
AWD1EN
rw |
AWD1SGL
rw |
JQM
rw |
JDISCEN
rw |
DISCNUM
rw |
DISCEN
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALIGN
rw |
AUTDLY
rw |
CONT
rw |
OVRMOD
rw |
EXTEN
rw |
EXTSEL
rw |
RES
rw |
DMACFG
rw |
DMAEN
rw |
Bit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 1: Direct memory access configuration.
Allowed values:
0: OneShot: DMA One Shot Mode selected
1: Circular: DMA circular mode selected
Bits 3-4: Data resolution.
Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit
Bits 5-9: External trigger selection for regular group.
Allowed values:
0: TIM1_CC1: Timer 1 CC1 event
1: TIM1_CC2: Timer 1 CC2 event
2: TIM1_CC3: Timer 1 CC3 event
3: TIM2_CC2: Timer 2 CC2 event
4: TIM3_TRGO: Timer 3 TRGO event
6: EXTI11: EXTI line 11
7: HRTIM_ADCTRG1: HRTIM_ADCTRG1 event
8: HRTIM_ADCTRG3: HRTIM_ADCTRG3 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
Bits 10-11: External trigger enable and polarity selection for regular channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun mode.
Allowed values:
0: Preserve: Preserve DR register when an overrun is detected
1: Overwrite: Overwrite DR register when an overrun is detected
Bit 13: Single / continuous conversion mode for regular conversions.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Delayed conversion mode.
Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on
Bit 15: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bit 16: Discontinuous mode for regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bits 17-19: Discontinuous mode channel count.
Allowed values: 0x0-0x7
Bit 20: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bit 21: JSQR queue mode.
Allowed values:
0: Mode0: JSQR Mode 0: Queue maintains the last written configuration into JSQR
1: Mode1: JSQR Mode 1: An empty queue disables software and hardware triggers of the injected sequence
Bit 22: Enable the watchdog 1 on a single channel or on all channels.
Allowed values:
0: All: Analog watchdog 1 enabled on all channels
1: Single: Analog watchdog 1 enabled on single channel selected in AWD1CH
Bit 23: Analog watchdog 1 enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels
Bit 24: Analog watchdog 1 enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels
Bit 25: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bits 26-30: Analog watchdog 1 channel selection.
Bit 31: Injected Queue disable.
Allowed values:
0: Enabled: Injected Queue enabled
1: Disabled: Injected Queue disabled
configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPTRIG
rw |
BULB
rw |
SWTRIG
rw |
GCOMP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ROVSM
rw |
TROVS
rw |
OVSS
rw |
OVSR
rw |
JOVSE
rw |
ROVSE
rw |
Bit 0: Regular Oversampling Enable.
Allowed values:
0: Disabled: Regular oversampling disabled
1: Enabled: Regular oversampling enabled
Bit 1: Injected Oversampling Enable.
Allowed values:
0: Disabled: Injected oversampling disabled
1: Enabled: Injected oversampling enabled
Bits 2-4: Oversampling ratio.
Allowed values:
0: OS2: Oversampling ratio of 2
1: OS4: Oversampling ratio of 4
2: OS8: Oversampling ratio of 8
3: OS16: Oversampling ratio of 16
4: OS32: Oversampling ratio of 32
5: OS64: Oversampling ratio of 64
6: OS128: Oversampling ratio of 128
7: OS256: Oversampling ratio of 256
Bits 5-8: Oversampling shift.
Allowed values:
0: NoShift: No right shift applied to oversampling result
1: Shift1: Shift oversampling result right by 1 bit
2: Shift2: Shift oversampling result right by 2 bits
3: Shift3: Shift oversampling result right by 3 bits
4: Shift4: Shift oversampling result right by 4 bits
5: Shift5: Shift oversampling result right by 5 bits
6: Shift6: Shift oversampling result right by 6 bits
7: Shift7: Shift oversampling result right by 7 bits
8: Shift8: Shift oversampling result right by 8 bits
Bit 9: Triggered Regular Oversampling.
Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger
Bit 10: Regular Oversampling mode.
Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence
Bit 16: Gain compensation mode.
Allowed values:
0: Disabled: Regular ADC operating mode
1: Enabled: Gain compensation enabled and applies to all channels
Bit 25: Software trigger bit for sampling time control trigger mode.
Allowed values:
0: Disabled: End sampling period and start conversion
1: Enabled: Start sampling period
Bit 26: Bulb sampling mode.
Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. Immediately start sampling after last conversion finishes.
Bit 27: Sampling time control trigger mode.
Allowed values:
0: Disabled: Sampling time control trigger mode disabled
1: Enabled: Sampling time control trigger mode enabled
sample time register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPPLUS
rw |
SMP[9]
rw |
SMP[8]
rw |
SMP[7]
rw |
SMP[6]
rw |
SMP[5]
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP[5]
rw |
SMP[4]
rw |
SMP[3]
rw |
SMP[2]
rw |
SMP[1]
rw |
SMP[0]
rw |
Bits 0-2: Channel 0 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bit 31: Addition of one clock cycle to the sampling time.
Allowed values:
0: KeepCycles: The sampling time remains set to 2.5 ADC clock cycles remains
1: Add1Cycle: 2.5 ADC clock cycle sampling time becomes 3.5 ADC clock cycles for the ADC_SMPR1 and ADC_SMPR2 registers
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMP[18]
rw |
SMP[17]
rw |
SMP[16]
rw |
SMP[15]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP[15]
rw |
SMP[14]
rw |
SMP[13]
rw |
SMP[12]
rw |
SMP[11]
rw |
SMP[10]
rw |
Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 18 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
watchdog threshold register 1
Offset: 0x20, size: 32, reset: 0x0FFF0000, access: read-write
2/3 fields covered.
watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
regular sequence register 1
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[4]
rw |
SQ[3]
rw |
SQ[2]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[2]
rw |
SQ[1]
rw |
L
rw |
Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
Bits 6-10: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[9]
rw |
SQ[8]
rw |
SQ[7]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[7]
rw |
SQ[6]
rw |
SQ[5]
rw |
Bits 0-4: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 6-10: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[14]
rw |
SQ[13]
rw |
SQ[12]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[12]
rw |
SQ[11]
rw |
SQ[10]
rw |
Bits 0-4: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 6-10: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
regular Data Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
injected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSQ[4]
rw |
JSQ[3]
rw |
JSQ[2]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JSQ[2]
rw |
JSQ[1]
rw |
JEXTEN
rw |
JEXTSEL
rw |
JL
rw |
Bits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
Bits 2-6: External Trigger Selection for injected group.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event
Bits 7-8: External Trigger Enable and Polarity Selection for injected channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bits 9-13: 1 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 15-19: 2 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 21-25: 3 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 27-31: 4 conversion in injected sequence.
Allowed values: 0x0-0x13
offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 3
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 4
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
injected data register 1
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 2
Offset: 0x84, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 3
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 4
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
Analog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD2CH[18]
rw |
AWD2CH[17]
rw |
AWD2CH[16]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD2CH[15]
rw |
AWD2CH[14]
rw |
AWD2CH[13]
rw |
AWD2CH[12]
rw |
AWD2CH[11]
rw |
AWD2CH[10]
rw |
AWD2CH[9]
rw |
AWD2CH[8]
rw |
AWD2CH[7]
rw |
AWD2CH[6]
rw |
AWD2CH[5]
rw |
AWD2CH[4]
rw |
AWD2CH[3]
rw |
AWD2CH[2]
rw |
AWD2CH[1]
rw |
AWD2CH[0]
rw |
Bit 0: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Analog Watchdog 3 Configuration Register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD3CH[18]
rw |
AWD3CH[17]
rw |
AWD3CH[16]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD3CH[15]
rw |
AWD3CH[14]
rw |
AWD3CH[13]
rw |
AWD3CH[12]
rw |
AWD3CH[11]
rw |
AWD3CH[10]
rw |
AWD3CH[9]
rw |
AWD3CH[8]
rw |
AWD3CH[7]
rw |
AWD3CH[6]
rw |
AWD3CH[5]
rw |
AWD3CH[4]
rw |
AWD3CH[3]
rw |
AWD3CH[2]
rw |
AWD3CH[1]
rw |
AWD3CH[0]
rw |
Bit 0: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Differential Mode Selection Register 2
Offset: 0xb0, size: 32, reset: 0x00000000, access: Unspecified
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFSEL[18]
N/A |
DIFSEL[17]
N/A |
DIFSEL[16]
N/A |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIFSEL[15]
N/A |
DIFSEL[14]
N/A |
DIFSEL[13]
N/A |
DIFSEL[12]
N/A |
DIFSEL[11]
N/A |
DIFSEL[10]
N/A |
DIFSEL[9]
N/A |
DIFSEL[8]
N/A |
DIFSEL[7]
N/A |
DIFSEL[6]
N/A |
DIFSEL[5]
N/A |
DIFSEL[4]
N/A |
DIFSEL[3]
N/A |
DIFSEL[2]
N/A |
DIFSEL[1]
N/A |
DIFSEL[0]
N/A |
Bit 0: Differential mode for channel 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 1: Differential mode for channel 1.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 2: Differential mode for channel 2.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 3: Differential mode for channel 3.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 4: Differential mode for channel 4.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 5: Differential mode for channel 5.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 6: Differential mode for channel 6.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 7: Differential mode for channel 7.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 8: Differential mode for channel 8.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 9: Differential mode for channel 9.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 10: Differential mode for channel 10.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 11: Differential mode for channel 11.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 12: Differential mode for channel 12.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 13: Differential mode for channel 13.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 14: Differential mode for channel 14.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 15: Differential mode for channel 15.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 16: Differential mode for channel 16.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 17: Differential mode for channel 17.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 18: Differential mode for channel 18.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Calibration Factors
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Gain compensation Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GCOMPCOEFF
rw |
0x50000400: Analog-to-Digital Converter
186/197 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IER | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CFGR2 | ||||||||||||||||||||||||||||||||
0x14 | SMPR1 | ||||||||||||||||||||||||||||||||
0x18 | SMPR2 | ||||||||||||||||||||||||||||||||
0x20 | TR1 | ||||||||||||||||||||||||||||||||
0x24 | TR2 | ||||||||||||||||||||||||||||||||
0x28 | TR3 | ||||||||||||||||||||||||||||||||
0x30 | SQR1 | ||||||||||||||||||||||||||||||||
0x34 | SQR2 | ||||||||||||||||||||||||||||||||
0x38 | SQR3 | ||||||||||||||||||||||||||||||||
0x3c | SQR4 | ||||||||||||||||||||||||||||||||
0x40 | DR | ||||||||||||||||||||||||||||||||
0x4c | JSQR | ||||||||||||||||||||||||||||||||
0x60 | OFR[1] | ||||||||||||||||||||||||||||||||
0x64 | OFR[2] | ||||||||||||||||||||||||||||||||
0x68 | OFR[3] | ||||||||||||||||||||||||||||||||
0x6c | OFR[4] | ||||||||||||||||||||||||||||||||
0x80 | JDR[1] | ||||||||||||||||||||||||||||||||
0x84 | JDR[2] | ||||||||||||||||||||||||||||||||
0x88 | JDR[3] | ||||||||||||||||||||||||||||||||
0x8c | JDR[4] | ||||||||||||||||||||||||||||||||
0xa0 | AWD2CR | ||||||||||||||||||||||||||||||||
0xa4 | AWD3CR | ||||||||||||||||||||||||||||||||
0xb0 | DIFSEL | ||||||||||||||||||||||||||||||||
0xb4 | CALFACT | ||||||||||||||||||||||||||||||||
0xc0 | GCOMP |
interrupt and status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF
rw |
AWD[3]
rw |
AWD[2]
rw |
AWD[1]
rw |
JEOS
rw |
JEOC
rw |
OVR
rw |
EOS
rw |
EOC
rw |
EOSMP
rw |
ADRDY
rw |
Bit 0: ADC ready.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 1: End of sampling flag.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: End of conversion flag.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: End of regular sequence flag.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: ADC overrun.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: Injected channel end of conversion flag.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: Injected channel end of sequence flag.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: Analog watchdog 1 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: Analog watchdog 2 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: Analog watchdog 3 flag.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: Injected context queue overflow.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
interrupt enable register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVFIE
rw |
AWD[3]IE
rw |
AWD[2]IE
rw |
AWD[1]IE
rw |
JEOSIE
rw |
JEOCIE
rw |
OVRIE
rw |
EOSIE
rw |
EOCIE
rw |
EOSMPIE
rw |
ADRDYIE
rw |
Bit 0: ADC ready interrupt enable.
Allowed values:
0: Disabled: ADC ready interrupt disabled
1: Enabled: ADC ready interrupt enabled
Bit 1: End of sampling flag interrupt enable for regular conversions.
Allowed values:
0: Disabled: End of regular conversion sampling phase interrupt disabled
1: Enabled: End of regular conversion sampling phase interrupt enabled
Bit 2: End of regular conversion interrupt enable.
Allowed values:
0: Disabled: End of regular conversion interrupt disabled
1: Enabled: End of regular conversion interrupt enabled
Bit 3: End of regular sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of regular sequence interrupt disabled
1: Enabled: End of regular sequence interrupt enabled
Bit 4: Overrun interrupt enable.
Allowed values:
0: Disabled: Overrun interrupt disabled
1: Enabled: Overrun interrupt enabled
Bit 5: End of injected conversion interrupt enable.
Allowed values:
0: Disabled: End of injected conversion interrupt disabled
1: Enabled: End of injected conversion interrupt enabled
Bit 6: End of injected sequence of conversions interrupt enable.
Allowed values:
0: Disabled: End of injected sequence interrupt disabled
1: Enabled: End of injected sequence interrupt enabled
Bit 7: Analog watchdog 1 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 8: Analog watchdog 2 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 9: Analog watchdog 3 interrupt enable.
Allowed values:
0: Disabled: Analog watchdog interrupt disabled
1: Enabled: Analog watchdog interrupt enabled
Bit 10: Injected context queue overflow interrupt enable.
Allowed values:
0: Disabled: Injected context queue overflow interrupt disabled
1: Enabled: Injected context queue overflow interrupt enabled
control register
Offset: 0x8, size: 32, reset: 0x20002000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADCAL
rw |
ADCALDIF
rw |
DEEPPWD
rw |
ADVREGEN
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JADSTP
rw |
ADSTP
rw |
JADSTART
rw |
ADSTART
rw |
ADDIS
rw |
ADEN
rw |
Bit 0: ADC enable control.
Allowed values:
0: Disabled: ADC disabled
1: Enabled: ADC enabled
Bit 1: ADC disable command.
Allowed values:
0: NotDisabling: No disable command active
1: Disabling: ADC disabling
Bit 2: ADC start of regular conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 3: ADC start of injected conversion.
Allowed values:
0: NotActive: No conversion ongoing
1: Active: ADC operating and may be converting
Bit 4: ADC stop of regular conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 5: ADC stop of injected conversion command.
Allowed values:
0: NotStopping: No stop command active
1: Stopping: ADC stopping conversion
Bit 28: ADC voltage regulator enable.
Allowed values:
0: Disabled: ADC voltage regulator disabled
1: Enabled: ADC voltage regulator enabled
Bit 29: Deep-power-down enable.
Allowed values:
0: Disabled: ADC not in Deep-power down
1: Enabled: ADC in Deep-power-down (default reset state)
Bit 30: Differential mode for calibration.
Allowed values:
0: SingleEnded: Calibration for single-ended mode
1: Differential: Calibration for differential mode
Bit 31: ADC calibration.
Allowed values:
0: NotCalibrating: ADC calibration either not yet performed or completed
1: Calibrating: ADC calibration in progress
configuration register
Offset: 0xc, size: 32, reset: 0x80000000, access: read-write
18/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQDIS
rw |
AWD1CH
rw |
JAUTO
rw |
JAWD1EN
rw |
AWD1EN
rw |
AWD1SGL
rw |
JQM
rw |
JDISCEN
rw |
DISCNUM
rw |
DISCEN
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALIGN
rw |
AUTDLY
rw |
CONT
rw |
OVRMOD
rw |
EXTEN
rw |
EXTSEL
rw |
RES
rw |
DMACFG
rw |
DMAEN
rw |
Bit 0: Direct memory access enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 1: Direct memory access configuration.
Allowed values:
0: OneShot: DMA One Shot Mode selected
1: Circular: DMA circular mode selected
Bits 3-4: Data resolution.
Allowed values:
0: Bits12: 12-bit
1: Bits10: 10-bit
2: Bits8: 8-bit
3: Bits6: 6-bit
Bits 5-9: External trigger selection for regular group.
Allowed values:
0: TIM1_CC1: Timer 1 CC1 event
1: TIM1_CC2: Timer 1 CC2 event
2: TIM1_CC3: Timer 1 CC3 event
3: TIM2_CC2: Timer 2 CC2 event
4: TIM3_TRGO: Timer 3 TRGO event
6: EXTI11: EXTI line 11
7: HRTIM_ADCTRG1: HRTIM_ADCTRG1 event
8: HRTIM_ADCTRG3: HRTIM_ADCTRG3 event
9: TIM1_TRGO: Timer 1 TRGO event
10: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM2_TRGO: Timer 2 TRGO event
13: TIM6_TRGO: Timer 6 TRGO event
14: TIM15_TRGO: Timer 15 TRGO event
15: TIM3_CC4: Timer 3 CC4 event
Bits 10-11: External trigger enable and polarity selection for regular channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bit 12: Overrun mode.
Allowed values:
0: Preserve: Preserve DR register when an overrun is detected
1: Overwrite: Overwrite DR register when an overrun is detected
Bit 13: Single / continuous conversion mode for regular conversions.
Allowed values:
0: Single: Single conversion mode
1: Continuous: Continuous conversion mode
Bit 14: Delayed conversion mode.
Allowed values:
0: Off: Auto delayed conversion mode off
1: On: Auto delayed conversion mode on
Bit 15: Data alignment.
Allowed values:
0: Right: Right alignment
1: Left: Left alignment
Bit 16: Discontinuous mode for regular channels.
Allowed values:
0: Disabled: Discontinuous mode on regular channels disabled
1: Enabled: Discontinuous mode on regular channels enabled
Bits 17-19: Discontinuous mode channel count.
Allowed values: 0x0-0x7
Bit 20: Discontinuous mode on injected channels.
Allowed values:
0: Disabled: Discontinuous mode on injected channels disabled
1: Enabled: Discontinuous mode on injected channels enabled
Bit 21: JSQR queue mode.
Allowed values:
0: Mode0: JSQR Mode 0: Queue maintains the last written configuration into JSQR
1: Mode1: JSQR Mode 1: An empty queue disables software and hardware triggers of the injected sequence
Bit 22: Enable the watchdog 1 on a single channel or on all channels.
Allowed values:
0: All: Analog watchdog 1 enabled on all channels
1: Single: Analog watchdog 1 enabled on single channel selected in AWD1CH
Bit 23: Analog watchdog 1 enable on regular channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on regular channels
1: Enabled: Analog watchdog 1 enabled on regular channels
Bit 24: Analog watchdog 1 enable on injected channels.
Allowed values:
0: Disabled: Analog watchdog 1 disabled on injected channels
1: Enabled: Analog watchdog 1 enabled on injected channels
Bit 25: Automatic injected group conversion.
Allowed values:
0: Disabled: Automatic injected group conversion disabled
1: Enabled: Automatic injected group conversion enabled
Bits 26-30: Analog watchdog 1 channel selection.
Bit 31: Injected Queue disable.
Allowed values:
0: Enabled: Injected Queue enabled
1: Disabled: Injected Queue disabled
configuration register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPTRIG
rw |
BULB
rw |
SWTRIG
rw |
GCOMP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ROVSM
rw |
TROVS
rw |
OVSS
rw |
OVSR
rw |
JOVSE
rw |
ROVSE
rw |
Bit 0: Regular Oversampling Enable.
Allowed values:
0: Disabled: Regular oversampling disabled
1: Enabled: Regular oversampling enabled
Bit 1: Injected Oversampling Enable.
Allowed values:
0: Disabled: Injected oversampling disabled
1: Enabled: Injected oversampling enabled
Bits 2-4: Oversampling ratio.
Allowed values:
0: OS2: Oversampling ratio of 2
1: OS4: Oversampling ratio of 4
2: OS8: Oversampling ratio of 8
3: OS16: Oversampling ratio of 16
4: OS32: Oversampling ratio of 32
5: OS64: Oversampling ratio of 64
6: OS128: Oversampling ratio of 128
7: OS256: Oversampling ratio of 256
Bits 5-8: Oversampling shift.
Allowed values:
0: NoShift: No right shift applied to oversampling result
1: Shift1: Shift oversampling result right by 1 bit
2: Shift2: Shift oversampling result right by 2 bits
3: Shift3: Shift oversampling result right by 3 bits
4: Shift4: Shift oversampling result right by 4 bits
5: Shift5: Shift oversampling result right by 5 bits
6: Shift6: Shift oversampling result right by 6 bits
7: Shift7: Shift oversampling result right by 7 bits
8: Shift8: Shift oversampling result right by 8 bits
Bit 9: Triggered Regular Oversampling.
Allowed values:
0: Automatic: All oversampled conversions for a channel are run following a trigger
1: Triggered: Each oversampled conversion for a channel needs a new trigger
Bit 10: Regular Oversampling mode.
Allowed values:
0: Continued: Oversampling is temporary stopped and continued after injection sequence
1: Resumed: Oversampling is aborted and resumed from start after injection sequence
Bit 16: Gain compensation mode.
Allowed values:
0: Disabled: Regular ADC operating mode
1: Enabled: Gain compensation enabled and applies to all channels
Bit 25: Software trigger bit for sampling time control trigger mode.
Allowed values:
0: Disabled: End sampling period and start conversion
1: Enabled: Start sampling period
Bit 26: Bulb sampling mode.
Allowed values:
0: Disabled: Bulb sampling mode disabled
1: Enabled: Bulb sampling mode enabled. Immediately start sampling after last conversion finishes.
Bit 27: Sampling time control trigger mode.
Allowed values:
0: Disabled: Sampling time control trigger mode disabled
1: Enabled: Sampling time control trigger mode enabled
sample time register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMPPLUS
rw |
SMP[9]
rw |
SMP[8]
rw |
SMP[7]
rw |
SMP[6]
rw |
SMP[5]
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP[5]
rw |
SMP[4]
rw |
SMP[3]
rw |
SMP[2]
rw |
SMP[1]
rw |
SMP[0]
rw |
Bits 0-2: Channel 0 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 1 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 2 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 3 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 4 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 5 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 6 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 7 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 8 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 27-29: Channel 9 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bit 31: Addition of one clock cycle to the sampling time.
Allowed values:
0: KeepCycles: The sampling time remains set to 2.5 ADC clock cycles remains
1: Add1Cycle: 2.5 ADC clock cycle sampling time becomes 3.5 ADC clock cycles for the ADC_SMPR1 and ADC_SMPR2 registers
sample time register 2
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMP[18]
rw |
SMP[17]
rw |
SMP[16]
rw |
SMP[15]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SMP[15]
rw |
SMP[14]
rw |
SMP[13]
rw |
SMP[12]
rw |
SMP[11]
rw |
SMP[10]
rw |
Bits 0-2: Channel 10 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 3-5: Channel 11 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 6-8: Channel 12 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 9-11: Channel 13 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 12-14: Channel 14 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 15-17: Channel 15 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 18-20: Channel 16 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 21-23: Channel 17 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
Bits 24-26: Channel 18 sample time selection.
Allowed values:
0: Cycles2_5: 2.5 ADC clock cycles
1: Cycles6_5: 6.5 ADC clock cycles
2: Cycles12_5: 12.5 ADC clock cycles
3: Cycles24_5: 24.5 ADC clock cycles
4: Cycles47_5: 47.5 ADC clock cycles
5: Cycles92_5: 92.5 ADC clock cycles
6: Cycles247_5: 247.5 ADC clock cycles
7: Cycles640_5: 640.5 ADC clock cycles
watchdog threshold register 1
Offset: 0x20, size: 32, reset: 0x0FFF0000, access: read-write
2/3 fields covered.
watchdog threshold register
Offset: 0x24, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
watchdog threshold register 3
Offset: 0x28, size: 32, reset: 0x00FF0000, access: read-write
2/2 fields covered.
regular sequence register 1
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[4]
rw |
SQ[3]
rw |
SQ[2]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[2]
rw |
SQ[1]
rw |
L
rw |
Bits 0-3: Regular channel sequence length.
Allowed values: 0x0-0xf
Bits 6-10: 1 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 2 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 3 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 4 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[9]
rw |
SQ[8]
rw |
SQ[7]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[7]
rw |
SQ[6]
rw |
SQ[5]
rw |
Bits 0-4: 5 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 6-10: 6 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 7 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 8 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 9 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 3
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQ[14]
rw |
SQ[13]
rw |
SQ[12]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SQ[12]
rw |
SQ[11]
rw |
SQ[10]
rw |
Bits 0-4: 10 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 6-10: 11 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 12-16: 12 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 18-22: 13 conversion in regular sequence.
Allowed values: 0x0-0x12
Bits 24-28: 14 conversion in regular sequence.
Allowed values: 0x0-0x12
regular sequence register 4
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
regular Data Register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
injected sequence register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSQ[4]
rw |
JSQ[3]
rw |
JSQ[2]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JSQ[2]
rw |
JSQ[1]
rw |
JEXTEN
rw |
JEXTSEL
rw |
JL
rw |
Bits 0-1: Injected channel sequence length.
Allowed values: 0x0-0x3
Bits 2-6: External Trigger Selection for injected group.
Allowed values:
0: TIM1_TRGO: Timer 1 TRGO event
1: TIM1_CC4: Timer 1 CC4 event
2: TIM2_TRGO: Timer 2 TRGO event
3: TIM2_CC1: Timer 2 CC1 event
4: TIM3_CC4: Timer 3 CC4 event
6: EXTI15: EXTI line 15
8: TIM1_TRGO2: Timer 1 TRGO2 event
11: TIM3_CC3: Timer 3 CC3 event
12: TIM3_TRGO: Timer 3 TRGO event
13: TIM3_CC1: Timer 3 CC1 event
14: TIM6_TRGO: Timer 6 TRGO event
15: TIM15_TRGO: Timer 15 TRGO event
Bits 7-8: External Trigger Enable and Polarity Selection for injected channels.
Allowed values:
0: Disabled: Trigger detection disabled
1: RisingEdge: Trigger detection on the rising edge
2: FallingEdge: Trigger detection on the falling edge
3: BothEdges: Trigger detection on both the rising and falling edges
Bits 9-13: 1 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 15-19: 2 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 21-25: 3 conversion in injected sequence.
Allowed values: 0x0-0x13
Bits 27-31: 4 conversion in injected sequence.
Allowed values: 0x0-0x13
offset register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 3
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
offset register 4
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
3/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OFFSET_EN
rw |
OFFSET_CH
rw |
SATEN
rw |
OFFSETPOS
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET
rw |
Bits 0-11: Data offset X for the channel programmed into bits OFFSET_CH.
Allowed values: 0x0-0xfff
Bit 24: Positive offset.
Bit 25: Saturation enable.
Bits 26-30: Channel selection for the data offset X.
Allowed values: 0x0-0x1f
Bit 31: Offset X Enable.
Allowed values:
0: Disabled: Offset disabled
1: Enabled: Offset enabled
injected data register 1
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 2
Offset: 0x84, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 3
Offset: 0x88, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
injected data register 4
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JDATA
r |
Analog Watchdog 2 Configuration Register
Offset: 0xa0, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD2CH[18]
rw |
AWD2CH[17]
rw |
AWD2CH[16]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD2CH[15]
rw |
AWD2CH[14]
rw |
AWD2CH[13]
rw |
AWD2CH[12]
rw |
AWD2CH[11]
rw |
AWD2CH[10]
rw |
AWD2CH[9]
rw |
AWD2CH[8]
rw |
AWD2CH[7]
rw |
AWD2CH[6]
rw |
AWD2CH[5]
rw |
AWD2CH[4]
rw |
AWD2CH[3]
rw |
AWD2CH[2]
rw |
AWD2CH[1]
rw |
AWD2CH[0]
rw |
Bit 0: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 2 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Analog Watchdog 3 Configuration Register
Offset: 0xa4, size: 32, reset: 0x00000000, access: read-write
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AWD3CH[18]
rw |
AWD3CH[17]
rw |
AWD3CH[16]
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AWD3CH[15]
rw |
AWD3CH[14]
rw |
AWD3CH[13]
rw |
AWD3CH[12]
rw |
AWD3CH[11]
rw |
AWD3CH[10]
rw |
AWD3CH[9]
rw |
AWD3CH[8]
rw |
AWD3CH[7]
rw |
AWD3CH[6]
rw |
AWD3CH[5]
rw |
AWD3CH[4]
rw |
AWD3CH[3]
rw |
AWD3CH[2]
rw |
AWD3CH[1]
rw |
AWD3CH[0]
rw |
Bit 0: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 1: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 2: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 3: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 4: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 5: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 6: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 7: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 8: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 9: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 10: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 11: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 12: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 13: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 14: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 15: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 16: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 17: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Bit 18: Analog watchdog 3 channel selection.
Allowed values:
0: NotMonitored: Input channel not monitored by AWDx
1: Monitored: Input channel monitored by AWDx
Differential Mode Selection Register 2
Offset: 0xb0, size: 32, reset: 0x00000000, access: Unspecified
19/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIFSEL[18]
N/A |
DIFSEL[17]
N/A |
DIFSEL[16]
N/A |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIFSEL[15]
N/A |
DIFSEL[14]
N/A |
DIFSEL[13]
N/A |
DIFSEL[12]
N/A |
DIFSEL[11]
N/A |
DIFSEL[10]
N/A |
DIFSEL[9]
N/A |
DIFSEL[8]
N/A |
DIFSEL[7]
N/A |
DIFSEL[6]
N/A |
DIFSEL[5]
N/A |
DIFSEL[4]
N/A |
DIFSEL[3]
N/A |
DIFSEL[2]
N/A |
DIFSEL[1]
N/A |
DIFSEL[0]
N/A |
Bit 0: Differential mode for channel 0.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 1: Differential mode for channel 1.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 2: Differential mode for channel 2.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 3: Differential mode for channel 3.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 4: Differential mode for channel 4.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 5: Differential mode for channel 5.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 6: Differential mode for channel 6.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 7: Differential mode for channel 7.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 8: Differential mode for channel 8.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 9: Differential mode for channel 9.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 10: Differential mode for channel 10.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 11: Differential mode for channel 11.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 12: Differential mode for channel 12.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 13: Differential mode for channel 13.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 14: Differential mode for channel 14.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 15: Differential mode for channel 15.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 16: Differential mode for channel 16.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 17: Differential mode for channel 17.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Bit 18: Differential mode for channel 18.
Allowed values:
0: SingleEnded: Input channel is configured in single-ended mode
1: Differential: Input channel is configured in differential mode
Calibration Factors
Offset: 0xb4, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Gain compensation Register
Offset: 0xc0, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GCOMPCOEFF
rw |
0x50000700: Analog-to-Digital Converter
30/33 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x8 | CCR | ||||||||||||||||||||||||||||||||
0xc | CDR |
ADC Common status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JQOVF_SLV
r |
AWD3_SLV
r |
AWD2_SLV
r |
AWD1_SLV
r |
JEOS_SLV
r |
JEOC_SLV
r |
OVR_SLV
r |
EOS_SLV
r |
EOC_SLV
r |
EOSMP_SLV
r |
ADRDY_SLV
r |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
JQOVF_MST
r |
AWD3_MST
r |
AWD2_MST
r |
AWD1_MST
r |
JEOS_MST
r |
JEOC_MST
r |
OVR_MST
r |
EOS_MST
r |
EOC_MST
r |
EOSMP_MST
r |
ADDRDY_MST
r |
Bit 0: ADDRDY_MST.
Bit 1: EOSMP_MST.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 2: EOC_MST.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 3: EOS_MST.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 4: OVR_MST.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 5: JEOC_MST.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 6: JEOS_MST.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 7: AWD1_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 8: AWD2_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 9: AWD3_MST.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 10: JQOVF_MST.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
Bit 16: ADRDY_SLV.
Allowed values:
0: NotReady: ADC is not ready to start conversion
1: Ready: ADC is ready to start conversion
Bit 17: EOSMP_SLV.
Allowed values:
0: NotEnded: End of sampling phase no yet reached
1: Ended: End of sampling phase reached
Bit 18: End of regular conversion of the slave ADC.
Allowed values:
0: NotComplete: Regular conversion is not complete
1: Complete: Regular conversion complete
Bit 19: End of regular sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Regular sequence is not complete
1: Complete: Regular sequence complete
Bit 20: Overrun flag of the slave ADC.
Allowed values:
0: NoOverrun: No overrun occurred
1: Overrun: Overrun occurred
Bit 21: End of injected conversion flag of the slave ADC.
Allowed values:
0: NotComplete: Injected conversion is not complete
1: Complete: Injected conversion complete
Bit 22: End of injected sequence flag of the slave ADC.
Allowed values:
0: NotComplete: Injected sequence is not complete
1: Complete: Injected sequence complete
Bit 23: Analog watchdog 1 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 24: Analog watchdog 2 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 25: Analog watchdog 3 flag of the slave ADC.
Allowed values:
0: NoEvent: No analog watchdog event occurred
1: Event: Analog watchdog event occurred
Bit 26: Injected Context Queue Overflow flag of the slave ADC.
Allowed values:
0: NoOverflow: No injected context queue overflow has occurred
1: Overflow: Injected context queue overflow has occurred
ADC common control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VBATSEL
rw |
VSENSESEL
rw |
VREFEN
rw |
PRESC
rw |
CKMODE
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MDMA
rw |
DMACFG
rw |
DELAY
rw |
DUAL
rw |
Bits 0-4: Dual ADC mode selection.
Allowed values:
0: Independent: Independent mode
1: DualRJ: Dual, combined regular simultaneous + injected simultaneous mode
2: DualRA: Dual, combined regular simultaneous + alternate trigger mode
3: DualIJ: Dual, combined interleaved mode + injected simultaneous mode
5: DualJ: Dual, injected simultaneous mode only
6: DualR: Dual, regular simultaneous mode only
7: DualI: Dual, interleaved mode only
9: DualA: Dual, alternate trigger mode only
Bits 8-11: Delay between 2 sampling phases.
Allowed values: 0x0-0xf
Bit 13: DMA configuration (for multi-ADC mode).
Bits 14-15: Direct memory access mode for multi ADC mode.
Bits 16-17: ADC clock mode.
Allowed values:
0: Asynchronous: Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
1: SyncDiv1: Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
2: SyncDiv2: Use AHB clock rcc_hclk3 divided by 2
3: SyncDiv4: Use AHB clock rcc_hclk3 divided by 4
Bits 18-21: ADC prescaler.
Bit 22: VREFINT enable.
Allowed values:
0: Disabled: V_REFINT channel disabled
1: Enabled: V_REFINT channel enabled
Bit 23: VTS selection.
Allowed values:
0: Disabled: Temperature sensor channel disabled
1: Enabled: Temperature sensor channel enabled
Bit 24: VBAT selection.
Allowed values:
0: Disabled: V_BAT channel disabled
1: Enabled: V_BAT channel enabled
0x40010200: Comparator control and status register
7/70 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | C[1]CSR | ||||||||||||||||||||||||||||||||
0x4 | C[2]CSR | ||||||||||||||||||||||||||||||||
0x8 | C[3]CSR | ||||||||||||||||||||||||||||||||
0xc | C[4]CSR | ||||||||||||||||||||||||||||||||
0x10 | C[5]CSR | ||||||||||||||||||||||||||||||||
0x14 | C[6]CSR | ||||||||||||||||||||||||||||||||
0x18 | C[7]CSR |
Comparator control/status register
Offset: 0x0, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Comparator control/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Comparator control/status register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Comparator control/status register
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Comparator control/status register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Comparator control/status register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
Comparator control/status register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/10 fields covered.
0x40020c00: CORDIC Co-processor
13/13 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x4 | WDATA | ||||||||||||||||||||||||||||||||
0x8 | RDATA |
CORDIC Control Status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RRDY
rw |
ARGSIZE
rw |
RESSIZE
rw |
NARGS
rw |
NRES
rw |
DMAWEN
rw |
DMAREN
rw |
IEN
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCALE
rw |
PRECISION
rw |
FUNC
rw |
Bits 0-3: FUNC.
Allowed values:
0: Cosine: Cosine funciton
1: Sine: Sine function
2: Phase: Phase function
3: Modulus: Modulus function
4: Arctangent: Arctangent function
5: HyperbolicCosine: Hyperbolic Cosine function
6: HyperbolicSine: Hyperbolic Sine function
7: Arctanh: Arctanh function
8: NaturalLogarithm: Natural Logarithm function
9: SquareRoot: Square Root function
Bits 4-7: Precision (number of iterations/cycles) required.
Allowed values: 0x1-0xf
Bits 8-10: Scaling factor (2^-n for arguments, 2^n for results).
Allowed values: 0x0-0x7
Bit 16: IEN.
Allowed values:
0: Disabled: Disable interrupt request generation
1: Enabled: Enable intterrupt request generation
Bit 17: DMAREN.
Allowed values:
0: Disabled: No DMA channel reads are generated
1: Enabled: Read requests are generated on the DMA channel when RRDY flag is set
Bit 18: DMAWEN.
Allowed values:
0: Disabled: No DMA channel writes are generated
1: Enabled: Write requests are generated on the DMA channel when no operation is pending
Bit 19: NRES.
Allowed values:
0: Num1: Only single result value will be returned. After a single read RRDY will be automatically cleared
1: Num2: Two return reads need to be performed. After two reads RRDY will be automatically cleared
Bit 20: NARGS.
Allowed values:
0: Num1: Only single argument write is needed for next calculation
1: Num2: Two argument writes need to be performed for next calculation
Bit 21: RESSIZE.
Allowed values:
0: Bits32: Use 32 bit output values
1: Bits16: Use 16 bit output values
Bit 22: ARGSIZE.
Allowed values:
0: Bits32: Use 32 bit input values
1: Bits16: Use 16 bit input values
Bit 31: RRDY.
Allowed values:
0: NotReady: Results from computation are not read
1: Ready: Results are ready, this flag will be automatically cleared once value is read
0x40023000: Cyclic redundancy check calculation unit
0/8 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | DR | ||||||||||||||||||||||||||||||||
0x4 | IDR | ||||||||||||||||||||||||||||||||
0x8 | CR | ||||||||||||||||||||||||||||||||
0x10 | INIT | ||||||||||||||||||||||||||||||||
0x14 | POL |
Independent data register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Control register
Offset: 0x8, size: 32, reset: 0x00000000, access: Unspecified
0/4 fields covered.
0x40002000: CRS
9/26 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | CFGR | ||||||||||||||||||||||||||||||||
0x8 | ISR | ||||||||||||||||||||||||||||||||
0xc | ICR |
CRS control register
Offset: 0x0, size: 32, reset: 0x00004000, access: Unspecified
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRIM
rw |
SWSYNC
rw |
AUTOTRIMEN
rw |
CEN
rw |
ESYNCIE
rw |
ERRIE
rw |
SYNCWARNIE
rw |
SYNCOKIE
rw |
Bit 0: SYNC event OK interrupt enable.
Bit 1: SYNC warning interrupt enable.
Bit 2: Synchronization or trimming error interrupt enable.
Bit 3: Expected SYNC interrupt enable.
Bit 5: Frequency error counter enable This bit enables the oscillator clock for the frequency error counter. When this bit is set, the CRS_CFGR register is write-protected and cannot be modified..
Bit 6: Automatic trimming enable This bit enables the automatic hardware adjustment of TRIM bits according to the measured frequency error between two SYNC events. If this bit is set, the TRIM bits are read-only. The TRIM value can be adjusted by hardware by one or two steps at a time, depending on the measured frequency error value. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details..
Bit 7: Generate software SYNC event This bit is set by software in order to generate a software SYNC event. It is automatically cleared by hardware..
Bits 8-14: HSI48 oscillator smooth trimming These bits provide a user-programmable trimming value to the HSI48 oscillator. They can be programmed to adjust to variations in voltage and temperature that influence the frequency of the HSI48. The default value is 32, which corresponds to the middle of the trimming interval. The trimming step is around 67 kHz between two consecutive TRIM steps. A higher TRIM value corresponds to a higher output frequency. When the AUTOTRIMEN bit is set, this field is controlled by hardware and is read-only..
This register can be written only when the frequency error counter is disabled (CEN bit is cleared in CRS_CR). When the counter is enabled, this register is write-protected.
Offset: 0x4, size: 32, reset: 0x2022BB7F, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNCPOL
rw |
SYNCSRC
rw |
SYNCDIV
rw |
FELIM
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RELOAD
rw |
Bits 0-15: Counter reload value RELOAD is the value to be loaded in the frequency error counter with each SYNC event. Refer to Section7.3.3: Frequency error measurement for more details about counter behavior..
Bits 16-23: Frequency error limit FELIM contains the value to be used to evaluate the captured frequency error value latched in the FECAP[15:0] bits of the CRS_ISR register. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP evaluation..
Bits 24-26: SYNC divider These bits are set and cleared by software to control the division factor of the SYNC signal..
Bits 28-29: SYNC signal source selection These bits are set and cleared by software to select the SYNC signal source. Note: When using USB LPM (Link Power Management) and the device is in Sleep mode, the periodic USB SOF will not be generated by the host. No SYNC signal will therefore be provided to the CRS to calibrate the HSI48 on the run. To guarantee the required clock precision after waking up from Sleep mode, the LSE or reference clock on the GPIOs should be used as SYNC signal..
Bit 31: SYNC polarity selection This bit is set and cleared by software to select the input polarity for the SYNC signal source..
CRS interrupt and status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
9/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FECAP
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FEDIR
r |
TRIMOVF
r |
SYNCMISS
r |
SYNCERR
r |
ESYNCF
r |
ERRF
r |
SYNCWARNF
r |
SYNCOKF
r |
Bit 0: SYNC event OK flag This flag is set by hardware when the measured frequency error is smaller than FELIM * 3. This means that either no adjustment of the TRIM value is needed or that an adjustment by one trimming step is enough to compensate the frequency error. An interrupt is generated if the SYNCOKIE bit is set in the CRS_CR register. It is cleared by software by setting the SYNCOKC bit in the CRS_ICR register..
Bit 1: SYNC warning flag This flag is set by hardware when the measured frequency error is greater than or equal to FELIM * 3, but smaller than FELIM * 128. This means that to compensate the frequency error, the TRIM value must be adjusted by two steps or more. An interrupt is generated if the SYNCWARNIE bit is set in the CRS_CR register. It is cleared by software by setting the SYNCWARNC bit in the CRS_ICR register..
Bit 2: Error flag This flag is set by hardware in case of any synchronization or trimming error. It is the logical OR of the TRIMOVF, SYNCMISS and SYNCERR bits. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software in reaction to setting the ERRC bit in the CRS_ICR register, which clears the TRIMOVF, SYNCMISS and SYNCERR bits..
Bit 3: Expected SYNC flag This flag is set by hardware when the frequency error counter reached a zero value. An interrupt is generated if the ESYNCIE bit is set in the CRS_CR register. It is cleared by software by setting the ESYNCC bit in the CRS_ICR register..
Bit 8: SYNC error This flag is set by hardware when the SYNC pulse arrives before the ESYNC event and the measured frequency error is greater than or equal to FELIM * 128. This means that the frequency error is too big (internal frequency too low) to be compensated by adjusting the TRIM value, and that some other action should be taken. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..
Bit 9: SYNC missed This flag is set by hardware when the frequency error counter reached value FELIM * 128 and no SYNC was detected, meaning either that a SYNC pulse was missed or that the frequency error is too big (internal frequency too high) to be compensated by adjusting the TRIM value, and that some other action should be taken. At this point, the frequency error counter is stopped (waiting for a next SYNC) and an interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..
Bit 10: Trimming overflow or underflow This flag is set by hardware when the automatic trimming tries to over- or under-flow the TRIM value. An interrupt is generated if the ERRIE bit is set in the CRS_CR register. It is cleared by software by setting the ERRC bit in the CRS_ICR register..
Bit 15: Frequency error direction FEDIR is the counting direction of the frequency error counter latched in the time of the last SYNC event. It shows whether the actual frequency is below or above the target..
Bits 16-31: Frequency error capture FECAP is the frequency error counter value latched in the time ofthe last SYNC event. Refer to Section7.3.4: Frequency error evaluation and automatic trimming for more details about FECAP usage..
CRS interrupt flag clear register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
Bit 0: SYNC event OK clear flag Writing 1 to this bit clears the SYNCOKF flag in the CRS_ISR register..
Bit 1: SYNC warning clear flag Writing 1 to this bit clears the SYNCWARNF flag in the CRS_ISR register..
Bit 2: Error clear flag Writing 1 to this bit clears TRIMOVF, SYNCMISS and SYNCERR bits and consequently also the ERRF flag in the CRS_ISR register..
Bit 3: Expected SYNC clear flag Writing 1 to this bit clears the ESYNCF flag in the CRS_ISR register..
0x50000800: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0x50000c00: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0x50001000: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0x50001400: Digital-to-analog converter
50/77 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SWTRGR | ||||||||||||||||||||||||||||||||
0x8 | DHR12R1 | ||||||||||||||||||||||||||||||||
0xc | DHR12L1 | ||||||||||||||||||||||||||||||||
0x10 | DHR8R1 | ||||||||||||||||||||||||||||||||
0x14 | DHR12R2 | ||||||||||||||||||||||||||||||||
0x18 | DHR12L2 | ||||||||||||||||||||||||||||||||
0x1c | DHR8R2 | ||||||||||||||||||||||||||||||||
0x20 | DHR12RD | ||||||||||||||||||||||||||||||||
0x24 | DHR12LD | ||||||||||||||||||||||||||||||||
0x28 | DHR8RD | ||||||||||||||||||||||||||||||||
0x2c | DOR1 | ||||||||||||||||||||||||||||||||
0x30 | DOR2 | ||||||||||||||||||||||||||||||||
0x34 | SR | ||||||||||||||||||||||||||||||||
0x38 | CCR | ||||||||||||||||||||||||||||||||
0x3c | MCR | ||||||||||||||||||||||||||||||||
0x40 | SHSR1 | ||||||||||||||||||||||||||||||||
0x44 | SHSR2 | ||||||||||||||||||||||||||||||||
0x48 | SHHR | ||||||||||||||||||||||||||||||||
0x4c | SHRR | ||||||||||||||||||||||||||||||||
0x58 | STR1 | ||||||||||||||||||||||||||||||||
0x5c | STR2 | ||||||||||||||||||||||||||||||||
0x60 | STMODR |
DAC control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEN2
rw |
DMAUDRIE2
rw |
DMAEN2
rw |
MAMP2
rw |
WAVE2
rw |
TSEL2
rw |
TEN2
rw |
EN2
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CEN1
rw |
DMAUDRIE1
rw |
DMAEN1
rw |
MAMP1
rw |
WAVE1
rw |
TSEL1
rw |
TEN1
rw |
EN1
rw |
Bit 0: DAC channel1 enable This bit is set and cleared by software to enable/disable DAC channel1..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 1: DAC channel1 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 2-5: DAC channel1 trigger selection These bits select the external event used to trigger DAC channel1. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 6-7: DAC channel1 noise/triangle wave generation enable These bits are set and cleared by software. Note: Only used if bit TEN1 = 1 (DAC channel1 trigger enabled)..
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 8-11: DAC channel1 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 12: DAC channel1 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 13: DAC channel1 DMA Underrun Interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 14: DAC Channel 1 calibration enable This bit is set and cleared by software to enable/disable DAC channel 1 calibration, it can be written only if bit EN1=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
Bit 16: DAC channel2 enable This bit is set and cleared by software to enable/disable DAC channel2..
Allowed values:
0: Disabled: DAC Channel X disabled
1: Enabled: DAC Channel X enabled
Bit 17: DAC channel2 trigger enable.
Allowed values:
0: Disabled: DAC Channel X trigger disabled
1: Enabled: DAC Channel X trigger enabled
Bits 18-21: DAC channel2 trigger selection These bits select the external event used to trigger DAC channel2 Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled)..
Allowed values:
0: SWTRIG: SWTRIG1
1: TIM1_TRGO: dac_chx_trg1
2: TIM2_TRGO: dac_chx_trg2
3: TRG3: dac_chx_trg3
4: TRG4: dac_chx_trg4
5: TRG5: dac_chx_trg5
6: TRG6: dac_chx_trg6
7: TRG7: dac_chx_trg7
8: TRG8: dac_chx_trg8
9: TRG9: dac_chx_trg9
10: TRG10: dac_chx_trg10
11: LPTIM1_OUT: dac_chx_trg11
12: LPTIM2_OUT: dac_chx_trg12
13: LPTIM3_OUT: dac_chx_trg13
14: EXTI9: dac_chx_trg14
15: TRG15: dac_chx_trg15
Bits 22-23: DAC channel2 noise/triangle wave generation enable These bits are set/reset by software. 1x: Triangle wave generation enabled Note: Only used if bit TEN2 = 1 (DAC channel2 trigger enabled).
Allowed values:
0: Disabled: Wave generation disabled
1: Noise: Noise wave generation enabled
2: Triangle: Triangle wave generation enabled
Bits 24-27: DAC channel2 mask/amplitude selector These bits are written by software to select mask in wave generation mode or amplitude in triangle generation mode. = 1011: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095.
Allowed values:
0: Amp1: Unmask bit0 of LFSR/ triangle amplitude equal to 1
1: Amp3: Unmask bits[1:0] of LFSR/ triangle amplitude equal to 3
2: Amp7: Unmask bits[2:0] of LFSR/ triangle amplitude equal to 7
3: Amp15: Unmask bits[3:0] of LFSR/ triangle amplitude equal to 15
4: Amp31: Unmask bits[4:0] of LFSR/ triangle amplitude equal to 31
5: Amp63: Unmask bits[5:0] of LFSR/ triangle amplitude equal 63
6: Amp127: Unmask bits[6:0] of LFSR/ triangle amplitude equal to 127
7: Amp255: Unmask bits[7:0] of LFSR/ triangle amplitude equal to 255
8: Amp511: Unmask bits[8:0] of LFSR/ triangle amplitude equal to 511
9: Amp1023: Unmask bits[9:0] of LFSR/ triangle amplitude equal to 1023
10: Amp2047: Unmask bits[10:0] of LFSR/ triangle amplitude equal to 2047
11: Amp4095: Unmask bits[11:0] of LFSR/ triangle amplitude equal to 4095
Bit 28: DAC channel2 DMA enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA mode disabled
1: Enabled: DAC Channel X DMA mode enabled
Bit 29: DAC channel2 DMA underrun interrupt enable This bit is set and cleared by software..
Allowed values:
0: Disabled: DAC Channel X DMA Underrun Interrupt disabled
1: Enabled: DAC Channel X DMA Underrun Interrupt enabled
Bit 30: DAC Channel 2 calibration enable This bit is set and cleared by software to enable/disable DAC channel 2 calibration, it can be written only if bit EN2=0 into DAC_CR (the calibration mode can be entered/exit only when the DAC channel is disabled) Otherwise, the write operation is ignored..
Allowed values:
0: Normal: DAC Channel X Normal operating mode
1: Calibration: DAC Channel X calibration mode
DAC software trigger register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWTRIGB2
w |
SWTRIGB1
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWTRIG2
w |
SWTRIG1
w |
Bit 0: DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 1: DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register..
Allowed values:
0: NoTrigger: No trigger
1: Trigger: Trigger
Bit 16: DAC channel1 software trigger B.
Bit 17: DAC channel2 software trigger B.
DAC channel1 12-bit right-aligned data holding register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 12-bit left aligned data holding register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel1 8-bit right aligned data holding register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit right aligned data holding register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 12-bit left aligned data holding register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
DAC channel2 8-bit right-aligned data holding register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/2 fields covered.
Dual DAC 12-bit right-aligned data holding register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 0-11: DAC channel1 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 16-27: DAC channel2 12-bit right-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 12-bit left aligned data holding register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DACC2DHR
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DACC1DHR
rw |
Bits 4-15: DAC channel1 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel1..
Allowed values: 0x0-0xfff
Bits 20-31: DAC channel2 12-bit left-aligned data These bits are written by software which specifies 12-bit data for DAC channel2..
Allowed values: 0x0-0xfff
DUAL DAC 8-bit right aligned data holding register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Bits 0-7: DAC channel1 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel1..
Allowed values: 0x0-0xff
Bits 8-15: DAC channel2 8-bit right-aligned data These bits are written by software which specifies 8-bit data for DAC channel2..
Allowed values: 0x0-0xff
DAC channel1 data output register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC channel2 data output register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
DAC status register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
6/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BWST2
r |
CAL_FLAG2
r |
DMAUDR2
rw |
DORSTAT2
rw |
DAC2RDY
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BWST1
r |
CAL_FLAG1
r |
DMAUDR1
rw |
DORSTAT1
rw |
DAC1RDY
rw |
Bit 11: DAC channel1 ready status bit.
Bit 12: DAC channel1 output register status bit.
Bit 13: DAC channel1 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 14: DAC Channel 1 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 15: DAC Channel 1 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR1, It is cleared by hardware when the write operation of DAC_SHSR1 is complete. (It takes about 3LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
Bit 27: DAC channel 2 ready status bit.
Bit 28: DAC channel 2 output register status bit.
Bit 29: DAC channel2 DMA underrun flag This bit is set by hardware and cleared by software (by writing it to 1)..
Allowed values:
0: NoError: No DMA underrun error condition occurred for DAC channel x
1: Error: DMA underrun error condition occurred for DAC channel x (the currently selected trigger is driving DAC channel1 conversion at a frequency higher than the DMA service capability rate)
Bit 30: DAC Channel 2 calibration offset status This bit is set and cleared by hardware.
Allowed values:
0: Lower: Calibration trimming value is lower than the offset correction value
1: Equal_Higher: Calibration trimming value is equal or greater than the offset correction value
Bit 31: DAC Channel 2 busy writing sample time flag This bit is systematically set just after Sample & Hold mode enable and is set each time the software writes the register DAC_SHSR2, It is cleared by hardware when the write operation of DAC_SHSR2 is complete. (It takes about 3 LSI periods of synchronization)..
Allowed values:
0: Idle: There is no write operation of DAC_SHSR1 ongoing: DAC_SHSR1 can be written
1: Busy: There is a write operation of DAC_SHSR1 ongoing: DAC_SHSR1 cannot be written
DAC calibration control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
DAC mode control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
2/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SINFORMAT2
rw |
DMADOUBLE2
rw |
MODE2
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HFSEL
rw |
SINFORMAT1
rw |
DMADOUBLE1
rw |
MODE1
rw |
Bits 0-2: DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 8: DAC Channel1 DMA double data mode.
Bit 9: Enable signed format for DAC channel1.
Bits 14-15: High frequency interface mode selection.
Bits 16-18: DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode.
Allowed values:
0: NormalPinBuffer: Normal mode - DAC channelx is connected to external pin with Buffer enabled
1: NormalPinChipBuffer: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
2: NormalPinNoBuffer: Normal mode - DAC channelx is connected to external pin with Buffer disabled
3: NormalChipNoBuffer: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
4: SHPinBuffer: S&H mode - DAC channelx is connected to external pin with Buffer enabled
5: SHPinChipBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
6: SHPinNoBuffer: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
7: SHChipNoBuffer: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Bit 24: DAC Channel2 DMA double data mode.
Bit 25: Enable signed format for DAC channel2.
DAC Sample and Hold sample time register 1
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE1
rw |
Bits 0-9: DAC Channel 1 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel1 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, If BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold sample time register 2
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSAMPLE2
rw |
Bits 0-9: DAC Channel 2 sample Time (only valid in sample & hold mode) These bits can be written when the DAC channel2 is disabled or also during normal operation. in the latter case, the write can be done only when BWSTx of DAC_SR register is low, if BWSTx=1, the write operation is ignored..
Allowed values: 0x0-0x3ff
DAC Sample and Hold hold time register
Offset: 0x48, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
DAC Sample and Hold refresh time register
Offset: 0x4c, size: 32, reset: 0x00010001, access: read-write
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TREFRESH2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TREFRESH1
rw |
Bits 0-7: DAC Channel 1 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Bits 16-23: DAC Channel 2 refresh Time (only valid in sample & hold mode) Refresh time= (TREFRESH[7:0]) x T LSI.
Allowed values: 0x0-0xff
Sawtooth register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA1
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR1
rw |
STRSTDATA1
rw |
Sawtooth register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCDATA2
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STDIR2
rw |
STRSTDATA2
rw |
Sawtooth Mode register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
STINCTRIGSEL2
rw |
STRSTTRIGSEL2
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STINCTRIGSEL1
rw |
STRSTTRIGSEL1
rw |
Bits 0-3: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 8-11: DAC Channel 1 Sawtooth Increment trigger selection.
Bits 16-19: DAC Channel 1 Sawtooth Reset trigger selection.
Bits 24-27: DAC Channel 2 Sawtooth Increment trigger selection.
0xe0042000: Debug support
2/31 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | IDCODE | ||||||||||||||||||||||||||||||||
0x4 | CR | ||||||||||||||||||||||||||||||||
0x8 | APB1L_FZ | ||||||||||||||||||||||||||||||||
0xc | APB1H_FZ | ||||||||||||||||||||||||||||||||
0x10 | APB2_FZ |
MCU Device ID Code Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
2/2 fields covered.
Debug MCU Configuration Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRACE_MODE
rw |
TRACE_IOEN
rw |
DBG_STANDBY
rw |
DBG_STOP
rw |
DBG_SLEEP
rw |
APB Low Freeze Register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_LPTIMER_STOP
rw |
DBG_I2C3_STOP
rw |
DBG_I2C2_STOP
rw |
DBG_I2C1_STOP
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DBG_IWDG_STOP
rw |
DBG_WWDG_STOP
rw |
DBG_RTC_STOP
rw |
DBG_TIM7_STOP
rw |
DBG_TIMER6_STOP
rw |
DBG_TIM5_STOP
rw |
DBG_TIM4_STOP
rw |
DBG_TIM3_STOP
rw |
DBG_TIMER2_STOP
rw |
Bit 0: Debug Timer 2 stopped when Core is halted.
Bit 1: TIM3 counter stopped when core is halted.
Bit 2: TIM4 counter stopped when core is halted.
Bit 3: TIM5 counter stopped when core is halted.
Bit 4: Debug Timer 6 stopped when Core is halted.
Bit 5: TIM7 counter stopped when core is halted.
Bit 10: Debug RTC stopped when Core is halted.
Bit 11: Debug Window Wachdog stopped when Core is halted.
Bit 12: Debug Independent Wachdog stopped when Core is halted.
Bit 21: I2C1 SMBUS timeout mode stopped when core is halted.
Bit 22: I2C2 SMBUS timeout mode stopped when core is halted.
Bit 30: I2C3 SMBUS timeout mode stopped when core is halted.
Bit 31: LPTIM1 counter stopped when core is halted.
APB Low Freeze Register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_I2C4_STOP
rw |
APB High Freeze Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_HRTIM3_STOP
rw |
DBG_HRTIM2_STOP
rw |
DBG_HRTIM1_STOP
rw |
DBG_HRTIM0_STOP
rw |
DBG_TIM20_STOP
rw |
DBG_TIM17_STOP
rw |
DBG_TIM16_STOP
rw |
DBG_TIM15_STOP
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DBG_TIM8_STOP
rw |
DBG_TIM1_STOP
rw |
Bit 11: TIM1 counter stopped when core is halted.
Bit 13: TIM8 counter stopped when core is halted.
Bit 16: TIM15 counter stopped when core is halted.
Bit 17: TIM16 counter stopped when core is halted.
Bit 18: TIM17 counter stopped when core is halted.
Bit 20: TIM20counter stopped when core is halted.
Bit 26: DBG_HRTIM0_STOP.
Bit 27: DBG_HRTIM0_STOP.
Bit 28: DBG_HRTIM0_STOP.
Bit 29: DBG_HRTIM0_STOP.
0x40020000: DMA controller
32/184 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IFCR | ||||||||||||||||||||||||||||||||
0x8 | CR [1] | ||||||||||||||||||||||||||||||||
0xc | NDTR [1] | ||||||||||||||||||||||||||||||||
0x10 | PAR [1] | ||||||||||||||||||||||||||||||||
0x14 | MAR [1] | ||||||||||||||||||||||||||||||||
0x1c | CR [2] | ||||||||||||||||||||||||||||||||
0x20 | NDTR [2] | ||||||||||||||||||||||||||||||||
0x24 | PAR [2] | ||||||||||||||||||||||||||||||||
0x28 | MAR [2] | ||||||||||||||||||||||||||||||||
0x30 | CR [3] | ||||||||||||||||||||||||||||||||
0x34 | NDTR [3] | ||||||||||||||||||||||||||||||||
0x38 | PAR [3] | ||||||||||||||||||||||||||||||||
0x3c | MAR [3] | ||||||||||||||||||||||||||||||||
0x44 | CR [4] | ||||||||||||||||||||||||||||||||
0x48 | NDTR [4] | ||||||||||||||||||||||||||||||||
0x4c | PAR [4] | ||||||||||||||||||||||||||||||||
0x50 | MAR [4] | ||||||||||||||||||||||||||||||||
0x58 | CR [5] | ||||||||||||||||||||||||||||||||
0x5c | NDTR [5] | ||||||||||||||||||||||||||||||||
0x60 | PAR [5] | ||||||||||||||||||||||||||||||||
0x64 | MAR [5] | ||||||||||||||||||||||||||||||||
0x6c | CR [6] | ||||||||||||||||||||||||||||||||
0x70 | NDTR [6] | ||||||||||||||||||||||||||||||||
0x74 | PAR [6] | ||||||||||||||||||||||||||||||||
0x78 | MAR [6] | ||||||||||||||||||||||||||||||||
0x80 | CR [7] | ||||||||||||||||||||||||||||||||
0x84 | NDTR [7] | ||||||||||||||||||||||||||||||||
0x88 | PAR [7] | ||||||||||||||||||||||||||||||||
0x8c | MAR [7] | ||||||||||||||||||||||||||||||||
0x94 | CR [8] | ||||||||||||||||||||||||||||||||
0x98 | NDTR [8] | ||||||||||||||||||||||||||||||||
0x9c | PAR [8] | ||||||||||||||||||||||||||||||||
0xa0 | MAR [8] |
interrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEIF[8]
r |
HTIF[8]
r |
TCIF[8]
r |
GIF[8]
r |
TEIF[7]
r |
HTIF[7]
r |
TCIF[7]
r |
GIF[7]
r |
TEIF[6]
r |
HTIF[6]
r |
TCIF[6]
r |
GIF[6]
r |
TEIF[5]
r |
HTIF[5]
r |
TCIF[5]
r |
GIF[5]
r |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TEIF[4]
r |
HTIF[4]
r |
TCIF[4]
r |
GIF[4]
r |
TEIF[3]
r |
HTIF[3]
r |
TCIF[3]
r |
GIF[3]
r |
TEIF[2]
r |
HTIF[2]
r |
TCIF[2]
r |
GIF[2]
r |
TEIF[1]
r |
HTIF[1]
r |
TCIF[1]
r |
GIF[1]
r |
Bit 0: Channel 1 Global interrupt flag.
Bit 1: Channel 1 Transfer Complete flag.
Bit 2: Channel 1 Half Transfer Complete flag.
Bit 3: Channel 1 Transfer Error flag.
Bit 4: Channel 2 Global interrupt flag.
Bit 5: Channel 2 Transfer Complete flag.
Bit 6: Channel 2 Half Transfer Complete flag.
Bit 7: Channel 2 Transfer Error flag.
Bit 8: Channel 3 Global interrupt flag.
Bit 9: Channel 3 Transfer Complete flag.
Bit 10: Channel 3 Half Transfer Complete flag.
Bit 11: Channel 3 Transfer Error flag.
Bit 12: Channel 4 Global interrupt flag.
Bit 13: Channel 4 Transfer Complete flag.
Bit 14: Channel 4 Half Transfer Complete flag.
Bit 15: Channel 4 Transfer Error flag.
Bit 16: Channel 5 Global interrupt flag.
Bit 17: Channel 5 Transfer Complete flag.
Bit 18: Channel 5 Half Transfer Complete flag.
Bit 19: Channel 5 Transfer Error flag.
Bit 20: Channel 6 Global interrupt flag.
Bit 21: Channel 6 Transfer Complete flag.
Bit 22: Channel 6 Half Transfer Complete flag.
Bit 23: Channel 6 Transfer Error flag.
Bit 24: Channel 7 Global interrupt flag.
Bit 25: Channel 7 Transfer Complete flag.
Bit 26: Channel 7 Half Transfer Complete flag.
Bit 27: Channel 7 Transfer Error flag.
Bit 28: Channel 8 Global interrupt flag.
Bit 29: Channel 8 Transfer Complete flag.
Bit 30: Channel 8 Half Transfer Complete flag.
Bit 31: Channel 8 Transfer Error flag.
DMA interrupt flag clear register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTEIF[8]
w |
CHTIF[8]
w |
CTCIF[8]
w |
CGIF[8]
w |
CTEIF[7]
w |
CHTIF[7]
w |
CTCIF[7]
w |
CGIF[7]
w |
CTEIF[6]
w |
CHTIF[6]
w |
CTCIF[6]
w |
CGIF[6]
w |
CTEIF[5]
w |
CHTIF[5]
w |
CTCIF[5]
w |
CGIF[5]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTEIF[4]
w |
CHTIF[4]
w |
CTCIF[4]
w |
CGIF[4]
w |
CTEIF[3]
w |
CHTIF[3]
w |
CTCIF[3]
w |
CGIF[3]
w |
CTEIF[2]
w |
CHTIF[2]
w |
CTCIF[2]
w |
CGIF[2]
w |
CTEIF[1]
w |
CHTIF[1]
w |
CTCIF[1]
w |
CGIF[1]
w |
Bit 0: Channel 1 Global interrupt clear.
Bit 1: Channel 1 Transfer Complete clear.
Bit 2: Channel 1 Half Transfer clear.
Bit 3: Channel 1 Transfer Error clear.
Bit 4: Channel 2 Global interrupt clear.
Bit 5: Channel 2 Transfer Complete clear.
Bit 6: Channel 2 Half Transfer clear.
Bit 7: Channel 2 Transfer Error clear.
Bit 8: Channel 3 Global interrupt clear.
Bit 9: Channel 3 Transfer Complete clear.
Bit 10: Channel 3 Half Transfer clear.
Bit 11: Channel 3 Transfer Error clear.
Bit 12: Channel 4 Global interrupt clear.
Bit 13: Channel 4 Transfer Complete clear.
Bit 14: Channel 4 Half Transfer clear.
Bit 15: Channel 4 Transfer Error clear.
Bit 16: Channel 5 Global interrupt clear.
Bit 17: Channel 5 Transfer Complete clear.
Bit 18: Channel 5 Half Transfer clear.
Bit 19: Channel 5 Transfer Error clear.
Bit 20: Channel 6 Global interrupt clear.
Bit 21: Channel 6 Transfer Complete clear.
Bit 22: Channel 6 Half Transfer clear.
Bit 23: Channel 6 Transfer Error clear.
Bit 24: Channel 7 Global interrupt clear.
Bit 25: Channel 7 Transfer Complete clear.
Bit 26: Channel 7 Half Transfer clear.
Bit 27: Channel 7 Transfer Error clear.
Bit 28: Channel 8 Global interrupt clear.
Bit 29: Channel 8 Transfer Complete clear.
Bit 30: Channel 8 Half Transfer clear.
Bit 31: Channel 8 Transfer Error clear.
DMA channel 1 configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40020400: DMA controller
32/184 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | IFCR | ||||||||||||||||||||||||||||||||
0x8 | CR [1] | ||||||||||||||||||||||||||||||||
0xc | NDTR [1] | ||||||||||||||||||||||||||||||||
0x10 | PAR [1] | ||||||||||||||||||||||||||||||||
0x14 | MAR [1] | ||||||||||||||||||||||||||||||||
0x1c | CR [2] | ||||||||||||||||||||||||||||||||
0x20 | NDTR [2] | ||||||||||||||||||||||||||||||||
0x24 | PAR [2] | ||||||||||||||||||||||||||||||||
0x28 | MAR [2] | ||||||||||||||||||||||||||||||||
0x30 | CR [3] | ||||||||||||||||||||||||||||||||
0x34 | NDTR [3] | ||||||||||||||||||||||||||||||||
0x38 | PAR [3] | ||||||||||||||||||||||||||||||||
0x3c | MAR [3] | ||||||||||||||||||||||||||||||||
0x44 | CR [4] | ||||||||||||||||||||||||||||||||
0x48 | NDTR [4] | ||||||||||||||||||||||||||||||||
0x4c | PAR [4] | ||||||||||||||||||||||||||||||||
0x50 | MAR [4] | ||||||||||||||||||||||||||||||||
0x58 | CR [5] | ||||||||||||||||||||||||||||||||
0x5c | NDTR [5] | ||||||||||||||||||||||||||||||||
0x60 | PAR [5] | ||||||||||||||||||||||||||||||||
0x64 | MAR [5] | ||||||||||||||||||||||||||||||||
0x6c | CR [6] | ||||||||||||||||||||||||||||||||
0x70 | NDTR [6] | ||||||||||||||||||||||||||||||||
0x74 | PAR [6] | ||||||||||||||||||||||||||||||||
0x78 | MAR [6] | ||||||||||||||||||||||||||||||||
0x80 | CR [7] | ||||||||||||||||||||||||||||||||
0x84 | NDTR [7] | ||||||||||||||||||||||||||||||||
0x88 | PAR [7] | ||||||||||||||||||||||||||||||||
0x8c | MAR [7] | ||||||||||||||||||||||||||||||||
0x94 | CR [8] | ||||||||||||||||||||||||||||||||
0x98 | NDTR [8] | ||||||||||||||||||||||||||||||||
0x9c | PAR [8] | ||||||||||||||||||||||||||||||||
0xa0 | MAR [8] |
interrupt status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEIF[8]
r |
HTIF[8]
r |
TCIF[8]
r |
GIF[8]
r |
TEIF[7]
r |
HTIF[7]
r |
TCIF[7]
r |
GIF[7]
r |
TEIF[6]
r |
HTIF[6]
r |
TCIF[6]
r |
GIF[6]
r |
TEIF[5]
r |
HTIF[5]
r |
TCIF[5]
r |
GIF[5]
r |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TEIF[4]
r |
HTIF[4]
r |
TCIF[4]
r |
GIF[4]
r |
TEIF[3]
r |
HTIF[3]
r |
TCIF[3]
r |
GIF[3]
r |
TEIF[2]
r |
HTIF[2]
r |
TCIF[2]
r |
GIF[2]
r |
TEIF[1]
r |
HTIF[1]
r |
TCIF[1]
r |
GIF[1]
r |
Bit 0: Channel 1 Global interrupt flag.
Bit 1: Channel 1 Transfer Complete flag.
Bit 2: Channel 1 Half Transfer Complete flag.
Bit 3: Channel 1 Transfer Error flag.
Bit 4: Channel 2 Global interrupt flag.
Bit 5: Channel 2 Transfer Complete flag.
Bit 6: Channel 2 Half Transfer Complete flag.
Bit 7: Channel 2 Transfer Error flag.
Bit 8: Channel 3 Global interrupt flag.
Bit 9: Channel 3 Transfer Complete flag.
Bit 10: Channel 3 Half Transfer Complete flag.
Bit 11: Channel 3 Transfer Error flag.
Bit 12: Channel 4 Global interrupt flag.
Bit 13: Channel 4 Transfer Complete flag.
Bit 14: Channel 4 Half Transfer Complete flag.
Bit 15: Channel 4 Transfer Error flag.
Bit 16: Channel 5 Global interrupt flag.
Bit 17: Channel 5 Transfer Complete flag.
Bit 18: Channel 5 Half Transfer Complete flag.
Bit 19: Channel 5 Transfer Error flag.
Bit 20: Channel 6 Global interrupt flag.
Bit 21: Channel 6 Transfer Complete flag.
Bit 22: Channel 6 Half Transfer Complete flag.
Bit 23: Channel 6 Transfer Error flag.
Bit 24: Channel 7 Global interrupt flag.
Bit 25: Channel 7 Transfer Complete flag.
Bit 26: Channel 7 Half Transfer Complete flag.
Bit 27: Channel 7 Transfer Error flag.
Bit 28: Channel 8 Global interrupt flag.
Bit 29: Channel 8 Transfer Complete flag.
Bit 30: Channel 8 Half Transfer Complete flag.
Bit 31: Channel 8 Transfer Error flag.
DMA interrupt flag clear register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTEIF[8]
w |
CHTIF[8]
w |
CTCIF[8]
w |
CGIF[8]
w |
CTEIF[7]
w |
CHTIF[7]
w |
CTCIF[7]
w |
CGIF[7]
w |
CTEIF[6]
w |
CHTIF[6]
w |
CTCIF[6]
w |
CGIF[6]
w |
CTEIF[5]
w |
CHTIF[5]
w |
CTCIF[5]
w |
CGIF[5]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTEIF[4]
w |
CHTIF[4]
w |
CTCIF[4]
w |
CGIF[4]
w |
CTEIF[3]
w |
CHTIF[3]
w |
CTCIF[3]
w |
CGIF[3]
w |
CTEIF[2]
w |
CHTIF[2]
w |
CTCIF[2]
w |
CGIF[2]
w |
CTEIF[1]
w |
CHTIF[1]
w |
CTCIF[1]
w |
CGIF[1]
w |
Bit 0: Channel 1 Global interrupt clear.
Bit 1: Channel 1 Transfer Complete clear.
Bit 2: Channel 1 Half Transfer clear.
Bit 3: Channel 1 Transfer Error clear.
Bit 4: Channel 2 Global interrupt clear.
Bit 5: Channel 2 Transfer Complete clear.
Bit 6: Channel 2 Half Transfer clear.
Bit 7: Channel 2 Transfer Error clear.
Bit 8: Channel 3 Global interrupt clear.
Bit 9: Channel 3 Transfer Complete clear.
Bit 10: Channel 3 Half Transfer clear.
Bit 11: Channel 3 Transfer Error clear.
Bit 12: Channel 4 Global interrupt clear.
Bit 13: Channel 4 Transfer Complete clear.
Bit 14: Channel 4 Half Transfer clear.
Bit 15: Channel 4 Transfer Error clear.
Bit 16: Channel 5 Global interrupt clear.
Bit 17: Channel 5 Transfer Complete clear.
Bit 18: Channel 5 Half Transfer clear.
Bit 19: Channel 5 Transfer Error clear.
Bit 20: Channel 6 Global interrupt clear.
Bit 21: Channel 6 Transfer Complete clear.
Bit 22: Channel 6 Half Transfer clear.
Bit 23: Channel 6 Transfer Error clear.
Bit 24: Channel 7 Global interrupt clear.
Bit 25: Channel 7 Transfer Complete clear.
Bit 26: Channel 7 Half Transfer clear.
Bit 27: Channel 7 Transfer Error clear.
Bit 28: Channel 8 Global interrupt clear.
Bit 29: Channel 8 Transfer Complete clear.
Bit 30: Channel 8 Half Transfer clear.
Bit 31: Channel 8 Transfer Error clear.
DMA channel 1 configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x6c, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x70, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x74, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x78, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x84, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x88, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel x memory address register
Offset: 0x8c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
DMA channel 1 configuration register
Offset: 0x94, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
channel x number of data to transfer register
Offset: 0x98, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NDT
rw |
DMA channel x peripheral address register
Offset: 0x9c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40020800: DMAMUX
2/136 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CCR[0] | ||||||||||||||||||||||||||||||||
0x4 | CCR[1] | ||||||||||||||||||||||||||||||||
0x8 | CCR[2] | ||||||||||||||||||||||||||||||||
0xc | CCR[3] | ||||||||||||||||||||||||||||||||
0x10 | CCR[4] | ||||||||||||||||||||||||||||||||
0x14 | CCR[5] | ||||||||||||||||||||||||||||||||
0x18 | CCR[6] | ||||||||||||||||||||||||||||||||
0x1c | CCR[7] | ||||||||||||||||||||||||||||||||
0x20 | CCR[8] | ||||||||||||||||||||||||||||||||
0x24 | CCR[9] | ||||||||||||||||||||||||||||||||
0x28 | CCR[10] | ||||||||||||||||||||||||||||||||
0x2c | CCR[11] | ||||||||||||||||||||||||||||||||
0x30 | CCR[12] | ||||||||||||||||||||||||||||||||
0x34 | CCR[13] | ||||||||||||||||||||||||||||||||
0x38 | CCR[14] | ||||||||||||||||||||||||||||||||
0x3c | CCR[15] | ||||||||||||||||||||||||||||||||
0x80 | CSR | ||||||||||||||||||||||||||||||||
0x84 | CFR | ||||||||||||||||||||||||||||||||
0x100 | RGCR[0] | ||||||||||||||||||||||||||||||||
0x104 | RGCR[1] | ||||||||||||||||||||||||||||||||
0x108 | RGCR[2] | ||||||||||||||||||||||||||||||||
0x10c | RGCR[3] | ||||||||||||||||||||||||||||||||
0x140 | RGSR | ||||||||||||||||||||||||||||||||
0x144 | RGCFR |
DMA Multiplexer Channel 0 Control register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 1 Control register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 2 Control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 3 Control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 4 Control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 5 Control register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 6 Control register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 7 Control register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 8 Control register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 9 Control register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 10 Control register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 11 Control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 12 Control register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 13 Control register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 14 Control register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMA Multiplexer Channel 15 Control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SYNC_ID
rw |
NBREQ
rw |
SPOL
rw |
SE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EGE
rw |
SOIE
rw |
DMAREQ_ID
rw |
Bits 0-6: Input DMA request line selected.
Bit 8: Interrupt enable at synchronization event overrun.
Bit 9: Event generation enable/disable.
Bit 16: Synchronous operating mode enable/disable.
Bits 17-18: Synchronization event type selector Defines the synchronization event on the selected synchronization input:.
Bits 19-23: Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset..
Bits 24-28: Synchronization input selected.
DMAMUX request line multiplexer interrupt channel status register
Offset: 0x80, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SOF
r |
DMAMUX request line multiplexer interrupt clear flag register
Offset: 0x84, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSOF
w |
DMAMux - DMA request generator channel x control register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator channel x control register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator channel x control register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator channel x control register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GNBREQ
rw |
GPOL
rw |
GE
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIE
rw |
SIG_ID
rw |
Bits 0-4: DMA request trigger input selected.
Bit 8: Interrupt enable at trigger event overrun.
Bit 16: DMA request generator channel enable/disable.
Bits 17-18: DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input.
Bits 19-23: Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset..
DMAMux - DMA request generator status register
Offset: 0x140, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OF
r |
DMAMux - DMA request generator clear flag register
Offset: 0x144, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COF
w |
0x40010400: External interrupt/event controller
194/194 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | IMR1 | ||||||||||||||||||||||||||||||||
0x4 | EMR1 | ||||||||||||||||||||||||||||||||
0x8 | RTSR1 | ||||||||||||||||||||||||||||||||
0xc | FTSR1 | ||||||||||||||||||||||||||||||||
0x10 | SWIER1 | ||||||||||||||||||||||||||||||||
0x14 | PR1 | ||||||||||||||||||||||||||||||||
0x20 | IMR2 | ||||||||||||||||||||||||||||||||
0x24 | EMR2 | ||||||||||||||||||||||||||||||||
0x28 | RTSR2 | ||||||||||||||||||||||||||||||||
0x2c | FTSR2 | ||||||||||||||||||||||||||||||||
0x30 | SWIER2 | ||||||||||||||||||||||||||||||||
0x34 | PR2 |
Interrupt mask register
Offset: 0x0, size: 32, reset: 0xFF820000, access: read-write
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IM31
rw |
IM30
rw |
IM29
rw |
IM28
rw |
IM27
rw |
IM26
rw |
IM25
rw |
IM24
rw |
IM23
rw |
IM22
rw |
IM21
rw |
IM20
rw |
IM19
rw |
IM18
rw |
IM17
rw |
IM16
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IM15
rw |
IM14
rw |
IM13
rw |
IM12
rw |
IM11
rw |
IM10
rw |
IM9
rw |
IM8
rw |
IM7
rw |
IM6
rw |
IM5
rw |
IM4
rw |
IM3
rw |
IM2
rw |
IM1
rw |
IM0
rw |
Bit 0: Interrupt Mask on line 0.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Interrupt Mask on line 1.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Interrupt Mask on line 2.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Interrupt Mask on line 3.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Interrupt Mask on line 4.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Interrupt Mask on line 5.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 6: Interrupt Mask on line 6.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 7: Interrupt Mask on line 7.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Interrupt Mask on line 8.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Interrupt Mask on line 9.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Interrupt Mask on line 10.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Interrupt Mask on line 11.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 12: Interrupt Mask on line 12.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 13: Interrupt Mask on line 13.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 14: Interrupt Mask on line 14.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 15: Interrupt Mask on line 15.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 16: Interrupt Mask on line 16.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 17: Interrupt Mask on line 17.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 18: Interrupt Mask on line 18.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 19: Interrupt Mask on line 19.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 20: Interrupt Mask on line 20.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 21: Interrupt Mask on line 21.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 22: Interrupt Mask on line 22.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 23: Interrupt Mask on line 23.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 24: Interrupt Mask on line 24.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 25: Interrupt Mask on line 25.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 26: Interrupt Mask on line 26.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 27: Interrupt Mask on line 27.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 28: Interrupt Mask on line 28.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 29: Interrupt Mask on line 29.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 30: Interrupt Mask on line 30.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 31: Interrupt Mask on line 31.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Event mask register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EM31
rw |
EM30
rw |
EM29
rw |
EM28
rw |
EM27
rw |
EM26
rw |
EM25
rw |
EM24
rw |
EM23
rw |
EM22
rw |
EM21
rw |
EM20
rw |
EM19
rw |
EM18
rw |
EM17
rw |
EM16
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EM15
rw |
EM14
rw |
EM13
rw |
EM12
rw |
EM11
rw |
EM10
rw |
EM9
rw |
EM8
rw |
EM7
rw |
EM6
rw |
EM5
rw |
EM4
rw |
EM3
rw |
EM2
rw |
EM1
rw |
EM0
rw |
Bit 0: Event Mask on line 0.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Event Mask on line 1.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Event Mask on line 2.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Event Mask on line 3.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Event Mask on line 4.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Event Mask on line 5.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 6: Event Mask on line 6.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 7: Event Mask on line 7.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Event Mask on line 8.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Event Mask on line 9.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Event Mask on line 10.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Event Mask on line 11.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 12: Event Mask on line 12.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 13: Event Mask on line 13.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 14: Event Mask on line 14.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 15: Event Mask on line 15.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 16: Event Mask on line 16.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 17: Event Mask on line 17.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 18: Event Mask on line 18.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 19: Event Mask on line 19.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 20: Event Mask on line 20.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 21: Event Mask on line 21.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 22: Event Mask on line 22.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 23: Event Mask on line 23.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 24: Event Mask on line 24.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 25: Event Mask on line 25.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 26: Event Mask on line 26.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 27: Event Mask on line 27.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 28: Event Mask on line 28.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 29: Event Mask on line 29.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 30: Event Mask on line 30.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 31: Event Mask on line 31.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Rising Trigger selection register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RT31
rw |
RT30
rw |
RT29
rw |
RT22
rw |
RT21
rw |
RT20
rw |
RT19
rw |
RT17
rw |
RT16
rw |
|||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RT15
rw |
RT14
rw |
RT13
rw |
RT12
rw |
RT11
rw |
RT10
rw |
RT9
rw |
RT8
rw |
RT7
rw |
RT6
rw |
RT5
rw |
RT4
rw |
RT3
rw |
RT2
rw |
RT1
rw |
RT0
rw |
Bit 0: Rising trigger event configuration of line 0.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 1: Rising trigger event configuration of line 1.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 2: Rising trigger event configuration of line 2.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 3: Rising trigger event configuration of line 3.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 4: Rising trigger event configuration of line 4.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 5: Rising trigger event configuration of line 5.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 6: Rising trigger event configuration of line 6.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 7: Rising trigger event configuration of line 7.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 8: Rising trigger event configuration of line 8.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 9: Rising trigger event configuration of line 9.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 10: Rising trigger event configuration of line 10.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 11: Rising trigger event configuration of line 11.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 12: Rising trigger event configuration of line 12.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 13: Rising trigger event configuration of line 13.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 14: Rising trigger event configuration of line 14.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 15: Rising trigger event configuration of line 15.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 16: Rising trigger event configuration of line 16.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 17: Rising trigger event configuration of line 17.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 19: Rising trigger event configuration of line 19.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 20: Rising trigger event configuration of line 20.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 21: Rising trigger event configuration of line 21.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 22: Rising trigger event configuration of line 22.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 29: Rising trigger event configuration of line 29.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 30: Rising trigger event configuration of line 30.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 31: Rising trigger event configuration of line 31.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Falling Trigger selection register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
25/25 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FT31
rw |
FT30
rw |
FT29
rw |
FT22
rw |
FT21
rw |
FT20
rw |
FT19
rw |
FT17
rw |
FT16
rw |
|||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FT15
rw |
FT14
rw |
FT13
rw |
FT12
rw |
FT11
rw |
FT10
rw |
FT9
rw |
FT8
rw |
FT7
rw |
FT6
rw |
FT5
rw |
FT4
rw |
FT3
rw |
FT2
rw |
FT1
rw |
FT0
rw |
Bit 0: Falling trigger event configuration of line 0.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 1: Falling trigger event configuration of line 1.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 2: Falling trigger event configuration of line 2.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 3: Falling trigger event configuration of line 3.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 4: Falling trigger event configuration of line 4.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 5: Falling trigger event configuration of line 5.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 6: Falling trigger event configuration of line 6.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 7: Falling trigger event configuration of line 7.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 8: Falling trigger event configuration of line 8.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 9: Falling trigger event configuration of line 9.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 10: Falling trigger event configuration of line 10.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 11: Falling trigger event configuration of line 11.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 12: Falling trigger event configuration of line 12.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 13: Falling trigger event configuration of line 13.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 14: Falling trigger event configuration of line 14.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 15: Falling trigger event configuration of line 15.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 16: Falling trigger event configuration of line 16.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 17: Falling trigger event configuration of line 17.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 19: Falling trigger event configuration of line 19.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 20: Falling trigger event configuration of line 20.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 21: Falling trigger event configuration of line 21.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 22: Falling trigger event configuration of line 22.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 29: Falling trigger event configuration of line 29.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 30: Falling trigger event configuration of line 30.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 31: Falling trigger event configuration of line 31.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Software interrupt event register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SWI22
rw |
SWI21
rw |
SWI20
rw |
SWI19
rw |
SWI17
rw |
SWI16
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWI15
rw |
SWI14
rw |
SWI13
rw |
SWI12
rw |
SWI11
rw |
SWI10
rw |
SWI9
rw |
SWI8
rw |
SWI7
rw |
SWI6
rw |
SWI5
rw |
SWI4
rw |
SWI3
rw |
SWI2
rw |
SWI1
rw |
SWI0
rw |
Bit 0: Software Interrupt on line 0.
Allowed values:
1: Pend: Generates an interrupt request
Bit 1: Software Interrupt on line 1.
Allowed values:
1: Pend: Generates an interrupt request
Bit 2: Software Interrupt on line 2.
Allowed values:
1: Pend: Generates an interrupt request
Bit 3: Software Interrupt on line 3.
Allowed values:
1: Pend: Generates an interrupt request
Bit 4: Software Interrupt on line 4.
Allowed values:
1: Pend: Generates an interrupt request
Bit 5: Software Interrupt on line 5.
Allowed values:
1: Pend: Generates an interrupt request
Bit 6: Software Interrupt on line 6.
Allowed values:
1: Pend: Generates an interrupt request
Bit 7: Software Interrupt on line 7.
Allowed values:
1: Pend: Generates an interrupt request
Bit 8: Software Interrupt on line 8.
Allowed values:
1: Pend: Generates an interrupt request
Bit 9: Software Interrupt on line 9.
Allowed values:
1: Pend: Generates an interrupt request
Bit 10: Software Interrupt on line 10.
Allowed values:
1: Pend: Generates an interrupt request
Bit 11: Software Interrupt on line 11.
Allowed values:
1: Pend: Generates an interrupt request
Bit 12: Software Interrupt on line 12.
Allowed values:
1: Pend: Generates an interrupt request
Bit 13: Software Interrupt on line 13.
Allowed values:
1: Pend: Generates an interrupt request
Bit 14: Software Interrupt on line 14.
Allowed values:
1: Pend: Generates an interrupt request
Bit 15: Software Interrupt on line 15.
Allowed values:
1: Pend: Generates an interrupt request
Bit 16: Software Interrupt on line 16.
Allowed values:
1: Pend: Generates an interrupt request
Bit 17: Software Interrupt on line 17.
Allowed values:
1: Pend: Generates an interrupt request
Bit 19: Software Interrupt on line 19.
Allowed values:
1: Pend: Generates an interrupt request
Bit 20: Software Interrupt on line 20.
Allowed values:
1: Pend: Generates an interrupt request
Bit 21: Software Interrupt on line 21.
Allowed values:
1: Pend: Generates an interrupt request
Bit 22: Software Interrupt on line 22.
Allowed values:
1: Pend: Generates an interrupt request
Pending register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PIF22
rw |
PIF21
rw |
PIF20
rw |
PIF19
rw |
PIF17
rw |
PIF16
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PIF15
rw |
PIF14
rw |
PIF13
rw |
PIF12
rw |
PIF11
rw |
PIF10
rw |
PIF9
rw |
PIF8
rw |
PIF7
rw |
PIF6
rw |
PIF5
rw |
PIF4
rw |
PIF3
rw |
PIF2
rw |
PIF1
rw |
PIF0
rw |
Bit 0: Pending bit 0.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 1: Pending bit 1.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 2: Pending bit 2.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 3: Pending bit 3.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 4: Pending bit 4.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 5: Pending bit 5.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 6: Pending bit 6.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 7: Pending bit 7.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 8: Pending bit 8.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 9: Pending bit 9.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 10: Pending bit 10.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 11: Pending bit 11.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 12: Pending bit 12.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 13: Pending bit 13.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 14: Pending bit 14.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 15: Pending bit 15.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 16: Pending bit 16.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 17: Pending bit 17.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 19: Pending bit 19.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 20: Pending bit 20.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 21: Pending bit 21.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 22: Pending bit 22.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Interrupt mask register
Offset: 0x20, size: 32, reset: 0xFFFFFF87, access: read-write
10/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IM43
rw |
IM42
rw |
IM41
rw |
IM40
rw |
IM37
rw |
IM36
rw |
IM35
rw |
IM34
rw |
IM33
rw |
IM32
rw |
Bit 0: Interrupt Mask on external/internal line 32.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Interrupt Mask on external/internal line 33.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Interrupt Mask on external/internal line 34.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Interrupt Mask on external/internal line 35.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Interrupt Mask on external/internal line 36.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Interrupt Mask on external/internal line 37.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Interrupt Mask on external/internal line 40.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Interrupt Mask on external/internal line 41.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Interrupt Mask on external/internal line 42.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Interrupt Mask on external/internal line 43.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Event mask register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
10/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EM43
rw |
EM42
rw |
EM41
rw |
EM40
rw |
EM37
rw |
EM36
rw |
EM35
rw |
EM34
rw |
EM33
rw |
EM32
rw |
Bit 0: Event mask on external/internal line 32.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 1: Event mask on external/internal line 33.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 2: Event mask on external/internal line 34.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 3: Event mask on external/internal line 35.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 4: Event mask on external/internal line 36.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 5: Event mask on external/internal line 37.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 8: Event mask on external/internal line 40.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 9: Event mask on external/internal line 41.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 10: Event mask on external/internal line 42.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Bit 11: Event mask on external/internal line 43.
Allowed values:
0: Masked: Interrupt request line is masked
1: Unmasked: Interrupt request line is unmasked
Rising Trigger selection register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Rising trigger event configuration bit of line 32.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 1: Rising trigger event configuration bit of line 32.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 8: Rising trigger event configuration bit of line 40.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Bit 9: Rising trigger event configuration bit of line 41.
Allowed values:
0: Disabled: Rising edge trigger is disabled
1: Enabled: Rising edge trigger is enabled
Falling Trigger selection register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Falling trigger event configuration of line 32.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 1: Falling trigger event configuration of line 33.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 8: Falling trigger event configuration of line 40.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Bit 9: Falling trigger event configuration of line 41.
Allowed values:
0: Disabled: Falling edge trigger is disabled
1: Enabled: Falling edge trigger is enabled
Software interrupt event register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Software interrupt on line 32.
Allowed values:
1: Pend: Generates an interrupt request
Bit 1: Software interrupt on line 33.
Allowed values:
1: Pend: Generates an interrupt request
Bit 8: Software interrupt on line 40.
Allowed values:
1: Pend: Generates an interrupt request
Bit 9: Software interrupt on line 41.
Allowed values:
1: Pend: Generates an interrupt request
Pending register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: Pending bit 32.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 1: Pending bit 33.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 8: Pending bit 40.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
Bit 9: Pending bit 41.
Allowed values:
0: NotPending: No trigger request occurred
1: Pending: Selected trigger request occurred
0x4000a400: FDCAN
44/160 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CREL | ||||||||||||||||||||||||||||||||
0x4 | ENDN | ||||||||||||||||||||||||||||||||
0xc | DBTP | ||||||||||||||||||||||||||||||||
0x10 | TEST | ||||||||||||||||||||||||||||||||
0x14 | RWD | ||||||||||||||||||||||||||||||||
0x18 | CCCR | ||||||||||||||||||||||||||||||||
0x1c | NBTP | ||||||||||||||||||||||||||||||||
0x20 | TSCC | ||||||||||||||||||||||||||||||||
0x24 | TSCV | ||||||||||||||||||||||||||||||||
0x28 | TOCC | ||||||||||||||||||||||||||||||||
0x2c | TOCV | ||||||||||||||||||||||||||||||||
0x40 | ECR | ||||||||||||||||||||||||||||||||
0x44 | PSR | ||||||||||||||||||||||||||||||||
0x48 | TDCR | ||||||||||||||||||||||||||||||||
0x50 | IR | ||||||||||||||||||||||||||||||||
0x54 | IE | ||||||||||||||||||||||||||||||||
0x58 | ILS | ||||||||||||||||||||||||||||||||
0x5c | ILE | ||||||||||||||||||||||||||||||||
0x80 | RXGFC | ||||||||||||||||||||||||||||||||
0x84 | XIDAM | ||||||||||||||||||||||||||||||||
0x88 | HPMS | ||||||||||||||||||||||||||||||||
0x90 | RXF0S | ||||||||||||||||||||||||||||||||
0x94 | RXF0A | ||||||||||||||||||||||||||||||||
0x98 | RXF1S | ||||||||||||||||||||||||||||||||
0x9c | RXF1A | ||||||||||||||||||||||||||||||||
0xc0 | TXBC | ||||||||||||||||||||||||||||||||
0xc4 | TXFQS | ||||||||||||||||||||||||||||||||
0xc8 | TXBRP | ||||||||||||||||||||||||||||||||
0xcc | TXBAR | ||||||||||||||||||||||||||||||||
0xd0 | TXBCR | ||||||||||||||||||||||||||||||||
0xd4 | TXBTO | ||||||||||||||||||||||||||||||||
0xd8 | TXBCF | ||||||||||||||||||||||||||||||||
0xdc | TXBTIE | ||||||||||||||||||||||||||||||||
0xe0 | TXBCIE | ||||||||||||||||||||||||||||||||
0xe4 | TXEFS | ||||||||||||||||||||||||||||||||
0xe8 | TXEFA | ||||||||||||||||||||||||||||||||
0x100 | CKDIV |
FDCAN core release register
Offset: 0x0, size: 32, reset: 0x32141218, access: Unspecified
6/6 fields covered.
FDCAN endian register
Offset: 0x4, size: 32, reset: 0x87654321, access: Unspecified
1/1 fields covered.
FDCAN data bit timing and prescaler register
Offset: 0xc, size: 32, reset: 0x00000A33, access: Unspecified
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
Bits 0-3: Synchronization jump width Must always be smaller than DTSEG2, valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1: t<sub>SJW</sub> = (DSJW + 1) x tq..
Bits 4-7: Data time segment after sample point Valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS2</sub> = (DTSEG2 + 1) x tq..
Bits 8-12: Data time segment before sample point Valid values are 0 to 31. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS1</sub> = (DTSEG1 + 1) x tq..
Bits 16-20: Data bit rate prescaler The value by which the oscillator frequency is divided to generate the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are 0 to 31. The hardware interpreters this value as the value programmed plus 1..
Bit 23: Transceiver delay compensation.
FDCAN test register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/3 fields covered.
FDCAN RAM watchdog register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
Bits 0-7: Watchdog configuration Start value of the message RAM watchdog counter. With the reset value of 00, the counter is disabled. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of FDCAN_CCCR register are set to 1..
Bits 8-15: Watchdog value Actual message RAM watchdog counter value..
FDCAN CC control register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
1/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NISO
rw |
TXP
rw |
EFBI
rw |
PXHD
rw |
BRSE
rw |
FDOE
rw |
TEST
rw |
DAR
rw |
MON
rw |
CSR
rw |
CSA
r |
ASM
rw |
CCE
rw |
INIT
rw |
Bit 0: Initialization.
Bit 1: Configuration change enable.
Bit 2: ASM restricted operation mode The restricted operation mode is intended for applications that adapt themselves to different CAN bit rates. The application tests different bit rates and leaves the Restricted operation Mode after it has received a valid frame. In the optional Restricted operation Mode the node is able to transmit and receive data and remote frames and it gives acknowledge to valid frames, but it does not send active error frames or overload frames. In case of an error condition or overload condition, it does not send dominant bits, instead it waits for the occurrence of bus idle condition to resynchronize itself to the CAN communication. The error counters are not incremented. Bit ASM can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the software at any time..
Bit 3: Clock stop acknowledge.
Bit 4: Clock stop request.
Bit 5: Bus monitoring mode Bit MON can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the Host at any time..
Bit 6: Disable automatic retransmission.
Bit 7: Test mode enable.
Bit 8: FD operation enable.
Bit 9: FDCAN bit rate switching.
Bit 12: Protocol exception handling disable.
Bit 13: Edge filtering during bus integration.
Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..
Bit 15: Non ISO operation If this bit is set, the FDCAN uses the CAN FD frame format as specified by the Bosch CAN FD Specification V1.0..
FDCAN nominal bit timing and prescaler register
Offset: 0x1c, size: 32, reset: 0x06000A03, access: Unspecified
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NSJW
rw |
NBRP
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NTSEG1
rw |
NTSEG2
rw |
Bits 0-6: Nominal time segment after sample point Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that one more than the programmed value is used..
Bits 8-15: Nominal time segment before sample point Valid values are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the programmed value is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-24: Bit rate prescaler Value by which the oscillator frequency is divided for generating the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values are 0 to 511. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 25-31: Nominal (re)synchronization jump width Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that the used value is the one programmed incremented by one. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN timestamp counter configuration register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
FDCAN timestamp counter value register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSC
rw |
FDCAN timeout counter configuration register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOS
rw |
ETOC
rw |
Bit 0: Timeout counter enable This is a protected write (P) bit, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 1-2: Timeout select When operating in Continuous mode, a write to TOCV presets the counter to the value configured by TOCC[TOP] and continues down-counting. When the timeout counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by TOCC[TOP]. Down-counting is started when the first FIFO element is stored. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-31: Timeout period Start value of the timeout counter (down-counter). Configures the timeout period..
FDCAN timeout counter value register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOC
rw |
FDCAN error counter register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
3/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RP
r |
REC
r |
TEC
r |
Bits 0-7: Transmit error counter Actual state of the transmit error counter, values between 0 and 255. When CCCR.ASM is set, the CAN protocol controller does not increment TEC and REC when a CAN protocol error is detected, but CEL is still incremented..
Bits 8-14: Receive error counter Actual state of the receive error counter, values between 0 and 127..
Bit 15: Receive error passive.
Bits 16-23: CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read..
FDCAN protocol status register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
5/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDCV
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PXE
rw |
REDL
rw |
RBRS
rw |
RESI
rw |
DLEC
rw |
BO
r |
EW
r |
EP
r |
ACT
r |
LEC
rw |
Bits 0-2: Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read..
Bits 3-4: Activity Monitors the modules CAN communication state..
Bit 5: Error passive.
Bit 6: Warning Sstatus.
Bit 7: Bus_Off status.
Bits 8-10: Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read..
Bit 11: ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
Bit 12: BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
Bit 13: Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read..
Bit 14: Protocol exception event.
Bits 16-22: Transmitter delay compensation value Position of the secondary sample point, defined by the sum of the measured delay from FDCAN_TX to FDCAN_RX and TDCR.TDCO. The SSP position is, in the data phase, the number of minimum time quanta (mtq) between the start of the transmitted bit and the secondary sample point. Valid values are 0 to 127 mtq..
FDCAN transmitter delay compensation register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
Bits 0-6: Transmitter delay compensation filter window length Defines the minimum value for the SSP position, dominant edges on FDCAN_RX that would result in an earlier SSP position are ignored for transmitter delay measurements. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 8-14: Transmitter delay compensation offset Offset value defining the distance between the measured delay from FDCAN_TX to FDCAN_RX and the secondary sample point. Valid values are 0 to 127 mtq. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN interrupt register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARA
rw |
PED
rw |
PEA
rw |
WDI
rw |
BO
rw |
EW
rw |
EP
rw |
ELO
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOO
rw |
MRAF
rw |
TSW
rw |
TEFL
rw |
TEFF
rw |
TEFN
rw |
TFE
rw |
TCF
rw |
TC
rw |
HPM
rw |
RF1L
rw |
RF1F
rw |
RF1N
rw |
RF0L
rw |
RF0F
rw |
RF0N
rw |
Bit 0: Rx FIFO 0 new message.
Bit 1: Rx FIFO 0 full.
Bit 2: Rx FIFO 0 message lost.
Bit 3: Rx FIFO 1 new message.
Bit 4: Rx FIFO 1 full.
Bit 5: Rx FIFO 1 message lost.
Bit 6: High-priority message.
Bit 7: Transmission completed.
Bit 8: Transmission cancellation finished.
Bit 9: Tx FIFO empty.
Bit 10: Tx event FIFO New Entry.
Bit 11: Tx event FIFO full.
Bit 12: Tx event FIFO element lost.
Bit 13: Timestamp wraparound.
Bit 14: Message RAM access failure The flag is set when the Rx handler: has not completed acceptance filtering or storage of an accepted message until the arbitration field of the following message has been received. In this case acceptance filtering or message storage is aborted and the Rx handler starts processing of the following message. was unable to write a message to the message RAM. In this case message storage is aborted. In both cases the FIFO put index is not updated. The partly stored message is overwritten when the next message is stored to this location. The flag is also set when the Tx Handler was not able to read a message from the Message RAM in time. In this case message transmission is aborted. In case of a Tx Handler access failure the FDCAN is switched into Restricted operation Mode (see Restricted operation mode). To leave Restricted operation Mode, the Host CPU has to reset CCCR.ASM..
Bit 15: Timeout occurred.
Bit 16: Error logging overflow.
Bit 17: Error passive.
Bit 18: Warning status.
Bit 19: Bus_Off status.
Bit 20: Watchdog interrupt.
Bit 21: Protocol error in arbitration phase (nominal bit time is used).
Bit 22: Protocol error in data phase (data bit time is used).
Bit 23: Access to reserved address.
FDCAN interrupt enable register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARAE
rw |
PEDE
rw |
PEAE
rw |
WDIE
rw |
BOE
rw |
EWE
rw |
EPE
rw |
ELOE
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOOE
rw |
MRAFE
rw |
TSWE
rw |
TEFLE
rw |
TEFFE
rw |
TEFNE
rw |
TFEE
rw |
TCFE
rw |
TCE
rw |
HPME
rw |
RF1LE
rw |
RF1FE
rw |
RF1NE
rw |
RF0LE
rw |
RF0FE
rw |
RF0NE
rw |
Bit 0: Rx FIFO 0 new message interrupt enable.
Bit 1: Rx FIFO 0 full interrupt enable.
Bit 2: Rx FIFO 0 message lost interrupt enable.
Bit 3: Rx FIFO 1 new message interrupt enable.
Bit 4: Rx FIFO 1 full interrupt enable.
Bit 5: Rx FIFO 1 message lost interrupt enable.
Bit 6: High-priority message interrupt enable.
Bit 7: Transmission completed interrupt enable.
Bit 8: Transmission cancellation finished interrupt enable.
Bit 9: Tx FIFO empty interrupt enable.
Bit 10: Tx event FIFO new entry interrupt enable.
Bit 11: Tx event FIFO full interrupt enable.
Bit 12: Tx event FIFO element lost interrupt enable.
Bit 13: Timestamp wraparound interrupt enable.
Bit 14: Message RAM access failure interrupt enable.
Bit 15: Timeout occurred interrupt enable.
Bit 16: Error logging overflow interrupt enable.
Bit 17: Error passive interrupt enable.
Bit 18: Warning status interrupt enable.
Bit 19: Bus_Off status.
Bit 20: Watchdog interrupt enable.
Bit 21: Protocol error in arbitration phase enable.
Bit 22: Protocol error in data phase enable.
Bit 23: Access to reserved address enable.
FDCAN interrupt line select register
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PERR
rw |
BERR
rw |
MISC
rw |
TFERR
rw |
SMSG
rw |
RXFIFO1
rw |
RXFIFO0
rw |
Bit 0: RX FIFO bit grouping the following interruption RF0LL: Rx FIFO 0 message lost interrupt line RF0FL: Rx FIFO 0 full interrupt line RF0NL: Rx FIFO 0 new message interrupt line.
Bit 1: RX FIFO bit grouping the following interruption RF1LL: Rx FIFO 1 message lost interrupt line RF1FL: Rx FIFO 1 full interrupt line RF1NL: Rx FIFO 1 new message interrupt line.
Bit 2: Status message bit grouping the following interruption TCFL: Transmission cancellation finished interrupt line TCL: Transmission completed interrupt line HPML: High-priority message interrupt line.
Bit 3: Tx FIFO ERROR grouping the following interruption TEFLL: Tx event FIFO element lost interrupt line TEFFL: Tx event FIFO full interrupt line TEFNL: Tx event FIFO new entry interrupt line TFEL: Tx FIFO empty interrupt line.
Bit 4: Interrupt regrouping the following interruption TOOL: Timeout occurred interrupt line MRAFL: Message RAM access failure interrupt line TSWL: Timestamp wraparound interrupt line.
Bit 5: Bit and line error grouping the following interruption EPL Error passive interrupt line ELOL: Error logging overflow interrupt line.
Bit 6: Protocol error grouping the following interruption ARAL: Access to reserved address line PEDL: Protocol error in data phase line PEAL: Protocol error in arbitration phase line WDIL: Watchdog interrupt line BOL: Bus_Off status EWL: Warning status interrupt line.
FDCAN interrupt line enable register
Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
FDCAN global filter configuration register
Offset: 0x80, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSE
rw |
LSS
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F0OM
rw |
F1OM
rw |
ANFS
rw |
ANFE
rw |
RRFS
rw |
RRFE
rw |
Bit 0: Reject remote frames extended These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 1: Reject remote frames standard These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 2-3: Accept non-matching frames extended Defines how received messages with 29-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 4-5: Accept Non-matching frames standard Defines how received messages with 11-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 8: FIFO 1 operation mode (overwrite or blocking) This is a protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 9: FIFO 0 operation mode (overwrite or blocking) This is protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-20: List size standard 1 to 28: Number of standard message ID filter elements >28: Values greater than 28 are interpreted as 28. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 24-27: List size extended 1 to 8: Number of extended message ID filter elements >8: Values greater than 8 are interpreted as 8. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN extended ID and mask register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: Unspecified
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EIDM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EIDM
rw |
Bits 0-28: Extended ID mask For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN high-priority message status register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Bits 0-2: Buffer index Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1..
Bits 6-7: Message storage indicator.
Bits 8-12: Filter index Index of matching filter element. Range is 0 to RXGFC[LSS] - 1 or RXGFC[LSE] - 1..
Bit 15: Filter list Indicates the filter list of the matching filter element..
FDCAN Rx FIFO 0 status register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RF0L
r |
F0F
r |
F0PI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F0GI
r |
F0FL
r |
Bits 0-3: Rx FIFO 0 fill level Number of elements stored in Rx FIFO 0, range 0 to 3..
Bits 8-9: Rx FIFO 0 get index Rx FIFO 0 read index pointer, range 0 to 2..
Bits 16-17: Rx FIFO 0 put index Rx FIFO 0 write index pointer, range 0 to 2..
Bit 24: Rx FIFO 0 full.
Bit 25: Rx FIFO 0 message lost This bit is a copy of interrupt flag IR[RF0L]. When IR[RF0L] is reset, this bit is also reset..
CAN Rx FIFO 0 acknowledge register
Offset: 0x94, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F0AI
rw |
Bits 0-2: Rx FIFO 0 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 0 it has to write the buffer index of the last element read from Rx FIFO 0 to F0AI. This sets the Rx FIFO 0 get index RXF0S[F0GI] to F0AI + 1 and update the FIFO 0 fill level RXF0S[F0FL]..
FDCAN Rx FIFO 1 status register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RF1L
r |
F1F
r |
F1PI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F1GI
r |
F1FL
r |
Bits 0-3: Rx FIFO 1 fill level Number of elements stored in Rx FIFO 1, range 0 to 3..
Bits 8-9: Rx FIFO 1 get index Rx FIFO 1 read index pointer, range 0 to 2..
Bits 16-17: Rx FIFO 1 put index Rx FIFO 1 write index pointer, range 0 to 2..
Bit 24: Rx FIFO 1 full.
Bit 25: Rx FIFO 1 message lost This bit is a copy of interrupt flag IR[RF1L]. When IR[RF1L] is reset, this bit is also reset..
FDCAN Rx FIFO 1 acknowledge register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F1AI
rw |
Bits 0-2: Rx FIFO 1 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 1 it has to write the buffer index of the last element read from Rx FIFO 1 to F1AI. This sets the Rx FIFO 1 get index RXF1S[F1GI] to F1AI + 1 and update the FIFO 1 Fill Level RXF1S[F1FL]..
FDCAN Tx buffer configuration register
Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFQM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FDCAN Tx FIFO/queue status register
Offset: 0xc4, size: 32, reset: 0x00000003, access: Unspecified
4/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFQF
r |
TFQPI
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TFGI
r |
TFFL
r |
Bits 0-2: Tx FIFO free level Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)..
Bits 8-9: Tx FIFO get index Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1).
Bits 16-17: Tx FIFO/queue put index Tx FIFO/queue write index pointer, range 0 to 3.
Bit 21: Tx FIFO/queue full.
FDCAN Tx buffer request pending register
Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRP
r |
Bits 0-2: Transmission request pending Each Tx buffer has its own transmission request pending bit. The bits are set via register TXBAR. The bits are reset after a requested transmission has completed or has been canceled via register TXBCR. After a TXBRP bit has been set, a Tx scan is started to check for the pending Tx request with the highest priority (Tx buffer with lowest Message ID). A cancellation request resets the corresponding transmission request pending bit of register TXBRP. In case a transmission has already been started when a cancellation is requested, this is done at the end of the transmission, regardless whether the transmission was successful or not. The cancellation request bits are reset directly after the corresponding TXBRP bit has been reset. After a cancellation has been requested, a finished cancellation is signaled via TXBCF after successful transmission together with the corresponding TXBTO bit when the transmission has not yet been started at the point of cancellation when the transmission has been aborted due to lost arbitration when an error occurred during frame transmission In DAR mode all transmissions are automatically canceled if they are not successful. The corresponding TXBCF bit is set for all unsuccessful transmissions..
FDCAN Tx buffer add request register
Offset: 0xcc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AR
rw |
Bits 0-2: Add request Each Tx buffer has its own add request bit. Writing a 1 sets the corresponding add request bit; writing a 0 has no impact. This enables the Host to set transmission requests for multiple Tx buffers with one write to TXBAR. When no Tx scan is running, the bits are reset immediately, else the bits remain set until the Tx scan process has completed..
FDCAN Tx buffer cancellation request register
Offset: 0xd0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR
rw |
Bits 0-2: Cancellation request Each Tx buffer has its own cancellation request bit. Writing a 1 sets the corresponding CR bit; writing a 0 has no impact. This enables the Host to set cancellation requests for multiple Tx buffers with one write to TXBCR. The bits remain set until the corresponding TXBRP bit is reset..
FDCAN Tx buffer transmission occurred register
Offset: 0xd4, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TO
r |
FDCAN Tx buffer cancellation finished register
Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CF
r |
Bits 0-2: Cancellation finished Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
FDCAN Tx buffer transmission interrupt enable register
Offset: 0xdc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TIE
rw |
FDCAN Tx buffer cancellation finished interrupt enable register
Offset: 0xe0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFIE
rw |
FDCAN Tx event FIFO status register
Offset: 0xe4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEFL
r |
EFF
r |
EFPI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EFGI
r |
EFFL
r |
Bits 0-2: Event FIFO fill level Number of elements stored in Tx event FIFO, range 0 to 3..
Bits 8-9: Event FIFO get index Tx event FIFO read index pointer, range 0 to 3..
Bits 16-17: Event FIFO put index Tx event FIFO write index pointer, range 0 to 3..
Bit 24: Event FIFO full.
Bit 25: Tx event FIFO element lost This bit is a copy of interrupt flag IR[TEFL]. When IR[TEFL] is reset, this bit is also reset. 0 No Tx event FIFO element lost 1 Tx event FIFO element lost, also set after write attempt to Tx event FIFO of size 0..
FDCAN Tx event FIFO acknowledge register
Offset: 0xe8, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EFAI
rw |
Bits 0-1: Event FIFO acknowledge index After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]..
FDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDIV
rw |
Bits 0-3: input clock divider The APB clock could be divided prior to be used by the CAN sub system. The rate must be computed using the divider output clock. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
0x40006400: FDCAN
44/160 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CREL | ||||||||||||||||||||||||||||||||
0x4 | ENDN | ||||||||||||||||||||||||||||||||
0xc | DBTP | ||||||||||||||||||||||||||||||||
0x10 | TEST | ||||||||||||||||||||||||||||||||
0x14 | RWD | ||||||||||||||||||||||||||||||||
0x18 | CCCR | ||||||||||||||||||||||||||||||||
0x1c | NBTP | ||||||||||||||||||||||||||||||||
0x20 | TSCC | ||||||||||||||||||||||||||||||||
0x24 | TSCV | ||||||||||||||||||||||||||||||||
0x28 | TOCC | ||||||||||||||||||||||||||||||||
0x2c | TOCV | ||||||||||||||||||||||||||||||||
0x40 | ECR | ||||||||||||||||||||||||||||||||
0x44 | PSR | ||||||||||||||||||||||||||||||||
0x48 | TDCR | ||||||||||||||||||||||||||||||||
0x50 | IR | ||||||||||||||||||||||||||||||||
0x54 | IE | ||||||||||||||||||||||||||||||||
0x58 | ILS | ||||||||||||||||||||||||||||||||
0x5c | ILE | ||||||||||||||||||||||||||||||||
0x80 | RXGFC | ||||||||||||||||||||||||||||||||
0x84 | XIDAM | ||||||||||||||||||||||||||||||||
0x88 | HPMS | ||||||||||||||||||||||||||||||||
0x90 | RXF0S | ||||||||||||||||||||||||||||||||
0x94 | RXF0A | ||||||||||||||||||||||||||||||||
0x98 | RXF1S | ||||||||||||||||||||||||||||||||
0x9c | RXF1A | ||||||||||||||||||||||||||||||||
0xc0 | TXBC | ||||||||||||||||||||||||||||||||
0xc4 | TXFQS | ||||||||||||||||||||||||||||||||
0xc8 | TXBRP | ||||||||||||||||||||||||||||||||
0xcc | TXBAR | ||||||||||||||||||||||||||||||||
0xd0 | TXBCR | ||||||||||||||||||||||||||||||||
0xd4 | TXBTO | ||||||||||||||||||||||||||||||||
0xd8 | TXBCF | ||||||||||||||||||||||||||||||||
0xdc | TXBTIE | ||||||||||||||||||||||||||||||||
0xe0 | TXBCIE | ||||||||||||||||||||||||||||||||
0xe4 | TXEFS | ||||||||||||||||||||||||||||||||
0xe8 | TXEFA | ||||||||||||||||||||||||||||||||
0x100 | CKDIV |
FDCAN core release register
Offset: 0x0, size: 32, reset: 0x32141218, access: Unspecified
6/6 fields covered.
FDCAN endian register
Offset: 0x4, size: 32, reset: 0x87654321, access: Unspecified
1/1 fields covered.
FDCAN data bit timing and prescaler register
Offset: 0xc, size: 32, reset: 0x00000A33, access: Unspecified
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
Bits 0-3: Synchronization jump width Must always be smaller than DTSEG2, valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1: t<sub>SJW</sub> = (DSJW + 1) x tq..
Bits 4-7: Data time segment after sample point Valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS2</sub> = (DTSEG2 + 1) x tq..
Bits 8-12: Data time segment before sample point Valid values are 0 to 31. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS1</sub> = (DTSEG1 + 1) x tq..
Bits 16-20: Data bit rate prescaler The value by which the oscillator frequency is divided to generate the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are 0 to 31. The hardware interpreters this value as the value programmed plus 1..
Bit 23: Transceiver delay compensation.
FDCAN test register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/3 fields covered.
FDCAN RAM watchdog register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
Bits 0-7: Watchdog configuration Start value of the message RAM watchdog counter. With the reset value of 00, the counter is disabled. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of FDCAN_CCCR register are set to 1..
Bits 8-15: Watchdog value Actual message RAM watchdog counter value..
FDCAN CC control register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
1/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NISO
rw |
TXP
rw |
EFBI
rw |
PXHD
rw |
BRSE
rw |
FDOE
rw |
TEST
rw |
DAR
rw |
MON
rw |
CSR
rw |
CSA
r |
ASM
rw |
CCE
rw |
INIT
rw |
Bit 0: Initialization.
Bit 1: Configuration change enable.
Bit 2: ASM restricted operation mode The restricted operation mode is intended for applications that adapt themselves to different CAN bit rates. The application tests different bit rates and leaves the Restricted operation Mode after it has received a valid frame. In the optional Restricted operation Mode the node is able to transmit and receive data and remote frames and it gives acknowledge to valid frames, but it does not send active error frames or overload frames. In case of an error condition or overload condition, it does not send dominant bits, instead it waits for the occurrence of bus idle condition to resynchronize itself to the CAN communication. The error counters are not incremented. Bit ASM can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the software at any time..
Bit 3: Clock stop acknowledge.
Bit 4: Clock stop request.
Bit 5: Bus monitoring mode Bit MON can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the Host at any time..
Bit 6: Disable automatic retransmission.
Bit 7: Test mode enable.
Bit 8: FD operation enable.
Bit 9: FDCAN bit rate switching.
Bit 12: Protocol exception handling disable.
Bit 13: Edge filtering during bus integration.
Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..
Bit 15: Non ISO operation If this bit is set, the FDCAN uses the CAN FD frame format as specified by the Bosch CAN FD Specification V1.0..
FDCAN nominal bit timing and prescaler register
Offset: 0x1c, size: 32, reset: 0x06000A03, access: Unspecified
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NSJW
rw |
NBRP
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NTSEG1
rw |
NTSEG2
rw |
Bits 0-6: Nominal time segment after sample point Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that one more than the programmed value is used..
Bits 8-15: Nominal time segment before sample point Valid values are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the programmed value is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-24: Bit rate prescaler Value by which the oscillator frequency is divided for generating the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values are 0 to 511. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 25-31: Nominal (re)synchronization jump width Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that the used value is the one programmed incremented by one. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN timestamp counter configuration register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
FDCAN timestamp counter value register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSC
rw |
FDCAN timeout counter configuration register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOS
rw |
ETOC
rw |
Bit 0: Timeout counter enable This is a protected write (P) bit, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 1-2: Timeout select When operating in Continuous mode, a write to TOCV presets the counter to the value configured by TOCC[TOP] and continues down-counting. When the timeout counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by TOCC[TOP]. Down-counting is started when the first FIFO element is stored. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-31: Timeout period Start value of the timeout counter (down-counter). Configures the timeout period..
FDCAN timeout counter value register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOC
rw |
FDCAN error counter register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
3/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RP
r |
REC
r |
TEC
r |
Bits 0-7: Transmit error counter Actual state of the transmit error counter, values between 0 and 255. When CCCR.ASM is set, the CAN protocol controller does not increment TEC and REC when a CAN protocol error is detected, but CEL is still incremented..
Bits 8-14: Receive error counter Actual state of the receive error counter, values between 0 and 127..
Bit 15: Receive error passive.
Bits 16-23: CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read..
FDCAN protocol status register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
5/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDCV
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PXE
rw |
REDL
rw |
RBRS
rw |
RESI
rw |
DLEC
rw |
BO
r |
EW
r |
EP
r |
ACT
r |
LEC
rw |
Bits 0-2: Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read..
Bits 3-4: Activity Monitors the modules CAN communication state..
Bit 5: Error passive.
Bit 6: Warning Sstatus.
Bit 7: Bus_Off status.
Bits 8-10: Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read..
Bit 11: ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
Bit 12: BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
Bit 13: Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read..
Bit 14: Protocol exception event.
Bits 16-22: Transmitter delay compensation value Position of the secondary sample point, defined by the sum of the measured delay from FDCAN_TX to FDCAN_RX and TDCR.TDCO. The SSP position is, in the data phase, the number of minimum time quanta (mtq) between the start of the transmitted bit and the secondary sample point. Valid values are 0 to 127 mtq..
FDCAN transmitter delay compensation register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
Bits 0-6: Transmitter delay compensation filter window length Defines the minimum value for the SSP position, dominant edges on FDCAN_RX that would result in an earlier SSP position are ignored for transmitter delay measurements. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 8-14: Transmitter delay compensation offset Offset value defining the distance between the measured delay from FDCAN_TX to FDCAN_RX and the secondary sample point. Valid values are 0 to 127 mtq. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN interrupt register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARA
rw |
PED
rw |
PEA
rw |
WDI
rw |
BO
rw |
EW
rw |
EP
rw |
ELO
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOO
rw |
MRAF
rw |
TSW
rw |
TEFL
rw |
TEFF
rw |
TEFN
rw |
TFE
rw |
TCF
rw |
TC
rw |
HPM
rw |
RF1L
rw |
RF1F
rw |
RF1N
rw |
RF0L
rw |
RF0F
rw |
RF0N
rw |
Bit 0: Rx FIFO 0 new message.
Bit 1: Rx FIFO 0 full.
Bit 2: Rx FIFO 0 message lost.
Bit 3: Rx FIFO 1 new message.
Bit 4: Rx FIFO 1 full.
Bit 5: Rx FIFO 1 message lost.
Bit 6: High-priority message.
Bit 7: Transmission completed.
Bit 8: Transmission cancellation finished.
Bit 9: Tx FIFO empty.
Bit 10: Tx event FIFO New Entry.
Bit 11: Tx event FIFO full.
Bit 12: Tx event FIFO element lost.
Bit 13: Timestamp wraparound.
Bit 14: Message RAM access failure The flag is set when the Rx handler: has not completed acceptance filtering or storage of an accepted message until the arbitration field of the following message has been received. In this case acceptance filtering or message storage is aborted and the Rx handler starts processing of the following message. was unable to write a message to the message RAM. In this case message storage is aborted. In both cases the FIFO put index is not updated. The partly stored message is overwritten when the next message is stored to this location. The flag is also set when the Tx Handler was not able to read a message from the Message RAM in time. In this case message transmission is aborted. In case of a Tx Handler access failure the FDCAN is switched into Restricted operation Mode (see Restricted operation mode). To leave Restricted operation Mode, the Host CPU has to reset CCCR.ASM..
Bit 15: Timeout occurred.
Bit 16: Error logging overflow.
Bit 17: Error passive.
Bit 18: Warning status.
Bit 19: Bus_Off status.
Bit 20: Watchdog interrupt.
Bit 21: Protocol error in arbitration phase (nominal bit time is used).
Bit 22: Protocol error in data phase (data bit time is used).
Bit 23: Access to reserved address.
FDCAN interrupt enable register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARAE
rw |
PEDE
rw |
PEAE
rw |
WDIE
rw |
BOE
rw |
EWE
rw |
EPE
rw |
ELOE
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOOE
rw |
MRAFE
rw |
TSWE
rw |
TEFLE
rw |
TEFFE
rw |
TEFNE
rw |
TFEE
rw |
TCFE
rw |
TCE
rw |
HPME
rw |
RF1LE
rw |
RF1FE
rw |
RF1NE
rw |
RF0LE
rw |
RF0FE
rw |
RF0NE
rw |
Bit 0: Rx FIFO 0 new message interrupt enable.
Bit 1: Rx FIFO 0 full interrupt enable.
Bit 2: Rx FIFO 0 message lost interrupt enable.
Bit 3: Rx FIFO 1 new message interrupt enable.
Bit 4: Rx FIFO 1 full interrupt enable.
Bit 5: Rx FIFO 1 message lost interrupt enable.
Bit 6: High-priority message interrupt enable.
Bit 7: Transmission completed interrupt enable.
Bit 8: Transmission cancellation finished interrupt enable.
Bit 9: Tx FIFO empty interrupt enable.
Bit 10: Tx event FIFO new entry interrupt enable.
Bit 11: Tx event FIFO full interrupt enable.
Bit 12: Tx event FIFO element lost interrupt enable.
Bit 13: Timestamp wraparound interrupt enable.
Bit 14: Message RAM access failure interrupt enable.
Bit 15: Timeout occurred interrupt enable.
Bit 16: Error logging overflow interrupt enable.
Bit 17: Error passive interrupt enable.
Bit 18: Warning status interrupt enable.
Bit 19: Bus_Off status.
Bit 20: Watchdog interrupt enable.
Bit 21: Protocol error in arbitration phase enable.
Bit 22: Protocol error in data phase enable.
Bit 23: Access to reserved address enable.
FDCAN interrupt line select register
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PERR
rw |
BERR
rw |
MISC
rw |
TFERR
rw |
SMSG
rw |
RXFIFO1
rw |
RXFIFO0
rw |
Bit 0: RX FIFO bit grouping the following interruption RF0LL: Rx FIFO 0 message lost interrupt line RF0FL: Rx FIFO 0 full interrupt line RF0NL: Rx FIFO 0 new message interrupt line.
Bit 1: RX FIFO bit grouping the following interruption RF1LL: Rx FIFO 1 message lost interrupt line RF1FL: Rx FIFO 1 full interrupt line RF1NL: Rx FIFO 1 new message interrupt line.
Bit 2: Status message bit grouping the following interruption TCFL: Transmission cancellation finished interrupt line TCL: Transmission completed interrupt line HPML: High-priority message interrupt line.
Bit 3: Tx FIFO ERROR grouping the following interruption TEFLL: Tx event FIFO element lost interrupt line TEFFL: Tx event FIFO full interrupt line TEFNL: Tx event FIFO new entry interrupt line TFEL: Tx FIFO empty interrupt line.
Bit 4: Interrupt regrouping the following interruption TOOL: Timeout occurred interrupt line MRAFL: Message RAM access failure interrupt line TSWL: Timestamp wraparound interrupt line.
Bit 5: Bit and line error grouping the following interruption EPL Error passive interrupt line ELOL: Error logging overflow interrupt line.
Bit 6: Protocol error grouping the following interruption ARAL: Access to reserved address line PEDL: Protocol error in data phase line PEAL: Protocol error in arbitration phase line WDIL: Watchdog interrupt line BOL: Bus_Off status EWL: Warning status interrupt line.
FDCAN interrupt line enable register
Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
FDCAN global filter configuration register
Offset: 0x80, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSE
rw |
LSS
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F0OM
rw |
F1OM
rw |
ANFS
rw |
ANFE
rw |
RRFS
rw |
RRFE
rw |
Bit 0: Reject remote frames extended These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 1: Reject remote frames standard These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 2-3: Accept non-matching frames extended Defines how received messages with 29-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 4-5: Accept Non-matching frames standard Defines how received messages with 11-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 8: FIFO 1 operation mode (overwrite or blocking) This is a protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 9: FIFO 0 operation mode (overwrite or blocking) This is protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-20: List size standard 1 to 28: Number of standard message ID filter elements >28: Values greater than 28 are interpreted as 28. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 24-27: List size extended 1 to 8: Number of extended message ID filter elements >8: Values greater than 8 are interpreted as 8. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN extended ID and mask register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: Unspecified
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EIDM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EIDM
rw |
Bits 0-28: Extended ID mask For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN high-priority message status register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Bits 0-2: Buffer index Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1..
Bits 6-7: Message storage indicator.
Bits 8-12: Filter index Index of matching filter element. Range is 0 to RXGFC[LSS] - 1 or RXGFC[LSE] - 1..
Bit 15: Filter list Indicates the filter list of the matching filter element..
FDCAN Rx FIFO 0 status register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RF0L
r |
F0F
r |
F0PI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F0GI
r |
F0FL
r |
Bits 0-3: Rx FIFO 0 fill level Number of elements stored in Rx FIFO 0, range 0 to 3..
Bits 8-9: Rx FIFO 0 get index Rx FIFO 0 read index pointer, range 0 to 2..
Bits 16-17: Rx FIFO 0 put index Rx FIFO 0 write index pointer, range 0 to 2..
Bit 24: Rx FIFO 0 full.
Bit 25: Rx FIFO 0 message lost This bit is a copy of interrupt flag IR[RF0L]. When IR[RF0L] is reset, this bit is also reset..
CAN Rx FIFO 0 acknowledge register
Offset: 0x94, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F0AI
rw |
Bits 0-2: Rx FIFO 0 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 0 it has to write the buffer index of the last element read from Rx FIFO 0 to F0AI. This sets the Rx FIFO 0 get index RXF0S[F0GI] to F0AI + 1 and update the FIFO 0 fill level RXF0S[F0FL]..
FDCAN Rx FIFO 1 status register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RF1L
r |
F1F
r |
F1PI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F1GI
r |
F1FL
r |
Bits 0-3: Rx FIFO 1 fill level Number of elements stored in Rx FIFO 1, range 0 to 3..
Bits 8-9: Rx FIFO 1 get index Rx FIFO 1 read index pointer, range 0 to 2..
Bits 16-17: Rx FIFO 1 put index Rx FIFO 1 write index pointer, range 0 to 2..
Bit 24: Rx FIFO 1 full.
Bit 25: Rx FIFO 1 message lost This bit is a copy of interrupt flag IR[RF1L]. When IR[RF1L] is reset, this bit is also reset..
FDCAN Rx FIFO 1 acknowledge register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F1AI
rw |
Bits 0-2: Rx FIFO 1 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 1 it has to write the buffer index of the last element read from Rx FIFO 1 to F1AI. This sets the Rx FIFO 1 get index RXF1S[F1GI] to F1AI + 1 and update the FIFO 1 Fill Level RXF1S[F1FL]..
FDCAN Tx buffer configuration register
Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFQM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FDCAN Tx FIFO/queue status register
Offset: 0xc4, size: 32, reset: 0x00000003, access: Unspecified
4/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFQF
r |
TFQPI
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TFGI
r |
TFFL
r |
Bits 0-2: Tx FIFO free level Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)..
Bits 8-9: Tx FIFO get index Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1).
Bits 16-17: Tx FIFO/queue put index Tx FIFO/queue write index pointer, range 0 to 3.
Bit 21: Tx FIFO/queue full.
FDCAN Tx buffer request pending register
Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRP
r |
Bits 0-2: Transmission request pending Each Tx buffer has its own transmission request pending bit. The bits are set via register TXBAR. The bits are reset after a requested transmission has completed or has been canceled via register TXBCR. After a TXBRP bit has been set, a Tx scan is started to check for the pending Tx request with the highest priority (Tx buffer with lowest Message ID). A cancellation request resets the corresponding transmission request pending bit of register TXBRP. In case a transmission has already been started when a cancellation is requested, this is done at the end of the transmission, regardless whether the transmission was successful or not. The cancellation request bits are reset directly after the corresponding TXBRP bit has been reset. After a cancellation has been requested, a finished cancellation is signaled via TXBCF after successful transmission together with the corresponding TXBTO bit when the transmission has not yet been started at the point of cancellation when the transmission has been aborted due to lost arbitration when an error occurred during frame transmission In DAR mode all transmissions are automatically canceled if they are not successful. The corresponding TXBCF bit is set for all unsuccessful transmissions..
FDCAN Tx buffer add request register
Offset: 0xcc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AR
rw |
Bits 0-2: Add request Each Tx buffer has its own add request bit. Writing a 1 sets the corresponding add request bit; writing a 0 has no impact. This enables the Host to set transmission requests for multiple Tx buffers with one write to TXBAR. When no Tx scan is running, the bits are reset immediately, else the bits remain set until the Tx scan process has completed..
FDCAN Tx buffer cancellation request register
Offset: 0xd0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR
rw |
Bits 0-2: Cancellation request Each Tx buffer has its own cancellation request bit. Writing a 1 sets the corresponding CR bit; writing a 0 has no impact. This enables the Host to set cancellation requests for multiple Tx buffers with one write to TXBCR. The bits remain set until the corresponding TXBRP bit is reset..
FDCAN Tx buffer transmission occurred register
Offset: 0xd4, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TO
r |
FDCAN Tx buffer cancellation finished register
Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CF
r |
Bits 0-2: Cancellation finished Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
FDCAN Tx buffer transmission interrupt enable register
Offset: 0xdc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TIE
rw |
FDCAN Tx buffer cancellation finished interrupt enable register
Offset: 0xe0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFIE
rw |
FDCAN Tx event FIFO status register
Offset: 0xe4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEFL
r |
EFF
r |
EFPI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EFGI
r |
EFFL
r |
Bits 0-2: Event FIFO fill level Number of elements stored in Tx event FIFO, range 0 to 3..
Bits 8-9: Event FIFO get index Tx event FIFO read index pointer, range 0 to 3..
Bits 16-17: Event FIFO put index Tx event FIFO write index pointer, range 0 to 3..
Bit 24: Event FIFO full.
Bit 25: Tx event FIFO element lost This bit is a copy of interrupt flag IR[TEFL]. When IR[TEFL] is reset, this bit is also reset. 0 No Tx event FIFO element lost 1 Tx event FIFO element lost, also set after write attempt to Tx event FIFO of size 0..
FDCAN Tx event FIFO acknowledge register
Offset: 0xe8, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EFAI
rw |
Bits 0-1: Event FIFO acknowledge index After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]..
FDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDIV
rw |
Bits 0-3: input clock divider The APB clock could be divided prior to be used by the CAN sub system. The rate must be computed using the divider output clock. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
0x40006800: FDCAN
44/160 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CREL | ||||||||||||||||||||||||||||||||
0x4 | ENDN | ||||||||||||||||||||||||||||||||
0xc | DBTP | ||||||||||||||||||||||||||||||||
0x10 | TEST | ||||||||||||||||||||||||||||||||
0x14 | RWD | ||||||||||||||||||||||||||||||||
0x18 | CCCR | ||||||||||||||||||||||||||||||||
0x1c | NBTP | ||||||||||||||||||||||||||||||||
0x20 | TSCC | ||||||||||||||||||||||||||||||||
0x24 | TSCV | ||||||||||||||||||||||||||||||||
0x28 | TOCC | ||||||||||||||||||||||||||||||||
0x2c | TOCV | ||||||||||||||||||||||||||||||||
0x40 | ECR | ||||||||||||||||||||||||||||||||
0x44 | PSR | ||||||||||||||||||||||||||||||||
0x48 | TDCR | ||||||||||||||||||||||||||||||||
0x50 | IR | ||||||||||||||||||||||||||||||||
0x54 | IE | ||||||||||||||||||||||||||||||||
0x58 | ILS | ||||||||||||||||||||||||||||||||
0x5c | ILE | ||||||||||||||||||||||||||||||||
0x80 | RXGFC | ||||||||||||||||||||||||||||||||
0x84 | XIDAM | ||||||||||||||||||||||||||||||||
0x88 | HPMS | ||||||||||||||||||||||||||||||||
0x90 | RXF0S | ||||||||||||||||||||||||||||||||
0x94 | RXF0A | ||||||||||||||||||||||||||||||||
0x98 | RXF1S | ||||||||||||||||||||||||||||||||
0x9c | RXF1A | ||||||||||||||||||||||||||||||||
0xc0 | TXBC | ||||||||||||||||||||||||||||||||
0xc4 | TXFQS | ||||||||||||||||||||||||||||||||
0xc8 | TXBRP | ||||||||||||||||||||||||||||||||
0xcc | TXBAR | ||||||||||||||||||||||||||||||||
0xd0 | TXBCR | ||||||||||||||||||||||||||||||||
0xd4 | TXBTO | ||||||||||||||||||||||||||||||||
0xd8 | TXBCF | ||||||||||||||||||||||||||||||||
0xdc | TXBTIE | ||||||||||||||||||||||||||||||||
0xe0 | TXBCIE | ||||||||||||||||||||||||||||||||
0xe4 | TXEFS | ||||||||||||||||||||||||||||||||
0xe8 | TXEFA | ||||||||||||||||||||||||||||||||
0x100 | CKDIV |
FDCAN core release register
Offset: 0x0, size: 32, reset: 0x32141218, access: Unspecified
6/6 fields covered.
FDCAN endian register
Offset: 0x4, size: 32, reset: 0x87654321, access: Unspecified
1/1 fields covered.
FDCAN data bit timing and prescaler register
Offset: 0xc, size: 32, reset: 0x00000A33, access: Unspecified
0/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
Bits 0-3: Synchronization jump width Must always be smaller than DTSEG2, valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1: t<sub>SJW</sub> = (DSJW + 1) x tq..
Bits 4-7: Data time segment after sample point Valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS2</sub> = (DTSEG2 + 1) x tq..
Bits 8-12: Data time segment before sample point Valid values are 0 to 31. The value used by the hardware is the one programmed, incremented by 1, i.e. t<sub>BS1</sub> = (DTSEG1 + 1) x tq..
Bits 16-20: Data bit rate prescaler The value by which the oscillator frequency is divided to generate the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are 0 to 31. The hardware interpreters this value as the value programmed plus 1..
Bit 23: Transceiver delay compensation.
FDCAN test register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/3 fields covered.
FDCAN RAM watchdog register
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
Bits 0-7: Watchdog configuration Start value of the message RAM watchdog counter. With the reset value of 00, the counter is disabled. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of FDCAN_CCCR register are set to 1..
Bits 8-15: Watchdog value Actual message RAM watchdog counter value..
FDCAN CC control register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
1/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NISO
rw |
TXP
rw |
EFBI
rw |
PXHD
rw |
BRSE
rw |
FDOE
rw |
TEST
rw |
DAR
rw |
MON
rw |
CSR
rw |
CSA
r |
ASM
rw |
CCE
rw |
INIT
rw |
Bit 0: Initialization.
Bit 1: Configuration change enable.
Bit 2: ASM restricted operation mode The restricted operation mode is intended for applications that adapt themselves to different CAN bit rates. The application tests different bit rates and leaves the Restricted operation Mode after it has received a valid frame. In the optional Restricted operation Mode the node is able to transmit and receive data and remote frames and it gives acknowledge to valid frames, but it does not send active error frames or overload frames. In case of an error condition or overload condition, it does not send dominant bits, instead it waits for the occurrence of bus idle condition to resynchronize itself to the CAN communication. The error counters are not incremented. Bit ASM can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the software at any time..
Bit 3: Clock stop acknowledge.
Bit 4: Clock stop request.
Bit 5: Bus monitoring mode Bit MON can only be set by software when both CCE and INIT are set to 1. The bit can be reset by the Host at any time..
Bit 6: Disable automatic retransmission.
Bit 7: Test mode enable.
Bit 8: FD operation enable.
Bit 9: FDCAN bit rate switching.
Bit 12: Protocol exception handling disable.
Bit 13: Edge filtering during bus integration.
Bit 14: If this bit is set, the FDCAN pauses for two CAN bit times before starting the next transmission after successfully transmitting a frame..
Bit 15: Non ISO operation If this bit is set, the FDCAN uses the CAN FD frame format as specified by the Bosch CAN FD Specification V1.0..
FDCAN nominal bit timing and prescaler register
Offset: 0x1c, size: 32, reset: 0x06000A03, access: Unspecified
0/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NSJW
rw |
NBRP
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NTSEG1
rw |
NTSEG2
rw |
Bits 0-6: Nominal time segment after sample point Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that one more than the programmed value is used..
Bits 8-15: Nominal time segment before sample point Valid values are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the programmed value is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-24: Bit rate prescaler Value by which the oscillator frequency is divided for generating the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values are 0 to 511. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 25-31: Nominal (re)synchronization jump width Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that the used value is the one programmed incremented by one. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN timestamp counter configuration register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
FDCAN timestamp counter value register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TSC
rw |
FDCAN timeout counter configuration register
Offset: 0x28, size: 32, reset: 0xFFFF0000, access: Unspecified
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOS
rw |
ETOC
rw |
Bit 0: Timeout counter enable This is a protected write (P) bit, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 1-2: Timeout select When operating in Continuous mode, a write to TOCV presets the counter to the value configured by TOCC[TOP] and continues down-counting. When the timeout counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by TOCC[TOP]. Down-counting is started when the first FIFO element is stored. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-31: Timeout period Start value of the timeout counter (down-counter). Configures the timeout period..
FDCAN timeout counter value register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TOC
rw |
FDCAN error counter register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
3/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RP
r |
REC
r |
TEC
r |
Bits 0-7: Transmit error counter Actual state of the transmit error counter, values between 0 and 255. When CCCR.ASM is set, the CAN protocol controller does not increment TEC and REC when a CAN protocol error is detected, but CEL is still incremented..
Bits 8-14: Receive error counter Actual state of the receive error counter, values between 0 and 127..
Bit 15: Receive error passive.
Bits 16-23: CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read..
FDCAN protocol status register
Offset: 0x44, size: 32, reset: 0x00000707, access: Unspecified
5/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDCV
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PXE
rw |
REDL
rw |
RBRS
rw |
RESI
rw |
DLEC
rw |
BO
r |
EW
r |
EP
r |
ACT
r |
LEC
rw |
Bits 0-2: Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read..
Bits 3-4: Activity Monitors the modules CAN communication state..
Bit 5: Error passive.
Bit 6: Warning Sstatus.
Bit 7: Bus_Off status.
Bits 8-10: Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read..
Bit 11: ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
Bit 12: BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read..
Bit 13: Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read..
Bit 14: Protocol exception event.
Bits 16-22: Transmitter delay compensation value Position of the secondary sample point, defined by the sum of the measured delay from FDCAN_TX to FDCAN_RX and TDCR.TDCO. The SSP position is, in the data phase, the number of minimum time quanta (mtq) between the start of the transmitted bit and the secondary sample point. Valid values are 0 to 127 mtq..
FDCAN transmitter delay compensation register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
Bits 0-6: Transmitter delay compensation filter window length Defines the minimum value for the SSP position, dominant edges on FDCAN_RX that would result in an earlier SSP position are ignored for transmitter delay measurements. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 8-14: Transmitter delay compensation offset Offset value defining the distance between the measured delay from FDCAN_TX to FDCAN_RX and the secondary sample point. Valid values are 0 to 127 mtq. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN interrupt register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARA
rw |
PED
rw |
PEA
rw |
WDI
rw |
BO
rw |
EW
rw |
EP
rw |
ELO
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOO
rw |
MRAF
rw |
TSW
rw |
TEFL
rw |
TEFF
rw |
TEFN
rw |
TFE
rw |
TCF
rw |
TC
rw |
HPM
rw |
RF1L
rw |
RF1F
rw |
RF1N
rw |
RF0L
rw |
RF0F
rw |
RF0N
rw |
Bit 0: Rx FIFO 0 new message.
Bit 1: Rx FIFO 0 full.
Bit 2: Rx FIFO 0 message lost.
Bit 3: Rx FIFO 1 new message.
Bit 4: Rx FIFO 1 full.
Bit 5: Rx FIFO 1 message lost.
Bit 6: High-priority message.
Bit 7: Transmission completed.
Bit 8: Transmission cancellation finished.
Bit 9: Tx FIFO empty.
Bit 10: Tx event FIFO New Entry.
Bit 11: Tx event FIFO full.
Bit 12: Tx event FIFO element lost.
Bit 13: Timestamp wraparound.
Bit 14: Message RAM access failure The flag is set when the Rx handler: has not completed acceptance filtering or storage of an accepted message until the arbitration field of the following message has been received. In this case acceptance filtering or message storage is aborted and the Rx handler starts processing of the following message. was unable to write a message to the message RAM. In this case message storage is aborted. In both cases the FIFO put index is not updated. The partly stored message is overwritten when the next message is stored to this location. The flag is also set when the Tx Handler was not able to read a message from the Message RAM in time. In this case message transmission is aborted. In case of a Tx Handler access failure the FDCAN is switched into Restricted operation Mode (see Restricted operation mode). To leave Restricted operation Mode, the Host CPU has to reset CCCR.ASM..
Bit 15: Timeout occurred.
Bit 16: Error logging overflow.
Bit 17: Error passive.
Bit 18: Warning status.
Bit 19: Bus_Off status.
Bit 20: Watchdog interrupt.
Bit 21: Protocol error in arbitration phase (nominal bit time is used).
Bit 22: Protocol error in data phase (data bit time is used).
Bit 23: Access to reserved address.
FDCAN interrupt enable register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARAE
rw |
PEDE
rw |
PEAE
rw |
WDIE
rw |
BOE
rw |
EWE
rw |
EPE
rw |
ELOE
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TOOE
rw |
MRAFE
rw |
TSWE
rw |
TEFLE
rw |
TEFFE
rw |
TEFNE
rw |
TFEE
rw |
TCFE
rw |
TCE
rw |
HPME
rw |
RF1LE
rw |
RF1FE
rw |
RF1NE
rw |
RF0LE
rw |
RF0FE
rw |
RF0NE
rw |
Bit 0: Rx FIFO 0 new message interrupt enable.
Bit 1: Rx FIFO 0 full interrupt enable.
Bit 2: Rx FIFO 0 message lost interrupt enable.
Bit 3: Rx FIFO 1 new message interrupt enable.
Bit 4: Rx FIFO 1 full interrupt enable.
Bit 5: Rx FIFO 1 message lost interrupt enable.
Bit 6: High-priority message interrupt enable.
Bit 7: Transmission completed interrupt enable.
Bit 8: Transmission cancellation finished interrupt enable.
Bit 9: Tx FIFO empty interrupt enable.
Bit 10: Tx event FIFO new entry interrupt enable.
Bit 11: Tx event FIFO full interrupt enable.
Bit 12: Tx event FIFO element lost interrupt enable.
Bit 13: Timestamp wraparound interrupt enable.
Bit 14: Message RAM access failure interrupt enable.
Bit 15: Timeout occurred interrupt enable.
Bit 16: Error logging overflow interrupt enable.
Bit 17: Error passive interrupt enable.
Bit 18: Warning status interrupt enable.
Bit 19: Bus_Off status.
Bit 20: Watchdog interrupt enable.
Bit 21: Protocol error in arbitration phase enable.
Bit 22: Protocol error in data phase enable.
Bit 23: Access to reserved address enable.
FDCAN interrupt line select register
Offset: 0x58, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PERR
rw |
BERR
rw |
MISC
rw |
TFERR
rw |
SMSG
rw |
RXFIFO1
rw |
RXFIFO0
rw |
Bit 0: RX FIFO bit grouping the following interruption RF0LL: Rx FIFO 0 message lost interrupt line RF0FL: Rx FIFO 0 full interrupt line RF0NL: Rx FIFO 0 new message interrupt line.
Bit 1: RX FIFO bit grouping the following interruption RF1LL: Rx FIFO 1 message lost interrupt line RF1FL: Rx FIFO 1 full interrupt line RF1NL: Rx FIFO 1 new message interrupt line.
Bit 2: Status message bit grouping the following interruption TCFL: Transmission cancellation finished interrupt line TCL: Transmission completed interrupt line HPML: High-priority message interrupt line.
Bit 3: Tx FIFO ERROR grouping the following interruption TEFLL: Tx event FIFO element lost interrupt line TEFFL: Tx event FIFO full interrupt line TEFNL: Tx event FIFO new entry interrupt line TFEL: Tx FIFO empty interrupt line.
Bit 4: Interrupt regrouping the following interruption TOOL: Timeout occurred interrupt line MRAFL: Message RAM access failure interrupt line TSWL: Timestamp wraparound interrupt line.
Bit 5: Bit and line error grouping the following interruption EPL Error passive interrupt line ELOL: Error logging overflow interrupt line.
Bit 6: Protocol error grouping the following interruption ARAL: Access to reserved address line PEDL: Protocol error in data phase line PEAL: Protocol error in arbitration phase line WDIL: Watchdog interrupt line BOL: Bus_Off status EWL: Warning status interrupt line.
FDCAN interrupt line enable register
Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified
0/2 fields covered.
FDCAN global filter configuration register
Offset: 0x80, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSE
rw |
LSS
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F0OM
rw |
F1OM
rw |
ANFS
rw |
ANFE
rw |
RRFS
rw |
RRFE
rw |
Bit 0: Reject remote frames extended These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 1: Reject remote frames standard These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 2-3: Accept non-matching frames extended Defines how received messages with 29-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 4-5: Accept Non-matching frames standard Defines how received messages with 11-bit IDs that do not match any element of the filter list are treated. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 8: FIFO 1 operation mode (overwrite or blocking) This is a protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bit 9: FIFO 0 operation mode (overwrite or blocking) This is protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 16-20: List size standard 1 to 28: Number of standard message ID filter elements >28: Values greater than 28 are interpreted as 28. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
Bits 24-27: List size extended 1 to 8: Number of extended message ID filter elements >8: Values greater than 8 are interpreted as 8. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN extended ID and mask register
Offset: 0x84, size: 32, reset: 0x1FFFFFFF, access: Unspecified
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EIDM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EIDM
rw |
Bits 0-28: Extended ID mask For acceptance filtering of extended frames the Extended ID AND Mask is AND-ed with the Message ID of a received frame. Intended for masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to 1 the mask is not active. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
FDCAN high-priority message status register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
4/4 fields covered.
Bits 0-2: Buffer index Index of Rx FIFO element to which the message was stored. Only valid when MSI[1] = 1..
Bits 6-7: Message storage indicator.
Bits 8-12: Filter index Index of matching filter element. Range is 0 to RXGFC[LSS] - 1 or RXGFC[LSE] - 1..
Bit 15: Filter list Indicates the filter list of the matching filter element..
FDCAN Rx FIFO 0 status register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RF0L
r |
F0F
r |
F0PI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F0GI
r |
F0FL
r |
Bits 0-3: Rx FIFO 0 fill level Number of elements stored in Rx FIFO 0, range 0 to 3..
Bits 8-9: Rx FIFO 0 get index Rx FIFO 0 read index pointer, range 0 to 2..
Bits 16-17: Rx FIFO 0 put index Rx FIFO 0 write index pointer, range 0 to 2..
Bit 24: Rx FIFO 0 full.
Bit 25: Rx FIFO 0 message lost This bit is a copy of interrupt flag IR[RF0L]. When IR[RF0L] is reset, this bit is also reset..
CAN Rx FIFO 0 acknowledge register
Offset: 0x94, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F0AI
rw |
Bits 0-2: Rx FIFO 0 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 0 it has to write the buffer index of the last element read from Rx FIFO 0 to F0AI. This sets the Rx FIFO 0 get index RXF0S[F0GI] to F0AI + 1 and update the FIFO 0 fill level RXF0S[F0FL]..
FDCAN Rx FIFO 1 status register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RF1L
r |
F1F
r |
F1PI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
F1GI
r |
F1FL
r |
Bits 0-3: Rx FIFO 1 fill level Number of elements stored in Rx FIFO 1, range 0 to 3..
Bits 8-9: Rx FIFO 1 get index Rx FIFO 1 read index pointer, range 0 to 2..
Bits 16-17: Rx FIFO 1 put index Rx FIFO 1 write index pointer, range 0 to 2..
Bit 24: Rx FIFO 1 full.
Bit 25: Rx FIFO 1 message lost This bit is a copy of interrupt flag IR[RF1L]. When IR[RF1L] is reset, this bit is also reset..
FDCAN Rx FIFO 1 acknowledge register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F1AI
rw |
Bits 0-2: Rx FIFO 1 acknowledge index After the Host has read a message or a sequence of messages from Rx FIFO 1 it has to write the buffer index of the last element read from Rx FIFO 1 to F1AI. This sets the Rx FIFO 1 get index RXF1S[F1GI] to F1AI + 1 and update the FIFO 1 Fill Level RXF1S[F1FL]..
FDCAN Tx buffer configuration register
Offset: 0xc0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFQM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FDCAN Tx FIFO/queue status register
Offset: 0xc4, size: 32, reset: 0x00000003, access: Unspecified
4/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TFQF
r |
TFQPI
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TFGI
r |
TFFL
r |
Bits 0-2: Tx FIFO free level Number of consecutive free Tx FIFO elements starting from TFGI, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC[TFQM] = 1)..
Bits 8-9: Tx FIFO get index Tx FIFO read index pointer, range 0 to 3. Read as 0 when Tx queue operation is configured (TXBC.TFQM = 1).
Bits 16-17: Tx FIFO/queue put index Tx FIFO/queue write index pointer, range 0 to 3.
Bit 21: Tx FIFO/queue full.
FDCAN Tx buffer request pending register
Offset: 0xc8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRP
r |
Bits 0-2: Transmission request pending Each Tx buffer has its own transmission request pending bit. The bits are set via register TXBAR. The bits are reset after a requested transmission has completed or has been canceled via register TXBCR. After a TXBRP bit has been set, a Tx scan is started to check for the pending Tx request with the highest priority (Tx buffer with lowest Message ID). A cancellation request resets the corresponding transmission request pending bit of register TXBRP. In case a transmission has already been started when a cancellation is requested, this is done at the end of the transmission, regardless whether the transmission was successful or not. The cancellation request bits are reset directly after the corresponding TXBRP bit has been reset. After a cancellation has been requested, a finished cancellation is signaled via TXBCF after successful transmission together with the corresponding TXBTO bit when the transmission has not yet been started at the point of cancellation when the transmission has been aborted due to lost arbitration when an error occurred during frame transmission In DAR mode all transmissions are automatically canceled if they are not successful. The corresponding TXBCF bit is set for all unsuccessful transmissions..
FDCAN Tx buffer add request register
Offset: 0xcc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AR
rw |
Bits 0-2: Add request Each Tx buffer has its own add request bit. Writing a 1 sets the corresponding add request bit; writing a 0 has no impact. This enables the Host to set transmission requests for multiple Tx buffers with one write to TXBAR. When no Tx scan is running, the bits are reset immediately, else the bits remain set until the Tx scan process has completed..
FDCAN Tx buffer cancellation request register
Offset: 0xd0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR
rw |
Bits 0-2: Cancellation request Each Tx buffer has its own cancellation request bit. Writing a 1 sets the corresponding CR bit; writing a 0 has no impact. This enables the Host to set cancellation requests for multiple Tx buffers with one write to TXBCR. The bits remain set until the corresponding TXBRP bit is reset..
FDCAN Tx buffer transmission occurred register
Offset: 0xd4, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TO
r |
FDCAN Tx buffer cancellation finished register
Offset: 0xd8, size: 32, reset: 0x00000000, access: Unspecified
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CF
r |
Bits 0-2: Cancellation finished Each Tx buffer has its own CF bit. The bits are set when the corresponding TXBRP bit is cleared after a cancellation was requested via TXBCR. In case the corresponding TXBRP bit was not set at the point of cancellation, CF is set immediately. The bits are reset when a new transmission is requested by writing a 1 to the corresponding bit of register TXBAR..
FDCAN Tx buffer transmission interrupt enable register
Offset: 0xdc, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TIE
rw |
FDCAN Tx buffer cancellation finished interrupt enable register
Offset: 0xe0, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CFIE
rw |
FDCAN Tx event FIFO status register
Offset: 0xe4, size: 32, reset: 0x00000000, access: Unspecified
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEFL
r |
EFF
r |
EFPI
r |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EFGI
r |
EFFL
r |
Bits 0-2: Event FIFO fill level Number of elements stored in Tx event FIFO, range 0 to 3..
Bits 8-9: Event FIFO get index Tx event FIFO read index pointer, range 0 to 3..
Bits 16-17: Event FIFO put index Tx event FIFO write index pointer, range 0 to 3..
Bit 24: Event FIFO full.
Bit 25: Tx event FIFO element lost This bit is a copy of interrupt flag IR[TEFL]. When IR[TEFL] is reset, this bit is also reset. 0 No Tx event FIFO element lost 1 Tx event FIFO element lost, also set after write attempt to Tx event FIFO of size 0..
FDCAN Tx event FIFO acknowledge register
Offset: 0xe8, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EFAI
rw |
Bits 0-1: Event FIFO acknowledge index After the Host has read an element or a sequence of elements from the Tx event FIFO, it has to write the index of the last element read from Tx event FIFO to EFAI. This sets the Tx event FIFO get index TXEFS[EFGI] to EFAI + 1 and updates the FIFO 0 fill level TXEFS[EFFL]..
FDCAN CFG clock divider register
Offset: 0x100, size: 32, reset: 0x00000000, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDIV
rw |
Bits 0-3: input clock divider The APB clock could be divided prior to be used by the CAN sub system. The rate must be computed using the divider output clock. These are protected write (P) bits, which means that write access by the bits is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1..
0x40022000: Flash
5/71 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ACR | ||||||||||||||||||||||||||||||||
0x4 | PDKEYR | ||||||||||||||||||||||||||||||||
0x8 | KEYR | ||||||||||||||||||||||||||||||||
0xc | OPTKEYR | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | CR | ||||||||||||||||||||||||||||||||
0x18 | ECCR | ||||||||||||||||||||||||||||||||
0x20 | OPTR | ||||||||||||||||||||||||||||||||
0x24 | PCROP1SR | ||||||||||||||||||||||||||||||||
0x28 | PCROP1ER | ||||||||||||||||||||||||||||||||
0x2c | WRP1AR | ||||||||||||||||||||||||||||||||
0x30 | WRP1BR | ||||||||||||||||||||||||||||||||
0x70 | SEC1R |
Access control register
Offset: 0x0, size: 32, reset: 0x00000600, access: read-write
1/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DBG_SWEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SLEEP_PD
rw |
RUN_PD
rw |
DCRST
rw |
ICRST
rw |
DCEN
rw |
ICEN
rw |
PRFTEN
rw |
LATENCY
rw |
Bits 0-3: Latency.
Allowed values:
0: Wait0: Zero Wait States (Vcore Boost 1 (<= 34MHz), Vcore Normal 1 (<= 30MHz), Vcore 2 (<= 12MHz)
1: Wait1: One Wait State (Vcore Boost 1 (<= 68MHz), Vcore Normal 1 (<= 60MHz), Vcore 2 (<= 24MHz)
2: Wait2: Two Wait States (Vcore Boost 1 (<= 102MHz), Vcore Normal 1 (<= 90MHz), Vcore 2 (<= 26MHz)
3: Wait3: Three Wait States (Vcore Boost 1 (<= 136MHz), Vcore Normal 1 (<= 120MHz)
4: Wait4: Four Wait States (Vcore Boost 1 (<= 170MHz), Vcore Normal 1 (<= 150MHz)
Bit 8: Prefetch enable.
Bit 9: Instruction cache enable.
Bit 10: Data cache enable.
Bit 11: Instruction cache reset.
Bit 12: Data cache reset.
Bit 13: Flash Power-down mode during Low-power run mode.
Bit 14: Flash Power-down mode during Low-power sleep mode.
Bit 18: Debug software enable.
Power down key register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
Flash key register
Offset: 0x8, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
Option byte key register
Offset: 0xc, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
Status register
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
1/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BSY
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OPTVERR
rw |
RDERR
rw |
FASTERR
rw |
MISERR
rw |
PGSERR
rw |
SIZERR
rw |
PGAERR
rw |
WRPERR
rw |
PROGERR
rw |
OPERR
rw |
EOP
rw |
Bit 0: End of operation.
Bit 1: Operation error.
Bit 3: Programming error.
Bit 4: Write protected error.
Bit 5: Programming alignment error.
Bit 6: Size error.
Bit 7: Programming sequence error.
Bit 8: Fast programming data miss error.
Bit 9: Fast programming error.
Bit 14: PCROP read error.
Bit 15: Option validity error.
Bit 16: Busy.
Flash control register
Offset: 0x14, size: 32, reset: 0xC0000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
OPTLOCK
rw |
SEC_PROT1
rw |
OBL_LAUNCH
rw |
RDERRIE
rw |
ERRIE
rw |
EOPIE
rw |
FSTPG
rw |
OPTSTRT
rw |
STRT
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PNB
rw |
MER1
rw |
PER
rw |
PG
rw |
Bit 0: Programming.
Bit 1: Page erase.
Bit 2: Bank 1 Mass erase.
Bits 3-9: Page number.
Bit 16: Start.
Bit 17: Options modification start.
Bit 18: Fast programming.
Bit 24: End of operation interrupt enable.
Bit 25: Error interrupt enable.
Bit 26: PCROP read error interrupt enable.
Bit 27: Force the option byte loading.
Bit 28: SEC_PROT1.
Bit 30: Options Lock.
Bit 31: FLASH_CR Lock.
Flash ECC register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
3/8 fields covered.
Flash option register
Offset: 0x20, size: 32, reset: 0xF0000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IRHEN
rw |
NRST_MODE
rw |
nBOOT0
rw |
nSWBOOT0
rw |
SRAM2_RST
rw |
SRAM2_PE
rw |
nBOOT1
rw |
WWDG_SW
rw |
IWDG_STDBY
rw |
IWDG_STOP
rw |
IDWG_SW
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
nRST_SHDW
rw |
nRST_STDBY
rw |
nRST_STOP
rw |
BOR_LEV
rw |
RDP
rw |
Bits 0-7: Read protection level.
Bits 8-10: BOR reset Level.
Bit 12: nRST_STOP.
Bit 13: nRST_STDBY.
Bit 14: nRST_SHDW.
Bit 16: Independent watchdog selection.
Bit 17: Independent watchdog counter freeze in Stop mode.
Bit 18: Independent watchdog counter freeze in Standby mode.
Bit 19: Window watchdog selection.
Bit 23: Boot configuration.
Bit 24: SRAM2 parity check enable.
Bit 25: SRAM2 Erase when system reset.
Bit 26: nSWBOOT0.
Bit 27: nBOOT0.
Bits 28-29: NRST_MODE.
Bit 30: IRHEN.
Flash Bank 1 PCROP Start address register
Offset: 0x24, size: 32, reset: 0xFFFF0000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PCROP1_STRT
rw |
Flash Bank 1 PCROP End address register
Offset: 0x28, size: 32, reset: 0x0FFF0000, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PCROP_RDP
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PCROP1_END
rw |
Flash Bank 1 WRP area A address register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WRP1A_END
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WRP1A_STRT
rw |
Flash Bank 1 WRP area B address register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WRP1B_END
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WRP1B_STRT
rw |
0x40021400: Filter Math Accelerator
6/29 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | X1BUFCFG | ||||||||||||||||||||||||||||||||
0x4 | X2BUFCFG | ||||||||||||||||||||||||||||||||
0x8 | YBUFCFG | ||||||||||||||||||||||||||||||||
0xc | PARAM | ||||||||||||||||||||||||||||||||
0x10 | CR | ||||||||||||||||||||||||||||||||
0x14 | SR | ||||||||||||||||||||||||||||||||
0x18 | WDATA | ||||||||||||||||||||||||||||||||
0x1c | RDATA |
FMAC X1 Buffer Configuration register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FULL_WM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
X1_BUF_SIZE
rw |
X1_BASE
rw |
FMAC X2 Buffer Configuration register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
X2_BUF_SIZE
rw |
X2_BASE
rw |
FMAC Y Buffer Configuration register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EMPTY_WM
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Y_BUF_SIZE
rw |
Y_BASE
rw |
FMAC Parameter register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
FMAC Control register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
FMAC Status register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
FMAC Write Data register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WDATA
w |
FMAC Read Data register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDATA
r |
0x48000000: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xABFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x0C000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x64000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48000400: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFEBF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x000000C0, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000100, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48000800: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48000c00: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48001000: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48001400: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x48001800: General-purpose I/Os
161/177 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MODER | ||||||||||||||||||||||||||||||||
0x4 | OTYPER | ||||||||||||||||||||||||||||||||
0x8 | OSPEEDR | ||||||||||||||||||||||||||||||||
0xc | PUPDR | ||||||||||||||||||||||||||||||||
0x10 | IDR | ||||||||||||||||||||||||||||||||
0x14 | ODR | ||||||||||||||||||||||||||||||||
0x18 | BSRR | ||||||||||||||||||||||||||||||||
0x1c | LCKR | ||||||||||||||||||||||||||||||||
0x20 | AFRL | ||||||||||||||||||||||||||||||||
0x24 | AFRH | ||||||||||||||||||||||||||||||||
0x28 | BRR |
GPIO port mode register
Offset: 0x0, size: 32, reset: 0xFFFFFFFF, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MODER[15]
rw |
MODER[14]
rw |
MODER[13]
rw |
MODER[12]
rw |
MODER[11]
rw |
MODER[10]
rw |
MODER[9]
rw |
MODER[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MODER[7]
rw |
MODER[6]
rw |
MODER[5]
rw |
MODER[4]
rw |
MODER[3]
rw |
MODER[2]
rw |
MODER[1]
rw |
MODER[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Input: Input mode (reset state)
1: Output: General purpose output mode
2: Alternate: Alternate function mode
3: Analog: Analog mode
GPIO port output type register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OT[15]
rw |
OT[14]
rw |
OT[13]
rw |
OT[12]
rw |
OT[11]
rw |
OT[10]
rw |
OT[9]
rw |
OT[8]
rw |
OT[7]
rw |
OT[6]
rw |
OT[5]
rw |
OT[4]
rw |
OT[3]
rw |
OT[2]
rw |
OT[1]
rw |
OT[0]
rw |
Bit 0: Port x configuration pin 0.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 1: Port x configuration pin 1.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 2: Port x configuration pin 2.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 3: Port x configuration pin 3.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 4: Port x configuration pin 4.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 5: Port x configuration pin 5.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 6: Port x configuration pin 6.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 7: Port x configuration pin 7.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 8: Port x configuration pin 8.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 9: Port x configuration pin 9.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 10: Port x configuration pin 10.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 11: Port x configuration pin 11.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 12: Port x configuration pin 12.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 13: Port x configuration pin 13.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 14: Port x configuration pin 14.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
Bit 15: Port x configuration pin 15.
Allowed values:
0: PushPull: Output push-pull (reset state)
1: OpenDrain: Output open-drain
GPIO port output speed register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OSPEEDR[15]
rw |
OSPEEDR[14]
rw |
OSPEEDR[13]
rw |
OSPEEDR[12]
rw |
OSPEEDR[11]
rw |
OSPEEDR[10]
rw |
OSPEEDR[9]
rw |
OSPEEDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OSPEEDR[7]
rw |
OSPEEDR[6]
rw |
OSPEEDR[5]
rw |
OSPEEDR[4]
rw |
OSPEEDR[3]
rw |
OSPEEDR[2]
rw |
OSPEEDR[1]
rw |
OSPEEDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: LowSpeed: Low speed
1: MediumSpeed: Medium speed
2: HighSpeed: High speed
3: VeryHighSpeed: Very high speed
GPIO port pull-up/pull-down register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUPDR[15]
rw |
PUPDR[14]
rw |
PUPDR[13]
rw |
PUPDR[12]
rw |
PUPDR[11]
rw |
PUPDR[10]
rw |
PUPDR[9]
rw |
PUPDR[8]
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PUPDR[7]
rw |
PUPDR[6]
rw |
PUPDR[5]
rw |
PUPDR[4]
rw |
PUPDR[3]
rw |
PUPDR[2]
rw |
PUPDR[1]
rw |
PUPDR[0]
rw |
Bits 0-1: Port x configuration pin 0.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 2-3: Port x configuration pin 1.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 4-5: Port x configuration pin 2.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 6-7: Port x configuration pin 3.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 8-9: Port x configuration pin 4.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 10-11: Port x configuration pin 5.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 12-13: Port x configuration pin 6.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 14-15: Port x configuration pin 7.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 16-17: Port x configuration pin 8.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 18-19: Port x configuration pin 9.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 20-21: Port x configuration pin 10.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 22-23: Port x configuration pin 11.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 24-25: Port x configuration pin 12.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 26-27: Port x configuration pin 13.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 28-29: Port x configuration pin 14.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
Bits 30-31: Port x configuration pin 15.
Allowed values:
0: Floating: No pull-up, pull-down
1: PullUp: Pull-up
2: PullDown: Pull-down
GPIO port input data register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-only
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IDR[15]
r |
IDR[14]
r |
IDR[13]
r |
IDR[12]
r |
IDR[11]
r |
IDR[10]
r |
IDR[9]
r |
IDR[8]
r |
IDR[7]
r |
IDR[6]
r |
IDR[5]
r |
IDR[4]
r |
IDR[3]
r |
IDR[2]
r |
IDR[1]
r |
IDR[0]
r |
Bit 0: Port input data pin 0.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 1: Port input data pin 1.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 2: Port input data pin 2.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 3: Port input data pin 3.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 4: Port input data pin 4.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 5: Port input data pin 5.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 6: Port input data pin 6.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 7: Port input data pin 7.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 8: Port input data pin 8.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 9: Port input data pin 9.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 10: Port input data pin 10.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 11: Port input data pin 11.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 12: Port input data pin 12.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 13: Port input data pin 13.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 14: Port input data pin 14.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
Bit 15: Port input data pin 15.
Allowed values:
0: Low: Input is logic low
1: High: Input is logic high
GPIO port output data register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ODR[15]
rw |
ODR[14]
rw |
ODR[13]
rw |
ODR[12]
rw |
ODR[11]
rw |
ODR[10]
rw |
ODR[9]
rw |
ODR[8]
rw |
ODR[7]
rw |
ODR[6]
rw |
ODR[5]
rw |
ODR[4]
rw |
ODR[3]
rw |
ODR[2]
rw |
ODR[1]
rw |
ODR[0]
rw |
Bit 0: Port output data pin 0.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 1: Port output data pin 1.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 2: Port output data pin 2.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 3: Port output data pin 3.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 4: Port output data pin 4.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 5: Port output data pin 5.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 6: Port output data pin 6.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 7: Port output data pin 7.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 8: Port output data pin 8.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 9: Port output data pin 9.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 10: Port output data pin 10.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 11: Port output data pin 11.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 12: Port output data pin 12.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 13: Port output data pin 13.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 14: Port output data pin 14.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
Bit 15: Port output data pin 15.
Allowed values:
0: Low: Set output to logic low
1: High: Set output to logic high
GPIO port bit set/reset register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
32/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BS[15]
w |
BS[14]
w |
BS[13]
w |
BS[12]
w |
BS[11]
w |
BS[10]
w |
BS[9]
w |
BS[8]
w |
BS[7]
w |
BS[6]
w |
BS[5]
w |
BS[4]
w |
BS[3]
w |
BS[2]
w |
BS[1]
w |
BS[0]
w |
Bit 0: Port x set pin 0.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 1: Port x set pin 1.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 2: Port x set pin 2.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 3: Port x set pin 3.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 4: Port x set pin 4.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 5: Port x set pin 5.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 6: Port x set pin 6.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 7: Port x set pin 7.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 8: Port x set pin 8.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 9: Port x set pin 9.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 10: Port x set pin 10.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 11: Port x set pin 11.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 12: Port x set pin 12.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 13: Port x set pin 13.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 14: Port x set pin 14.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 15: Port x set pin 15.
Allowed values:
1: Set: Sets the corresponding ODRx bit
Bit 16: Port x reset pin 0.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 17: Port x reset pin 1.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 18: Port x reset pin 2.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 19: Port x reset pin 3.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 20: Port x reset pin 4.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 21: Port x reset pin 5.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 22: Port x reset pin 6.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 23: Port x reset pin 7.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 24: Port x reset pin 8.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 25: Port x reset pin 9.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 26: Port x reset pin 10.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 27: Port x reset pin 11.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 28: Port x reset pin 12.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 29: Port x reset pin 13.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 30: Port x reset pin 14.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
Bit 31: Port x reset pin 15.
Allowed values:
1: Reset: Resets the corresponding ODRx bit
GPIO port configuration lock register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LCKK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LCK[15]
rw |
LCK[14]
rw |
LCK[13]
rw |
LCK[12]
rw |
LCK[11]
rw |
LCK[10]
rw |
LCK[9]
rw |
LCK[8]
rw |
LCK[7]
rw |
LCK[6]
rw |
LCK[5]
rw |
LCK[4]
rw |
LCK[3]
rw |
LCK[2]
rw |
LCK[1]
rw |
LCK[0]
rw |
Bit 0: Port x lock pin 0.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 1: Port x lock pin 1.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 2: Port x lock pin 2.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 3: Port x lock pin 3.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 4: Port x lock pin 4.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 5: Port x lock pin 5.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 6: Port x lock pin 6.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 7: Port x lock pin 7.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 8: Port x lock pin 8.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 9: Port x lock pin 9.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 10: Port x lock pin 10.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 11: Port x lock pin 11.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 12: Port x lock pin 12.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 13: Port x lock pin 13.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 14: Port x lock pin 14.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 15: Port x lock pin 15.
Allowed values:
0: Unlocked: Port configuration not locked
1: Locked: Port configuration locked
Bit 16: Port x lock bit y (y= 0..15).
Allowed values:
0: NotActive: Port configuration lock key not active
1: Active: Port configuration lock key active
GPIO alternate function low register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[L7]
rw |
AFR[L6]
rw |
AFR[L5]
rw |
AFR[L4]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[L3]
rw |
AFR[L2]
rw |
AFR[L1]
rw |
AFR[L0]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 0..7).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO alternate function high register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AFR[H15]
rw |
AFR[H14]
rw |
AFR[H13]
rw |
AFR[H12]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AFR[H11]
rw |
AFR[H10]
rw |
AFR[H9]
rw |
AFR[H8]
rw |
Bits 0-3: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 4-7: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 8-11: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 12-15: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 16-19: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 20-23: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 24-27: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
Bits 28-31: Alternate function selection for port x bit y (y = 8..15).
Allowed values:
0: AF0: AF0
1: AF1: AF1
2: AF2: AF2
3: AF3: AF3
4: AF4: AF4
5: AF5: AF5
6: AF6: AF6
7: AF7: AF7
8: AF8: AF8
9: AF9: AF9
10: AF10: AF10
11: AF11: AF11
12: AF12: AF12
13: AF13: AF13
14: AF14: AF14
15: AF15: AF15
GPIO port bit reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: write-only
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BR[15]
w |
BR[14]
w |
BR[13]
w |
BR[12]
w |
BR[11]
w |
BR[10]
w |
BR[9]
w |
BR[8]
w |
BR[7]
w |
BR[6]
w |
BR[5]
w |
BR[4]
w |
BR[3]
w |
BR[2]
w |
BR[1]
w |
BR[0]
w |
Bit 0: Port x reset pin 0.
Bit 1: Port x reset pin 1.
Bit 2: Port x reset pin 2.
Bit 3: Port x reset pin 3.
Bit 4: Port x reset pin 4.
Bit 5: Port x reset pin 5.
Bit 6: Port x reset pin 6.
Bit 7: Port x reset pin 7.
Bit 8: Port x reset pin 8.
Bit 9: Port x reset pin 9.
Bit 10: Port x reset pin 10.
Bit 11: Port x reset pin 11.
Bit 12: Port x reset pin 12.
Bit 13: Port x reset pin 13.
Bit 14: Port x reset pin 14.
Bit 15: Port x reset pin 15.
0x40005400: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40005800: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40007800: Inter-integrated circuit
76/76 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | OAR1 | ||||||||||||||||||||||||||||||||
0xc | OAR2 | ||||||||||||||||||||||||||||||||
0x10 | TIMINGR | ||||||||||||||||||||||||||||||||
0x14 | TIMEOUTR | ||||||||||||||||||||||||||||||||
0x18 | ISR | ||||||||||||||||||||||||||||||||
0x1c | ICR | ||||||||||||||||||||||||||||||||
0x20 | PECR | ||||||||||||||||||||||||||||||||
0x24 | RXDR | ||||||||||||||||||||||||||||||||
0x28 | TXDR |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECEN
rw |
ALERTEN
rw |
SMBDEN
rw |
SMBHEN
rw |
GCEN
rw |
WUPEN
rw |
NOSTRETCH
rw |
SBC
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RXDMAEN
rw |
TXDMAEN
rw |
ANFOFF
rw |
DNF
rw |
ERRIE
rw |
TCIE
rw |
STOPIE
rw |
NACKIE
rw |
ADDRIE
rw |
RXIE
rw |
TXIE
rw |
PE
rw |
Bit 0: Peripheral enable.
Allowed values:
0: Disabled: Peripheral disabled
1: Enabled: Peripheral enabled
Bit 1: TX Interrupt enable.
Allowed values:
0: Disabled: Transmit (TXIS) interrupt disabled
1: Enabled: Transmit (TXIS) interrupt enabled
Bit 2: RX Interrupt enable.
Allowed values:
0: Disabled: Receive (RXNE) interrupt disabled
1: Enabled: Receive (RXNE) interrupt enabled
Bit 3: Address match interrupt enable (slave only).
Allowed values:
0: Disabled: Address match (ADDR) interrupts disabled
1: Enabled: Address match (ADDR) interrupts enabled
Bit 4: Not acknowledge received interrupt enable.
Allowed values:
0: Disabled: Not acknowledge (NACKF) received interrupts disabled
1: Enabled: Not acknowledge (NACKF) received interrupts enabled
Bit 5: STOP detection Interrupt enable.
Allowed values:
0: Disabled: Stop detection (STOPF) interrupt disabled
1: Enabled: Stop detection (STOPF) interrupt enabled
Bit 6: Transfer Complete interrupt enable.
Allowed values:
0: Disabled: Transfer Complete interrupt disabled
1: Enabled: Transfer Complete interrupt enabled
Bit 7: Error interrupts enable.
Allowed values:
0: Disabled: Error detection interrupts disabled
1: Enabled: Error detection interrupts enabled
Bits 8-11: Digital noise filter.
Allowed values:
0: NoFilter: Digital filter disabled
1: Filter1: Digital filter enabled and filtering capability up to 1 tI2CCLK
2: Filter2: Digital filter enabled and filtering capability up to 2 tI2CCLK
3: Filter3: Digital filter enabled and filtering capability up to 3 tI2CCLK
4: Filter4: Digital filter enabled and filtering capability up to 4 tI2CCLK
5: Filter5: Digital filter enabled and filtering capability up to 5 tI2CCLK
6: Filter6: Digital filter enabled and filtering capability up to 6 tI2CCLK
7: Filter7: Digital filter enabled and filtering capability up to 7 tI2CCLK
8: Filter8: Digital filter enabled and filtering capability up to 8 tI2CCLK
9: Filter9: Digital filter enabled and filtering capability up to 9 tI2CCLK
10: Filter10: Digital filter enabled and filtering capability up to 10 tI2CCLK
11: Filter11: Digital filter enabled and filtering capability up to 11 tI2CCLK
12: Filter12: Digital filter enabled and filtering capability up to 12 tI2CCLK
13: Filter13: Digital filter enabled and filtering capability up to 13 tI2CCLK
14: Filter14: Digital filter enabled and filtering capability up to 14 tI2CCLK
15: Filter15: Digital filter enabled and filtering capability up to 15 tI2CCLK
Bit 12: Analog noise filter OFF.
Allowed values:
0: Enabled: Analog noise filter enabled
1: Disabled: Analog noise filter disabled
Bit 14: DMA transmission requests enable.
Allowed values:
0: Disabled: DMA mode disabled for transmission
1: Enabled: DMA mode enabled for transmission
Bit 15: DMA reception requests enable.
Allowed values:
0: Disabled: DMA mode disabled for reception
1: Enabled: DMA mode enabled for reception
Bit 16: Slave byte control.
Allowed values:
0: Disabled: Slave byte control disabled
1: Enabled: Slave byte control enabled
Bit 17: Clock stretching disable.
Allowed values:
0: Enabled: Clock stretching enabled
1: Disabled: Clock stretching disabled
Bit 18: Wakeup from STOP enable.
Allowed values:
0: Disabled: Wakeup from Stop mode disabled
1: Enabled: Wakeup from Stop mode enabled
Bit 19: General call enable.
Allowed values:
0: Disabled: General call disabled. Address 0b00000000 is NACKed
1: Enabled: General call enabled. Address 0b00000000 is ACKed
Bit 20: SMBus Host address enable.
Allowed values:
0: Disabled: Host address disabled. Address 0b0001000x is NACKed
1: Enabled: Host address enabled. Address 0b0001000x is ACKed
Bit 21: SMBus Device Default address enable.
Allowed values:
0: Disabled: Device default address disabled. Address 0b1100001x is NACKed
1: Enabled: Device default address enabled. Address 0b1100001x is ACKed
Bit 22: SMBUS alert enable.
Allowed values:
0: Disabled: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
1: Enabled: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Bit 23: PEC enable.
Allowed values:
0: Disabled: PEC calculation disabled
1: Enabled: PEC calculation enabled
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PECBYTE
rw |
AUTOEND
rw |
RELOAD
rw |
NBYTES
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NACK
rw |
STOP
rw |
START
rw |
HEAD10R
rw |
ADD10
rw |
RD_WRN
rw |
SADD
rw |
Bits 0-9: Slave address bit (master mode).
Allowed values: 0x0-0x3ff
Bit 10: Transfer direction (master mode).
Allowed values:
0: Write: Master requests a write transfer
1: Read: Master requests a read transfer
Bit 11: 10-bit addressing mode (master mode).
Allowed values:
0: Bit7: The master operates in 7-bit addressing mode
1: Bit10: The master operates in 10-bit addressing mode
Bit 12: 10-bit address header only read direction (master receiver mode).
Allowed values:
0: Complete: The master sends the complete 10 bit slave address read sequence
1: Partial: The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Bit 13: Start generation.
Allowed values:
0: NoStart: No Start generation
1: Start: Restart/Start generation
Bit 14: Stop generation (master mode).
Allowed values:
0: NoStop: No Stop generation
1: Stop: Stop generation after current byte transfer
Bit 15: NACK generation (slave mode).
Allowed values:
0: Ack: an ACK is sent after current received byte
1: Nack: a NACK is sent after current received byte
Bits 16-23: Number of bytes.
Allowed values: 0x0-0xff
Bit 24: NBYTES reload mode.
Allowed values:
0: Completed: The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
1: NotCompleted: The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Bit 25: Automatic end mode (master mode).
Allowed values:
0: Software: Software end mode: TC flag is set when NBYTES data are transferred, stretching SCL low
1: Automatic: Automatic end mode: a STOP condition is automatically sent when NBYTES data are transferred
Bit 26: Packet error checking byte.
Allowed values:
0: NoPec: No PEC transfer
1: Pec: PEC transmission/reception is requested
Own address register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 0-9: Interface address.
Allowed values: 0x0-0x3ff
Bit 10: Own Address 1 10-bit mode.
Allowed values:
0: Bit7: Own address 1 is a 7-bit address
1: Bit10: Own address 1 is a 10-bit address
Bit 15: Own Address 1 enable.
Allowed values:
0: Disabled: Own address 1 disabled. The received slave address OA1 is NACKed
1: Enabled: Own address 1 enabled. The received slave address OA1 is ACKed
Own address register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
3/3 fields covered.
Bits 1-7: Interface address.
Allowed values: 0x0-0x7f
Bits 8-10: Own Address 2 masks.
Allowed values:
0: NoMask: No mask
1: Mask1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
2: Mask2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
3: Mask3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
4: Mask4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
5: Mask5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
6: Mask6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
7: Mask7: OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Bit 15: Own Address 2 enable.
Allowed values:
0: Disabled: Own address 2 disabled. The received slave address OA2 is NACKed
1: Enabled: Own address 2 enabled. The received slave address OA2 is ACKed
Timing register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESC
rw |
SCLDEL
rw |
SDADEL
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SCLH
rw |
SCLL
rw |
Bits 0-7: SCL low period (master mode).
Allowed values: 0x0-0xff
Bits 8-15: SCL high period (master mode).
Allowed values: 0x0-0xff
Bits 16-19: Data hold time.
Allowed values: 0x0-0xf
Bits 20-23: Data setup time.
Allowed values: 0x0-0xf
Bits 28-31: Timing prescaler.
Allowed values: 0x0-0xf
Status register 1
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
5/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TEXTEN
rw |
TIMEOUTB
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIMOUTEN
rw |
TIDLE
rw |
TIMEOUTA
rw |
Bits 0-11: Bus timeout A.
Allowed values: 0x0-0xfff
Bit 12: Idle clock timeout detection.
Allowed values:
0: Disabled: TIMEOUTA is used to detect SCL low timeout
1: Enabled: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
Bit 15: Clock timeout enable.
Allowed values:
0: Disabled: SCL timeout detection is disabled
1: Enabled: SCL timeout detection is enabled
Bits 16-27: Bus timeout B.
Allowed values: 0x0-0xfff
Bit 31: Extended clock timeout enable.
Allowed values:
0: Disabled: Extended clock timeout detection is disabled
1: Enabled: Extended clock timeout detection is enabled
Interrupt and Status register
Offset: 0x18, size: 32, reset: 0x00000001, access: Unspecified
17/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDCODE
r |
DIR
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BUSY
r |
ALERT
r |
TIMEOUT
r |
PECERR
r |
OVR
r |
ARLO
r |
BERR
r |
TCR
r |
TC
r |
STOPF
r |
NACKF
r |
ADDR
r |
RXNE
r |
TXIS
rw |
TXE
rw |
Bit 0: Transmit data register empty (transmitters).
Allowed values:
0: NotEmpty: TXDR register not empty
1: Empty: TXDR register empty
Bit 1: Transmit interrupt status (transmitters).
Allowed values:
0: NotEmpty: The TXDR register is not empty
1: Empty: The TXDR register is empty and the data to be transmitted must be written in the TXDR register
Bit 2: Receive data register not empty (receivers).
Allowed values:
0: Empty: The RXDR register is empty
1: NotEmpty: Received data is copied into the RXDR register, and is ready to be read
Bit 3: Address matched (slave mode).
Allowed values:
0: NotMatch: Adress mismatched or not received
1: Match: Received slave address matched with one of the enabled slave addresses
Bit 4: Not acknowledge received flag.
Allowed values:
0: NoNack: No NACK has been received
1: Nack: NACK has been received
Bit 5: Stop detection flag.
Allowed values:
0: NoStop: No Stop condition detected
1: Stop: Stop condition detected
Bit 6: Transfer Complete (master mode).
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 7: Transfer Complete Reload.
Allowed values:
0: NotComplete: Transfer is not complete
1: Complete: NBYTES has been transfered
Bit 8: Bus error.
Allowed values:
0: NoError: No bus error
1: Error: Misplaced Start and Stop condition is detected
Bit 9: Arbitration lost.
Allowed values:
0: NotLost: No arbitration lost
1: Lost: Arbitration lost
Bit 10: Overrun/Underrun (slave mode).
Allowed values:
0: NoOverrun: No overrun/underrun error occurs
1: Overrun: slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Bit 11: PEC Error in reception.
Allowed values:
0: Match: Received PEC does match with PEC register
1: NoMatch: Received PEC does not match with PEC register
Bit 12: Timeout or t_low detection flag.
Allowed values:
0: NoTimeout: No timeout occured
1: Timeout: Timeout occured
Bit 13: SMBus alert.
Allowed values:
0: NoAlert: SMBA alert is not detected
1: Alert: SMBA alert event is detected on SMBA pin
Bit 15: Bus busy.
Allowed values:
0: NotBusy: No communication is in progress on the bus
1: Busy: A communication is in progress on the bus
Bit 16: Transfer direction (Slave mode).
Allowed values:
0: Write: Write transfer, slave enters receiver mode
1: Read: Read transfer, slave enters transmitter mode
Bits 17-23: Address match code (Slave mode).
Allowed values: 0x0-0x7f
Interrupt clear register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
9/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ALERTCF
w |
TIMOUTCF
w |
PECCF
w |
OVRCF
w |
ARLOCF
w |
BERRCF
w |
STOPCF
w |
NACKCF
w |
ADDRCF
w |
Bit 3: Address Matched flag clear.
Allowed values:
1: Clear: Clears the ADDR flag in ISR register
Bit 4: Not Acknowledge flag clear.
Allowed values:
1: Clear: Clears the NACK flag in ISR register
Bit 5: Stop detection flag clear.
Allowed values:
1: Clear: Clears the STOP flag in ISR register
Bit 8: Bus error flag clear.
Allowed values:
1: Clear: Clears the BERR flag in ISR register
Bit 9: Arbitration lost flag clear.
Allowed values:
1: Clear: Clears the ARLO flag in ISR register
Bit 10: Overrun/Underrun flag clear.
Allowed values:
1: Clear: Clears the OVR flag in ISR register
Bit 11: PEC Error flag clear.
Allowed values:
1: Clear: Clears the PEC flag in ISR register
Bit 12: Timeout detection flag clear.
Allowed values:
1: Clear: Clears the TIMOUT flag in ISR register
Bit 13: Alert flag clear.
Allowed values:
1: Clear: Clears the ALERT flag in ISR register
PEC register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PEC
r |
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
0x40003000: WinWATCHDOG
7/7 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | KR | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | PR | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | RLR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | SR | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | WINR |
Key register
Offset: 0x0, size: 16, reset: 0x00000000, access: write-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY
w |
Prescaler register
Offset: 0x4, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PR
rw |
Reload register
Offset: 0x8, size: 16, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RL
rw |
Window register
Offset: 0x10, size: 16, reset: 0x00000FFF, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WIN
rw |
0x40007c00: Low power timer
8/46 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | ISR | ||||||||||||||||||||||||||||||||
0x4 | ICR | ||||||||||||||||||||||||||||||||
0x8 | IER | ||||||||||||||||||||||||||||||||
0xc | CFGR | ||||||||||||||||||||||||||||||||
0x10 | CR | ||||||||||||||||||||||||||||||||
0x14 | CMP | ||||||||||||||||||||||||||||||||
0x18 | ARR | ||||||||||||||||||||||||||||||||
0x1c | CNT | ||||||||||||||||||||||||||||||||
0x20 | OR |
Interrupt and Status Register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
Interrupt Clear Register
Offset: 0x4, size: 32, reset: 0x00000000, access: write-only
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DOWNCF
w |
UPCF
w |
ARROKCF
w |
CMPOKCF
w |
EXTTRIGCF
w |
ARRMCF
w |
CMPMCF
w |
Bit 0: compare match Clear Flag.
Bit 1: Autoreload match Clear Flag.
Bit 2: External trigger valid edge Clear Flag.
Bit 3: Compare register update OK Clear Flag.
Bit 4: Autoreload register update OK Clear Flag.
Bit 5: Direction change to UP Clear Flag.
Bit 6: Direction change to down Clear Flag.
Interrupt Enable Register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DOWNIE
rw |
UPIE
rw |
ARROKIE
rw |
CMPOKIE
rw |
EXTTRIGIE
rw |
ARRMIE
rw |
CMPMIE
rw |
Bit 0: Compare match Interrupt Enable.
Bit 1: Autoreload match Interrupt Enable.
Bit 2: External trigger valid edge Interrupt Enable.
Bit 3: Compare register update OK Interrupt Enable.
Bit 4: Autoreload register update OK Interrupt Enable.
Bit 5: Direction change to UP Interrupt Enable.
Bit 6: Direction change to down Interrupt Enable.
Configuration Register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ENC
rw |
COUNTMODE
rw |
PRELOAD
rw |
WAVPOL
rw |
WAVE
rw |
TIMOUT
rw |
TRIGEN
rw |
TRIGSEL
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TRIGSEL
rw |
PRESC
rw |
TRGFLT
rw |
CKFLT
rw |
CKPOL
rw |
CKSEL
rw |
Bit 0: Clock selector.
Bits 1-2: Clock Polarity.
Bits 3-4: Configurable digital filter for external clock.
Bits 6-7: Configurable digital filter for trigger.
Bits 9-11: Clock prescaler.
Bits 13-16: Trigger selector.
Bits 17-18: Trigger enable and polarity.
Bit 19: Timeout enable.
Bit 20: Waveform shape.
Bit 21: Waveform shape polarity.
Bit 22: Registers update mode.
Bit 23: counter mode enabled.
Bit 24: Encoder mode enable.
Control Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
Compare Register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CMP
rw |
Autoreload Register
Offset: 0x18, size: 32, reset: 0x00000001, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARR
rw |
Counter Register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CNT
r |
0x40008000: Universal synchronous asynchronous receiver transmitter
22/93 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/29 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
DEAT4
rw |
DEAT3
rw |
DEAT2
rw |
DEAT1
rw |
DEAT0
rw |
DEDT4
rw |
DEDT3
rw |
DEDT2
rw |
DEDT1
rw |
DEDT0
rw |
||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Bit 3: Transmitter enable.
Bit 4: IDLE interrupt enable.
Bit 5: RXNE interrupt enable.
Bit 6: Transmission complete interrupt enable.
Bit 7: interrupt enable.
Bit 8: PE interrupt enable.
Bit 9: Parity selection.
Bit 10: Parity control enable.
Bit 11: Receiver wakeup method.
Bit 12: Word length.
Bit 13: Mute mode enable.
Bit 14: Character match interrupt enable.
Bit 16: DEDT0.
Bit 17: DEDT1.
Bit 18: DEDT2.
Bit 19: DEDT3.
Bit 20: Driver Enable de-assertion time.
Bit 21: DEAT0.
Bit 22: DEAT1.
Bit 23: DEAT2.
Bit 24: DEAT3.
Bit 25: Driver Enable assertion time.
Bit 28: Word length.
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD4_7
rw |
ADD0_3
rw |
MSBFIRST
rw |
TAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
STOP
rw |
ADDM7
rw |
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Bits 12-13: STOP bits.
Bit 15: Swap TX/RX pins.
Bit 16: RX pin active level inversion.
Bit 17: TX pin active level inversion.
Bit 18: Binary data inversion.
Bit 19: Most significant bit first.
Bits 24-27: Address of the USART node.
Bits 28-31: Address of the USART node.
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
HDSEL
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Bit 3: Half-duplex selection.
Bit 6: DMA enable receiver.
Bit 7: DMA enable transmitter.
Bit 8: RTS enable.
Bit 9: CTS enable.
Bit 10: CTS interrupt enable.
Bit 12: Overrun Disable.
Bit 13: DMA Disable on Reception Error.
Bit 14: Driver enable mode.
Bit 15: Driver enable polarity selection.
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/4 fields covered.
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
21/21 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTS
r |
CTSIF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CTSCF
w |
TCCF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Bit 1: Framing error clear flag.
Bit 2: Noise detected clear flag.
Bit 3: Overrun error clear flag.
Bit 4: Idle line detected clear flag.
Bit 6: Transmission complete clear flag.
Bit 9: CTS clear flag.
Bit 17: Character match clear flag.
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
Prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40010300: Operational amplifiers
76/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | OPAMP1_CSR | ||||||||||||||||||||||||||||||||
0x4 | OPAMP2_CSR | ||||||||||||||||||||||||||||||||
0x8 | OPAMP3_CSR | ||||||||||||||||||||||||||||||||
0x14 | OPAMP6_CSR | ||||||||||||||||||||||||||||||||
0x18 | OPAMP1_TCMR | ||||||||||||||||||||||||||||||||
0x1c | OPAMP2_TCMR | ||||||||||||||||||||||||||||||||
0x20 | OPAMP3_TCMR | ||||||||||||||||||||||||||||||||
0x2c | OPAMP6_TCMR |
OPAMP1 control/status register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP2 control/status register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: VINP3: VINP3 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP3 control/status register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH2: DAC3_CH2 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP6 control/status register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
CALOUT
rw |
TRIMOFFSETN
rw |
TRIMOFFSETP
rw |
PGA_GAIN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PGA_GAIN
rw |
CALSEL
rw |
CALON
rw |
OPAINTOEN
rw |
OPAHSM
rw |
VM_SEL
rw |
USERTRIM
rw |
VP_SEL
rw |
FORCE_VP
rw |
OPAEN
rw |
Bit 0: Operational amplifier Enable.
Allowed values:
0: Disabled: OpAmp disabled
1: Enabled: OpAmp enabled
Bit 1: FORCE_VP.
Allowed values:
0: Normal: Non-inverting input connected configured inputs
1: CalibrationVerification: Non-inverting input connected to calibration reference voltage
Bits 2-3: VP_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 4: USERTRIM.
Allowed values:
0: Factory: Factory trim used
1: User: User trim used
Bits 5-6: VM_SEL.
Allowed values:
0: VINM0: VINM0 connected to VINM input
1: VINM1: VINM1 connected to VINM input
2: PGA: Feedback resistor connected to VINM (PGA mode)
3: Output: OpAmp output connected to VINM (Follower mode)
Bit 7: OPAHSM.
Allowed values:
0: Normal: OpAmp in normal mode
1: HighSpeed: OpAmp in high speed mode
Bit 8: OPAINTOEN.
Allowed values:
0: OutputPin: Output is connected to the output Pin
1: ADCChannel: Output is connected internally to ADC channel
Bit 11: CALON.
Allowed values:
0: Disabled: Calibration mode disabled
1: Enabled: Calibration mode enabled
Bits 12-13: CALSEL.
Allowed values:
0: Percent3_3: 0.033*VDDA applied to OPAMP inputs during calibration
1: Percent10: 0.1*VDDA applied to OPAMP inputs during calibration
2: Percent50: 0.5*VDDA applied to OPAMP inputs during calibration
3: Percent90: 0.9*VDDA applied to OPAMP inputs during calibration
Bits 14-18: PGA_GAIN.
Allowed values:
0: Gain2: Gain 2
1: Gain4: Gain 4
2: Gain8: Gain 8
3: Gain16: Gain 16
4: Gain32: Gain 32
5: Gain64: Gain 64
8: Gain2_InputVINM0: Gain 2, input/bias connected to VINM0 or inverting gain
9: Gain4_InputVINM0: Gain 4, input/bias connected to VINM0 or inverting gain
10: Gain8_InputVINM0: Gain 8, input/bias connected to VINM0 or inverting gain
11: Gain16_InputVINM0: Gain 16, input/bias connected to VINM0 or inverting gain
12: Gain32_InputVINM0: Gain 32, input/bias connected to VINM0 or inverting gain
13: Gain64_InputVINM0: Gain 64, input/bias connected to VINM0 or inverting gain
16: Gain2_FilteringVINM0: Gain 2, with filtering on VINM0
17: Gain4_FilteringVINM0: Gain 4, with filtering on VINM0
18: Gain8_FilteringVINM0: Gain 8, with filtering on VINM0
19: Gain16_FilteringVINM0: Gain 16, with filtering on VINM0
20: Gain32_FilteringVINM0: Gain 32, with filtering on VINM0
21: Gain64_FilteringVINM0: Gain 64, with filtering on VINM0
24: Gain2_InputVINM0FilteringVINM1: Gain 2, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
25: Gain4_InputVINM0FilteringVINM1: Gain 4, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
26: Gain8_InputVINM0FilteringVINM1: Gain 8, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
27: Gain16_InputVINM0FilteringVINM1: Gain 16, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
28: Gain32_InputVINM0FilteringVINM1: Gain 32, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
29: Gain64_InputVINM0FilteringVINM1: Gain 64, input/bias connected to VINM0 with filtering on VINM1 or inverting gain
Bits 19-23: TRIMOFFSETP.
Allowed values: 0x0-0x1f
Bits 24-28: TRIMOFFSETN.
Allowed values: 0x0-0x1f
Bit 30: CALOUT.
Allowed values: 0x0-0x1
Bit 31: LOCK.
Allowed values:
0: ReadWrite: CSR is read-write
1: ReadOnly: CSR is read-only, can only be cleared by system reset
OPAMP1 control/status register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
OPAMP2 control/status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: VINP3: VINP3 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
OPAMP3 control/status register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH2: DAC3_CH2 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
OPAMP6 control/status register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
5/6 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOCK
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
T20CM_EN
rw |
T8CM_EN
rw |
T1CM_EN
rw |
VPS_SEL
rw |
VMS_SEL
rw |
Bit 0: VMS_SEL.
Bits 1-2: VPS_SEL.
Allowed values:
0: VINP0: VINP0 connected to VINP input
1: VINP1: VINP1 connected to VINP input
2: VINP2: VINP2 connected to VINP input
3: DAC3_CH1: DAC3_CH1 connected to VINP input
Bit 3: T1CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM1 disabled
1: Enabled: Automatic input switch triggered by TIM1 enabled
Bit 4: T8CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM8 disabled
1: Enabled: Automatic input switch triggered by TIM8 enabled
Bit 5: T20CM_EN.
Allowed values:
0: Disabled: Automatic input switch triggered by TIM20 disabled
1: Enabled: Automatic input switch triggered by TIM20 enabled
Bit 31: LOCK.
Allowed values:
0: ReadWrite: TCMR is read-write
1: ReadOnly: TCMR is read-only, can only be cleared by system reset
0x40007000: Power control
13/256 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | CR4 | ||||||||||||||||||||||||||||||||
0x10 | SR1 | ||||||||||||||||||||||||||||||||
0x14 | SR2 | ||||||||||||||||||||||||||||||||
0x18 | SCR | ||||||||||||||||||||||||||||||||
0x20 | PUCRA | ||||||||||||||||||||||||||||||||
0x24 | PDCRA | ||||||||||||||||||||||||||||||||
0x28 | PUCRB | ||||||||||||||||||||||||||||||||
0x2c | PDCRB | ||||||||||||||||||||||||||||||||
0x30 | PUCRC | ||||||||||||||||||||||||||||||||
0x34 | PDCRC | ||||||||||||||||||||||||||||||||
0x38 | PUCRD | ||||||||||||||||||||||||||||||||
0x3c | PDCRD | ||||||||||||||||||||||||||||||||
0x40 | PUCRE | ||||||||||||||||||||||||||||||||
0x44 | PDCRE | ||||||||||||||||||||||||||||||||
0x48 | PUCRF | ||||||||||||||||||||||||||||||||
0x4c | PDCRF | ||||||||||||||||||||||||||||||||
0x50 | PUCRG | ||||||||||||||||||||||||||||||||
0x54 | PDCRG | ||||||||||||||||||||||||||||||||
0x80 | CR5 |
Power control register 1
Offset: 0x0, size: 32, reset: 0x00000200, access: Unspecified
0/5 fields covered.
Bits 0-2: Low-power mode selection These bits select the low-power mode entered when CPU enters the deepsleep mode. 1xx: Shutdown mode Note: In Standby mode, SRAM2 can be preserved or not, depending on RRS bit configuration in PWR_CR3..
Bit 3: FPD_STOP.
Bit 8: Disable backup domain write protection In reset state, the RTC and backup registers are protected against parasitic write access. This bit must be set to enable write access to these registers..
Bits 9-10: Voltage scaling range selection.
Bit 14: Low-power run When this bit is set, the regulator is switched from main mode (MR) to low-power mode (LPR)..
Power control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: Unspecified
0/4 fields covered.
Bit 0: Programmable voltage detector enable Note: This bit is write-protected when the PVDL bit is set in the SYSCFG_CFGR2 register. The protection can be reset only by a system reset..
Bits 1-3: Programmable voltage detector level selection. These bits select the PVD falling threshold: Note: These bits are write-protected when the PVDL bit is set in the SYSCFG_CFGR2 register. The protection can be reset only by a system reset..
Bit 6: Peripheral voltage monitoring 3 enable: V<sub>DDA</sub> vs. ADC/COMP min voltage 1.62V.
Bit 7: Peripheral voltage monitoring 4 enable: V<sub>DDA</sub> vs. DAC 1MSPS /DAC 15MSPS min voltage..
Power control register 3
Offset: 0x8, size: 32, reset: 0x00008000, access: Unspecified
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EIWUL
rw |
UCPD1_DBDIS
rw |
UCPD1_STDBY
rw |
APC
rw |
RRS
rw |
EWUP5
rw |
EWUP4
rw |
EWUP3
rw |
EWUP2
rw |
EWUP1
rw |
Bit 0: Enable Wakeup pin WKUP1 When this bit is set, the external wakeup pin WKUP1 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP1 bit in the PWR_CR4 register..
Bit 1: Enable Wakeup pin WKUP2 When this bit is set, the external wakeup pin WKUP2 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP2 bit in the PWR_CR4 register..
Bit 2: Enable Wakeup pin WKUP3 When this bit is set, the external wakeup pin WKUP3 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP3 bit in the PWR_CR4 register..
Bit 3: Enable Wakeup pin WKUP4 When this bit is set, the external wakeup pin WKUP4 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs. The active edge is configured via the WP4 bit in the PWR_CR4 register..
Bit 4: Enable Wakeup pin WKUP5 When this bit is set, the external wakeup pin WKUP5 is enabled and triggers a wakeup from Standby or Shutdown event when a rising or a falling edge occurs.The active edge is configured via the WP5 bit in the PWR_CR4 register..
Bit 8: SRAM2 retention in Standby mode.
Bit 10: Apply pull-up and pull-down configuration When this bit is set, the I/O pull-up and pull-down configurations defined in the PWR_PUCRx and PWR_PDCRx registers are applied. When this bit is cleared, the PWR_PUCRx and PWR_PDCRx registers are not applied to the I/Os..
Bit 13: UCPD1_STDBY USB Type-C and Power Delivery standby mode..
Bit 14: USB Type-C and Power Delivery Dead Battery disable. After exiting reset, the USB Type-C dead battery behavior is enabled, which may have a pull-down effect on CC1 and CC2 pins. It is recommended to disable it in all cases, either to stop this pull-down or to hand over control to the UCPD1 (which should therefore be initialized before doing the disable)..
Bit 15: Enable internal wakeup line.
Power control register 4
Offset: 0xc, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
Bit 0: Wakeup pin WKUP1 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP1.
Bit 1: Wakeup pin WKUP2 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP2.
Bit 2: Wakeup pin WKUP3 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP3.
Bit 3: Wakeup pin WKUP4 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP4.
Bit 4: Wakeup pin WKUP5 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP5.
Bit 8: V<sub>BAT</sub> battery charging enable.
Bit 9: V<sub>BAT</sub> battery charging resistor selection.
Power status register 1
Offset: 0x10, size: 32, reset: 0x00000000, access: Unspecified
7/7 fields covered.
Bit 0: Wakeup flag 1 This bit is set when a wakeup event is detected on wakeup pin, WKUP1. It is cleared by writing 1 in the CWUF1 bit of the PWR_SCR register..
Bit 1: Wakeup flag 2 This bit is set when a wakeup event is detected on wakeup pin, WKUP2. It is cleared by writing 1 in the CWUF2 bit of the PWR_SCR register..
Bit 2: Wakeup flag 3 This bit is set when a wakeup event is detected on wakeup pin, WKUP3. It is cleared by writing 1 in the CWUF3 bit of the PWR_SCR register..
Bit 3: Wakeup flag 4 This bit is set when a wakeup event is detected on wakeup pin,WKUP4. It is cleared by writing 1 in the CWUF4 bit of the PWR_SCR register..
Bit 4: Wakeup flag 5 This bit is set when a wakeup event is detected on wakeup pin, WKUP5. It is cleared by writing 1 in the CWUF5 bit of the PWR_SCR register..
Bit 8: Standby flag This bit is set by hardware when the device enters the Standby mode and is cleared by setting the CSBF bit in the PWR_SCR register, or by a power-on reset. It is not cleared by the system reset..
Bit 15: Wakeup flag internal This bit is set when a wakeup is detected on the internal wakeup line. It is cleared when all internal wakeup sources are cleared..
Power status register 2
Offset: 0x14, size: 32, reset: 0x00000000, access: Unspecified
6/6 fields covered.
Bit 8: Low-power regulator started This bit provides the information whether the low-power regulator is ready after a power-on reset or a Standby/Shutdown. If the Standby mode is entered while REGLPS bit is still cleared, the wakeup from Standby mode time may be increased..
Bit 9: Low-power regulator flag This bit is set by hardware when the MCU is in Low-power run mode. When the MCU exits the Low-power run mode, this bit remains at 1 until the regulator is ready in main mode. A polling on this bit must be done before increasing the product frequency. This bit is cleared by hardware when the regulator is ready..
Bit 10: Voltage scaling flag A delay is required for the internal regulator to be ready after the voltage scaling has been changed. VOSF indicates that the regulator reached the voltage level defined with VOS bits of the PWR_CR1 register..
Bit 11: Programmable voltage detector output.
Bit 14: Peripheral voltage monitoring output: V<sub>DDA</sub> vs. 1.62 V Note: PVMO1 is cleared when PVM1 is disabled (PVME = 0). After enabling PVM1, the PVM1 output is valid after the PVM1 wakeup time..
Bit 15: Peripheral voltage monitoring output: V<sub>DDA</sub> vs. 1.8 V Note: PVMO2 is cleared when PVM2 is disabled (PVME = 0). After enabling PVM2, the PVM2 output is valid after the PVM2 wakeup time..
Power status clear register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
0/6 fields covered.
Bit 0: Clear wakeup flag 1 Setting this bit clears the WUF1 flag in the PWR_SR1 register..
Bit 1: Clear wakeup flag 2 Setting this bit clears the WUF2 flag in the PWR_SR1 register..
Bit 2: Clear wakeup flag 3 Setting this bit clears the WUF3 flag in the PWR_SR1 register..
Bit 3: Clear wakeup flag 4 Setting this bit clears the WUF4 flag in the PWR_SR1 register..
Bit 4: Clear wakeup flag 5 Setting this bit clears the WUF5 flag in the PWR_SR1 register..
Bit 8: Clear standby flag Setting this bit clears the SBF flag in the PWR_SR1 register..
Power Port A pull-up control register
Offset: 0x20, size: 32, reset: 0x00000000, access: Unspecified
0/15 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 11: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 12: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 13: Port A pull-up bit y (y=0..13) When set, this bit activates the pull-up on PA[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 15: Port A pull-up bit 15 When set, this bit activates the pull-up on PA[15] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PD15 bit is also set..
Power Port A pull-down control register
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD14
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 4: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 11: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 12: Port A pull-down bit y (y=0..12) When set, this bit activates the pull-down on PA[y] when APC bit is set in PWR_CR3 register..
Bit 14: Port A pull-down bit 14 When set, this bit activates the pull-down on PA[14] when APC bit is set in PWR_CR3 register..
Power Port B pull-up control register
Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 11: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 12: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 13: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 14: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 15: Port B pull-up bit y (y=0..15) When set, this bit activates the pull-up on PB[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Power Port B pull-down control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: Unspecified
0/15 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port B pull-down bit y (y=0..3) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 11: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 12: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 13: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 14: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Bit 15: Port B pull-down bit y (y=5..15) When set, this bit activates the pull-down on PB[y] when APC bit is set in PWR_CR3 register..
Power Port C pull-up control register
Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 11: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 12: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 13: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 14: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 15: Port C pull-up bit y (y=0..15) When set, this bit activates the pull-up on PC[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Power Port C pull-down control register
Offset: 0x34, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 4: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 11: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 12: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 13: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 14: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Bit 15: Port C pull-down bit y (y=0..15) When set, this bit activates the pull-down on PC[y] when APC bit is set in PWR_CR3 register..
Power Port D pull-up control register
Offset: 0x38, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 11: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 12: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 13: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 14: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 15: Port D pull-up bit y (y=0..15) When set, this bit activates the pull-up on PD[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Power Port D pull-down control register
Offset: 0x3c, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 4: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 11: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 12: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 13: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 14: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Bit 15: Port D pull-down bit y (y=0..15) When set, this bit activates the pull-down on PD[y] when APC bit is set in PWR_CR3 register..
Power Port E pull-up control register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 11: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 12: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 13: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 14: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 15: Port E pull-up bit y (y=0..15) When set, this bit activates the pull-up on PE[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Power Port E pull-down control register
Offset: 0x44, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 4: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 11: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 12: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 13: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 14: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Bit 15: Port E pull-down bit y (y=0..15) When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register..
Power Port F pull-up control register
Offset: 0x48, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU15
rw |
PU14
rw |
PU13
rw |
PU12
rw |
PU11
rw |
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 11: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 12: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 13: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 14: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 15: Port F pull-up bit y (y=0..15) When set, this bit activates the pull-up on PF[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Power Port F pull-down control register
Offset: 0x4c, size: 32, reset: 0x00000000, access: Unspecified
0/16 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD15
rw |
PD14
rw |
PD13
rw |
PD12
rw |
PD11
rw |
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 4: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 11: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 12: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 13: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 14: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Bit 15: Port F pull-down bit y (y=0..15) When set, this bit activates the pull-down on PF[y] when APC bit is set in PWR_CR3 register..
Power Port G pull-up control register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
0/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PU10
rw |
PU9
rw |
PU8
rw |
PU7
rw |
PU6
rw |
PU5
rw |
PU4
rw |
PU3
rw |
PU2
rw |
PU1
rw |
PU0
rw |
Bit 0: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 1: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 2: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 3: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 4: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 5: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 6: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 7: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 8: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 9: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Bit 10: Port G pull-up bit y (y=0..10) When set, this bit activates the pull-up on PG[y] when APC bit is set in PWR_CR3 register. The pull-up is not activated if the corresponding PDy bit is also set..
Power Port G pull-down control register
Offset: 0x54, size: 32, reset: 0x00000000, access: Unspecified
0/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PD10
rw |
PD9
rw |
PD8
rw |
PD7
rw |
PD6
rw |
PD5
rw |
PD4
rw |
PD3
rw |
PD2
rw |
PD1
rw |
PD0
rw |
Bit 0: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 1: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 2: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 3: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 4: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 5: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 6: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 7: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 8: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 9: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Bit 10: Port G pull-down bit y (y=0..10) When set, this bit activates the pull-down on PG[y] when APC bit is set in PWR_CR3 register..
Power control register
Offset: 0x80, size: 32, reset: 0x00000100, access: Unspecified
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
R1MODE
rw |
0x40021000: Reset and clock control
189/277 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | ICSCR | ||||||||||||||||||||||||||||||||
0x8 | CFGR | ||||||||||||||||||||||||||||||||
0xc | PLLCFGR | ||||||||||||||||||||||||||||||||
0x18 | CIER | ||||||||||||||||||||||||||||||||
0x1c | CIFR | ||||||||||||||||||||||||||||||||
0x20 | CICR | ||||||||||||||||||||||||||||||||
0x28 | AHB1RSTR | ||||||||||||||||||||||||||||||||
0x2c | AHB2RSTR | ||||||||||||||||||||||||||||||||
0x30 | AHB3RSTR | ||||||||||||||||||||||||||||||||
0x38 | APB1RSTR1 | ||||||||||||||||||||||||||||||||
0x3c | APB1RSTR2 | ||||||||||||||||||||||||||||||||
0x40 | APB2RSTR | ||||||||||||||||||||||||||||||||
0x48 | AHB1ENR | ||||||||||||||||||||||||||||||||
0x4c | AHB2ENR | ||||||||||||||||||||||||||||||||
0x50 | AHB3ENR | ||||||||||||||||||||||||||||||||
0x58 | APB1ENR1 | ||||||||||||||||||||||||||||||||
0x5c | APB1ENR2 | ||||||||||||||||||||||||||||||||
0x60 | APB2ENR | ||||||||||||||||||||||||||||||||
0x68 | AHB1SMENR | ||||||||||||||||||||||||||||||||
0x6c | AHB2SMENR | ||||||||||||||||||||||||||||||||
0x70 | AHB3SMENR | ||||||||||||||||||||||||||||||||
0x78 | APB1SMENR1 | ||||||||||||||||||||||||||||||||
0x7c | APB1SMENR2 | ||||||||||||||||||||||||||||||||
0x80 | APB2SMENR | ||||||||||||||||||||||||||||||||
0x88 | CCIPR | ||||||||||||||||||||||||||||||||
0x90 | BDCR | ||||||||||||||||||||||||||||||||
0x94 | CSR | ||||||||||||||||||||||||||||||||
0x98 | CRRCR | ||||||||||||||||||||||||||||||||
0x9c | CCIPR2 |
Clock control register
Offset: 0x0, size: 32, reset: 0x00000063, access: Unspecified
8/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PLLRDY
r |
PLLON
rw |
CSSON
rw |
HSEBYP
rw |
HSERDY
r |
HSEON
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HSIRDY
r |
HSIKERON
rw |
HSION
rw |
Bit 8: HSI16 clock enable Set and cleared by software. Cleared by hardware to stop the HSI16 oscillator when entering Stop, Standby or Shutdown mode. Set by hardware to force the HSI16 oscillator ON when STOPWUCK=1 or HSIASFS = 1 when leaving Stop modes, or in case of failure of the HSE crystal oscillator. This bit is set by hardware if the HSI16 is used directly or indirectly as system clock..
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 9: HSI16 always enable for peripheral kernels. Set and cleared by software to force HSI16 ON even in Stop modes. The HSI16 can only feed USARTs and I<sup>2</sup>Cs peripherals configured with HSI16 as kernel clock. Keeping the HSI16 ON in Stop mode allows to avoid slowing down the communication speed because of the HSI16 startup time. This bit has no effect on HSION value..
Bit 10: HSI16 clock ready flag Set by hardware to indicate that HSI16 oscillator is stable. This bit is set only when HSI16 is enabled by software by setting HSION. Note: Once the HSION bit is cleared, HSIRDY goes low after 6 HSI16 clock cycles..
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 16: HSE clock enable Set and cleared by software. Cleared by hardware to stop the HSE oscillator when entering Stop, Standby or Shutdown mode. This bit cannot be reset if the HSE oscillator is used directly or indirectly as the system clock..
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 17: HSE clock ready flag Set by hardware to indicate that the HSE oscillator is stable. Note: Once the HSEON bit is cleared, HSERDY goes low after 6 HSE clock cycles..
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Bit 18: HSE crystal oscillator bypass Set and cleared by software to bypass the oscillator with an external clock. The external clock must be enabled with the HSEON bit set, to be used by the device. The HSEBYP bit can be written only if the HSE oscillator is disabled..
Allowed values:
0: NotBypassed: HSE crystal oscillator not bypassed
1: Bypassed: HSE crystal oscillator bypassed with external clock
Bit 19: Clock security system enable Set by software to enable the clock security system. When CSSON is set, the clock detector is enabled by hardware when the HSE oscillator is ready, and disabled by hardware if a HSE clock failure is detected. This bit is set only and is cleared by reset..
Allowed values:
0: Off: Clock security system disabled (clock detector OFF)
1: On: Clock security system enable (clock detector ON if the HSE is ready, OFF if not)
Bit 24: Main PLL enable Set and cleared by software to enable the main PLL. Cleared by hardware when entering Stop, Standby or Shutdown mode. This bit cannot be reset if the PLL clock is used as the system clock..
Allowed values:
0: Off: Clock Off
1: On: Clock On
Bit 25: Main PLL clock ready flag Set by hardware to indicate that the main PLL is locked..
Allowed values:
0: NotReady: Clock not ready
1: Ready: Clock ready
Internal clock sources calibration register
Offset: 0x4, size: 32, reset: 0x40000000, access: Unspecified
1/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSITRIM
rw |
HSICAL
r |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Bits 16-23: HSI16 clock calibration These bits are initialized at startup with the factory-programmed HSI16 calibration trim value. When HSITRIM is written, HSICAL is updated with the sum of HSITRIM and the factory trim value..
Bits 24-30: HSI16 clock trimming These bits provide an additional user-programmable trimming value that is added to the HSICAL[7:0] bits. It can be programmed to adjust to variations in voltage and temperature that influence the frequency of the HSI16. The default value is 16, which, when added to the HSICAL value, should trim the HSI16 to 16 MHz 1 %..
Clock configuration register
Offset: 0x8, size: 32, reset: 0x00000005, access: Unspecified
7/7 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCOPRE
rw |
MCOSEL
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PPRE2
rw |
PPRE1
rw |
HPRE
rw |
SWS
r |
SW
rw |
Bits 0-1: System clock switch Set and cleared by software to select system clock source (SYSCLK). Configured by hardware to force HSI16 oscillator selection when exiting stop and standby modes or in case of failure of the HSE oscillator..
Allowed values:
0: MSI: MSI selected as system clock
1: HSI: HSI selected as system clock
2: HSE: HSE selected as system clock
3: PLL: PLL selected as system clock
Bits 2-3: System clock switch status Set and cleared by hardware to indicate which clock source is used as system clock..
Allowed values:
0: MSI: MSI oscillator used as system clock
1: HSI: HSI oscillator used as system clock
2: HSE: HSE used as system clock
3: PLL: PLL used as system clock
Bits 4-7: AHB prescaler Set and cleared by software to control the division factor of the AHB clock. Note: Depending on the device voltage range, the software has to set correctly these bits to ensure that the system frequency does not exceed the maximum allowed frequency (for more details please refer to Section 6.1.5: Dynamic voltage scaling management). After a write operation to these bits and before decreasing the voltage range, this register must be read to be sure that the new value has been taken into account. 0xxx: SYSCLK not divided.
Allowed values:
8: Div2: SYSCLK divided by 2
9: Div4: SYSCLK divided by 4
10: Div8: SYSCLK divided by 8
11: Div16: SYSCLK divided by 16
12: Div64: SYSCLK divided by 64
13: Div128: SYSCLK divided by 128
14: Div256: SYSCLK divided by 256
15: Div512: SYSCLK divided by 512
0 (+): Div1: SYSCLK not divided
Bits 8-10: APB1 prescaler Set and cleared by software to control the division factor of the APB1 clock (PCLK1). 0xx: HCLK not divided.
Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided
Bits 11-13: APB2 prescaler Set and cleared by software to control the division factor of the APB2 clock (PCLK2). 0xx: HCLK not divided.
Allowed values:
4: Div2: HCLK divided by 2
5: Div4: HCLK divided by 4
6: Div8: HCLK divided by 8
7: Div16: HCLK divided by 16
0 (+): Div1: HCLK not divided
Bits 24-27: Microcontroller clock output Set and cleared by software. Others: Reserved Note: This clock output may have some truncated cycles at startup or during MCO clock source switching..
Allowed values:
0: None: MCO output disabled, no clock on MCO
1: SYSCLK: SYSCLK system clock selected
2: MSI: MSI clock selected
3: HSI: HSI clock selected
4: HSE: HSE clock selected
5: PLL: Main PLL clock selected
6: LSI: LSI clock selected
7: LSE: LSE clock selected
8: HSI48: Internal HSI48 clock selected
Bits 28-30: Microcontroller clock output prescaler These bits are set and cleared by software. It is highly recommended to change this prescaler before MCO output is enabled. Others: not allowed.
Allowed values:
0: Div1: MCO divided by 1
1: Div2: MCO divided by 2
2: Div4: MCO divided by 4
3: Div8: MCO divided by 8
4: Div16: MCO divided by 16
PLL configuration register
Offset: 0xc, size: 32, reset: 0x00001000, access: Unspecified
7/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PLLPDIV
rw |
PLLR
rw |
PLLREN
rw |
PLLQ
rw |
PLLQEN
rw |
PLLP
rw |
PLLPEN
rw |
|||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PLLN
rw |
PLLM
rw |
PLLSRC
rw |
Bits 0-1: Main PLL entry clock source Set and cleared by software to select PLL clock source. These bits can be written only when PLL is disabled. In order to save power, when no PLL is used, the value of PLLSRC should be 00..
Allowed values:
0: None: No clock sent to PLL
2: HSI16: HSI16 sent to PLL input
3: HSE: HSE sent to PLL input
Bits 4-7: Division factor for the main PLL input clock Set and cleared by software to divide the PLL input clock before the VCO. These bits can be written only when all PLLs are disabled. VCO input frequency = PLL input clock frequency / PLLM with 1 <= PLLM <= 16 ... Note: The software has to set these bits correctly to ensure that the VCO input frequency is within the range defined in the device datasheet..
Allowed values:
0: Div1: pll_p_ck = vco_ck / 1
1: Div2: pll_p_ck = vco_ck / 2
2: Div3: pll_p_ck = vco_ck / 3
3: Div4: pll_p_ck = vco_ck / 4
4: Div5: pll_p_ck = vco_ck / 5
5: Div6: pll_p_ck = vco_ck / 6
6: Div7: pll_p_ck = vco_ck / 7
7: Div8: pll_p_ck = vco_ck / 8
8: Div9: pll_p_ck = vco_ck / 9
9: Div10: pll_p_ck = vco_ck / 10
10: Div11: pll_p_ck = vco_ck / 11
11: Div12: pll_p_ck = vco_ck / 12
12: Div13: pll_p_ck = vco_ck / 13
13: Div14: pll_p_ck = vco_ck / 14
14: Div15: pll_p_ck = vco_ck / 15
15: Div16: pll_p_ck = vco_ck / 16
Bits 8-14: Main PLL multiplication factor for VCO Set and cleared by software to control the multiplication factor of the VCO. These bits can be written only when the PLL is disabled. VCO output frequency = VCO input frequency x PLLN with 8 =< PLLN =< 127 ... ... Note: The software has to set correctly these bits to assure that the VCO output frequency is within the range defined in the device datasheet..
Allowed values:
8: Div8: pll_n_ck = vco_ck / 8
9: Div9: pll_n_ck = vco_ck / 9
10: Div10: pll_n_ck = vco_ck / 10
11: Div11: pll_n_ck = vco_ck / 11
12: Div12: pll_n_ck = vco_ck / 12
13: Div13: pll_n_ck = vco_ck / 13
14: Div14: pll_n_ck = vco_ck / 14
15: Div15: pll_n_ck = vco_ck / 15
16: Div16: pll_n_ck = vco_ck / 16
17: Div17: pll_n_ck = vco_ck / 17
18: Div18: pll_n_ck = vco_ck / 18
19: Div19: pll_n_ck = vco_ck / 19
20: Div20: pll_n_ck = vco_ck / 20
21: Div21: pll_n_ck = vco_ck / 21
22: Div22: pll_n_ck = vco_ck / 22
23: Div23: pll_n_ck = vco_ck / 23
24: Div24: pll_n_ck = vco_ck / 24
25: Div25: pll_n_ck = vco_ck / 25
26: Div26: pll_n_ck = vco_ck / 26
27: Div27: pll_n_ck = vco_ck / 27
28: Div28: pll_n_ck = vco_ck / 28
29: Div29: pll_n_ck = vco_ck / 29
30: Div30: pll_n_ck = vco_ck / 30
31: Div31: pll_n_ck = vco_ck / 31
32: Div32: pll_n_ck = vco_ck / 32
33: Div33: pll_n_ck = vco_ck / 33
34: Div34: pll_n_ck = vco_ck / 34
35: Div35: pll_n_ck = vco_ck / 35
36: Div36: pll_n_ck = vco_ck / 36
37: Div37: pll_n_ck = vco_ck / 37
38: Div38: pll_n_ck = vco_ck / 38
39: Div39: pll_n_ck = vco_ck / 39
40: Div40: pll_n_ck = vco_ck / 40
41: Div41: pll_n_ck = vco_ck / 41
42: Div42: pll_n_ck = vco_ck / 42
43: Div43: pll_n_ck = vco_ck / 43
44: Div44: pll_n_ck = vco_ck / 44
45: Div45: pll_n_ck = vco_ck / 45
46: Div46: pll_n_ck = vco_ck / 46
47: Div47: pll_n_ck = vco_ck / 47
48: Div48: pll_n_ck = vco_ck / 48
49: Div49: pll_n_ck = vco_ck / 49
50: Div50: pll_n_ck = vco_ck / 50
51: Div51: pll_n_ck = vco_ck / 51
52: Div52: pll_n_ck = vco_ck / 52
53: Div53: pll_n_ck = vco_ck / 53
54: Div54: pll_n_ck = vco_ck / 54
55: Div55: pll_n_ck = vco_ck / 55
56: Div56: pll_n_ck = vco_ck / 56
57: Div57: pll_n_ck = vco_ck / 57
58: Div58: pll_n_ck = vco_ck / 58
59: Div59: pll_n_ck = vco_ck / 59
60: Div60: pll_n_ck = vco_ck / 60
61: Div61: pll_n_ck = vco_ck / 61
62: Div62: pll_n_ck = vco_ck / 62
63: Div63: pll_n_ck = vco_ck / 63
64: Div64: pll_n_ck = vco_ck / 64
65: Div65: pll_n_ck = vco_ck / 65
66: Div66: pll_n_ck = vco_ck / 66
67: Div67: pll_n_ck = vco_ck / 67
68: Div68: pll_n_ck = vco_ck / 68
69: Div69: pll_n_ck = vco_ck / 69
70: Div70: pll_n_ck = vco_ck / 70
71: Div71: pll_n_ck = vco_ck / 71
72: Div72: pll_n_ck = vco_ck / 72
73: Div73: pll_n_ck = vco_ck / 73
74: Div74: pll_n_ck = vco_ck / 74
75: Div75: pll_n_ck = vco_ck / 75
76: Div76: pll_n_ck = vco_ck / 76
77: Div77: pll_n_ck = vco_ck / 77
78: Div78: pll_n_ck = vco_ck / 78
79: Div79: pll_n_ck = vco_ck / 79
80: Div80: pll_n_ck = vco_ck / 80
81: Div81: pll_n_ck = vco_ck / 81
82: Div82: pll_n_ck = vco_ck / 82
83: Div83: pll_n_ck = vco_ck / 83
84: Div84: pll_n_ck = vco_ck / 84
85: Div85: pll_n_ck = vco_ck / 85
86: Div86: pll_n_ck = vco_ck / 86
87: Div87: pll_n_ck = vco_ck / 87
88: Div88: pll_n_ck = vco_ck / 88
89: Div89: pll_n_ck = vco_ck / 89
90: Div90: pll_n_ck = vco_ck / 90
91: Div91: pll_n_ck = vco_ck / 91
92: Div92: pll_n_ck = vco_ck / 92
93: Div93: pll_n_ck = vco_ck / 93
94: Div94: pll_n_ck = vco_ck / 94
95: Div95: pll_n_ck = vco_ck / 95
96: Div96: pll_n_ck = vco_ck / 96
97: Div97: pll_n_ck = vco_ck / 97
98: Div98: pll_n_ck = vco_ck / 98
99: Div99: pll_n_ck = vco_ck / 99
100: Div100: pll_n_ck = vco_ck / 100
101: Div101: pll_n_ck = vco_ck / 101
102: Div102: pll_n_ck = vco_ck / 102
103: Div103: pll_n_ck = vco_ck / 103
104: Div104: pll_n_ck = vco_ck / 104
105: Div105: pll_n_ck = vco_ck / 105
106: Div106: pll_n_ck = vco_ck / 106
107: Div107: pll_n_ck = vco_ck / 107
108: Div108: pll_n_ck = vco_ck / 108
109: Div109: pll_n_ck = vco_ck / 109
110: Div110: pll_n_ck = vco_ck / 110
111: Div111: pll_n_ck = vco_ck / 111
112: Div112: pll_n_ck = vco_ck / 112
113: Div113: pll_n_ck = vco_ck / 113
114: Div114: pll_n_ck = vco_ck / 114
115: Div115: pll_n_ck = vco_ck / 115
116: Div116: pll_n_ck = vco_ck / 116
117: Div117: pll_n_ck = vco_ck / 117
118: Div118: pll_n_ck = vco_ck / 118
119: Div119: pll_n_ck = vco_ck / 119
120: Div120: pll_n_ck = vco_ck / 120
121: Div121: pll_n_ck = vco_ck / 121
122: Div122: pll_n_ck = vco_ck / 122
123: Div123: pll_n_ck = vco_ck / 123
124: Div124: pll_n_ck = vco_ck / 124
125: Div125: pll_n_ck = vco_ck / 125
126: Div126: pll_n_ck = vco_ck / 126
127: Div127: pll_n_ck = vco_ck / 127
Bit 16: Main PLL PLL P clock output enable Set and reset by software to enable the PLL P clock output of the PLL. In order to save power, when the PLL P clock output of the PLL is not used, the value of PLLPEN should be 0..
Bit 17: Main PLL division factor for PLL P clock. Set and cleared by software to control the frequency of the main PLL output clock PLL P clock. These bits can be written only if PLL is disabled. When the PLLPDIV[4:0] is set to 00000PLL P output clock frequency = VCO frequency / PLLP with PLLP =7, or 17 Note: The software has to set these bits correctly not to exceed 170 MHz on this domain..
Allowed values:
0: Div7: pll_p_ck = vco_ck / 7
1: Div17: pll_p_ck = vco_ck / 17
Bit 20: Main PLL Q clock output enable Set and reset by software to enable the PLL Q clock output of the PLL. In order to save power, when the PLL Q clock output of the PLL is not used, the value of PLLQEN should be 0..
Bits 21-22: Main PLL division factor for PLL Q clock. Set and cleared by software to control the frequency of the main PLL output clock PLL Q clock. This output can be selected for USB, RNG, SAI (48 MHz clock). These bits can be written only if PLL is disabled. PLL Q output clock frequency = VCO frequency / PLLQ with PLLQ = 2, 4, 6, or 8 Note: The software has to set these bits correctly not to exceed 170 MHz on this domain..
Allowed values:
0: Div2: pll_q_ck = vco_ck / 2
1: Div4: pll_q_ck = vco_ck / 4
2: Div6: pll_q_ck = vco_ck / 6
3: Div8: pll_q_ck = vco_ck / 8
Bit 24: PLL R clock output enable Set and reset by software to enable the PLL R clock output of the PLL (used as system clock). This bit cannot be written when PLL R clock output of the PLL is used as System Clock. In order to save power, when the PLL R clock output of the PLL is not used, the value of PLLREN should be 0..
Bits 25-26: Main PLL division factor for PLL R clock (system clock) Set and cleared by software to control the frequency of the main PLL output clock PLLCLK. This output can be selected as system clock. These bits can be written only if PLL is disabled. PLL R output clock frequency = VCO frequency / PLLR with PLLR = 2, 4, 6, or 8 Note: The software has to set these bits correctly not to exceed 170 MHz on this domain..
Allowed values:
0: Div2: pll_r_ck = vco_ck / 2
1: Div4: pll_r_ck = vco_ck / 4
2: Div6: pll_r_ck = vco_ck / 6
3: Div8: pll_r_ck = vco_ck / 8
Bits 27-31: Main PLLP division factor Set and cleared by software to control the PLL P frequency. PLL P output clock frequency = VCO frequency / PLLPDIV. .....
Allowed values:
0: PLLP: pll_p_ck is controlled by PLLP
2: Div2: pll_p_ck = vco_ck / 2
3: Div3: pll_p_ck = vco_ck / 3
4: Div4: pll_p_ck = vco_ck / 4
5: Div5: pll_p_ck = vco_ck / 5
6: Div6: pll_p_ck = vco_ck / 6
7: Div7: pll_p_ck = vco_ck / 7
8: Div8: pll_p_ck = vco_ck / 8
9: Div9: pll_p_ck = vco_ck / 9
10: Div10: pll_p_ck = vco_ck / 10
11: Div11: pll_p_ck = vco_ck / 11
12: Div12: pll_p_ck = vco_ck / 12
13: Div13: pll_p_ck = vco_ck / 13
14: Div14: pll_p_ck = vco_ck / 14
15: Div15: pll_p_ck = vco_ck / 15
16: Div16: pll_p_ck = vco_ck / 16
17: Div17: pll_p_ck = vco_ck / 17
18: Div18: pll_p_ck = vco_ck / 18
19: Div19: pll_p_ck = vco_ck / 19
20: Div20: pll_p_ck = vco_ck / 20
21: Div21: pll_p_ck = vco_ck / 21
22: Div22: pll_p_ck = vco_ck / 22
23: Div23: pll_p_ck = vco_ck / 23
24: Div24: pll_p_ck = vco_ck / 24
25: Div25: pll_p_ck = vco_ck / 25
26: Div26: pll_p_ck = vco_ck / 26
27: Div27: pll_p_ck = vco_ck / 27
28: Div28: pll_p_ck = vco_ck / 28
29: Div29: pll_p_ck = vco_ck / 29
30: Div30: pll_p_ck = vco_ck / 30
31: Div31: pll_p_ck = vco_ck / 31
Clock interrupt enable register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSI48RDYIE
rw |
LSECSSIE
rw |
PLLRDYIE
rw |
HSERDYIE
rw |
HSIRDYIE
rw |
LSERDYIE
rw |
LSIRDYIE
rw |
Bit 0: LSI ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the LSI oscillator stabilization..
Bit 1: LSE ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the LSE oscillator stabilization..
Bit 3: HSI16 ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the HSI16 oscillator stabilization..
Bit 4: HSE ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the HSE oscillator stabilization..
Bit 5: PLL ready interrupt enable Set and cleared by software to enable/disable interrupt caused by PLL lock..
Bit 9: LSE clock security system interrupt enable Set and cleared by software to enable/disable interrupt caused by the clock security system on LSE..
Bit 10: HSI48 ready interrupt enable Set and cleared by software to enable/disable interrupt caused by the internal HSI48 oscillator..
Clock interrupt flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: Unspecified
8/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSI48RDYF
r |
LSECSSF
r |
CSSF
r |
PLLRDYF
r |
HSERDYF
r |
HSIRDYF
r |
LSERDYF
r |
LSIRDYF
r |
Bit 0: LSI ready interrupt flag Set by hardware when the LSI clock becomes stable and LSIRDYDIE is set. Cleared by software setting the LSIRDYC bit..
Bit 1: LSE ready interrupt flag Set by hardware when the LSE clock becomes stable and LSERDYDIE is set. Cleared by software setting the LSERDYC bit..
Bit 3: HSI16 ready interrupt flag Set by hardware when the HSI16 clock becomes stable and HSIRDYDIE is set in a response to setting the HSION (refer to Clock control register (RCC_CR)). When HSION is not set but the HSI16 oscillator is enabled by the peripheral through a clock request, this bit is not set and no interrupt is generated. Cleared by software setting the HSIRDYC bit..
Bit 4: HSE ready interrupt flag Set by hardware when the HSE clock becomes stable and HSERDYDIE is set. Cleared by software setting the HSERDYC bit..
Bit 5: PLL ready interrupt flag Set by hardware when the PLL locks and PLLRDYDIE is set. Cleared by software setting the PLLRDYC bit..
Bit 8: Clock security system interrupt flag Set by hardware when a failure is detected in the HSE oscillator. Cleared by software setting the CSSC bit..
Bit 9: LSE Clock security system interrupt flag Set by hardware when a failure is detected in the LSE oscillator. Cleared by software setting the LSECSSC bit..
Bit 10: HSI48 ready interrupt flag Set by hardware when the HSI48 clock becomes stable and HSI48RDYIE is set in a response to setting the HSI48ON (refer to Clock recovery RC register (RCC_CRRCR)). Cleared by software setting the HSI48RDYC bit..
Clock interrupt clear register
Offset: 0x20, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSI48RDYC
w |
LSECSSC
w |
CSSC
w |
PLLRDYC
w |
HSERDYC
w |
HSIRDYC
w |
LSERDYC
w |
LSIRDYC
w |
Bit 0: LSI ready interrupt clear This bit is set by software to clear the LSIRDYF flag..
Bit 1: LSE ready interrupt clear This bit is set by software to clear the LSERDYF flag..
Bit 3: HSI16 ready interrupt clear This bit is set software to clear the HSIRDYF flag..
Bit 4: HSE ready interrupt clear This bit is set by software to clear the HSERDYF flag..
Bit 5: PLL ready interrupt clear This bit is set by software to clear the PLLRDYF flag..
Bit 8: Clock security system interrupt clear This bit is set by software to clear the CSSF flag..
Bit 9: LSE Clock security system interrupt clear This bit is set by software to clear the LSECSSF flag..
Bit 10: HSI48 oscillator ready interrupt clear This bit is set by software to clear the HSI48RDYF flag..
AHB1 peripheral reset register
Offset: 0x28, size: 32, reset: 0x00000000, access: Unspecified
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCRST
rw |
FLASHRST
rw |
FMACRST
rw |
CORDICRST
rw |
DMAMUX1RST
rw |
DMA2RST
rw |
DMA1RST
rw |
Bit 0: DMA1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: DMA2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 2: Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 3: Set and cleared by software.
Allowed values:
1: Reset: Reset the selected module
Bit 4: Set and cleared by software.
Allowed values:
1: Reset: Reset the selected module
Bit 8: Flash memory interface reset Set and cleared by software. This bit can be activated only when the Flash memory is in power down mode..
Allowed values:
1: Reset: Reset the selected module
Bit 12: CRC reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
AHB2 peripheral reset register
Offset: 0x2c, size: 32, reset: 0x00000000, access: Unspecified
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RNGRST
rw |
AESRST
rw |
DAC4RST
rw |
DAC3RST
rw |
DAC2RST
rw |
DAC1RST
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADC345RST
rw |
ADC12RST
rw |
GPIOGRST
rw |
GPIOFRST
rw |
GPIOERST
rw |
GPIODRST
rw |
GPIOCRST
rw |
GPIOBRST
rw |
GPIOARST
rw |
Bit 0: IO port A reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: IO port B reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 2: IO port C reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 3: IO port D reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 4: IO port E reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 5: IO port F reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 6: IO port G reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 13: ADC12 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 14: ADC345 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 16: DAC1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 17: DAC2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 18: DAC3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 19: DAC4 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 24: AESRST reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 26: RNG reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
AHB3 peripheral reset register
Offset: 0x30, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
APB1 peripheral reset register 1
Offset: 0x38, size: 32, reset: 0x00000000, access: Unspecified
20/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPTIM1RST
rw |
I2C3RST
rw |
PWRRST
rw |
FDCANRST
rw |
USBRST
rw |
I2C2RST
rw |
I2C1RST
rw |
UART5RST
rw |
UART4RST
rw |
USART3RST
rw |
USART2RST
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI3RST
rw |
SPI2RST
rw |
CRSRST
rw |
TIM7RST
rw |
TIM6RST
rw |
TIM5RST
rw |
TIM4RST
rw |
TIM3RST
rw |
TIM2RST
rw |
Bit 0: TIM2 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: TIM3 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 2: TIM3 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 3: TIM5 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 4: TIM6 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 5: TIM7 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 8: CRS reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 14: SPI2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 17: USART2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 18: USART3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 19: UART4 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 20: UART5 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 21: I2C1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 22: I2C2 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 23: USB device reset Set and reset by software..
Allowed values:
1: Reset: Reset the selected module
Bit 25: FDCAN reset Set and reset by software..
Allowed values:
1: Reset: Reset the selected module
Bit 28: Power interface reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 30: I2C3 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 31: Low Power Timer 1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
APB1 peripheral reset register 2
Offset: 0x3c, size: 32, reset: 0x00000000, access: Unspecified
3/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCPD1RST
rw |
I2C4RST
rw |
LPUART1RST
rw |
Bit 0: Low-power UART 1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 1: I2C4 reset Set and cleared by software.
Allowed values:
1: Reset: Reset the selected module
Bit 8: UCPD1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
APB2 peripheral reset register
Offset: 0x40, size: 32, reset: 0x00000000, access: Unspecified
12/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HRTIM1RST
rw |
SAI1RST
rw |
TIM20RST
rw |
TIM17RST
rw |
TIM16RST
rw |
TIM15RST
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI4RST
rw |
USART1RST
rw |
TIM8RST
rw |
SPI1RST
rw |
TIM1RST
rw |
SYSCFGRST
rw |
Bit 0: SYSCFG + COMP + OPAMP + VREFBUF reset.
Allowed values:
1: Reset: Reset the selected module
Bit 11: TIM1 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 12: SPI1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 13: TIM8 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 14: USART1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 15: SPI4 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 16: TIM15 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 17: TIM16 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 18: TIM17 timer reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 20: TIM20 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 21: Serial audio interface 1 (SAI1) reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
Bit 26: HRTIM1 reset Set and cleared by software..
Allowed values:
1: Reset: Reset the selected module
AHB1 peripheral clock enable register
Offset: 0x48, size: 32, reset: 0x00000100, access: Unspecified
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCEN
rw |
FLASHEN
rw |
FMACEN
rw |
CORDICEN
rw |
DMAMUX1EN
rw |
DMA2EN
rw |
DMA1EN
rw |
Bit 0: DMA1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: DMA2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: DMAMUX1 clock enable Set and reset by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: CORDIC clock enable Set and reset by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: FMAC enable Set and reset by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: Flash memory interface clock enable Set and cleared by software. This bit can be disabled only when the Flash is in power down mode..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: CRC clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB2 peripheral clock enable register
Offset: 0x4c, size: 32, reset: 0x00000000, access: Unspecified
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RNGEN
rw |
AESEN
rw |
DAC4EN
rw |
DAC3EN
rw |
DAC2EN
rw |
DAC1EN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADC345EN
rw |
ADC12EN
rw |
GPIOGEN
rw |
GPIOFEN
rw |
GPIOEEN
rw |
GPIODEN
rw |
GPIOCEN
rw |
GPIOBEN
rw |
GPIOAEN
rw |
Bit 0: IO port A clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: IO port B clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: IO port C clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: IO port D clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: IO port E clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: IO port F clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 6: IO port G clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: ADC12 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: ADC345 clock enable Set and cleared by software.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: DAC1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: DAC2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: DAC3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: DAC4 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 24: AES clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 26: RNG enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB3 peripheral clock enable register
Offset: 0x50, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
Bit 0: Flexible static memory controller clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: QUADSPI memory interface clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1 peripheral clock enable register 1
Offset: 0x58, size: 32, reset: 0x00000400, access: Unspecified
22/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPTIM1EN
rw |
I2C3EN
rw |
PWREN
rw |
FDCANEN
rw |
USBEN
rw |
I2C2EN
rw |
I2C1EN
rw |
UART5EN
rw |
UART4EN
rw |
USART3EN
rw |
USART2EN
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI3EN
rw |
SPI2EN
rw |
WWDGEN
rw |
RTCAPBEN
rw |
CRSEN
rw |
TIM7EN
rw |
TIM6EN
rw |
TIM5EN
rw |
TIM4EN
rw |
TIM3EN
rw |
TIM2EN
rw |
Bit 0: TIM2 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: TIM3 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 2: TIM4 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 3: TIM5 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 4: TIM6 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 5: TIM7 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: CRS Recovery System clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 10: RTC APB clock enable Set and cleared by software.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: Window watchdog clock enable Set by software to enable the window watchdog clock. Reset by hardware system reset. This bit can also be set by hardware if the WWDG_SW option bit is reset..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: SPI2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: USART2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: USART3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 19: UART4 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: UART5 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: I2C1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 22: I2C2 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 23: USB device clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 25: FDCAN clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 28: Power interface clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 30: I2C3 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 31: Low power timer 1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB1 peripheral clock enable register 2
Offset: 0x5c, size: 32, reset: 0x00000000, access: Unspecified
3/3 fields covered.
Bit 0: Low power UART 1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 1: I2C4 clock enable Set and cleared by software.
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 8: UCPD1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
APB2 peripheral clock enable register
Offset: 0x60, size: 32, reset: 0x00000000, access: Unspecified
12/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HRTIM1EN
rw |
SAI1EN
rw |
TIM20EN
rw |
TIM17EN
rw |
TIM16EN
rw |
TIM15EN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI4EN
rw |
USART1EN
rw |
TIM8EN
rw |
SPI1EN
rw |
TIM1EN
rw |
SYSCFGEN
rw |
Bit 0: SYSCFG + COMP + VREFBUF + OPAMP clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 11: TIM1 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 12: SPI1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 13: TIM8 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 14: USART1clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 15: SPI4 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 16: TIM15 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 17: TIM16 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 18: TIM17 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 20: TIM20 timer clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 21: SAI1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
Bit 26: HRTIM1 clock enable Set and cleared by software..
Allowed values:
0: Disabled: The selected clock is disabled
1: Enabled: The selected clock is enabled
AHB1 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x68, size: 32, reset: 0x0000130F, access: Unspecified
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCSMEN
rw |
SRAM1SMEN
rw |
FLASHSMEN
rw |
FMACSMEN
rw |
CORDICSMEN
rw |
DMAMUX1SMEN
rw |
DMA2SMEN
rw |
DMA1SMEN
rw |
Bit 0: DMA1 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 1: DMA2 clocks enable during Sleep and Stop modes Set and cleared by software during Sleep mode..
Bit 2: DMAMUX1 clock enable during Sleep and Stop modes. Set and cleared by software..
Bit 3: CORDICSM clock enable. Set and cleared by software..
Bit 4: FMACSM clock enable. Set and cleared by software..
Bit 8: Flash memory interface clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 9: SRAM1 interface clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 12: CRC clocks enable during Sleep and Stop modes Set and cleared by software..
AHB2 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x6c, size: 32, reset: 0x050F667F, access: Unspecified
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RNGEN
rw |
AESSMEN
rw |
DAC4SMEN
rw |
DAC3SMEN
rw |
DAC2SMEN
rw |
DAC1SMEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADC345SMEN
rw |
ADC12SMEN
rw |
SRAM2SMEN
rw |
CCMSRAMSMEN
rw |
GPIOGSMEN
rw |
GPIOFSMEN
rw |
GPIOESMEN
rw |
GPIODSMEN
rw |
GPIOCSMEN
rw |
GPIOBSMEN
rw |
GPIOASMEN
rw |
Bit 0: IO port A clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 1: IO port B clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 2: IO port C clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 3: IO port D clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 4: IO port E clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 5: IO port F clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 6: IO port G clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 9: CCM SRAM interface clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 10: SRAM2 interface clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 13: ADC12 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 14: ADC345 clock enable Set and cleared by software..
Bit 16: DAC1 clock enable Set and cleared by software..
Bit 17: DAC2 clock enable Set and cleared by software..
Bit 18: DAC3 clock enable Set and cleared by software..
Bit 19: DAC4 clock enable Set and cleared by software..
Bit 24: AESM clocks enable Set and cleared by software..
Bit 26: RNG enable Set and cleared by software..
AHB3 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x70, size: 32, reset: 0x00000101, access: Unspecified
0/2 fields covered.
APB1 peripheral clocks enable in Sleep and Stop modes register 1
Offset: 0x78, size: 32, reset: 0xD2FECD3F, access: Unspecified
0/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPTIM1SMEN
rw |
I2C3SMEN
rw |
PWRSMEN
rw |
FDCANSMEN
rw |
USBSMEN
rw |
I2C2SMEN
rw |
I2C1SMEN
rw |
UART5SMEN
rw |
UART4SMEN
rw |
USART3SMEN
rw |
USART2SMEN
rw |
|||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI3SMEN
rw |
SPI2SMEN
rw |
WWDGSMEN
rw |
RTCAPBSMEN
rw |
CRSSMEN
rw |
TIM7SMEN
rw |
TIM6SMEN
rw |
TIM5SMEN
rw |
TIM4SMEN
rw |
TIM3SMEN
rw |
TIM2SMEN
rw |
Bit 0: TIM2 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 1: TIM3 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 2: TIM4 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 3: TIM5 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 4: TIM6 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 5: TIM7 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 8: CRS timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 10: RTC APB clock enable during Sleep and Stop modes Set and cleared by software.
Bit 11: Window watchdog clocks enable during Sleep and Stop modes Set and cleared by software. This bit is forced to 1 by hardware when the hardware WWDG option is activated..
Bit 14: SPI2 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 15: SPI3 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 17: USART2 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 18: USART3 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 19: UART4 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 20: UART5 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 21: I2C1 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 22: I2C2 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 23: USB device clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 25: FDCAN clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 28: Power interface clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 30: I2C3 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 31: Low power timer 1 clocks enable during Sleep and Stop modes Set and cleared by software..
APB1 peripheral clocks enable in Sleep and Stop modes register 2
Offset: 0x7c, size: 32, reset: 0x00000103, access: Unspecified
0/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCPD1SMEN
rw |
I2C4SMEN
rw |
LPUART1SMEN
rw |
Bit 0: Low power UART 1 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 1: I2C4 clocks enable during Sleep and Stop modes Set and cleared by software.
Bit 8: UCPD1 clocks enable during Sleep and Stop modes Set and cleared by software..
APB2 peripheral clocks enable in Sleep and Stop modes register
Offset: 0x80, size: 32, reset: 0x0437F801, access: Unspecified
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HRTIM1SMEN
rw |
SAI1SMEN
rw |
TIM20SMEN
rw |
TIM17SMEN
rw |
TIM16SMEN
rw |
TIM15SMEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SPI4SMEN
rw |
USART1SMEN
rw |
TIM8SMEN
rw |
SPI1SMEN
rw |
TIM1SMEN
rw |
SYSCFGSMEN
rw |
Bit 0: SYSCFG + COMP + VREFBUF + OPAMP clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 11: TIM1 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 12: SPI1 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 13: TIM8 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 14: USART1clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 15: SPI4 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 16: TIM15 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 17: TIM16 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 18: TIM17 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 20: TIM20 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 21: SAI1 clocks enable during Sleep and Stop modes Set and cleared by software..
Bit 26: HRTIM1 timer clocks enable during Sleep and Stop modes Set and cleared by software..
Peripherals independent clock configuration register
Offset: 0x88, size: 32, reset: 0x00000000, access: Unspecified
13/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADC345SEL
rw |
ADC12SEL
rw |
CLK48SEL
rw |
FDCANSEL
rw |
I2S23SEL
rw |
SAI1SEL
rw |
LPTIM1SEL
rw |
I2C3SEL
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
I2C2SEL
rw |
I2C1SEL
rw |
LPUART1SEL
rw |
UART5SEL
rw |
UART4SEL
rw |
USART3SEL
rw |
USART2SEL
rw |
USART1SEL
rw |
Bits 0-1: USART1 clock source selection This bit is set and cleared by software to select the USART1 clock source..
Bits 2-3: USART2 clock source selection This bit is set and cleared by software to select the USART2 clock source..
Bits 4-5: USART3 clock source selection This bit is set and cleared by software to select the USART3 clock source..
Bits 6-7: UART4 clock source selection This bit is set and cleared by software to select the UART4 clock source..
Allowed values:
0: PCLK: PCLK clock selected as UART clock
1: System: System clock (SYSCLK) selected as UART clock
2: HSI16: HSI16 clock selected as UART clock
3: LSE: LSE clock selected as UART clock
Bits 8-9: UART5 clock source selection These bits are set and cleared by software to select the UART5 clock source..
Allowed values:
0: PCLK: PCLK clock selected as UART clock
1: System: System clock (SYSCLK) selected as UART clock
2: HSI16: HSI16 clock selected as UART clock
3: LSE: LSE clock selected as UART clock
Bits 10-11: LPUART1 clock source selection These bits are set and cleared by software to select the LPUART1 clock source..
Allowed values:
0: PCLK: PCLK clock selected as UART clock
1: System: System clock (SYSCLK) selected as UART clock
2: HSI16: HSI16 clock selected as UART clock
3: LSE: LSE clock selected as UART clock
Bits 12-13: I2C1 clock source selection These bits are set and cleared by software to select the I2C1 clock source..
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 14-15: I2C2 clock source selection These bits are set and cleared by software to select the I2C2 clock source..
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 16-17: I2C3 clock source selection These bits are set and cleared by software to select the I2C3 clock source..
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 18-19: Low power timer 1 clock source selection These bits are set and cleared by software to select the LPTIM1 clock source..
Allowed values:
0: PCLK: PCLK clock selected as LPTIM1 clock
1: LSI: LSI clock selected as LPTIM1 clock
2: HSI16: HSI16 clock selected as LPTIM1 clock
3: LSE: LSE clock selected as LPTIM1 clock
Bits 20-21: clock source selection These bits are set and cleared by software to select the SAI clock source..
Allowed values:
0: System: System clock selected as SAI clock
1: PLLQ: PLL 'Q' clock selected as SAI clock
2: I2S_CKIN: Clock provided on I2S_CKIN pin is selected as SAI clock
3: HSI16: HSI16 clock selected as SAI clock
Bits 22-23: clock source selection These bits are set and cleared by software to select the I2S23 clock source..
Allowed values:
0: System: System clock selected as I2S23 clock
1: PLLQ: PLL 'Q' clock selected as I2S23 clock
2: I2S_CKIN: Clock provided on I2S_CKIN pin is selected as I2S23 clock
3: HSI16: HSI16 clock selected as I2S23 clock
Bits 24-25: None.
Allowed values:
0: HSE: HSE clock selected as FDCAN clock
1: PLLQ: PLL 'Q' clock selected as FDCAN clock
2: PCLK: PCLK clock selected as FDCAN clock
Bits 26-27: 48 MHz clock source selection These bits are set and cleared by software to select the 48 MHz clock source used by USB device FS and RNG..
Allowed values:
0: HSI48: HSI48 clock selected as 48MHz clock
2: PLLQ: PLL 'Q' (PLL48M1CLK) clock selected as 48MHz clock
Bits 28-29: ADC1/2 clock source selection These bits are set and cleared by software to select the clock source used by the ADC interface..
Allowed values:
0: None: No clock selected for ADC
1: PLLP: PLL 'P' clock selected for ADC
2: System: System clock selected for ADC
Bits 30-31: ADC3/4/5 clock source selection These bits are set and cleared by software to select the clock source used by the ADC345 interface..
Allowed values:
0: None: No clock selected for ADC
1: PLLP: PLL 'P' clock selected for ADC
2: System: System clock selected for ADC
RTC domain control register
Offset: 0x90, size: 32, reset: 0x00000000, access: Unspecified
11/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSCOSEL
rw |
LSCOEN
rw |
BDRST
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RTCEN
rw |
RTCSEL
rw |
LSECSSD
r |
LSECSSON
rw |
LSEDRV
rw |
LSEBYP
rw |
LSERDY
r |
LSEON
rw |
Bit 0: LSE oscillator enable Set and cleared by software..
Allowed values:
0: Off: LSE only enabled when requested by a peripheral or system function
1: On: LSE enabled always generated by RCC
Bit 1: LSE oscillator ready Set and cleared by hardware to indicate when the external 32 kHz oscillator is stable. After the LSEON bit is cleared, LSERDY goes low after 6 external low-speed oscillator clock cycles..
Allowed values:
0: NotReady: LSE clock not ready
1: Ready: LSE clock ready
Bit 2: LSE oscillator bypass Set and cleared by software to bypass oscillator in debug mode. This bit can be written only when the external 32 kHz oscillator is disabled (LSEON=0 and LSERDY=0)..
Allowed values:
0: NotBypassed: LSE crystal oscillator not bypassed
1: Bypassed: LSE crystal oscillator bypassed with external clock
Bits 3-4: LSE oscillator drive capability Set by software to modulate the LSE oscillators drive capability. The oscillator is in Xtal mode when it is not in bypass mode..
Allowed values:
0: Lower: 'Xtal mode' lower driving capability
1: MediumLow: 'Xtal mode' medium low driving capability
2: MediumHigh: 'Xtal mode' medium high driving capability
3: Higher: 'Xtal mode' higher driving capability
Bit 5: CSS on LSE enable Set by software to enable the Clock Security System on LSE (32 kHz oscillator). LSECSSON must be enabled after the LSE oscillator is enabled (LSEON bit enabled) and ready (LSERDY flag set by hardware), and after the RTCSEL bit is selected. Once enabled this bit cannot be disabled, except after a LSE failure detection (LSECSSD =1). In that case the software MUST disable the LSECSSON bit..
Allowed values:
0: Off: CSS on LSE (32 kHz external oscillator) OFF
1: On: CSS on LSE (32 kHz external oscillator) ON
Bit 6: CSS on LSE failure Detection Set by hardware to indicate when a failure has been detected by the Clock Security System on the external 32 kHz oscillator (LSE)..
Allowed values:
0: NoFailure: No failure detected on LSE (32 kHz oscillator)
1: Failure: Failure detected on LSE (32 kHz oscillator)
Bits 8-9: RTC clock source selection Set by software to select the clock source for the RTC. Once the RTC clock source has been selected, it cannot be changed anymore unless the RTC domain is reset, or unless a failure is detected on LSE (LSECSSD is set). The BDRST bit can be used to reset them..
Allowed values:
0: NoClock: No clock
1: LSE: LSE oscillator clock used as RTC clock
2: LSI: LSI oscillator clock used as RTC clock
3: HSE: HSE oscillator clock divided by a prescaler used as RTC clock
Bit 15: RTC clock enable Set and cleared by software..
Allowed values:
0: Disabled: RTC clock disabled
1: Enabled: RTC clock enabled
Bit 16: RTC domain software reset Set and cleared by software..
Allowed values:
0: Disabled: Reset not activated
1: Enabled: Reset the entire RTC domain
Bit 24: Low speed clock output enable Set and cleared by software..
Allowed values:
0: Disabled: LSCO disabled
1: Enabled: LSCO enabled
Bit 25: Low speed clock output selection Set and cleared by software..
Allowed values:
0: LSI: LSI clock selected
1: LSE: LSE clock selected
Control/status register
Offset: 0x94, size: 32, reset: 0x0C000000, access: Unspecified
10/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LPWRRSTF
r |
WWDGRSTF
r |
IWDGRSTF
r |
SFTRSTF
r |
BORRSTF
r |
PINRSTF
r |
OBLRSTF
r |
RMVF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LSIRDY
r |
LSION
rw |
Bit 0: LSI oscillator enable Set and cleared by software..
Allowed values:
0: Off: LSI oscillator Off
1: On: LSI oscillator On
Bit 1: LSI oscillator ready Set and cleared by hardware to indicate when the LSI oscillator is stable. After the LSION bit is cleared, LSIRDY goes low after 3 LSI oscillator clock cycles. This bit can be set even if LSION = 0 if the LSI is requested by the Clock Security System on LSE, by the Independent Watchdog or by the RTC..
Allowed values:
0: NotReady: LSI oscillator not ready
1: Ready: LSI oscillator ready
Bit 23: Remove reset flag Set by software to clear the reset flags..
Allowed values:
1: Clear: Clears the reset flag
Bit 25: Option byte loader reset flag Set by hardware when a reset from the Option Byte loading occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 26: Pin reset flag Set by hardware when a reset from the NRST pin occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 27: BOR flag Set by hardware when a BOR occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 28: Software reset flag Set by hardware when a software reset occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 29: Independent window watchdog reset flag Set by hardware when an independent watchdog reset domain occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 30: Window watchdog reset flag Set by hardware when a window watchdog reset occurs. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Bit 31: Low-power reset flag Set by hardware when a reset occurs due to illegal Stop, Standby or Shutdown mode entry. Cleared by writing to the RMVF bit..
Allowed values:
0: NoReset: No reset has occured
1: Reset: A reset has occured
Clock recovery RC register
Offset: 0x98, size: 32, reset: 0x00000000, access: Unspecified
2/3 fields covered.
Bit 0: HSI48 clock enable Set and cleared by software. Cleared by hardware to stop the HSI48 when entering in Stop, Standby or Shutdown modes..
Bit 1: HSI48 clock ready flag Set by hardware to indicate that HSI48 oscillator is stable. This bit is set only when HSI48 is enabled by software by setting HSI48ON..
Bits 7-15: HSI48 clock calibration These bits are initialized at startup with the factory-programmed HSI48 calibration trim value. They are ready only..
Peripherals independent clock configuration register
Offset: 0x9c, size: 32, reset: 0x00000000, access: Unspecified
2/2 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
QSPISEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
I2C4SEL
rw |
Bits 0-1: I2C4 clock source selection These bits are set and cleared by software to select the I2C4 clock source..
Allowed values:
0: PCLK: PCLK clock selected as I2C clock
1: System: System clock (SYSCLK) selected as I2C clock
2: HSI16: HSI16 clock selected as I2C clock
Bits 20-21: QUADSPI clock source selection Set and reset by software..
Allowed values:
0: System: System clock selected as QUADSPI kernel clock
1: HSI16: HSI16 clock selected as QUADSPI kernel clock
2: PLLQ: PLL 'Q' clock selected as QUADSPI kernel clock
0x50060800: Random number generator
4/9 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR | ||||||||||||||||||||||||||||||||
0x4 | SR | ||||||||||||||||||||||||||||||||
0x8 | DR |
0x40002800: Real-time clock
20/125 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | TR | ||||||||||||||||||||||||||||||||
0x4 | DR | ||||||||||||||||||||||||||||||||
0x8 | SSR | ||||||||||||||||||||||||||||||||
0xc | ICSR | ||||||||||||||||||||||||||||||||
0x10 | PRER | ||||||||||||||||||||||||||||||||
0x14 | WUTR | ||||||||||||||||||||||||||||||||
0x18 | CR | ||||||||||||||||||||||||||||||||
0x24 | WPR | ||||||||||||||||||||||||||||||||
0x28 | CALR | ||||||||||||||||||||||||||||||||
0x2c | SHIFTR | ||||||||||||||||||||||||||||||||
0x30 | TSTR | ||||||||||||||||||||||||||||||||
0x34 | TSDR | ||||||||||||||||||||||||||||||||
0x38 | TSSSR | ||||||||||||||||||||||||||||||||
0x40 | ALRM[A]R | ||||||||||||||||||||||||||||||||
0x44 | ALRM[A]SSR | ||||||||||||||||||||||||||||||||
0x48 | ALRM[B]R | ||||||||||||||||||||||||||||||||
0x4c | ALRM[B]SSR | ||||||||||||||||||||||||||||||||
0x50 | SR | ||||||||||||||||||||||||||||||||
0x54 | MISR | ||||||||||||||||||||||||||||||||
0x5c | SCR |
time register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
date register
Offset: 0x4, size: 32, reset: 0x00002101, access: read-write
0/7 fields covered.
sub second register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SS
r |
initialization and status register
Offset: 0xc, size: 32, reset: 0x00000007, access: Unspecified
6/9 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RECALPF
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
INIT
rw |
INITF
r |
RSF
rw |
INITS
r |
SHPF
rw |
WUTWF
r |
ALRBWF
r |
ALRAWF
r |
Bit 0: Alarm A write flag.
Bit 1: Alarm B write flag.
Bit 2: Wakeup timer write flag.
Bit 3: Shift operation pending.
Bit 4: Initialization status flag.
Bit 5: Registers synchronization flag.
Bit 6: Initialization flag.
Bit 7: Initialization mode.
Bit 16: Recalibration pending Flag.
prescaler register
Offset: 0x10, size: 32, reset: 0x007F00FF, access: read-write
0/2 fields covered.
wakeup timer register
Offset: 0x14, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUT
rw |
control register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/26 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OUT2EN
rw |
TAMPALRM_TYPE
rw |
TAMPALRM_PU
rw |
TAMPOE
rw |
TAMPTS
rw |
ITSE
rw |
COE
rw |
OSEL
rw |
POL
rw |
COSEL
rw |
BKP
rw |
SUB1H
rw |
ADD1H
rw |
|||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TSIE
rw |
WUTIE
rw |
ALRBIE
rw |
ALRAIE
rw |
TSE
rw |
WUTE
rw |
ALRBE
rw |
ALRAE
rw |
FMT
rw |
BYPSHAD
rw |
REFCKON
rw |
TSEDGE
rw |
WUCKSEL
rw |
Bits 0-2: Wakeup clock selection.
Bit 3: Time-stamp event active edge.
Bit 4: Reference clock detection enable (50 or 60 Hz).
Bit 5: Bypass the shadow registers.
Bit 6: Hour format.
Bit 8: Alarm A enable.
Bit 9: Alarm B enable.
Bit 10: Wakeup timer enable.
Bit 11: Time stamp enable.
Bit 12: Alarm A interrupt enable.
Bit 13: Alarm B interrupt enable.
Bit 14: Wakeup timer interrupt enable.
Bit 15: Time-stamp interrupt enable.
Bit 16: Add 1 hour (summer time change).
Bit 17: Subtract 1 hour (winter time change).
Bit 18: Backup.
Bit 19: Calibration output selection.
Bit 20: Output polarity.
Bits 21-22: Output selection.
Bit 23: Calibration output enable.
Bit 24: timestamp on internal event enable.
Bit 25: TAMPTS.
Bit 26: TAMPOE.
Bit 29: TAMPALRM_PU.
Bit 30: TAMPALRM_TYPE.
Bit 31: OUT2EN.
write protection register
Offset: 0x24, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY
w |
calibration register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
shift control register
Offset: 0x2c, size: 32, reset: 0x00000000, access: write-only
0/2 fields covered.
time stamp time register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
time stamp date register
Offset: 0x34, size: 32, reset: 0x00002101, access: read-write
0/7 fields covered.
timestamp sub second register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SS
r |
Alarm A register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSK4
rw |
WDSEL
rw |
DT
rw |
DU
rw |
MSK3
rw |
PM
rw |
HT
rw |
HU
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MSK2
rw |
MNT
rw |
MNU
rw |
MSK1
rw |
ST
rw |
SU
rw |
Bits 0-3: Second units in BCD format.
Bits 4-6: Second tens in BCD format.
Bit 7: Alarm seconds mask.
Bits 8-11: Minute units in BCD format.
Bits 12-14: Minute tens in BCD format.
Bit 15: Alarm minutes mask.
Bits 16-19: Hour units in BCD format.
Bits 20-21: Hour tens in BCD format.
Bit 22: AM/PM notation.
Bit 23: Alarm hours mask.
Bits 24-27: Date units or day in BCD format.
Bits 28-29: Date tens in BCD format.
Bit 30: Week day selection.
Bit 31: Alarm date mask.
Alarm A sub-second register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Alarm B register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSK4
rw |
WDSEL
rw |
DT
rw |
DU
rw |
MSK3
rw |
PM
rw |
HT
rw |
HU
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MSK2
rw |
MNT
rw |
MNU
rw |
MSK1
rw |
ST
rw |
SU
rw |
Bits 0-3: Second units in BCD format.
Bits 4-6: Second tens in BCD format.
Bit 7: Alarm seconds mask.
Bits 8-11: Minute units in BCD format.
Bits 12-14: Minute tens in BCD format.
Bit 15: Alarm minutes mask.
Bits 16-19: Hour units in BCD format.
Bits 20-21: Hour tens in BCD format.
Bit 22: AM/PM notation.
Bit 23: Alarm hours mask.
Bits 24-27: Date units or day in BCD format.
Bits 28-29: Date tens in BCD format.
Bit 30: Week day selection.
Bit 31: Alarm date mask.
Alarm B sub-second register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
status register
Offset: 0x54, size: 32, reset: 0x00000000, access: read-only
6/6 fields covered.
0x40015400: Serial audio interface
84/120 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x4 | CR1 [A] | ||||||||||||||||||||||||||||||||
0x8 | CR2 [A] | ||||||||||||||||||||||||||||||||
0xc | FRCR [A] | ||||||||||||||||||||||||||||||||
0x10 | SLOTR [A] | ||||||||||||||||||||||||||||||||
0x14 | IM [A] | ||||||||||||||||||||||||||||||||
0x18 | SR [A] | ||||||||||||||||||||||||||||||||
0x1c | CLRFR [A] | ||||||||||||||||||||||||||||||||
0x20 | DR [A] | ||||||||||||||||||||||||||||||||
0x24 | CR1 [B] | ||||||||||||||||||||||||||||||||
0x28 | CR2 [B] | ||||||||||||||||||||||||||||||||
0x2c | FRCR [B] | ||||||||||||||||||||||||||||||||
0x30 | SLOTR [B] | ||||||||||||||||||||||||||||||||
0x34 | IM [B] | ||||||||||||||||||||||||||||||||
0x38 | SR [B] | ||||||||||||||||||||||||||||||||
0x3c | CLRFR [B] | ||||||||||||||||||||||||||||||||
0x40 | DR [B] | ||||||||||||||||||||||||||||||||
0x44 | PDMCR | ||||||||||||||||||||||||||||||||
0x48 | PDMDLY |
AConfiguration register 1
Offset: 0x4, size: 32, reset: 0x00000040, access: read-write
11/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCKEN
rw |
OSR
rw |
MCKDIV
rw |
NODIV
rw |
DMAEN
rw |
SAIEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OUTDRIV
rw |
MONO
rw |
SYNCEN
rw |
CKSTR
rw |
LSBFIRST
rw |
DS
rw |
PRTCFG
rw |
MODE
rw |
Bits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-25: Master clock divider.
Bit 26: OSR.
Bit 27: MCKEN.
AConfiguration register 2
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COMP
rw |
CPL
rw |
MUTECNT
rw |
MUTEVAL
rw |
MUTE
rw |
TRIS
rw |
FFLUSH
w |
FTH
rw |
Bits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
Bit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
Bit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0xc, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FSOFF
rw |
FSPOL
rw |
FSDEF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FSALL
rw |
FRL
rw |
Bits 0-7: Frame length.
Bits 8-14: Frame synchronization active level length.
Bit 16: Frame synchronization definition.
Bit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SLOTEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NBSLOT
rw |
SLOTSZ
rw |
FBOFF
rw |
Bits 0-4: First bit offset.
Bits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
Bits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LFSDETIE
rw |
AFSDETIE
rw |
CNRDYIE
rw |
FREQIE
rw |
WCKCFGIE
rw |
MUTEDETIE
rw |
OVRUDRIE
rw |
Bit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x18, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FLVL
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LFSDET
r |
AFSDET
r |
CNRDY
r |
FREQ
r |
WCKCFG
r |
MUTEDET
r |
OVRUDR
r |
Bit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only.
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x1c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Bit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag.
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
AConfiguration register 1
Offset: 0x24, size: 32, reset: 0x00000040, access: read-write
11/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCKEN
rw |
OSR
rw |
MCKDIV
rw |
NODIV
rw |
DMAEN
rw |
SAIEN
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OUTDRIV
rw |
MONO
rw |
SYNCEN
rw |
CKSTR
rw |
LSBFIRST
rw |
DS
rw |
PRTCFG
rw |
MODE
rw |
Bits 0-1: Audio block mode.
Allowed values:
0: MasterTx: Master transmitter
1: MasterRx: Master receiver
2: SlaveTx: Slave transmitter
3: SlaveRx: Slave receiver
Bits 2-3: Protocol configuration.
Allowed values:
0: Free: Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
1: Spdif: SPDIF protocol
2: Ac97: AC’97 protocol
Bits 5-7: Data size.
Allowed values:
2: Bit8: 8 bits
3: Bit10: 10 bits
4: Bit16: 16 bits
5: Bit20: 20 bits
6: Bit24: 24 bits
7: Bit32: 32 bits
Bit 8: Least significant bit first.
Allowed values:
0: MsbFirst: Data are transferred with MSB first
1: LsbFirst: Data are transferred with LSB first
Bit 9: Clock strobing edge.
Allowed values:
0: FallingEdge: Data strobing edge is falling edge of SCK
1: RisingEdge: Data strobing edge is rising edge of SCK
Bits 10-11: Synchronization enable.
Allowed values:
0: Asynchronous: audio sub-block in asynchronous mode
1: Internal: audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
2: External: audio sub-block is synchronous with an external SAI embedded peripheral. In this case the audio sub-block should be configured in Slave mode
Bit 12: Mono mode.
Allowed values:
0: Stereo: Stereo mode
1: Mono: Mono mode
Bit 13: Output drive.
Allowed values:
0: OnStart: Audio block output driven when SAIEN is set
1: Immediately: Audio block output driven immediately after the setting of this bit
Bit 16: Audio block A enable.
Allowed values:
0: Disabled: SAI audio block disabled
1: Enabled: SAI audio block enabled
Bit 17: DMA enable.
Allowed values:
0: Disabled: DMA disabled
1: Enabled: DMA enabled
Bit 19: No divider.
Allowed values:
0: MasterClock: MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value
1: NoDiv: MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL.
Bits 20-25: Master clock divider.
Bit 26: OSR.
Bit 27: MCKEN.
AConfiguration register 2
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
6/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
COMP
rw |
CPL
rw |
MUTECNT
rw |
MUTEVAL
rw |
MUTE
rw |
TRIS
rw |
FFLUSH
w |
FTH
rw |
Bits 0-2: FIFO threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: 1⁄4 FIFO
2: Quarter2: 1⁄2 FIFO
3: Quarter3: 3⁄4 FIFO
4: Full: FIFO full
Bit 3: FIFO flush.
Allowed values:
0: NoFlush: No FIFO flush
1: Flush: FIFO flush. Programming this bit to 1 triggers the FIFO Flush. All the internal FIFO pointers (read and write) are cleared
Bit 4: Tristate management on data line.
Bit 5: Mute.
Allowed values:
0: Disabled: No mute mode
1: Enabled: Mute mode enabled
Bit 6: Mute value.
Allowed values:
0: SendZero: Bit value 0 is sent during the mute mode
1: SendLast: Last values are sent during the mute mode
Bits 7-12: Mute counter.
Bit 13: Complement bit.
Allowed values:
0: OnesComplement: 1’s complement representation
1: TwosComplement: 2’s complement representation
Bits 14-15: Companding mode.
Allowed values:
0: NoCompanding: No companding algorithm
2: MuLaw: μ-Law algorithm
3: ALaw: A-Law algorithm
AFRCR
Offset: 0x2c, size: 32, reset: 0x00000007, access: read-write
2/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FSOFF
rw |
FSPOL
rw |
FSDEF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FSALL
rw |
FRL
rw |
Bits 0-7: Frame length.
Bits 8-14: Frame synchronization active level length.
Bit 16: Frame synchronization definition.
Bit 17: Frame synchronization polarity.
Allowed values:
0: FallingEdge: FS is active low (falling edge)
1: RisingEdge: FS is active high (rising edge)
Bit 18: Frame synchronization offset.
Allowed values:
0: OnFirst: FS is asserted on the first bit of the slot 0
1: BeforeFirst: FS is asserted one bit before the first bit of the slot 0
ASlot register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
2/4 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SLOTEN
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NBSLOT
rw |
SLOTSZ
rw |
FBOFF
rw |
Bits 0-4: First bit offset.
Bits 6-7: Slot size.
Allowed values:
0: DataSize: The slot size is equivalent to the data size (specified in DS[3:0] in the SAI_xCR1 register)
1: Bit16: 16-bit
2: Bit32: 32-bit
Bits 8-11: Number of slots in an audio frame.
Bits 16-31: Slot enable.
Allowed values:
0: Inactive: Inactive slot
1: Active: Active slot
AInterrupt mask register2
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
7/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LFSDETIE
rw |
AFSDETIE
rw |
CNRDYIE
rw |
FREQIE
rw |
WCKCFGIE
rw |
MUTEDETIE
rw |
OVRUDRIE
rw |
Bit 0: Overrun/underrun interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 1: Mute detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 2: Wrong clock configuration interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 3: FIFO request interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 4: Codec not ready interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 5: Anticipated frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
Bit 6: Late frame synchronization detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is enabled
AStatus register
Offset: 0x38, size: 32, reset: 0x00000008, access: read-only
8/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FLVL
r |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LFSDET
r |
AFSDET
r |
CNRDY
r |
FREQ
r |
WCKCFG
r |
MUTEDET
r |
OVRUDR
r |
Bit 0: Overrun / underrun.
Allowed values:
0: NoError: No overrun/underrun error
1: Overrun: Overrun/underrun error detection
Bit 1: Mute detection.
Allowed values:
0: NoMute: No MUTE detection on the SD input line
1: Mute: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
Bit 2: Wrong clock configuration flag. This bit is read only.
Allowed values:
0: Correct: Clock configuration is correct
1: Wrong: Clock configuration does not respect the rule concerning the frame length specification
Bit 3: FIFO request.
Allowed values:
0: NoRequest: No FIFO request
1: Request: FIFO request to read or to write the SAI_xDR
Bit 4: Codec not ready.
Allowed values:
0: Ready: External AC’97 Codec is ready
1: NotReady: External AC’97 Codec is not ready
Bit 5: Anticipated frame synchronization detection.
Allowed values:
0: NoError: No error
1: EarlySync: Frame synchronization signal is detected earlier than expected
Bit 6: Late frame synchronization detection.
Allowed values:
0: NoError: No error
1: NoSync: Frame synchronization signal is not present at the right time
Bits 16-18: FIFO level threshold.
Allowed values:
0: Empty: FIFO empty
1: Quarter1: FIFO <= 1⁄4 but not empty
2: Quarter2: 1⁄4 < FIFO <= 1⁄2
3: Quarter3: 1⁄2 < FIFO <= 3⁄4
4: Quarter4: 3⁄4 < FIFO but not full
5: Full: FIFO full
AClear flag register
Offset: 0x3c, size: 32, reset: 0x00000000, access: write-only
6/6 fields covered.
Bit 0: Clear overrun / underrun.
Allowed values:
1: Clear: Clears the OVRUDR flag
Bit 1: Mute detection flag.
Allowed values:
1: Clear: Clears the MUTEDET flag
Bit 2: Clear wrong clock configuration flag.
Allowed values:
1: Clear: Clears the WCKCFG flag
Bit 4: Clear codec not ready flag.
Allowed values:
1: Clear: Clears the CNRDY flag
Bit 5: Clear anticipated frame synchronization detection flag.
Allowed values:
1: Clear: Clears the AFSDET flag
Bit 6: Clear late frame synchronization detection flag.
Allowed values:
1: Clear: Clears the LFSDET flag
AData register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
PDM control register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
PDM delay register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DLYM[4]R
rw |
DLYM[4]L
rw |
DLYM[3]R
rw |
DLYM[3]L
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DLYM[2]R
rw |
DLYM[2]L
rw |
DLYM[1]R
rw |
DLYM[1]L
rw |
Bits 0-2: Delay line adjust for first microphone of pair 1.
Bits 4-6: Delay line adjust for second microphone of pair 1.
Bits 8-10: Delay line adjust for first microphone of pair 2.
Bits 12-14: Delay line adjust for second microphone of pair 2.
Bits 16-18: Delay line adjust for first microphone of pair 3.
Bits 20-22: Delay line adjust for second microphone of pair 3.
Bits 24-26: Delay line adjust for first microphone of pair 4.
Bits 28-30: Delay line adjust for second microphone of pair 4.
0x40013000: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0x40003800: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0x40003c00: Serial peripheral interface/Inter-IC sound
11/51 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR1 | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CR2 | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR | ||||||||||||||||||||||||||||||||
0xc (16-bit) | DR | ||||||||||||||||||||||||||||||||
0xc (8-bit) | DR8 | ||||||||||||||||||||||||||||||||
0x10 (16-bit) | CRCPR | ||||||||||||||||||||||||||||||||
0x14 (16-bit) | RXCRCR | ||||||||||||||||||||||||||||||||
0x18 (16-bit) | TXCRCR | ||||||||||||||||||||||||||||||||
0x1c (16-bit) | I2SCFGR | ||||||||||||||||||||||||||||||||
0x20 (16-bit) | I2SPR |
control register 1
Offset: 0x0, size: 16, reset: 0x00000000, access: read-write
0/14 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BIDIMODE
rw |
BIDIOE
rw |
CRCEN
rw |
CRCNEXT
rw |
DFF
rw |
RXONLY
rw |
SSM
rw |
SSI
rw |
LSBFIRST
rw |
SPE
rw |
BR
rw |
MSTR
rw |
CPOL
rw |
CPHA
rw |
Bit 0: Clock phase.
Bit 1: Clock polarity.
Bit 2: Master selection.
Bits 3-5: Baud rate control.
Bit 6: SPI enable.
Bit 7: Frame format.
Bit 8: Internal slave select.
Bit 9: Software slave management.
Bit 10: Receive only.
Bit 11: Data frame format.
Bit 12: CRC transfer next.
Bit 13: Hardware CRC calculation enable.
Bit 14: Output enable in bidirectional mode.
Bit 15: Bidirectional data mode enable.
control register 2
Offset: 0x4, size: 16, reset: 0x00000700, access: read-write
0/12 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LDMA_TX
rw |
LDMA_RX
rw |
FRXTH
rw |
DS
rw |
TXEIE
rw |
RXNEIE
rw |
ERRIE
rw |
FRF
rw |
NSSP
rw |
SSOE
rw |
TXDMAEN
rw |
RXDMAEN
rw |
Bit 0: Rx buffer DMA enable.
Bit 1: Tx buffer DMA enable.
Bit 2: SS output enable.
Bit 3: NSS pulse management.
Bit 4: Frame format.
Bit 5: Error interrupt enable.
Bit 6: RX buffer not empty interrupt enable.
Bit 7: Tx buffer empty interrupt enable.
Bits 8-11: Data size.
Bit 12: FIFO reception threshold.
Bit 13: Last DMA transfer for reception.
Bit 14: Last DMA transfer for transmission.
status register
Offset: 0x8, size: 16, reset: 0x00000002, access: Unspecified
8/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FTLVL
r |
FRLVL
r |
TIFRFE
r |
BSY
r |
OVR
r |
MODF
r |
CRCERR
rw |
TXE
r |
RXNE
r |
Bit 0: Receive buffer not empty.
Bit 1: Transmit buffer empty.
Bit 4: CRC error flag.
Bit 5: Mode fault.
Bit 6: Overrun flag.
Bit 7: Busy flag.
Bit 8: TI frame format error.
Bits 9-10: FIFO reception level.
Bits 11-12: FIFO transmission level.
data register
Offset: 0xc, size: 16, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
Direct 8-bit access to data register
Offset: 0xc, size: 8, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DR
rw |
CRC polynomial register
Offset: 0x10, size: 16, reset: 0x00000007, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRCPOLY
rw |
RX CRC register
Offset: 0x14, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RxCRC
r |
TX CRC register
Offset: 0x18, size: 16, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TxCRC
r |
0x40010000: System configuration controller
1/69 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | MEMRMP | ||||||||||||||||||||||||||||||||
0x4 | CFGR1 | ||||||||||||||||||||||||||||||||
0x8 | EXTICR1 | ||||||||||||||||||||||||||||||||
0xc | EXTICR2 | ||||||||||||||||||||||||||||||||
0x10 | EXTICR3 | ||||||||||||||||||||||||||||||||
0x14 | EXTICR4 | ||||||||||||||||||||||||||||||||
0x18 | SCSR | ||||||||||||||||||||||||||||||||
0x1c | CFGR2 | ||||||||||||||||||||||||||||||||
0x20 | SWPR | ||||||||||||||||||||||||||||||||
0x24 | SKR |
Remap Memory register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
peripheral mode configuration register
Offset: 0x4, size: 32, reset: 0x7C000001, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FPU_IE
rw |
I2C4_FMP
rw |
I2C3_FMP
rw |
I2C2_FMP
rw |
I2C1_FMP
rw |
I2C_PB9_FMP
rw |
I2C_PB8_FMP
rw |
I2C_PB7_FMP
rw |
I2C_PB6_FMP
rw |
|||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ANASWVDD
rw |
BOOSTEN
rw |
Bit 8: BOOSTEN.
Bit 9: GPIO analog switch control voltage selection.
Bit 16: FM+ drive capability on PB6.
Bit 17: FM+ drive capability on PB6.
Bit 18: FM+ drive capability on PB6.
Bit 19: FM+ drive capability on PB6.
Bit 20: I2C1 FM+ drive capability enable.
Bit 21: I2C1 FM+ drive capability enable.
Bit 22: I2C1 FM+ drive capability enable.
Bit 23: I2C1 FM+ drive capability enable.
Bits 26-31: FPU Interrupts Enable.
external interrupt configuration register 1
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
external interrupt configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
external interrupt configuration register 3
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
external interrupt configuration register 4
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
CCM SRAM control and status register
Offset: 0x18, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
configuration register 2
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
SRAM Write protection register 1
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page31_WP
rw |
Page30_WP
rw |
Page29_WP
rw |
Page28_WP
rw |
Page27_WP
rw |
Page26_WP
rw |
Page25_WP
rw |
Page24_WP
rw |
Page23_WP
rw |
Page22_WP
rw |
Page21_WP
rw |
Page20_WP
rw |
Page19_WP
rw |
Page18_WP
rw |
Page17_WP
rw |
Page16_WP
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Page15_WP
rw |
Page14_WP
rw |
Page13_WP
rw |
Page12_WP
rw |
Page11_WP
rw |
Page10_WP
rw |
Page9_WP
rw |
Page8_WP
rw |
Page7_WP
rw |
Page6_WP
rw |
Page5_WP
rw |
Page4_WP
rw |
Page3_WP
rw |
Page2_WP
rw |
Page1_WP
rw |
Page0_WP
rw |
Bit 0: Write protection.
Bit 1: Write protection.
Bit 2: Write protection.
Bit 3: Write protection.
Bit 4: Write protection.
Bit 5: Write protection.
Bit 6: Write protection.
Bit 7: Write protection.
Bit 8: Write protection.
Bit 9: Write protection.
Bit 10: Write protection.
Bit 11: Write protection.
Bit 12: Write protection.
Bit 13: Write protection.
Bit 14: Write protection.
Bit 15: Write protection.
Bit 16: Write protection.
Bit 17: Write protection.
Bit 18: Write protection.
Bit 19: Write protection.
Bit 20: Write protection.
Bit 21: Write protection.
Bit 22: Write protection.
Bit 23: Write protection.
Bit 24: Write protection.
Bit 25: Write protection.
Bit 26: Write protection.
Bit 27: Write protection.
Bit 28: Write protection.
Bit 29: Write protection.
Bit 30: Write protection.
Bit 31: Write protection.
SRAM2 Key Register
Offset: 0x24, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY
w |
0x40002400: Tamper and backup registers
14/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | FLTCR | ||||||||||||||||||||||||||||||||
0x2c | IER | ||||||||||||||||||||||||||||||||
0x30 | SR | ||||||||||||||||||||||||||||||||
0x34 | MISR | ||||||||||||||||||||||||||||||||
0x3c | SCR | ||||||||||||||||||||||||||||||||
0x100 | BKP[0]R | ||||||||||||||||||||||||||||||||
0x104 | BKP[1]R | ||||||||||||||||||||||||||||||||
0x108 | BKP[2]R | ||||||||||||||||||||||||||||||||
0x10c | BKP[3]R | ||||||||||||||||||||||||||||||||
0x110 | BKP[4]R | ||||||||||||||||||||||||||||||||
0x114 | BKP[5]R | ||||||||||||||||||||||||||||||||
0x118 | BKP[6]R | ||||||||||||||||||||||||||||||||
0x11c | BKP[7]R | ||||||||||||||||||||||||||||||||
0x120 | BKP[8]R | ||||||||||||||||||||||||||||||||
0x124 | BKP[9]R | ||||||||||||||||||||||||||||||||
0x128 | BKP[10]R | ||||||||||||||||||||||||||||||||
0x12c | BKP[11]R | ||||||||||||||||||||||||||||||||
0x130 | BKP[12]R | ||||||||||||||||||||||||||||||||
0x134 | BKP[13]R | ||||||||||||||||||||||||||||||||
0x138 | BKP[14]R | ||||||||||||||||||||||||||||||||
0x13c | BKP[15]R | ||||||||||||||||||||||||||||||||
0x140 | BKP[16]R | ||||||||||||||||||||||||||||||||
0x144 | BKP[17]R | ||||||||||||||||||||||||||||||||
0x148 | BKP[18]R | ||||||||||||||||||||||||||||||||
0x14c | BKP[19]R | ||||||||||||||||||||||||||||||||
0x150 | BKP[20]R | ||||||||||||||||||||||||||||||||
0x154 | BKP[21]R | ||||||||||||||||||||||||||||||||
0x158 | BKP[22]R | ||||||||||||||||||||||||||||||||
0x15c | BKP[23]R | ||||||||||||||||||||||||||||||||
0x160 | BKP[24]R | ||||||||||||||||||||||||||||||||
0x164 | BKP[25]R | ||||||||||||||||||||||||||||||||
0x168 | BKP[26]R | ||||||||||||||||||||||||||||||||
0x16c | BKP[27]R | ||||||||||||||||||||||||||||||||
0x170 | BKP[28]R | ||||||||||||||||||||||||||||||||
0x174 | BKP[29]R | ||||||||||||||||||||||||||||||||
0x178 | BKP[30]R | ||||||||||||||||||||||||||||||||
0x17c | BKP[31]R |
control register 1
Offset: 0x0, size: 32, reset: 0xFFFF0000, access: read-write
0/7 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
TAMP filter control register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TAMP interrupt enable register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TAMP status register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
TAMP masked interrupt status register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-only
7/7 fields covered.
TAMP status clear register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TAMP backup register
Offset: 0x100, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x104, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x108, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x10c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x110, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x114, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x118, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x11c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x120, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x124, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x128, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x12c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x130, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x134, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x138, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x13c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x140, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x144, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x148, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x14c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x150, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x154, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x158, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x15c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x160, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x164, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x168, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x16c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x170, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
TAMP backup register
Offset: 0x174, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
0x40012c00: Advanced-timers
13/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS[6]
rw |
OIS[5]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS[4]N
rw |
OIS[4]
rw |
OIS[3]N
rw |
OIS[3]
rw |
OIS[2]N
rw |
OIS[2]
rw |
OIS[1]N
rw |
OIS[1]
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state (OC1 output).
Bit 9: Output Idle state (OC1N output).
Bit 10: Output Idle state (OC2 output).
Bit 11: Output Idle state (OC2N output).
Bit 12: Output Idle state (OC3 output).
Bit 13: Output Idle state (OC3N output).
Bit 14: Output Idle state (OC4 output).
Bit 15: Output Idle state (OC4N output).
Bit 16: Output Idle state (OC5 output).
Bit 18: Output Idle state (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40014000: General purpose timers
5/110 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output idle state 2 (OC2 output).
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDE
rw |
COMDE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[2]OF
rw |
CC[1]OF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/6 fields covered.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / Reserved
7: PwmMode2: Inversely to PwmMode1 / Reserved
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[2]NP
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 7: Capture/Compare 2 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKBID
rw |
BKDSRM
rw |
BKF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bit 26: BKDSRM.
Bit 28: BKBID.
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0x40014400: General purpose timers
2/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x68 | OR1 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/4 fields covered.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[1]M_3
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKBID
rw |
BKDSRM
rw |
BKF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bit 26: BKDSRM.
Bit 28: BKBID.
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TI1SEL
rw |
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIM option register 1
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSE32EN
rw |
0x40014800: General purpose timers
2/80 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x68 | OR1 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/8 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/5 fields covered.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/4 fields covered.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
capture/compare mode register (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
1/5 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[1]M_3
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy
4: ForceInactive: OCyREF is forced low
5: ForceActive: OCyREF is forced high
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active
7: PwmMode2: Inversely to PwmMode1
Bit 16: Output compare 1 mode, bit 3.
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKBID
rw |
BKDSRM
rw |
BKF
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bit 26: BKDSRM.
Bit 28: BKBID.
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TI1SEL
rw |
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/13 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TIM option register 1
Offset: 0x68, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HSE32EN
rw |
0x40000000: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40015000: Advanced-timers
13/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS[6]
rw |
OIS[5]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS[4]N
rw |
OIS[4]
rw |
OIS[3]N
rw |
OIS[3]
rw |
OIS[2]N
rw |
OIS[2]
rw |
OIS[1]N
rw |
OIS[1]
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state (OC1 output).
Bit 9: Output Idle state (OC1N output).
Bit 10: Output Idle state (OC2 output).
Bit 11: Output Idle state (OC2N output).
Bit 12: Output Idle state (OC3 output).
Bit 13: Output Idle state (OC3N output).
Bit 14: Output Idle state (OC4 output).
Bit 15: Output Idle state (OC4N output).
Bit 16: Output Idle state (OC5 output).
Bit 18: Output Idle state (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40000400: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40000800: Advanced-timers
12/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS6
rw |
OIS5
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS4N
rw |
OIS4
rw |
OIS3N
rw |
OIS3
rw |
OIS2N
rw |
OIS2
rw |
OIS1N
rw |
OIS1
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state 1.
Bit 9: Output Idle state 1.
Bit 10: Output Idle state 2.
Bit 11: Output Idle state 2.
Bit 12: Output Idle state 3.
Bit 13: Output Idle state 3.
Bit 14: Output Idle state 4.
Bit 15: Output Idle state 4 (OC4N output).
Bit 16: Output Idle state 5 (OC5 output).
Bit 18: Output Idle state 6 (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0xFFFFFFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40001000: Basic-timers
1/16 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS
rw |
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UIF
rw |
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UG
w |
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARR
rw |
0x40001400: Basic-timers
1/16 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS
rw |
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UIF
rw |
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UG
w |
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ARR
rw |
0x40013400: Advanced-timers
13/228 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | SMCR | ||||||||||||||||||||||||||||||||
0xc | DIER | ||||||||||||||||||||||||||||||||
0x10 | SR | ||||||||||||||||||||||||||||||||
0x14 | EGR | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Input | ||||||||||||||||||||||||||||||||
0x18 | CCMR1_Output | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Input | ||||||||||||||||||||||||||||||||
0x1c | CCMR2_Output | ||||||||||||||||||||||||||||||||
0x20 | CCER | ||||||||||||||||||||||||||||||||
0x24 | CNT | ||||||||||||||||||||||||||||||||
0x28 | PSC | ||||||||||||||||||||||||||||||||
0x2c | ARR | ||||||||||||||||||||||||||||||||
0x30 | RCR | ||||||||||||||||||||||||||||||||
0x34 | CCR[1] | ||||||||||||||||||||||||||||||||
0x38 | CCR[2] | ||||||||||||||||||||||||||||||||
0x3c | CCR[3] | ||||||||||||||||||||||||||||||||
0x40 | CCR[4] | ||||||||||||||||||||||||||||||||
0x44 | BDTR | ||||||||||||||||||||||||||||||||
0x48 | CCR5 | ||||||||||||||||||||||||||||||||
0x4c | CCR6 | ||||||||||||||||||||||||||||||||
0x50 | CCMR3_Output | ||||||||||||||||||||||||||||||||
0x54 | DTR2 | ||||||||||||||||||||||||||||||||
0x58 | ECR | ||||||||||||||||||||||||||||||||
0x5c | TISEL | ||||||||||||||||||||||||||||||||
0x60 | AF1 | ||||||||||||||||||||||||||||||||
0x64 | AF2 | ||||||||||||||||||||||||||||||||
0x3dc | DCR | ||||||||||||||||||||||||||||||||
0x3e0 | DMAR |
control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DITHEN
rw |
UIFREMAP
rw |
CKD
rw |
ARPE
rw |
CMS
rw |
DIR
rw |
OPM
rw |
URS
rw |
UDIS
rw |
CEN
rw |
Bit 0: Counter enable.
Bit 1: Update disable.
Bit 2: Update request source.
Bit 3: One-pulse mode.
Bit 4: Direction.
Bits 5-6: Center-aligned mode selection.
Bit 7: Auto-reload preload enable.
Bits 8-9: Clock division.
Bit 11: UIF status bit remapping.
Bit 12: Dithering Enable.
control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/17 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MMS_3
rw |
MMS2
rw |
OIS[6]
rw |
OIS[5]
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OIS[4]N
rw |
OIS[4]
rw |
OIS[3]N
rw |
OIS[3]
rw |
OIS[2]N
rw |
OIS[2]
rw |
OIS[1]N
rw |
OIS[1]
rw |
TI1S
rw |
MMS
rw |
CCDS
rw |
CCUS
rw |
CCPC
rw |
Bit 0: Capture/compare preloaded control.
Bit 2: Capture/compare control update selection.
Bit 3: Capture/compare DMA selection.
Bits 4-6: Master mode selection.
Bit 7: TI1 selection.
Bit 8: Output Idle state (OC1 output).
Bit 9: Output Idle state (OC1N output).
Bit 10: Output Idle state (OC2 output).
Bit 11: Output Idle state (OC2N output).
Bit 12: Output Idle state (OC3 output).
Bit 13: Output Idle state (OC3N output).
Bit 14: Output Idle state (OC4 output).
Bit 15: Output Idle state (OC4N output).
Bit 16: Output Idle state (OC5 output).
Bit 18: Output Idle state (OC6 output).
Bits 20-23: Master mode selection 2.
Bit 25: Master mode selection - bit 3.
slave mode control register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMSPS
rw |
SMSPE
rw |
TS_4_3
rw |
SMS_3
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP
rw |
ECE
rw |
ETPS
rw |
ETF
rw |
MSM
rw |
TS
rw |
OCCS
rw |
SMS
rw |
Bits 0-2: Slave mode selection.
Bit 3: OCREF clear selection.
Bits 4-6: Trigger selection.
Bit 7: Master/Slave mode.
Bits 8-11: External trigger filter.
Bits 12-13: External trigger prescaler.
Bit 14: External clock enable.
Bit 15: External trigger polarity.
Bit 16: Slave mode selection - bit 3.
Bits 20-21: Trigger selection - bit 4:3.
Bit 24: SMS Preload Enable.
Bit 25: SMS Preload Source.
DMA/Interrupt enable register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/19 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRIE
rw |
IERRIE
rw |
DIRIE
rw |
IDXIE
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TDE
rw |
COMDE
rw |
CC[4]DE
rw |
CC[3]DE
rw |
CC[2]DE
rw |
CC[1]DE
rw |
UDE
rw |
BIE
rw |
TIE
rw |
COMIE
rw |
CC[4]IE
rw |
CC[3]IE
rw |
CC[2]IE
rw |
CC[1]IE
rw |
UIE
rw |
Bit 0: Update interrupt enable.
Bit 1: Capture/Compare 1 interrupt enable.
Bit 2: Capture/Compare 2 interrupt enable.
Bit 3: Capture/Compare 3 interrupt enable.
Bit 4: Capture/Compare 4 interrupt enable.
Bit 5: COM interrupt enable.
Bit 6: Trigger interrupt enable.
Bit 7: Break interrupt enable.
Bit 8: Update DMA request enable.
Bit 9: Capture/Compare 1 DMA request enable.
Bit 10: Capture/Compare 2 DMA request enable.
Bit 11: Capture/Compare 3 DMA request enable.
Bit 12: Capture/Compare 4 DMA request enable.
Bit 13: COM DMA request enable.
Bit 14: Trigger DMA request enable.
Bit 20: Index interrupt enable.
Bit 21: Direction Change interrupt enable.
Bit 22: Index Error interrupt enable.
Bit 23: Transition Error interrupt enable.
status register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TERRF
rw |
IERRF
rw |
DIRF
rw |
IDXF
rw |
CC6IF
rw |
CC5IF
rw |
||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SBIF
rw |
CC[4]OF
rw |
CC[3]OF
rw |
CC[2]OF
rw |
CC[1]OF
rw |
B2IF
rw |
BIF
rw |
TIF
rw |
COMIF
rw |
CC[4]IF
rw |
CC[3]IF
rw |
CC[2]IF
rw |
CC[1]IF
rw |
UIF
rw |
Bit 0: Update interrupt flag.
Bit 1: Capture/compare 1 interrupt flag.
Bit 2: Capture/compare 2 interrupt flag.
Bit 3: Capture/compare 3 interrupt flag.
Bit 4: Capture/compare 4 interrupt flag.
Bit 5: COM interrupt flag.
Bit 6: Trigger interrupt flag.
Bit 7: Break interrupt flag.
Bit 8: Break 2 interrupt flag.
Bit 9: Capture/Compare 1 overcapture flag.
Bit 10: Capture/Compare 2 overcapture flag.
Bit 11: Capture/Compare 3 overcapture flag.
Bit 12: Capture/Compare 4 overcapture flag.
Bit 13: System Break interrupt flag.
Bit 16: Compare 5 interrupt flag.
Bit 17: Compare 6 interrupt flag.
Bit 20: Index interrupt flag.
Bit 21: Direction Change interrupt flag.
Bit 22: Index Error interrupt flag.
Bit 23: Transition Error interrupt flag.
event generation register
Offset: 0x14, size: 32, reset: 0x00000000, access: write-only
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B2G
w |
BG
w |
TG
w |
COMG
w |
CC[4]G
w |
CC[3]G
w |
CC[2]G
w |
CC[1]G
w |
UG
w |
Bit 0: Update generation.
Bit 1: Capture/compare 1 generation.
Bit 2: Capture/compare 2 generation.
Bit 3: Capture/compare 3 generation.
Bit 4: Capture/compare 4 generation.
Bit 5: Capture/Compare control update generation.
Bit 6: Trigger generation.
Bit 7: Break generation.
Bit 8: Break 2 generation.
capture/compare mode register 1 (input mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 1 (output mode)
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[2]M_3
rw |
OC[1]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[2]CE
rw |
OC[2]M
rw |
OC[2]PE
rw |
OC[2]FE
rw |
CC[2]S
rw |
OC[1]CE
rw |
OC[1]M
rw |
OC[1]PE
rw |
OC[1]FE
rw |
CC[1]S
rw |
Bits 0-1: Capture/Compare 1 selection.
Bit 2: Output compare 1 fast enable.
Bit 3: Output compare 1 preload enable.
Bits 4-6: Output compare 1 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 1 clear enable.
Bits 8-9: Capture/Compare 2 selection.
Bit 10: Output compare 2 fast enable.
Bit 11: Output compare 2 preload enable.
Bits 12-14: Output compare 2 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 2 clear enable.
Bit 16: Output compare 1 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 2 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare mode register 2 (input mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/6 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
4/12 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[4]M_3
rw |
OC[3]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[4]CE
rw |
OC[4]M
rw |
OC[4]PE
rw |
OC[4]FE
rw |
CC[4]S
rw |
OC[3]CE
rw |
OC[3]M
rw |
OC[3]PE
rw |
OC[3]FE
rw |
CC[3]S
rw |
Bits 0-1: Capture/Compare 3 selection.
Bit 2: Output compare 3 fast enable.
Bit 3: Output compare 3 preload enable.
Bits 4-6: Output compare 3 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 3 clear enable.
Bits 8-9: Capture/Compare 4 selection.
Bit 10: Output compare 4 fast enable.
Bit 11: Output compare 4 preload enable.
Bits 12-14: Output compare 4 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 4 clear enable.
Bit 16: Output compare 3 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 4 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
capture/compare enable register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
0/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC[6]P
rw |
CC[6]E
rw |
CC[5]P
rw |
CC[5]E
rw |
||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CC[4]NP
rw |
CC[4]NE
rw |
CC[4]P
rw |
CC[4]E
rw |
CC[3]NP
rw |
CC[3]NE
rw |
CC[3]P
rw |
CC[3]E
rw |
CC[2]NP
rw |
CC[2]NE
rw |
CC[2]P
rw |
CC[2]E
rw |
CC[1]NP
rw |
CC[1]NE
rw |
CC[1]P
rw |
CC[1]E
rw |
Bit 0: Capture/Compare 1 output enable.
Bit 1: Capture/Compare 1 output Polarity.
Bit 2: Capture/Compare 1 complementary output enable.
Bit 3: Capture/Compare 1 output Polarity.
Bit 4: Capture/Compare 2 output enable.
Bit 5: Capture/Compare 2 output Polarity.
Bit 6: Capture/Compare 2 complementary output enable.
Bit 7: Capture/Compare 2 output Polarity.
Bit 8: Capture/Compare 3 output enable.
Bit 9: Capture/Compare 3 output Polarity.
Bit 10: Capture/Compare 3 complementary output enable.
Bit 11: Capture/Compare 3 output Polarity.
Bit 12: Capture/Compare 4 output enable.
Bit 13: Capture/Compare 4 output Polarity.
Bit 14: Capture/Compare 4 complementary output enable.
Bit 15: Capture/Compare 4 output Polarity.
Bit 16: Capture/Compare 5 output enable.
Bit 17: Capture/Compare 5 output Polarity.
Bit 20: Capture/Compare 6 output enable.
Bit 21: Capture/Compare 6 output Polarity.
counter
Offset: 0x24, size: 32, reset: 0x00000000, access: Unspecified
1/2 fields covered.
prescaler
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC
rw |
auto-reload register
Offset: 0x2c, size: 32, reset: 0x0000FFFF, access: read-write
0/1 fields covered.
repetition counter register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REP
rw |
capture/compare register
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x38, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x3c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
break and dead-time register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BK2ID
rw |
BKBID
rw |
BK2DSRM
rw |
BKDSRM
rw |
BK2P
rw |
BK2E
rw |
BK2F
rw |
BKF
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE
rw |
AOE
rw |
BKP
rw |
BKE
rw |
OSSR
rw |
OSSI
rw |
LOCK
rw |
DTG
rw |
Bits 0-7: Dead-time generator setup.
Bits 8-9: Lock configuration.
Bit 10: Off-state selection for Idle mode.
Bit 11: Off-state selection for Run mode.
Bit 12: Break enable.
Bit 13: Break polarity.
Bit 14: Automatic output enable.
Bit 15: Main output enable.
Bits 16-19: Break filter.
Bits 20-23: Break 2 filter.
Bit 24: Break 2 Enable.
Bit 25: Break 2 polarity.
Bit 26: BKDSRM.
Bit 27: BK2DSRM.
Bit 28: BKBID.
Bit 29: BK2ID.
capture/compare register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
capture/compare register
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
capture/compare mode register 2 (output mode)
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
4/10 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC[6]M_3
rw |
OC[5]M_3
rw |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC[6]CE
rw |
OC[6]M
rw |
OC[6]PE
rw |
OC[6]FE
rw |
OC[5]CE
rw |
OC[5]M
rw |
OC[5]PE
rw |
OC[5]FE
rw |
Bit 2: Output compare 5 fast enable.
Bit 3: Output compare 5 preload enable.
Bits 4-6: Output compare 5 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 7: Output compare 5 clear enable.
Bit 10: Output compare 6 fast enable.
Bit 11: Output compare 6 preload enable.
Bits 12-14: Output compare 6 mode.
Allowed values:
0: Frozen: The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the outputs / OpmMode1: Retriggerable OPM mode 1 - In up-counting mode, the channel is active until a trigger event is detected (on TRGI signal). In down-counting mode, the channel is inactive
1: ActiveOnMatch: Set channel to active level on match. OCyREF signal is forced high when the counter matches the capture/compare register / OpmMode2: Inversely to OpmMode1
2: InactiveOnMatch: Set channel to inactive level on match. OCyREF signal is forced low when the counter matches the capture/compare register / Reserved
3: Toggle: OCyREF toggles when TIMx_CNT=TIMx_CCRy / Reserved
4: ForceInactive: OCyREF is forced low / CombinedPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC is the logical OR between OC1REF and OC2REF
5: ForceActive: OCyREF is forced high / CombinedPwmMode2: OCyREF has the same behavior as in PWM mode 2. OCyREFC is the logical AND between OC1REF and OC2REF
6: PwmMode1: In upcounting, channel is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel is inactive as long as TIMx_CNT>TIMx_CCRy else active / AsymmetricPwmMode1: OCyREF has the same behavior as in PWM mode 1. OCyREFC outputs OC1REF when the counter is counting up, OC2REF when it is counting down
7: PwmMode2: Inversely to PwmMode1 / AsymmetricPwmMode2: Inversely to AsymmetricPwmMode1
Bit 15: Output compare 6 clear enable.
Bit 16: Output compare 5 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
Bit 24: Output compare 6 mode, bit 3.
Allowed values:
0: Normal: Normal output compare mode (modes 0-7)
1: Extended: Extended output compare mode (modes 7-15)
timer Deadtime Register 2
Offset: 0x54, size: 32, reset: 0x00000000, access: read-write
0/3 fields covered.
DMA control register
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/7 fields covered.
TIM timer input selection register
Offset: 0x5c, size: 32, reset: 0x00000000, access: read-write
0/4 fields covered.
TIM alternate function option register 1
Offset: 0x60, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETRSEL
rw |
BKCMP4P
rw |
BKCMP3P
rw |
BKCMP2P
rw |
BKCMP1P
rw |
BKINP
rw |
BKCMP7E
rw |
BKCMP6E
rw |
BKCMP5E
rw |
BKCMP4E
rw |
BKCMP3E
rw |
BKCMP2E
rw |
BKCMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK COMP1 enable.
Bit 2: BRK COMP2 enable.
Bit 3: BRK COMP3 enable.
Bit 4: BRK COMP4 enable.
Bit 5: BRK COMP5 enable.
Bit 6: BRK COMP6 enable.
Bit 7: BRK COMP7 enable.
Bit 9: BRK BKIN input polarity.
Bit 10: BRK COMP1 input polarity.
Bit 11: BRK COMP2 input polarity.
Bit 12: BRK COMP3 input polarity.
Bit 13: BRK COMP4 input polarity.
Bits 14-17: ETR source selection.
TIM alternate function option register 2
Offset: 0x64, size: 32, reset: 0x00000000, access: read-write
0/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OCRSEL
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BK2CMP4P
rw |
BK2CMP3P
rw |
BK2CMP2P
rw |
BK2CMP1P
rw |
BK2INP
rw |
BK2CMP7E
rw |
BK2CMP6E
rw |
BK2CMP5E
rw |
BK2CMP4E
rw |
BK2CMP3E
rw |
BK2CMP2E
rw |
BK2CMP1E
rw |
BKINE
rw |
Bit 0: BRK BKIN input enable.
Bit 1: BRK2 COMP1 enable.
Bit 2: BRK2 COMP2 enable.
Bit 3: BRK2 COMP3 enable.
Bit 4: BRK2 COMP4 enable.
Bit 5: BRK2 COMP5 enable.
Bit 6: BRK2 COMP6 enable.
Bit 7: BRK2 COMP7 enable.
Bit 9: BRK2 BKIN input polarity.
Bit 10: BRK2 COMP1 input polarity.
Bit 11: BRK2 COMP2 input polarity.
Bit 12: BRK2 COMP3 input polarity.
Bit 13: BRK2 COMP4 input polarity.
Bits 16-18: OCREF_CLR source selection.
0x40004c00: Universal synchronous asynchronous receiver transmitter
29/135 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT4
rw |
DEAT3
rw |
DEAT2
rw |
DEAT1
rw |
DEAT0
rw |
DEDT4
rw |
DEDT3
rw |
DEDT2
rw |
DEDT1
rw |
DEDT0
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Bit 3: Transmitter enable.
Bit 4: IDLE interrupt enable.
Bit 5: RXNE interrupt enable.
Bit 6: Transmission complete interrupt enable.
Bit 7: interrupt enable.
Bit 8: PE interrupt enable.
Bit 9: Parity selection.
Bit 10: Parity control enable.
Bit 11: Receiver wakeup method.
Bit 12: Word length.
Bit 13: Mute mode enable.
Bit 14: Character match interrupt enable.
Bit 15: Oversampling mode.
Bit 16: DEDT0.
Bit 17: DEDT1.
Bit 18: DEDT2.
Bit 19: DEDT3.
Bit 20: Driver Enable de-assertion time.
Bit 21: DEAT0.
Bit 22: DEAT1.
Bit 23: DEAT2.
Bit 24: DEAT3.
Bit 25: Driver Enable assertion time.
Bit 26: Receiver timeout interrupt enable.
Bit 27: End of Block interrupt enable.
Bit 28: M1.
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD4_7
rw |
ADD0_3
rw |
RTOEN
rw |
ABRMOD1
rw |
ABRMOD0
rw |
ABREN
rw |
MSBFIRST
rw |
TAINV
rw |
TXINV
rw |
RXINV
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Bit 5: LIN break detection length.
Bit 6: LIN break detection interrupt enable.
Bit 8: Last bit clock pulse.
Bit 9: Clock phase.
Bit 10: Clock polarity.
Bit 11: Clock enable.
Bits 12-13: STOP bits.
Bit 14: LIN mode enable.
Bit 15: Swap TX/RX pins.
Bit 16: RX pin active level inversion.
Bit 17: TX pin active level inversion.
Bit 18: Binary data inversion.
Bit 19: Most significant bit first.
Bit 20: Auto baud rate enable.
Bit 21: ABRMOD0.
Bit 22: Auto baud rate mode.
Bit 23: Receiver timeout enable.
Bits 24-27: Address of the USART node.
Bits 28-31: Address of the USART node.
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Bit 1: Ir mode enable.
Bit 2: Ir low-power.
Bit 3: Half-duplex selection.
Bit 4: Smartcard NACK enable.
Bit 5: Smartcard mode enable.
Bit 6: DMA enable receiver.
Bit 7: DMA enable transmitter.
Bit 8: RTS enable.
Bit 9: CTS enable.
Bit 10: CTS interrupt enable.
Bit 11: One sample bit method enable.
Bit 12: Overrun Disable.
Bit 13: DMA Disable on Reception Error.
Bit 14: Driver enable mode.
Bit 15: Driver enable polarity selection.
Bits 17-19: Smartcard auto-retry count.
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIV_Mantissa
rw |
DIV_Fraction
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/5 fields covered.
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Bit 1: Framing error clear flag.
Bit 2: Noise detected clear flag.
Bit 3: Overrun error clear flag.
Bit 4: Idle line detected clear flag.
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Bit 9: CTS clear flag.
Bit 11: Receiver timeout clear flag.
Bit 12: End of block clear flag.
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40005000: Universal synchronous asynchronous receiver transmitter
29/135 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/32 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT4
rw |
DEAT3
rw |
DEAT2
rw |
DEAT1
rw |
DEAT0
rw |
DEDT4
rw |
DEDT3
rw |
DEDT2
rw |
DEDT1
rw |
DEDT0
rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Bit 3: Transmitter enable.
Bit 4: IDLE interrupt enable.
Bit 5: RXNE interrupt enable.
Bit 6: Transmission complete interrupt enable.
Bit 7: interrupt enable.
Bit 8: PE interrupt enable.
Bit 9: Parity selection.
Bit 10: Parity control enable.
Bit 11: Receiver wakeup method.
Bit 12: Word length.
Bit 13: Mute mode enable.
Bit 14: Character match interrupt enable.
Bit 15: Oversampling mode.
Bit 16: DEDT0.
Bit 17: DEDT1.
Bit 18: DEDT2.
Bit 19: DEDT3.
Bit 20: Driver Enable de-assertion time.
Bit 21: DEAT0.
Bit 22: DEAT1.
Bit 23: DEAT2.
Bit 24: DEAT3.
Bit 25: Driver Enable assertion time.
Bit 26: Receiver timeout interrupt enable.
Bit 27: End of Block interrupt enable.
Bit 28: M1.
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/22 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD4_7
rw |
ADD0_3
rw |
RTOEN
rw |
ABRMOD1
rw |
ABRMOD0
rw |
ABREN
rw |
MSBFIRST
rw |
TAINV
rw |
TXINV
rw |
RXINV
rw |
||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Bit 5: LIN break detection length.
Bit 6: LIN break detection interrupt enable.
Bit 8: Last bit clock pulse.
Bit 9: Clock phase.
Bit 10: Clock polarity.
Bit 11: Clock enable.
Bits 12-13: STOP bits.
Bit 14: LIN mode enable.
Bit 15: Swap TX/RX pins.
Bit 16: RX pin active level inversion.
Bit 17: TX pin active level inversion.
Bit 18: Binary data inversion.
Bit 19: Most significant bit first.
Bit 20: Auto baud rate enable.
Bit 21: ABRMOD0.
Bit 22: Auto baud rate mode.
Bit 23: Receiver timeout enable.
Bits 24-27: Address of the USART node.
Bits 28-31: Address of the USART node.
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Bit 1: Ir mode enable.
Bit 2: Ir low-power.
Bit 3: Half-duplex selection.
Bit 4: Smartcard NACK enable.
Bit 5: Smartcard mode enable.
Bit 6: DMA enable receiver.
Bit 7: DMA enable transmitter.
Bit 8: RTS enable.
Bit 9: CTS enable.
Bit 10: CTS interrupt enable.
Bit 11: One sample bit method enable.
Bit 12: Overrun Disable.
Bit 13: DMA Disable on Reception Error.
Bit 14: Driver enable mode.
Bit 15: Driver enable polarity selection.
Bits 17-19: Smartcard auto-retry count.
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DIV_Mantissa
rw |
DIV_Fraction
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
0/5 fields covered.
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x000000C0, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
0/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Bit 1: Framing error clear flag.
Bit 2: Noise detected clear flag.
Bit 3: Overrun error clear flag.
Bit 4: Idle line detected clear flag.
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Bit 9: CTS clear flag.
Bit 11: Receiver timeout clear flag.
Bit 12: End of block clear flag.
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x4000a000: UCPD1
90/90 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CFGR1 | ||||||||||||||||||||||||||||||||
0x4 | CFGR2 | ||||||||||||||||||||||||||||||||
0xc | CR | ||||||||||||||||||||||||||||||||
0x10 | IMR | ||||||||||||||||||||||||||||||||
0x14 | SR | ||||||||||||||||||||||||||||||||
0x18 | ICR | ||||||||||||||||||||||||||||||||
0x1c | TX_ORDSETR | ||||||||||||||||||||||||||||||||
0x20 | TX_PAYSZR | ||||||||||||||||||||||||||||||||
0x24 | TXDR | ||||||||||||||||||||||||||||||||
0x28 | RX_ORDSETR | ||||||||||||||||||||||||||||||||
0x2c | RX_PAYSZR | ||||||||||||||||||||||||||||||||
0x30 | RXDR | ||||||||||||||||||||||||||||||||
0x34 | RX_ORDEXTR1 | ||||||||||||||||||||||||||||||||
0x38 | RX_ORDEXTR2 |
UCPD configuration register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
16/16 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UCPDEN
rw |
RXDMAEN
rw |
TXDMAEN
rw |
RXORDSETEN8
rw |
RXORDSETEN7
rw |
RXORDSETEN6
rw |
RXORDSETEN5
rw |
RXORDSETEN4
rw |
RXORDSETEN3
rw |
RXORDSETEN2
rw |
RXORDSETEN1
rw |
RXORDSETEN0
rw |
PSC_USBPDCLK
rw |
|||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TRANSWIN
rw |
IFRGAP
rw |
HBITCLKDIV
rw |
Bits 0-5: HBITCLKDIV.
Allowed values: 0x0-0x3f
Bits 6-10: IFRGAP.
Allowed values: 0x1-0x1f
Bits 11-15: TRANSWIN.
Allowed values: 0x1-0x1f
Bits 17-19: PSC_USBPDCLK.
Allowed values:
0: Div1: Divide by 1
1: Div2: Divide by 2
2: Div4: Divide by 4
3: Div8: Divide by 8
4: Div16: Divide by 16
Bit 20: SOP detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 21: SOP' detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 22: SOP'' detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 23: Hard Reset detection.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 24: Cable Detect reset.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 25: SOP'_Debug.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 26: SOP'' Debug.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 27: SOP extension #1.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 28: SOP extension #2.
Allowed values:
0: Disabled: Flag disabled
1: Enabled: Flag enabled
Bit 29: TXDMAEN.
Allowed values:
0: Disabled: DMA mode for transmission disabled
1: Enabled: DMA mode for transmission enabled
Bit 30: RXDMAEN.
Allowed values:
0: Disabled: DMA mode for reception disabled
1: Enabled: DMA mode for reception enabled
Bit 31: UCPDEN.
Allowed values:
0: Disabled: UCPD peripheral disabled
1: Enabled: UCPD peripheral enabled
UCPD configuration register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
4/4 fields covered.
Bit 0: RXFILTDIS.
Allowed values:
0: Enabled: Rx pre-filter enabled
1: Disabled: Rx pre-filter disabled
Bit 1: RXFILT2N3.
Allowed values:
0: Samp3: 3 samples
1: Samp2: 2 samples
Bit 2: FORCECLK.
Allowed values:
0: NoForce: Do not force clock request
1: Force: Force clock request
Bit 3: WUPEN.
Allowed values:
0: Disabled: Disabled
1: Enabled: Enabled
UCPD configuration register 2
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
14/14 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC2TCDIS
rw |
CC1TCDIS
rw |
RDCH
rw |
FRSTX
rw |
FRSRXEN
rw |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCENABLE
rw |
ANAMODE
rw |
ANASUBMODE
rw |
PHYCCSEL
rw |
PHYRXEN
rw |
RXMODE
rw |
TXHRST
rw |
TXSEND
rw |
TXMODE
rw |
Bits 0-1: TXMODE.
Allowed values:
0: RegisterSet: Transmission of Tx packet previously defined in other registers
1: CableReset: Cable Reset sequence
2: BISTTest: BIST test sequence (BIST Carrier Mode 2)
Bit 2: TXSEND.
Allowed values:
0: NoEffect: No effect
1: Start: Start Tx packet transmission
Bit 3: TXHRST.
Allowed values:
0: NoEffect: No effect
1: Start: Start Tx Hard Reset message
Bit 4: RXMODE.
Allowed values:
0: Normal: Normal receive mode
1: BIST: BIST receive mode (BIST test data mode)
Bit 5: PHYRXEN.
Allowed values:
0: Disabled: USB Power Delivery receiver disabled
1: Enabled: USB Power Delivery receiver enabled
Bit 6: PHYCCSEL.
Allowed values:
0: CC1: Use CC1 IO for Power Delivery communication
1: CC2: Use CC2 IO for Power Delivery communication
Bits 7-8: ANASUBMODE.
Allowed values:
0: Disabled: Disabled
1: Rp_DefaultUSB: Default USB Rp
2: Rp_1_5A: 1.5A Rp
3: Rp_3A: 3A Rp
Bit 9: ANAMODE.
Allowed values:
0: Source: Source
1: Sink: Sink
Bits 10-11: CCENABLE.
Allowed values:
0: Disabled: Both PHYs disabled
1: CC1Enabled: CC1 PHY enabled
2: CC2Enabled: CC2 PHY enabled
3: BothEnabled: CC1 and CC2 PHYs enabled
Bit 16: FRSRXEN.
Allowed values:
0: Disabled: FRS Rx event detection disabled
1: Enabled: FRS Rx event detection enabled
Bit 17: FRSTX.
Allowed values:
0: NoEffect: No effect
1: Enabled: FRS Tx signaling enabled
Bit 18: RDCH.
Allowed values:
0: NoEffect: No effect
1: ConditionDrive: Rdch condition drive
Bit 20: CC1TCDIS.
Allowed values:
0: Enabled: Type-C detector on the CCx line enabled
1: Disabled: Type-C detector on the CCx line disabled
Bit 21: CC2TCDIS.
Allowed values:
0: Enabled: Type-C detector on the CCx line enabled
1: Disabled: Type-C detector on the CCx line disabled
UCPD Interrupt Mask Register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
15/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRSEVTIE
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TYPECEVT2IE
rw |
TYPECEVT1IE
rw |
RXMSGENDIE
rw |
RXOVRIE
rw |
RXHRSTDETIE
rw |
RXORDDETIE
rw |
RXNEIE
rw |
TXUNDIE
rw |
HRSTSENTIE
rw |
HRSTDISCIE
rw |
TXMSGABTIE
rw |
TXMSGSENTIE
rw |
TXMSGDISCIE
rw |
TXISIE
rw |
Bit 0: TXISIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 1: TXMSGDISCIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 2: TXMSGSENTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 3: TXMSGABTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 4: HRSTDISCIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 5: HRSTSENTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 6: TXUNDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 8: RXNEIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 9: RXORDDETIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 10: RXHRSTDETIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 11: RXOVRIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 12: RXMSGENDIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 14: TYPECEVT1IE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 15: TYPECEVT2IE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
Bit 20: FRSEVTIE.
Allowed values:
0: Disabled: Interrupt disabled
1: Enabled: Interrupt enabled
UCPD Status Register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
18/18 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRSEVT
rw |
TYPEC_VSTATE_CC2
rw |
TYPEC_VSTATE_CC1
rw |
|||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TYPECEVT2
rw |
TYPECEVT1
rw |
RXERR
rw |
RXMSGEND
rw |
RXOVR
rw |
RXHRSTDET
rw |
RXORDDET
rw |
RXNE
rw |
TXUND
rw |
HRSTSENT
rw |
HRSTDISC
rw |
TXMSGABT
rw |
TXMSGSENT
rw |
TXMSGDISC
rw |
TXIS
rw |
Bit 0: TXIS.
Allowed values:
0: NotRequired: New Tx data write not required
1: Required: New Tx data write required
Bit 1: TXMSGDISC.
Allowed values:
0: NotDiscarded: No Tx message discarded
1: Discarded: Tx message discarded
Bit 2: TXMSGSENT.
Allowed values:
0: NotCompleted: No Tx message completed
1: Completed: Tx message completed
Bit 3: TXMSGABT.
Allowed values:
0: NoAbort: No transmit message abort
1: Abort: Transmit message abort
Bit 4: HRSTDISC.
Allowed values:
0: NotDiscarded: No Hard Reset discarded
1: Discarded: Hard Reset discarded
Bit 5: HRSTSENT.
Allowed values:
0: NotSent: No Hard Reset message sent
1: Sent: Hard Reset message sent
Bit 6: TXUND.
Allowed values:
0: NoUnderrun: No Tx data underrun detected
1: Underrun: Tx data underrun detected
Bit 8: RXNE.
Allowed values:
0: Empty: Rx data register empty
1: NotEmpty: Rx data register not empty
Bit 9: RXORDDET.
Allowed values:
0: NoOrderedSet: No ordered set detected
1: OrderedSet: Ordered set detected
Bit 10: RXHRSTDET.
Allowed values:
0: NoHardReset: Hard Reset not received
1: HardReset: Hard Reset received
Bit 11: RXOVR.
Allowed values:
0: NoOverflow: No overflow
1: Overflow: Overflow
Bit 12: RXMSGEND.
Allowed values:
0: NoNewMessage: No new Rx message received
1: NewMessage: A new Rx message received
Bit 13: RXERR.
Allowed values:
0: NoError: No error detected
1: Error: Error(s) detected
Bit 14: TYPECEVT1.
Allowed values:
0: NoNewEvent: No new event
1: NewEvent: A new Type-C event occurred
Bit 15: TYPECEVT2.
Allowed values:
0: NoNewEvent: No new event
1: NewEvent: A new Type-C event occurred
Bits 16-17: TYPEC_VSTATE_CC1.
Allowed values:
0: Lowest: Lowest
1: Low: Low
2: High: High
3: Highest: Highest
Bits 18-19: TYPEC_VSTATE_CC2.
Allowed values:
0: Lowest: Lowest
1: Low: Low
2: High: High
3: Highest: Highest
Bit 20: FRSEVT.
Allowed values:
0: NoNewEvent: No new event
1: NewEvent: New FRS receive event occurred
UCPD Interrupt Clear Register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
13/13 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FRSEVTCF
rw |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TYPECEVT2CF
rw |
TYPECEVT1CF
rw |
RXMSGENDCF
rw |
RXOVRCF
rw |
RXHRSTDETCF
rw |
RXORDDETCF
rw |
TXUNDCF
rw |
HRSTSENTCF
rw |
HRSTDISCCF
rw |
TXMSGABTCF
rw |
TXMSGSENTCF
rw |
TXMSGDISCCF
rw |
Bit 1: TXMSGDISCCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 2: TXMSGSENTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 3: TXMSGABTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 4: HRSTDISCCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 5: HRSTSENTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 6: TXUNDCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 9: RXORDDETCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 10: RXHRSTDETCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 11: RXOVRCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 12: RXMSGENDCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 14: TYPECEVT1CF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 15: TYPECEVT2CF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
Bit 20: FRSEVTCF.
Allowed values:
1: Clear: Clear flag in UCPD_SR
UCPD Tx Ordered Set Type Register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
UCPD Tx Paysize Register
Offset: 0x20, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXPAYSZ
rw |
UCPD Tx Data Register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXDATA
rw |
UCPD Rx Ordered Set Register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-only
3/3 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXSOPKINVALID
r |
RXSOP3OF4
r |
RXORDSET
r |
Bits 0-2: RXORDSET.
Allowed values:
0: SOP: SOP code detected in receiver
1: SOPPrime: SOP' code detected in receiver
2: SOPDoublePrime: SOP'' code detected in receiver
3: SOPPrimeDebug: SOP'_Debug detected in receiver
4: SOPDoublePrimeDebug: SOP''_Debug detected in receiver
5: CableReset: Cable Reset detected in receiver
6: SOPExtension1: SOP extension #1 detected in receiver
7: SOPExtension2: SOP extension #2 detected in receiver
Bit 3: RXSOP3OF4.
Allowed values:
0: AllCorrect: 4 correct K-codes out of 4
1: OneIncorrect: 3 correct K-codes out of 4
Bits 4-6: RXSOPKINVALID.
Allowed values:
0: Valid: No K-code corrupted
1: FirstCorrupted: First K-code corrupted
2: SecondCorrupted: Second K-code corrupted
3: ThirdCorrupted: Third K-code corrupted
4: FourthCorrupted: Fourth K-code corrupted
UCPD Rx Paysize Register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXPAYSZ
r |
UCPD Rx Data Register
Offset: 0x30, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXDATA
r |
UCPD Rx Ordered Set Extension Register 1
Offset: 0x34, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
0x40013800: Universal synchronous asynchronous receiver transmitter
106/124 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT
rw |
DEDT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
Bits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
Bit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: M1.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD
rw |
RTOEN
rw |
ABRMOD
rw |
ABREN
rw |
MSBFIRST
rw |
DATAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BRR
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Bit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of block clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40004400: Universal synchronous asynchronous receiver transmitter
106/124 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT
rw |
DEDT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
Bits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
Bit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: M1.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD
rw |
RTOEN
rw |
ABRMOD
rw |
ABREN
rw |
MSBFIRST
rw |
DATAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BRR
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Bit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of block clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40004800: Universal synchronous asynchronous receiver transmitter
106/124 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CR1 | ||||||||||||||||||||||||||||||||
0x4 | CR2 | ||||||||||||||||||||||||||||||||
0x8 | CR3 | ||||||||||||||||||||||||||||||||
0xc | BRR | ||||||||||||||||||||||||||||||||
0x10 | GTPR | ||||||||||||||||||||||||||||||||
0x14 | RTOR | ||||||||||||||||||||||||||||||||
0x18 | RQR | ||||||||||||||||||||||||||||||||
0x1c | ISR | ||||||||||||||||||||||||||||||||
0x20 | ICR | ||||||||||||||||||||||||||||||||
0x24 | RDR | ||||||||||||||||||||||||||||||||
0x28 | TDR | ||||||||||||||||||||||||||||||||
0x2c | PRESC |
Control register 1
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
20/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXFFIE
rw |
TXFEIE
rw |
FIFOEN
rw |
M1
rw |
EOBIE
rw |
RTOIE
rw |
DEAT
rw |
DEDT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8
rw |
CMIE
rw |
MME
rw |
M0
rw |
WAKE
rw |
PCE
rw |
PS
rw |
PEIE
rw |
TXEIE
rw |
TCIE
rw |
RXNEIE
rw |
IDLEIE
rw |
TE
rw |
RE
rw |
UESM
rw |
UE
rw |
Bit 0: USART enable.
Allowed values:
0: Disabled: UART is disabled
1: Enabled: UART is enabled
Bit 1: USART enable in Stop mode.
Bit 2: Receiver enable.
Allowed values:
0: Disabled: Receiver is disabled
1: Enabled: Receiver is enabled
Bit 3: Transmitter enable.
Allowed values:
0: Disabled: Transmitter is disabled
1: Enabled: Transmitter is enabled
Bit 4: IDLE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever IDLE=1 in the ISR register
Bit 5: RXNE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever ORE=1 or RXNE=1 in the ISR register
Bit 6: Transmission complete interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TC=1 in the ISR register
Bit 7: interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever TXE=1 in the ISR register
Bit 8: PE interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated whenever PE=1 in the ISR register
Bit 9: Parity selection.
Allowed values:
0: Even: Even parity
1: Odd: Odd parity
Bit 10: Parity control enable.
Allowed values:
0: Disabled: Parity control disabled
1: Enabled: Parity control enabled
Bit 11: Receiver wakeup method.
Allowed values:
0: Idle: Idle line
1: Address: Address mask
Bit 12: Word length.
Allowed values:
0: Bit8: 1 start bit, 8 data bits, n stop bits
1: Bit9: 1 start bit, 9 data bits, n stop bits
Bit 13: Mute mode enable.
Allowed values:
0: Disabled: Receiver in active mode permanently
1: Enabled: Receiver can switch between mute mode and active mode
Bit 14: Character match interrupt enable.
Allowed values:
0: Disabled: Interrupt is disabled
1: Enabled: Interrupt is generated when the CMF bit is set in the ISR register
Bit 15: Oversampling mode.
Allowed values:
0: Oversampling16: Oversampling by 16
1: Oversampling8: Oversampling by 8
Bits 16-20: Driver Enable de-assertion time.
Allowed values: 0x0-0x1f
Bits 21-25: Driver Enable assertion time.
Allowed values: 0x0-0x1f
Bit 26: Receiver timeout interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An USART interrupt is generated when the RTOF bit is set in the ISR register
Bit 27: End of Block interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: A USART interrupt is generated when the EOBF flag is set in the ISR register
Bit 28: M1.
Allowed values:
0: M0: Use M0 to set the data bits
1: Bit7: 1 start bit, 7 data bits, n stop bits
Bit 29: FIFOEN.
Bit 30: TXFEIE.
Bit 31: RXFFIE.
Control register 2
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
18/20 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD
rw |
RTOEN
rw |
ABRMOD
rw |
ABREN
rw |
MSBFIRST
rw |
DATAINV
rw |
TXINV
rw |
RXINV
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP
rw |
LINEN
rw |
STOP
rw |
CLKEN
rw |
CPOL
rw |
CPHA
rw |
LBCL
rw |
LBDIE
rw |
LBDL
rw |
ADDM7
rw |
DIS_NSS
rw |
SLVEN
rw |
Bit 0: SLVEN.
Bit 3: DIS_NSS.
Bit 4: 7-bit Address Detection/4-bit Address Detection.
Allowed values:
0: Bit4: 4-bit address detection
1: Bit7: 7-bit address detection
Bit 5: LIN break detection length.
Allowed values:
0: Bit10: 10-bit break detection
1: Bit11: 11-bit break detection
Bit 6: LIN break detection interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever LBDF=1 in the ISR register
Bit 8: Last bit clock pulse.
Allowed values:
0: NotOutput: The clock pulse of the last data bit is not output to the CK pin
1: Output: The clock pulse of the last data bit is output to the CK pin
Bit 9: Clock phase.
Allowed values:
0: First: The first clock transition is the first data capture edge
1: Second: The second clock transition is the first data capture edge
Bit 10: Clock polarity.
Allowed values:
0: Low: Steady low value on CK pin outside transmission window
1: High: Steady high value on CK pin outside transmission window
Bit 11: Clock enable.
Allowed values:
0: Disabled: CK pin disabled
1: Enabled: CK pin enabled
Bits 12-13: STOP bits.
Allowed values:
0: Stop1: 1 stop bit
1: Stop0p5: 0.5 stop bit
2: Stop2: 2 stop bit
3: Stop1p5: 1.5 stop bit
Bit 14: LIN mode enable.
Allowed values:
0: Disabled: LIN mode disabled
1: Enabled: LIN mode enabled
Bit 15: Swap TX/RX pins.
Allowed values:
0: Standard: TX/RX pins are used as defined in standard pinout
1: Swapped: The TX and RX pins functions are swapped
Bit 16: RX pin active level inversion.
Allowed values:
0: Standard: RX pin signal works using the standard logic levels
1: Inverted: RX pin signal values are inverted
Bit 17: TX pin active level inversion.
Allowed values:
0: Standard: TX pin signal works using the standard logic levels
1: Inverted: TX pin signal values are inverted
Bit 18: Binary data inversion.
Allowed values:
0: Positive: Logical data from the data register are send/received in positive/direct logic
1: Negative: Logical data from the data register are send/received in negative/inverse logic
Bit 19: Most significant bit first.
Allowed values:
0: LSB: data is transmitted/received with data bit 0 first, following the start bit
1: MSB: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Bit 20: Auto baud rate enable.
Allowed values:
0: Disabled: Auto baud rate detection is disabled
1: Enabled: Auto baud rate detection is enabled
Bits 21-22: Auto baud rate mode.
Allowed values:
0: Start: Measurement of the start bit is used to detect the baud rate
1: Edge: Falling edge to falling edge measurement
2: Frame7F: 0x7F frame detection
3: Frame55: 0x55 frame detection
Bit 23: Receiver timeout enable.
Allowed values:
0: Disabled: Receiver timeout feature disabled
1: Enabled: Receiver timeout feature enabled
Bits 24-31: Address of the USART node.
Allowed values: 0x0-0xff
Control register 3
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
17/24 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG
rw |
RXFTIE
rw |
RXFTCFG
rw |
TCBGTIE
rw |
TXFTIE
rw |
WUFIE
rw |
WUS
rw |
SCARCNT
rw |
||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP
rw |
DEM
rw |
DDRE
rw |
OVRDIS
rw |
ONEBIT
rw |
CTSIE
rw |
CTSE
rw |
RTSE
rw |
DMAT
rw |
DMAR
rw |
SCEN
rw |
NACK
rw |
HDSEL
rw |
IRLP
rw |
IREN
rw |
EIE
rw |
Bit 0: Error interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated when FE=1 or ORE=1 or NF=1 in the ISR register
Bit 1: Ir mode enable.
Allowed values:
0: Disabled: IrDA disabled
1: Enabled: IrDA enabled
Bit 2: Ir low-power.
Allowed values:
0: Normal: Normal mode
1: LowPower: Low-power mode
Bit 3: Half-duplex selection.
Allowed values:
0: NotSelected: Half duplex mode is not selected
1: Selected: Half duplex mode is selected
Bit 4: Smartcard NACK enable.
Allowed values:
0: Disabled: NACK transmission in case of parity error is disabled
1: Enabled: NACK transmission during parity error is enabled
Bit 5: Smartcard mode enable.
Allowed values:
0: Disabled: Smartcard Mode disabled
1: Enabled: Smartcard Mode enabled
Bit 6: DMA enable receiver.
Allowed values:
0: Disabled: DMA mode is disabled for reception
1: Enabled: DMA mode is enabled for reception
Bit 7: DMA enable transmitter.
Allowed values:
0: Disabled: DMA mode is disabled for transmission
1: Enabled: DMA mode is enabled for transmission
Bit 8: RTS enable.
Allowed values:
0: Disabled: RTS hardware flow control disabled
1: Enabled: RTS output enabled, data is only requested when there is space in the receive buffer
Bit 9: CTS enable.
Allowed values:
0: Disabled: CTS hardware flow control disabled
1: Enabled: CTS mode enabled, data is only transmitted when the CTS input is asserted
Bit 10: CTS interrupt enable.
Allowed values:
0: Disabled: Interrupt is inhibited
1: Enabled: An interrupt is generated whenever CTSIF=1 in the ISR register
Bit 11: One sample bit method enable.
Allowed values:
0: Sample3: Three sample bit method
1: Sample1: One sample bit method
Bit 12: Overrun Disable.
Allowed values:
0: Enabled: Overrun Error Flag, ORE, is set when received data is not read before receiving new data
1: Disabled: Overrun functionality is disabled. If new data is received while the RXNE flag is still set the ORE flag is not set and the new received data overwrites the previous content of the RDR register
Bit 13: DMA Disable on Reception Error.
Allowed values:
0: NotDisabled: DMA is not disabled in case of reception error
1: Disabled: DMA is disabled following a reception error
Bit 14: Driver enable mode.
Allowed values:
0: Disabled: DE function is disabled
1: Enabled: The DE signal is output on the RTS pin
Bit 15: Driver enable polarity selection.
Allowed values:
0: High: DE signal is active high
1: Low: DE signal is active low
Bits 17-19: Smartcard auto-retry count.
Allowed values: 0x0-0x7
Bits 20-21: Wakeup from Stop mode interrupt flag selection.
Bit 22: Wakeup from Stop mode interrupt enable.
Bit 23: TXFTIE.
Bit 24: TCBGTIE.
Bits 25-27: RXFTCFG.
Bit 28: RXFTIE.
Bits 29-31: TXFTCFG.
Baud rate register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BRR
rw |
Guard time and prescaler register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Receiver timeout register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
2/2 fields covered.
Request register
Offset: 0x18, size: 32, reset: 0x00000000, access: write-only
5/5 fields covered.
Bit 0: Auto baud rate request.
Allowed values:
1: Request: resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame
Bit 1: Send break request.
Allowed values:
1: Break: sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
Bit 2: Mute mode request.
Allowed values:
1: Mute: Puts the USART in mute mode and sets the RWU flag
Bit 3: Receive data flush request.
Allowed values:
1: Discard: clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
Bit 4: Transmit data flush request.
Allowed values:
1: Discard: Set the TXE flags. This allows to discard the transmit data
Interrupt & status register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-only
28/28 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFT
r |
RXFT
r |
TCBGT
r |
RXFF
r |
TXFE
r |
REACK
r |
TEACK
r |
WUF
r |
RWU
r |
SBKF
r |
CMF
r |
BUSY
r |
||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF
r |
ABRE
r |
UDR
r |
EOBF
r |
RTOF
r |
CTS
r |
CTSIF
r |
LBDF
r |
TXE
r |
TC
r |
RXNE
r |
IDLE
r |
ORE
r |
NF
r |
FE
r |
PE
r |
Bit 0: PE.
Bit 1: FE.
Bit 2: NF.
Bit 3: ORE.
Bit 4: IDLE.
Bit 5: RXNE.
Bit 6: TC.
Bit 7: TXE.
Bit 8: LBDF.
Bit 9: CTSIF.
Bit 10: CTS.
Bit 11: RTOF.
Bit 12: EOBF.
Bit 13: UDR.
Bit 14: ABRE.
Bit 15: ABRF.
Bit 16: BUSY.
Bit 17: CMF.
Bit 18: SBKF.
Bit 19: RWU.
Bit 20: WUF.
Bit 21: TEACK.
Bit 22: REACK.
Bit 23: TXFE.
Bit 24: RXFF.
Bit 25: TCBGT.
Bit 26: RXFT.
Bit 27: TXFT.
Interrupt flag clear register
Offset: 0x20, size: 32, reset: 0x00000000, access: write-only
11/15 fields covered.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
WUCF
w |
CMCF
w |
||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UDRCF
w |
EOBCF
w |
RTOCF
w |
CTSCF
w |
LBDCF
w |
TCBGTCF
w |
TCCF
w |
TXFECF
w |
IDLECF
w |
ORECF
w |
NCF
w |
FECF
w |
PECF
w |
Bit 0: Parity error clear flag.
Allowed values:
1: Clear: Clears the PE flag in the ISR register
Bit 1: Framing error clear flag.
Allowed values:
1: Clear: Clears the FE flag in the ISR register
Bit 2: Noise detected clear flag.
Allowed values:
1: Clear: Clears the NF flag in the ISR register
Bit 3: Overrun error clear flag.
Allowed values:
1: Clear: Clears the ORE flag in the ISR register
Bit 4: Idle line detected clear flag.
Allowed values:
1: Clear: Clears the IDLE flag in the ISR register
Bit 5: TXFECF.
Bit 6: Transmission complete clear flag.
Allowed values:
1: Clear: Clears the TC flag in the ISR register
Bit 7: TCBGTCF.
Bit 8: LIN break detection clear flag.
Allowed values:
1: Clear: Clears the LBDF flag in the ISR register
Bit 9: CTS clear flag.
Allowed values:
1: Clear: Clears the CTSIF flag in the ISR register
Bit 11: Receiver timeout clear flag.
Allowed values:
1: Clear: Clears the RTOF flag in the ISR register
Bit 12: End of block clear flag.
Allowed values:
1: Clear: Clears the EOBF flag in the ISR register
Bit 13: UDRCF.
Bit 17: Character match clear flag.
Allowed values:
1: Clear: Clears the CMF flag in the ISR register
Bit 20: Wakeup from Stop mode clear flag.
Receive data register
Offset: 0x24, size: 32, reset: 0x00000000, access: read-only
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RDR
r |
Transmit data register
Offset: 0x28, size: 32, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDR
rw |
USART prescaler register
Offset: 0x2c, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PRESCALER
rw |
0x40005c00: USB_FS_device
5/123 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | EP0R | ||||||||||||||||||||||||||||||||
0x4 | EP1R | ||||||||||||||||||||||||||||||||
0x8 | EP2R | ||||||||||||||||||||||||||||||||
0xc | EP3R | ||||||||||||||||||||||||||||||||
0x10 | EP4R | ||||||||||||||||||||||||||||||||
0x14 | EP5R | ||||||||||||||||||||||||||||||||
0x18 | EP6R | ||||||||||||||||||||||||||||||||
0x1c | EP7R | ||||||||||||||||||||||||||||||||
0x40 | CNTR | ||||||||||||||||||||||||||||||||
0x44 | ISTR | ||||||||||||||||||||||||||||||||
0x48 | FNR | ||||||||||||||||||||||||||||||||
0x4c | DADDR | ||||||||||||||||||||||||||||||||
0x50 | BTABLE | ||||||||||||||||||||||||||||||||
0x58 | BCDR |
USB endpoint n register
Offset: 0x0, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x8, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0xc, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x10, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x14, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x18, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB endpoint n register
Offset: 0x1c, size: 32, reset: 0x00000000, access: read-write
0/10 fields covered.
USB control register
Offset: 0x40, size: 32, reset: 0x00000000, access: read-write
0/15 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CTRM
rw |
PMAOVRM
rw |
ERRM
rw |
WKUPM
rw |
SUSPM
rw |
RESETM
rw |
SOFM
rw |
ESOFM
rw |
L1REQM
rw |
L1RESUME
rw |
RESUME
rw |
FSUSP
rw |
LP_MODE
rw |
PDWN
rw |
FRES
rw |
Bit 0: FRES.
Bit 1: PDWN.
Bit 2: LP_MODE.
Bit 3: FSUSP.
Bit 4: RESUME.
Bit 5: L1RESUME.
Bit 7: L1REQM.
Bit 8: ESOFM.
Bit 9: SOFM.
Bit 10: RESETM.
Bit 11: SUSPM.
Bit 12: WKUPM.
Bit 13: ERRM.
Bit 14: PMAOVRM.
Bit 15: CTRM.
USB interrupt status register
Offset: 0x44, size: 32, reset: 0x00000000, access: read-write
0/11 fields covered.
USB frame number register
Offset: 0x48, size: 32, reset: 0x00000000, access: read-only
5/5 fields covered.
USB device address
Offset: 0x4c, size: 32, reset: 0x00000000, access: read-write
0/2 fields covered.
Buffer table address
Offset: 0x50, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BTABLE
rw |
Battery Charging Detector
Offset: 0x58, size: 32, reset: 0x00000000, access: read-write
0/9 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DPPU
rw |
PS2DET
rw |
SDET
rw |
PDET
rw |
DCDET
rw |
SDEN
rw |
PDEN
rw |
DCDEN
rw |
BCDEN
rw |
Bit 0: Battery charging detector mode enable.
Bit 1: Data contact detection mode enable.
Bit 2: Primary detection mode enable.
Bit 3: Secondary detection mode enable.
Bit 4: Data contact detection status.
Bit 5: Primary detection status.
Bit 6: Secondary detection status.
Bit 7: DM pull-up detection status.
Bit 15: DP pull-up control.
0x40010030: Voltage reference buffer
1/5 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 | CSR | ||||||||||||||||||||||||||||||||
0x4 | CCR |
VREF_BUF Control and Status Register
Offset: 0x0, size: 32, reset: 0x00000002, access: Unspecified
1/4 fields covered.
VREF_BUF Calibration Control Register
Offset: 0x4, size: 32, reset: 0x00000000, access: read-write
0/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRIM
rw |
0x40002c00: System window watchdog
6/6 fields covered.
Offset | Name | 31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x0 (16-bit) | CR | ||||||||||||||||||||||||||||||||
0x4 (16-bit) | CFR | ||||||||||||||||||||||||||||||||
0x8 (16-bit) | SR |
Control register
Offset: 0x0, size: 16, reset: 0x0000007F, access: read-write
2/2 fields covered.
Configuration register
Offset: 0x4, size: 16, reset: 0x0000007F, access: read-write
3/3 fields covered.
Bits 0-6: 7-bit window value.
Allowed values: 0x0-0x7f
Bit 9: Early wakeup interrupt.
Allowed values:
1: Enable: interrupt occurs whenever the counter reaches the value 0x40
Bits 11-13: Timer base.
Allowed values:
0: Div1: Counter clock (PCLK1 div 4096) div 1
1: Div2: Counter clock (PCLK1 div 4096) div 2
2: Div4: Counter clock (PCLK1 div 4096) div 4
3: Div8: Counter clock (PCLK1 div 4096) div 8
4: Div16: Counter clock (PCLK1 div 4096) div 16
5: Div32: Counter clock (PCLK1 div 4096) div 32
6: Div64: Counter clock (PCLK1 div 4096) div 64
7: Div128: Counter clock (PCLK1 div 4096) div 128
Status register
Offset: 0x8, size: 16, reset: 0x00000000, access: read-write
1/1 fields covered.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EWIF
rw |